/**
# Modal and newsletter
*****************************/
.modal ol li,
.modal ul li {
  font-size: var(--fs-400);
}

.modal-bg {
  z-index: 150;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: hsl(var(--clr-lightGreen) / 97%);
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0);
  opacity: 0;
  transition: ease-in 0.3s;
}

@supports (backdrop-filter: blur(0.75rem)) {
  .modal-bg {
    background: hsl(var(--clr-lightGreen) / 35%);
    backdrop-filter: blur(0.75rem);
  }
}

.bg-active {
  visibility: visible;
  opacity: 1;
}

.modal {
  z-index: 150;
  position: absolute;
  bottom: 0;
  background-color: #fff;
  width: 95vw;
  border-radius: var(--br-10);
  max-width: 600px;
  height: 95vh;
  overflow: scroll;
  padding: var(--p-lrg);
  box-shadow: var(--box-shadow);
}

.modal.modal-lrg {
  max-width: 1024px;
  height: 90vh;
}

.modal.modal-med {
  max-width: 720px;
  height: 60vh;
}

.modal-bg.active {
  height: 100vh;
  overflow-y: scroll;
  width: 100vw;
  transform: scale(1);
  opacity: 1;
  padding: var(--p-lrg);
}

.btn-close {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  top: 20px;
  right: 5%;
  font-size: 40px;
  height: 35px;
  min-width: 35px;
  width: 35px;
  cursor: pointer;
  transition: all ease 500ms;
  border: 2px solid hsl(var(--clr-darkBlue) / 70%);
  border-radius: 50%;
}

.btn-close span {
  color: hsl(var(--clr-darkBlue) / 70%);
  padding: 2px 0 0 2px;
}

.btn-close:hover {
  border-color: hsl(var(--clr-mediumRed));
}

.btn-close:hover span {
  color: hsl(var(--clr-mediumRed));
}

@media (min-width: 720px) {
  .modal {
    position: relative;
    /* bottom: none; */
  }
}

@media (min-height: 1000px) {
  .modal {
    height: 700px;
  }
}

/* newsletter  */
.fp-newsletter {
  background-color: hsl(var(--clr-mediumYellow) / 25%);
  padding: var(--p-lrg) var(--p-sml);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fp-newsletter__header h2 {
  width: 15ch;
}

.fp-newsletter__content h2 {
  text-align: center;
}

.fp-newsletter__blurb {
  text-align: center;
}

.fp-newsletter__btn {
  display: block;
  margin: auto;
  text-align: center;
}
