.success-page {
  padding: 60px 10px;
  background-color: #f8f8f8;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 20px 0px;
  display: none;
  min-height: 100vh;
  position: relative;
}
.success-page h2 {
  font-size: 100px;
  color: #151554;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0;
}
.gratitude-text {
  font-size: 18px;
  line-height: 25.2px;
  text-align: center;
  color: #727272;
  margin-bottom: 0;
}
.success-page .open-lesson-btn {
  margin-top: 17px;
  height: 70px;
  font-size: 18px;
  border: none;
  background-color: #C5A23B;
  color: white;
  padding: 0 30px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: bold;
}
.success-page .open-lesson-btn:hover {
  background-color: #a0882f;
}
.success-page .footer {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: #c0c0c0;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: absolute;
  left: 0;
  bottom: 34px;
  padding-left: 34px;
  padding-right: 119px;
  font-size: 14px;
}
.success-page .footer div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.success-page .footer a {
  color: #C5A23B;
  text-decoration: none;
}
.success-page .footer a:hover {
  text-decoration: underline;
}

@media screen and (min-width: 992px) {
  .success-page .footer {
    padding-left: calc(3.3707865169vw + 0.5617977528px);
  }
}
@media screen and (min-width: 1170px) {
  .success-page .footer {
    padding-left: 40px;
  }
}
@media screen and (min-width: 992px) {
  .success-page .footer {
    padding-right: calc(11.797752809vw + 1.9662921348px);
  }
}
@media screen and (min-width: 1170px) {
  .success-page .footer {
    padding-right: 140px;
  }
}
@media screen and (min-width: 992px) {
  .success-page .footer {
    bottom: calc(3.3707865169vw + 0.5617977528px);
  }
}
@media screen and (min-width: 1170px) {
  .success-page .footer {
    bottom: 40px;
  }
}

@media screen and (max-width: 991px) {
  .success-page h2 {
    font-size: 50px;
  }
  .gratitude-text {
    width: 245px;
    font-size: 18px;
    line-height: 25.2px;
    text-align: center;
  }
  .open-lesson-btn {
    width: 155px;
    height: 60px;
    padding: 0;
    font-size: 16px;
    margin-top: 17px;
    border-radius: 99px;
    font-weight: bold;
  }
  .success-page .footer {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 15px;
    text-align: center;
    font-size: 14px;
    color: #c0c0c0;
    padding: 0;
    padding-top: 60px;
    position: relative;
    bottom: auto;
    left: auto;
  }
}

@media screen and (max-width: 586px) {
  .success-page p {
    max-width: 225px;
  }
  .success-page p br {
    display: none;
  }
}