.modal_wrap input {
  display: none;
}

.modal_wrap .modal_overlay #modal_label {
  border: none;
  background: none;
}

.modal_overlay {
  display: flex;
  justify-content: center;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 900;
  width: 100%;
  height: 100%;
  background-color: rgba(50, 50, 50, 0.6);
  opacity: 0;
  transition: opacity 0.2s, transform 0s 0.2s;
  transform: scale(0);
}

.modal_trigger {
  position: absolute;
  width: 100%;
  height: 100%;
}

.modal_content {
  position: absolute;
  top: 50%;
  left: 50%;
  align-self: flex-start;
  width: 80%;
  max-width: 450px;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transition: 0.5s;
  line-height: 1.4;
  font-weight: 100;
}

.modal_content a{
  text-decoration: none;
}

.modal_content .pop_content{
  position: relative;
  background-color: #fff;
  padding-bottom: 10px;
}

.modal_content .pop_content .pop_content_img {
  width: 100%;
  margin-bottom: 0rem;
}

.modal_wrap input:checked~.modal_overlay {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.2s;
}

.modal_content img {
  vertical-align: bottom;
  margin-bottom: 0;
  width: 100%;
}

.modal_content .officialBtn {
  margin: 0 auto;
  width: 96%;
}

.modal_content .officialBtn a{
  display: block;
  width: 95%;
  margin: 0.5em auto 0;
  background: linear-gradient(-45deg, #199e41 65%, #2fc400 70%, #22cb02 75%);
  background-size: 500% 500%;
  animation: bright 3s infinite;
  color: #fff;
  padding: .5em 0;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  box-shadow: 0 5px 0 #259302;
  position: relative;
  font-size: 1.3em;
  line-height: 1.5em;
}


.modal_content {
  position: absolute;
  top: 50%;
  left: 50%;
  align-self: flex-start;
  width: 80%;
  max-width: 400px;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transition: 0.5s;
  line-height: 1.4;
  font-weight: 100;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 12px 27px 2px;
  background-color: #fff;
  background: linear-gradient(-45deg, #fff 25%, #fafafa 25%, #fafafa 50%, #fff 50%, #fff 75%, #fafafa 75%);
  background-size: 10px 10px;
  border: solid 2px #FF8AAE;
  border-radius: 10px;
}

.modal_content .popUp_btn {
  width: 100%;
  margin: .5rem auto;
  /* background-color: #6EBFB5; */
  background-color: #FF7F50;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  padding: .5em 0;
  text-align: center;
  border-radius: 6px;
  box-shadow: 0 5px 0 #B85A3C;
}

.modal_content h2 {
  font-size: 1.5rem;
  padding: .5em;
  text-align: center;
  font-weight: bold;
  background: #FF8AAE;
  color: #fff;
  white-space: pre-wrap;
  border: none;
  margin: 0;
  box-shadow: none;
  border-radius: 0;
  border-radius: 8px 8px 0 0;
}

.pop_content {
  padding: .5rem;
}

.modal_content p {
  font-size: 1.5rem;
  font-weight: bold;
  padding: 0em 0 .5em;
  text-align: center;
}

@media screen and (max-width: 480px) {
  .modal_content .popUp_btn {
    font-size: 4vw;
  }

  .modal_content h2 {
      font-size: 4.5vw;
  }

  .modal_content p {
    font-size: 5vw;
  }
}

