.bold {
  font-weight: bold;
}
.pop-form {
  display: none;
  transition: top 300ms ease-in-out;
}
.pop-form.show {
  width: 100%;
  min-height: 100vh;
  /* position: absolute; */
  position: fixed;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.4);
  z-index: 998;
}
.pop-form .hidden-selection {
  display: none;
}
.pop-form .hidden-selection.show {
  display: block;
}
.pop-form .form {
  position: relative;
  width: 80%;
  height: 90vh;
  margin-top: 7rem;
  background-color: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.popup-form::-webkit-scrollbar {
  display: none; 
}
.pop-form .form .fa-xmark {
  font-size: 2rem;
  position: absolute;
  right: 3%;
  top: 2%;
  color: var(--page-bg);
  cursor: pointer;
  z-index: 2;
}
.pop-form .form .heading {
  position: relative;
  width: 100%;
  height: 30vh;
}
.pop-form .form .heading::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
}
.pop-form .form .heading .image-container {
  width: 100%;
  height: 100%;
}
.pop-form .form .heading h3 {
  background: var(--gradient);
  color: var(--white);
  padding: 1.5rem 2rem;
  position: absolute;
  left: 50%;
  bottom: -15%;
  transform: translateX(-50%);
  z-index: 2;
}
.pop-form .form form {
  padding: 0 5% 5%;
  margin-top: 4rem;
}
.pop-form .form form fieldset {
  border-radius: var(--radius-xl);
  border: 2px solid var(--text);
  padding: 1rem;
}
.pop-form .form form legend {
  margin-left: 2rem;
  padding: 1rem;
  font-weight: bold;
}
.pop-form .form form .input {
  width: 100%;
  padding: 1rem;
  background-color: var(--page-bg);
  position: relative;
  color: var(--text);
  font-family: inherit;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
  border: 2px solid var(--text);
}
.pop-form .form form label {
  font-weight: bold;
  font-size: var(--p);
}
.pop-form .form form .input input,
.pop-form .form form .event .radios .set-3 .input input {
  width: 100%;
  background-color: transparent;
}
.pop-form .form form .input ::placeholder {
  opacity: 0.5;
}
.pop-form .form form .input textarea {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  font-family: inherit;
  color: var(--text);
}
.pop-form .form form .input .error {
  position: absolute;
  bottom: -1.5rem;
  color: red;
}
.pop-form .form form .radios {
  justify-content: flex-start;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}
.pop-form .form form .checks {
  margin-bottom: 1.5rem;
}
.pop-form .form form .radios label,
.pop-form .form form .checks label,
.pop-form .form form .cta label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-left: 1rem;
  margin-top: 0.5rem;
}
.pop-form .form form .radios input[type="radio"],
.pop-form .form form .checks input[type="checkbox"],
.pop-form .form form .cta input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  margin-right: 0.5rem;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  outline: none;
  background-color: var(--blush-pink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pop-form .form form .checks input[type="checkbox"],
.pop-form .form form .cta input[type="checkbox"] {
  border-radius: 5px;
}
.pop-form .form form .radios input[type="radio"]::before,
.pop-form .form form .checks input[type="checkbox"]::before,
.pop-form .form form .cta input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--form-control-color);
  background-color: var(--accent);
}
.pop-form .form form .checks input[type="checkbox"]::before,
.pop-form .form form .cta input[type="checkbox"]::before {
  content: "";
  border-radius: 3px;
}
.pop-form .form form .radios input[type="radio"]:checked::before,
.pop-form .form form .checks input[type="checkbox"]:checked::before,
.pop-form .form form .cta input[type="checkbox"]:checked::before {
  transform: scale(1);
}
.pop-form .form form .event .radios {
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  width: 90%;
}
.pop-form .form form .event .radios label {
  margin-left: 0;
}
.pop-form .form form .event .radios .set-1,
.pop-form .form form .event .radios .set-2 {
  width: 30%;
}
.pop-form .form form .event .radios .set-3 {
  width: 40%;
}
.pop-form .form form .event .radios .set-3 .input {
  padding: 0.75rem;
}
.pop-form .form form .cta {
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 1rem;
}
.pop-form .form form .cta input[type="checkbox"] {
  min-width: 20px;
}
.pop-form .form form .cta label {
  align-items: flex-start;
  padding-right: 5rem;
}
.pop-form .form form .cta .submit-button {
  width: 20%;
}
.pop-form .form form .our-location.show {
  display: flex;
  align-items: flex-start;
  padding: 1rem 0;
  gap: 1rem;
}
.pop-form .form form .our-location .maps {
  width: 70%;
  align-self: stretch;
  position: relative;
  overflow: hidden;
  margin: 1rem 0;
  border-radius: var(--radius-xl);
}
.pop-form .form form .our-location .maps iframe {
  width: 100%;
  height: 100%;
}
.pop-form .form form .our-location .info {
  width: 30%;
}
.pop-form .form form .our-location .info .address {
  margin-bottom: 1rem;
}

/* ------------------------------- RESPONSIVE BREAKPOINTS ------------------- */
@media screen and (max-width: 1024px) {
  .pop-form .form form .cta .submit-button {
    width: 30%;
  }
}
@media screen and (max-width: 768px) {
  .pop-form .form {
    width: 95%;
    height: 80vh;
  }
  .pop-form .form form .cta .submit-button {
    width: 35%;
  }
}
@media screen and (max-width: 550px) {
  .pop-form p {
    text-align: left;
  }
  .pop-form .form .heading h3 {
    width: 80%;
    text-align: center;
  }
  .pop-form .form .fa-xmark {
    right: 5%;
    top: 1%;
  }
  .pop-form .form form .event .radios {
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    row-gap: 0;
  }
  .pop-form .form form .event .radios .set-1,
  .pop-form .form form .event .radios .set-2 {
    width: 45%;
  }
  .pop-form .form form .event .radios .set-3 {
    width: 100%;
  }
  .pop-form .form form .radios{
    flex-wrap: wrap;
  }
  .pop-form .form form .our-location.show{
    flex-direction: column;
  }
  .pop-form .form form .our-location .maps,
  .pop-form .form form .our-location .info{
    width: 100%;
  }
  .pop-form .form form .cta{
    flex-direction: column;
    align-items: center;
  }
  .pop-form .form form .cta label{
    padding: 0;
    margin-bottom: 1rem;
  }
  .pop-form .form form .cta .submit-button{
    width: 100%;
  }
}
