* {
  margin: 0;
  box-sizing: border-box;
}

body {
  font-size: 16px;
  line-height: 1;
  font-family: 'Barlow',sans-serif;
  overflow-x: hidden;
  color: #42337E;
  background: linear-gradient(360deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%), linear-gradient(107.45deg, #96EDC3 0%, #DF8C8C 100.61%);
}

header {
  z-index: 9;
  position: relative;
}

svg {
  max-width: 100%;
  max-height: 100%;
  fill: currentColor;
}

#boxIcon {
  fill: none;
}

.d-none {
  display: none;
}

@media all and (max-width: 1365.98px) {
  .main-bg:before, .main-bg:after {
    padding-top: 116%;
  }
}
@media all and (max-width: 1023.98px) {
  .main-bg:before, .main-bg:after {
    padding-top: 1596px;
  }
}
.certificate-sales__subtitle {
  font-family: "Gilroy",sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 32px;
  line-height: 40px;
}
.certificate-sales__container {
  max-width: 1400px;
  padding: 0 20px;
  margin: 0 auto;
}
.certificate-sales__container--xl {
  max-width: 1700px;
}

@media all and (max-width: 1660px) {
  .certificate-sales__container {
    max-width: 1054px;
    padding: 0 15px;
  }
}
@media all and (max-width: 1365.98px) {
  .certificate-sales__container {
    max-width: 898px;
    padding: 0 15px;
  }
}
@media all and (max-width: 1023.98px) {
  .certificate-sales {
    padding-bottom: 140px;
  }
  .certificate-sales__container {
    width: 64%;
    min-width: 524px;
    padding: 0 20px;
  }
}
@media all and (max-width: 767.98px) {
  .certificate-sales {
    padding-bottom: 140px;
  }
  .certificate-sales__container {
    width: 100%;
    min-width: 0;
  }
}
.processing-modal {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background-color: rgba(49, 40, 82, 0.2);
}
.processing-modal__content {
  padding: 35px 30px;
  width: 100%;
  max-width: 312px;
  background-color: #fff;
  position: relative;
  box-shadow: 0px 20px 60px rgba(49, 40, 82, 0.15);
  border-radius: 10px;
  overflow: hidden;
}
.processing-modal__content:after {
  position: absolute;
  width: 100%;
  height: 10px;
  background: #F8E71C;
  bottom: 0;
  left: 0;
  content: "";
}
.processing-modal__icon {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}
.processing-modal__text {
  margin-top: 27px;
  font-family: 'Gilroy', sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 24px;
  line-height: 29px;
  text-align: center;
}

.processing-leaves--1 {
  animation: leaves 2.4s infinite;
  opacity: 0.1;
}
.processing-leaves--2 {
  animation: leaves 2.4s infinite;
  animation-delay: 0.3s;
}
.processing-leaves--3 {
  animation: leaves 2.4s infinite;
  animation-delay: 0.6s;
}
.processing-leaves--4 {
  animation: leaves 2.4s infinite;
  animation-delay: 0.9s;
}
.processing-leaves--5 {
  animation: leaves 2.4s infinite;
  animation-delay: 1.2s;
}
.processing-leaves--6 {
  animation: leaves 2.4s infinite;
  animation-delay: 1.5s;
}
.processing-leaves--7 {
  animation: leaves 2.4s infinite;
  animation-delay: 1.8s;
}
.processing-leaves--8 {
  animation: leaves 2.4s infinite;
  animation-delay: 2.1s;
}

@keyframes leaves {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}
.certificate-status {
  max-width: 760px;
  width: 100%;
  padding: 65px 20px 120px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.certificate-status__img {
  margin: 0 auto;
/*  max-height: 148px;*/
  max-width: 202px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.certificate-status__title {
  position: relative;
  text-align: center;
  z-index: 2;
  font-weight: 800;
  font-size: 60px;
  line-height: 75px;
  color: #42337E;
  margin: 30px 0 20px;
  font-family: Gilroy,sans-serif;
}
.certificate-status__desc {
  font-size: 24px;
  line-height: 36px;
  align-items: center;
  letter-spacing: 0.5px;
  width: 100%;
  color: #50606B;
  text-align: center;
}
.certificate-status__btn {
  margin: 68px auto 0;
  max-width: 358px;
  text-transform: uppercase;
  color: #42337E;
}

@media all and (max-width: 1660px) {
  .certificate-greet__title {
    font-size: 48px;
    line-height: 60px;
  }
  .certificate-greet__desc {
    font-size: 20px;
    line-height: 24px;
  }
}
@media all and (max-width: 1365.98px) {
  .certificate-status__title {
    font-size: 42px;
    line-height: 52px;
  }
}
@media all and (max-width: 1023.98px) {
  .certificate-status__desc {
    font-size: 18px;
    line-height: 22px;
  }
}
@media all and (max-width: 767.98px) {
  .certificate-status__title {
    font-size: 36px;
    line-height: 45px;
  }
  .certificate-status__desc {
    font-size: 16px;
    line-height: 22px;
  }
}
.cust-input {
  width: 100%;
  padding: 14px 16px;
  height: 54px;
  box-shadow: 0px 10px 30px rgba(49, 40, 82, 0.05);
  border-radius: 6px;
  font-family: 'TT Commons',sans-serif;
  outline: none;
  border: 2px solid #fff;
  font-size: 20px;
}
.cust-input:focus {
  border: 2px solid #F8E71C;
}
.cust-input--sec {
  border: 1px solid #A5B3BC;
}
.cust-input--sec:focus {
  border: 1px solid #8365FF;
}

@media all and (max-width: 1660px) {
  .cust-input {
    padding: 12px 16px;
    font-size: 18px;
  }
}
@media all and (max-width: 1365.98px) {
  .cust-input {
    height: 48px;
    padding: 12px;
  }
}
@media all and (max-width: 767.98px) {
  .cust-input {
    font-size: 16px;
  }
}
.cust-btn {
  width: 100%;
  border: none;
  background: none;
  text-decoration: none;
  background: #F8E71C;
  box-shadow: 0px 10px 30px rgba(49, 40, 82, 0.05);
  border-radius: 6px;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Gilroy',sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 20px;
  cursor: pointer;
}
.cust-btn:hover {
  background: #f3e107;
}

@media all and (max-width: 1660px) {
  .cust-btn {
    height: 48px;
  }
}
.cust-check {
  display: flex;
  align-items: center;
}
.cust-check input {
  display: none;
}
.cust-check__check {
  background: #FFFFFF no-repeat center center;
  border: 2px solid #F2F5F7;
  box-shadow: 0px 10px 30px rgba(49, 40, 82, 0.05);
  border-radius: 4px;
  width: 24px;
  height: 24px;
  display: block;
  margin-right: 12px;
  transition: 0.3s;
}
input:checked + .cust-check__check {
  border-color: rgba(66, 51, 126, 0.4);
  background: #fff url("/images/certificate/checkDark.svg") no-repeat center center;
}

.voucher-check {
  display: flex;
  flex-wrap: wrap;
}
.voucher-check__item {
  cursor: pointer;
}
.voucher-check__item:not(:last-child) {
  margin-right: 30px;
}
.voucher-check__check {
  display: none;
}
.voucher-check__wrap {
  padding-top: 6px;
  display: block;
  width: 168px;
  height: 91px;
  position: relative;
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(248, 231, 28, 0) 0%, rgba(255, 184, 0, 0) 100%), #fff;
  overflow: hidden;
  transform: translate3d(0, 0, 0) scale(1);
}
.voucher-check__wrap:after {
  height: 11px;
  width: 100%;
  bottom: 0;
  left: 0;
  position: absolute;
  background-color: #F8E71C;
  content: "";
}
.voucher-check__title {
  font-family: 'Gilroy',sans-serif;
  display: block;
  width: 100%;
  margin: 0;
  text-align: center;
  font-weight: 500;
  font-size: 11px;
  line-height: 11px;
  letter-spacing: 2.21429px;
  text-transform: uppercase;
  color: #50606B;
  opacity: 0.5;
  transition: 0.3s;
}
.voucher-check__amount {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 36px;
  width: 100%;
  line-height: 60px;
  margin: 0;
  text-align: center;
  color: #42337E;
  transition: 0.1s;
}
.voucher-check__check:checked + .voucher-check__wrap {
  transform: translate3d(0, 0, 0) scale(1.1);
  background: linear-gradient(180deg, #f8e71c 0%, #ffb800 100%);
}
.voucher-check__check:checked + .voucher-check__wrap:after {
  background: #42337E;
}
.voucher-check__check:checked + .voucher-check__wrap .voucher-check__amount {
  font-size: 49px;
  font-weight: 900;
}
.voucher-check__check:checked + .voucher-check__wrap .voucher-check__title {
  opacity: 1;
}

@media all and (max-width: 1660px) {
  .voucher-check__wrap {
    width: 144px;
    height: 78px;
  }
  .voucher-check__title {
    font-size: 8.5px;
  }
  .voucher-check__amount {
    padding-top: 4px;
    font-size: 30.7347px;
    line-height: 36px;
  }
  .voucher-check__check:checked + .voucher-check__wrap .voucher-check__amount {
    font-size: 42px;
  }
}
@media all and (max-width: 1365.98px) {
  .voucher-check__wrap {
    width: 138px;
    height: 75px;
  }
  .voucher-check__wrap:after {
    height: 9.5px;
  }
  .voucher-check__amount {
    font-size: 29.6327px;
    line-height: 35px;
  }
}
@media all and (max-width: 767.98px) {
  .voucher-check__item {
    margin-bottom: 15px;
  }
  .voucher-check__item:not(:last-child) {
    margin-right: 13px;
  }
  .voucher-check__title {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .voucher-check__amount {
    font-size: 24px;
    line-height: 28.13px;
  }
  .voucher-check__wrap {
    max-width: 100px;
    height: 60px;
  }
  .voucher-check__wrap:after {
    height: 8px;
  }
  .voucher-check__check:checked + .voucher-check__wrap .voucher-check__amount {
    font-size: 24px;
    line-height: 28px;
  }
}
.certificate-greet {
  font-family: Gilroy,sans-serif;
  padding: 102px 0 208px;
  position: relative;
}
.certificate-greet:after {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: -60px;
  content: "";
  background: url("/images/certificate/presents.svg");
  background-size: 100%;
  background-position: left 0 bottom 0;
  background-repeat: no-repeat;
  z-index: -1;
}
.certificate-greet__subtitle {
  position: relative;
  z-index: 2;
  font-weight: 800;
  font-size: 60px;
  line-height: 75px;
  color: #312852;
  font-family: Gilroy,sans-serif;
}
.certificate-greet__title {
  position: relative;
  z-index: 2;
  font-family: Gilroy,sans-serif;
  font-weight: 800;
  font-size: 72px;
  margin: 24px 0 31px;
  line-height: 90px;
  letter-spacing: 0.5px;
  color: #42337E;
}
.certificate-greet__desc {
  font-size: 24px;
  line-height: 29px;
  align-items: center;
  letter-spacing: 0.5px;
  color: #50606B;
}
.certificate-greet__voucher {
  position: relative;
  z-index: 2;
  margin-top: 18px;
}

@media all and (max-width: 1660px) {
  .certificate-greet {
    padding: 100px 0 185px;
  }
  .certificate-greet__subtitle {
    font-size: 48px;
    line-height: 60px;
  }
  .certificate-greet__desc {
    font-size: 20px;
    line-height: 24px;
  }
}
@media all and (max-width: 1365.98px) {
  .certificate-greet {
    padding: 53px 0 170px;
  }
  .certificate-greet:after {
    background-position: left -44px bottom 0;
    background-size: 110%;
  }
  .certificate-greet__subtitle {
    font-size: 42px;
    line-height: 52px;
  }
  .certificate-greet__title {
    font-size: 60px;
    line-height: 75px;
    margin: 18px 0 23px;
  }
}
@media all and (max-width: 1023.98px) {
  .certificate-greet {
    padding: 48px 0 78px;
  }
  .certificate-greet:after {
    bottom: -100px;
    background-size: 100%;
    background-position: 0 0px;
    background-repeat: no-repeat;
    background-image: url("/images/certificate/presents7668.svg");
  }
  .certificate-greet__title {
    margin-bottom: 153px;
  }
  .certificate-greet__desc {
    font-size: 18px;
    line-height: 22px;
  }
}
@media all and (max-width: 767.98px) {
  .certificate-greet {
    padding: 8px 0 78px;
  }
  .certificate-greet:after {
    bottom: -73px;
  }
  .certificate-greet__subtitle {
    font-size: 36px;
    line-height: 45px;
  }
  .certificate-greet__title {
    font-size: 48px;
    line-height: 48px;
    margin-bottom: 192px;
  }
  .certificate-greet__desc {
    font-size: 16px;
    line-height: 22px;
  }
}
.certificate-details {
  display: flex;
  flex-wrap: wrap;
}
.certificate-details__item {
  width: 50%;
  padding-right: 96px;
}
.certificate-details__item:nth-of-type(2n) {
  padding-left: 96px;
  padding-right: 0;
}
.certificate-details__item:nth-of-type(n+3) {
  margin-top: 117px;
}
.certificate-details__item--sender {
  border-right: 1px solid #FFFFFF;
}
.certificate-details__btn {
  margin-top: 45px;
  max-width: 358px;
  text-transform: uppercase;
}

@media all and (max-width: 575px) {
  .certificate-greet:after {
    bottom: -100px;
  }
}
@media all and (max-width: 410px) {
  .certificate-greet:after {
    bottom: -120px;
    background-image: url("/images/certificate/presents375.svg");
  }
}
@media all and (max-width: 1660px) {
  .certificate-details__btn {
    margin-top: 36px;
  }
  .certificate-details__item {
    padding-right: 50px;
  }
  .certificate-details__item:nth-of-type(2n) {
    padding-left: 50px;
    padding-right: 0;
  }
  .certificate-details__item:nth-of-type(n+3) {
    margin-top: 65px;
  }
}
@media all and (max-width: 1365.98px) {
  .certificate-details__item {
    padding-right: 20px;
  }
  .certificate-details__item:nth-of-type(2n) {
    padding-left: 20px;
    padding-right: 0;
  }
  .certificate-details__item:nth-of-type(n+3) {
    margin-top: 90px;
  }
  .certificate-details__item--sender {
    border-right: none;
  }
}
@media all and (max-width: 1023.98px) {
  .certificate-details__item {
    width: 100%;
  }
  .certificate-details__item:nth-of-type(n) {
    padding-left: 0;
    padding-right: 0;
  }
  .certificate-details__item:nth-of-type(n+2) {
    margin-top: 82px;
  }
  .certificate-details__btn {
    margin: 25px auto 0;
  }
}
@media all and (max-width: 767.98px) {
  .certificate-details__item:nth-of-type(n+2) {
    margin-top: 60px;
  }
}
@media all and (max-width: 575.98px) {
  .certificate-details__btn {
    max-width: none;
  }
}
.certificate-detail {
  padding-top: 17px;
}
.certificate-detail__title {
  font-family: 'Gilroy',sans-serif;
  font-weight: 800;
  font-size: 32px;
  line-height: 40px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}
.certificate-detail__title-stripe {
  margin-left: auto;
  max-width: 115px;
}
.certificate-detail__field {
  width: 100%;
  margin-bottom: 24px;
}
.certificate-detail__field--small {
  width: calc(50% - 12px);
}
.certificate-detail__form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.certificate-detail__box {
  margin: 0 5px 0 20px;
}
.certificate-detail__box--right {
  margin: 0 14px 0 5px;
}

@media all and (max-width: 1660px) {
  .certificate-detail__title {
    font-size: 28px;
    line-height: 35px;
  }
}
@media all and (max-width: 767.98px) {
  .certificate-detail__title {
    font-size: 24px;
    line-height: 30px;
  }
  .certificate-detail__box {
    max-width: 24px;
  }
}
@media all and (max-width: 575.98px) {
  .certificate-detail__field {
    margin-bottom: 12px;
  }
  .certificate-detail__field--small {
    width: 100%;
  }
}
.certificate-payment {
  padding: 32px;
  background-color: #fff;
  border-radius: 12px;
}
.certificate-payment .cust-input{
  padding: 17px 16px 16px;
}
.certificate-payment label {
  margin-left: 7px;
  margin-right: 7px;
}
.certificate-payment label span {
  display: block;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 14px;
  line-height: 19px;
  letter-spacing: -0.336px;
  margin-bottom: 5px;
  color: #50606B;
}
.certificate-payment__form {
  display: flex;
  flex-wrap: wrap;
  margin-left: -7px;
  margin-right: -7px;
}
.certificate-payment__card {
  width: 100%;
  margin-bottom: 16px;
}
.certificate-payment__date {
  font-size: 18px;
  flex-shrink: 0;
}
.certificate-payment__date span {
  width: 100%;
}
.certificate-payment__date input {
  width: 59px;
}
.certificate-payment__CVC {
  width: 80px;
  flex-shrink: 0;
  flex-grow: 1;
}
.certificate-payment__form-row {
  display: flex;
  width: 100%;
}
.certificate-payment__serv {
  margin-top: 16px;
}
.certificate-payment__serv img {
  max-height: 34px;
  max-width: 34px;
  margin-right: 16px;
}
.certificate-payment__holder {
  flex-grow: 1;
}

@media all and (max-width: 1660px) {
  .certificate-payment {
    padding: 21px;
  }
}
@media all and (max-width: 1365.98px) {
  .certificate-payment .cust-input{
    padding: 14px 12px 10px;
  }
  .certificate-payment__date {
    font-size: 18px;
    flex-shrink: 0;
  }
  .certificate-payment__date input {
    width: 48px;
  }
}
@media all and (max-width: 1023.98px) {
  .certificate-payment__holder {
    flex-grow: 1;
  }
}
@media all and (max-width: 575.98px) {
  .certificate-payment__form-row {
    flex-wrap: wrap;
  }
  .certificate-payment__CVC {
    width: 90px;
    flex-grow: 0;
  }
  .certificate-payment__holder {
    width: 237px;
    flex-grow: 0;
  }
  .certificate-payment__date input {
    width: 59px;
  }
}
.certificate-checkout {
  padding-top: 32px;
}
.certificate-checkout__title {
  font-family: 'Gilroy', sans-serif;
  font-size: 32px;
  line-height: 38px;
}
.certificate-checkout__title strong {
  font-weight: 700;
}
.certificate-checkout__terms {
  margin-top: 20px;
  font-size: 16px;
  cursor: pointer;
}

@media all and (max-width: 1660px) {
  .certificate-checkout {
    padding-top: 21px;
  }
  .certificate-checkout__title {
    font-size: 28px;
    line-height: 33.6px;
  }
  .certificate-checkout__terms {
    margin-top: 25px;
    cursor: pointer;
  }
}
@media all and (max-width: 1023.98px) {
  .certificate-checkout {
    text-align: center;
  }
  .certificate-checkout__terms {
    justify-content: center;
    margin: 25px auto 0;
  }
}
@media all and (max-width: 767.98px) {
  .certificate-checkout {
    text-align: left;
  }
  .certificate-checkout__terms {
    justify-content: flex-start;
    margin: 25px auto 0;
  }
  .certificate-checkout__title {
    font-size: 24px;
    line-height: 29px;
  }
}
