/* The Modal (background) */
#onExitModal {
  visibility: hidden;
  opacity: 0;
  transition:
    transform 0.2s,
    opacity 0.2s,
    visibility 0s 0.2s;

  position: fixed;
  z-index: 999;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.6); /* Black w/ opacity */

  display: flex;
  align-content: center;
  flex-wrap: wrap;
  justify-content: center;

  scroll-snap-type:;
}

/* Modal Content/Box */
.image-content {
  display: none;
}

.modal-content {
  position: relative;
  background-color: #fefefe;
  width: 85vw;
  max-width: 900px;
  position: relative;
  overflow: hidden;
  flex-direction: column;
  scroll-snap-stop: always;
}

.modal-content h1 {
  font-size: 30px;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  line-height: 2.3rem;
  margin-bottom: 28px;
  margin-bottom: clamp(1.375rem, 4vw, 1.75rem);
}

.modal-content p {
  font-size: 18px;
  font-size: clamp(1rem, 4vw, 1.125rem);
  line-height: 1.5rem;
}

.message-container {
  display: flex;
  flex-wrap: wrap;
}

.cover-image {
  object-fit: cover;
  min-height: 100%;
}

.image-content {
  width: 50%;
}

.message-content {
  width: 100%;
  padding-left: 25px !important;
  padding-right: 25px !important;
  padding-top: 90px !important;
  padding-bottom: 90px !important;
  padding-left: clamp(1.6rem, 4vw, 1.9rem) !important;
  padding-right: clamp(1.6rem, 4vw, 1.9rem) !important;
  padding-top: clamp(4.6875rem, 4vw, 5.625rem) !important;
  padding-bottom: clamp(4.6875rem, 4vw, 5.625rem) !important;
  font-size: 18px !important;
  font-size: clamp(0.875rem, 4vw, 1.125rem) !important;
}

.message-content p small {
  font-size: 13px !important;
  font-size: clamp(0.75rem, 4vw, 0.875rem) !important;
  font-weight: lighter;
  line-height: 1.2rem;
}

.step-2 {
  display: none; /* Hidden by default */
}

/* The Close Button */
.close {
  position: absolute;
  right: 10px;
  color: #aaa;
  cursor: pointer;
  width: 12px !important;
  height: 12px !important;
  font-size: 22px;
  font-weight: 500;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.close-text {
  cursor: pointer;
}

/* Buttons */
#enterBtn,
._form_1647 #_form_1647_submit._submit {
  cursor: pointer;
  min-width: 100%;
  font-size: 16px !important;
  font-size: clamp(0.875rem, 4vw, 1rem) !important;
  font-weight: 700 !important;
  color: white !important;
  background-color: #fc5244 !important;
  border: 1px solid white !important;
  border-radius: 7px !important;
  padding: 13px 20px !important;
  margin: 22px 0 !important;
  margin: clamp(1.125rem, 4vw, 1.375rem) 0 !important;
}

._form_1647 #_form_1647_submit._submit.processing,
._form_1647 #_form_1647_submit._submit.processing::before,
._form_1647 #_form_1647_submit._submit.processing::after,
._form_1647 #_form_1647_submit._submit:disabled,
._form_1647 #_form_1647_submit._submit::after {
  background-color: #fc5244 !important;
}

/* AC Form */
._form_1647 ._inline-form {
  padding: 0 !important;
  margin: 22px 0 !important;
  margin: clamp(1.125rem, 4vw, 1.375rem) 0 0 0 !important;
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .image-content {
    display: block;
  }
  .message-container {
    flex-wrap: nowrap;
  }
  .message-content {
    width: 50%;
  }
}
