.thankyou-modal {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  display: none;
  position: fixed;
  z-index: 100;
  justify-content: center;
  align-items: center;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

/* thankyou-modal Content */
.thankyou-modal-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  margin: auto;
  width: 670px;
  box-shadow: 0 4px 15px 0 rgb(0 0 0 / 52%), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
}
.modal-inside {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px;
}

.thankyou-modal .close-button {
  position: absolute;
  cursor: pointer;
  width: 25px;
  top: 25px;
  right: 25px;
}
.thankyou-modal .modal-check {
  width: 70px;
}

.thankyou-modal h2 {
  color: #0e172f;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  margin: 10px 0;
}
.thankyou-modal .unsuccessful h2 {
  font-size: 36px;
}

.thankyou-modal h3 {
  color: #0e172f;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  line-height: normal;
}

.thankyou-modal .unsuccessful h3 {
  font-size: 17px;
}

.divider {
  height: 2px;
  border-radius: 10px;
  width: 100%;
  background-color: #0e172f;
  margin: 16px;
}

.thankyou-modal h4 {
  color: #0e172f;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin: 0 0 12px 0;
  align-items: normal;
}
.extra-torts {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.extra-tort {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
  background-color: #eeeeee;
}
.clj-bg {
  background-image: url('https://converge-strapi-prod.s3.amazonaws.com/marinedark_631f0fd773.webp');
  width: 100%;
  height: 140px;
  background-size: cover;
  background-position: center;
}
.roundup-bg {
  background-image: url('https://converge-strapi-prod.s3.amazonaws.com/roundupinfield_34d2c40842.webp');
  width: 100%;
  height: 140px;
  background-size: cover;
  background-position: center;
}
.thankyou-modal h5 {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin: 10px 0;
}
.tort-description {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 120px;
}
.thankyou-modal p {
  color: #0e172f;
  font-size: 15px;
  text-align: center;
  padding: 10px;
}
.thankyou-modal a {
  color: #fff;
  background-color: #a31b21;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 8px 0;
  text-transform: uppercase;
  text-decoration: none;
  width: 100%;
}
.thankyou-modal a:hover,
.thankyou-modal a:focus {
  text-decoration: none;
  color: #fff;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {
    top: 0;
    opacity: 0;
  }
  to {
    top: 50%;
    opacity: 1;
  }
}

@keyframes animatetop {
  from {
    top: 0;
    opacity: 0;
  }
  to {
    top: 50%;
    opacity: 1;
  }
}

@media only screen and (max-width: 1100px) {
  .thankyou-modal {
    padding: 0;
  }
  .thankyou-modal-content {
    position: static;
    transform: none;
    width: 100%;
    min-height: 100vh;
  }
  .thankyou-modal .modal-check {
    margin-top: 10px;
  }
  .divider {
    width: 80%;
  }
  .thankyou-modal .unsuccessful h2  {
    font-size: 26px;
  }
  .thankyou-modal h3 {
    font-size: 20px;
  }
  .extra-torts {
    justify-content: center;
  }
  .thankyou-modal h4 {
    font-size: 18px;
  }
  .divider {
    margin: 18px;
  }
}

@media only screen and (max-width: 700px) {
  .extra-torts {
    flex-direction: column;
  }
  .extra-tort {
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
  }

  .tort-description {
    height: auto;
  }
  .divider {
    width: 100%;
  }
}
