
.modal-wrapper {
  background: rgba(46, 37, 66, 0.77);
  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: linear-gradient(180deg, #AA38E7 0%, #5F1F81 100%);
  width: 100%;
  max-width: 480px;
  padding: 45px 25px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
  border: none;
  border-radius: 8px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
.age-fail_container {
  text-align: center;
}
.age-fail_container p {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  text-transform: capitalize;
  color: #C9CFFA;
}

.age-modal_container {
  text-align: center;
  font-family: Inter, sans-serif;
}
.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: #da85e1;
}
.age-modal_btn {
  padding-top: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.age-modal_btn .btn-acpt {
  margin-right: 35px;
  border: 1px solid #B522C1;
  background: #d50cf8;
}
.age-modal_btn .btn-rej {
  background: #5F1F81;
  color: #C9CFFA;
  border: 1px solid transparent;
}
.age-modal_btn .btn {
  min-width: 100px;
}
#terms-error {
  display: none;
  padding: 10px;
  color: #da85e1;
  font-size: 12px;
}
@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;
  }

}


