
.modal-wrapper {
  background-color: rgb(0, 0, 0, 0.8);
  color: #FFFFFF;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 0;
  overflow-y: scroll;
  transition: 350ms ease;
  z-index: 9999;
}

.modal-wrapper.modal-active {
  width: 100%;
}
.modal {
  background-color: #222222;
  width: 100%;
  max-width: 480px;
  padding: 45px 25px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
}
.age-fail_container {
  text-align: center;
}
.age-fail_container p {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  text-transform: capitalize;
  color: #FFFFFF;
}

#age-fail,
#age-modal .age-modal_container {
  width: 100%;
  height: fit-content;
  border: 1px solid #ff54ee;
  border-radius: 15px;
  filter: drop-shadow(3px 0px 2px black);
}

.age-modal_container {
  display: block;
  text-align: center;
}
.age-modal_cover {
  width: 283px;
  height: 142px;
}
.age-modal_txt {
  padding-top: 10px;
  font-size: 14px;
}
.age-modal_txt h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 35px;
  margin-bottom: 15px;
  text-transform: capitalize;
  color: #FFFFFF;
}

.age-modal_txt p {
font-size: 12px;
font-style: normal;
font-weight: 700;
color: #F3EFE6;
margin-bottom: 10px;
}
.age-modal_txt input[type=checkbox] {
  width: 18px;
  height: 18px;
  margin-right: 18px;
  vertical-align: middle;
}
.age-modal_txt .info-txt a {
  text-decoration: underline;
  color: #ff54ee;
}
.age-modal_btn {
  padding-top: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.age-modal_btn .btn {
  padding: 9px 10px;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 10px;
  line-height: 11px;
  min-width: 100px;
  color: #FFFFFF;
  background: #ff54ee;;
  border: 1px solid #ff54ee;
}
.age-modal_btn .btn-rej {
  background-color: transparent;
}
#terms-error {
  display: none;
  padding: 10px;
  color: #ff54ee;
  font-size: 12px;
}

.age-modal_btn .btn:hover {
  color: #FFFFFF;
  background: transparent;
}


@media (min-width: 768px) {
.modal {
    padding: 35px 40px;
  }
  #age-fail.modal {
    padding: 80px;
  }
.age-modal_txt h3 {
    font-size: 26px;
  }
  .age-modal_container {
    text-align: center;
  }
  .age-modal_cover {
    width: 283px;
    height: 142px;
  }
  .age-modal_txt .info-txt span {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
  }
  .age-modal_btn .btn {
    padding: 5px 60px;
    font-size: 20px;
    line-height: 24px;
  }
  .age-modal_btn .btn-acpt {
    margin-right: 55px;
  }

}


