/* footer */
.copyright {
  margin-left: -20px;

  position: absolute;
  bottom: 151px;
  transform: rotate(270deg);
}

.npl-text-subscribe {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.copyright p {
  width: 200px;
  align-content: center;
  color: var(--71);
  font-weight: var(--menuWeight);
}

.footer {
  height: auto;
  width: 100%;
}

.npl-footer {
  height: auto;
  background-color: var(--41);
}

.footer_container {
  width: 100%;
  height: auto;
  position: relative;
  /* background-color: var(--gray2); */
  display: grid;
  grid-template-columns: 11% 8fr 1fr 240px 6%;
  padding-top: 60px;
  padding-bottom: 60px;
  max-width: 1500px;
  font-family: var(--barlow);
}

.footer_container h3 {
  font-size: var(--eighteen);
  color: var(--ff);
  font-family: var(--barlow);
  font-weight: var(--xl);
}

.footer_left {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 60px;
  grid-column: 2;
  max-width: 740px;
  justify-content: space-between;
}

.footer_left_p {
  font-size: var(--twentyFive);
  font-family: var(--libre);
  font-style: italic;
  color: var(--df);
  line-height: var(--libreHeight);
}

.footer_right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  grid-column: 4;
}

iframe {
  outline: none;
  border: none;
}

.footer_contact_gap {
  display: flex;
  flex-direction: column;
  margin: 0px 0px 30px 0px;
}

@media screen and (max-width: 300px) {
  .footer_contact_gap {
    font-size: 0.6rem;
  }
}

.npl-footer-subtext {
  font-size: var(--eighteen);
  font-weight: var(--normalWeight);
  color: white;
}
.npl-footer-subtext-li {
  color: white;
  font-size: var(--fifteen);
  font-weight: var(--normalWeight);
  list-style: disc;
}

.connected {
  display: flex;
  flex-direction: column;
  width: 55%;
  gap: 30px;
}

.connected-gap {
  margin-top: 5px;
}

.subscribe {
  display: flex;
  align-items: center;
}

.subscribe span {
  color: var(--gray2);
  font-size: var(--twentyFive);
  font-weight: var(--xl);
  font-family: var(--barlow);
}

.footer_button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  outline: none;
  border: none;
  /* border-radius: 50%; */
  margin-left: 5px;
  background: transparent;
}

.footer_button img {
  width: var(--medButton);
  height: var(--medButton);
  /* width: 100%;
  height: 100%; */
  object-fit: cover;
}

.footer_button,
.footer_play {
  font-size: 1rem;
}

.social_icons {
  display: flex;
  gap: 10px;
  margin-bottom: 60px;
}

.social_icons a {
  width: var(--xlButton);
  height: var(--xlButton);
  border-radius: 50%;
  cursor: pointer;
}

.social_icons a img {
  width: 100%;
  height: 100%;
}

.inquiries div,
.resources div {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 5px;
}

.press,
.faq {
  list-style: none;
}

.footer_box {
  max-width: 240px;
  aspect-ratio: 3/2;
  overflow: clip;
  position: relative;
}

.footer_box a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.footer_box .location-image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  /* left: 15px; */
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.location-image img {
  width: var(--xlButton);
  height: var(--xlButton);
  object-fit: cover;
}

@media screen and (max-width: 250px) {
  .footer_box {
    display: none;
  }
}

.photo_circle {
  max-width: 240px;
  display: flex;
  justify-content: end;
  height: 75px;
  align-items: end;
}

.photo_circle a {
  width: 50%;
}

.photo_circle img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media screen and (max-width: 900px) {
  .copyright {
    grid-column: 2;
    grid-row: 3;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    position: relative !important;
    transform: rotate(0deg);
    bottom: 0;
  }

  .copyright p {
    transform: rotate(0deg);
  }

  .footer_container {
    width: 100%;
    padding-right: 30px;
    grid-template-columns: 13.2% 1fr;
  }

  .footer_left {
    width: 100%;
    gap: 10px;
    margin: 0 auto;
    justify-content: center;
  }

  .footer_right {
    width: 100%;
    gap: 10px;
    margin: 20px auto;
    grid-row: 2;
    grid-column: 2;
  }
  .footer_left_p {
    width: 100%;
  }

  .connected {
    justify-content: center;
    width: 100%;
  }

  .connected div p {
    width: 100%;
  }
}

.npl-inquiry-resource {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.npl-connected,
.npl-opening-container,
.npl-contact {
  display: flex;
  flex-direction: column;
}

.npl-opening-container {
  gap: 30px;
}

.npl-opening {
  margin-top: 5px;
}

.npl-contact {
  margin-top: 5px;
}

/* popover */
#subscribe2 {
  background: rgba(123, 118, 118, 0.9);
  height: 100vh;
  width: 100%;
  /* position: absolute;
  display: flex;
  justify-content: center;
  align-items: center; */
  outline: none;
  border: none;
}

#subscribe2:popover-open {
  opacity: 0;
  animation: legendFieldfade 0.5s ease-in-out forwards;
}

#subscribe2 .legendField {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 740px;
  aspect-ratio: 3 / 2;
  background-color: var(--41);
  padding: 20px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

#subscribe2:popover-open .legendField {
  opacity: 0;
  animation: legendFieldfade 0.4s ease-in-out forwards;
  animation-delay: 0.3s;
}

@keyframes legendFieldfade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.subscribe-inner {
  position: relative;
  border: 2px solid var(--be);
  width: 100%;
  height: 100%;
}

.legendField .subscribe-inner .popover-close {
  position: absolute;
  background-color: var(--41);
  outline: none;
  border: none;
  color: var(--be);
  font-size: var(--sixteen);
  font-weight: var(--menuWeight);
  top: -11px;
  right: 20px;
  padding: 0px 5px;
}

.popover-inner-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 40px;
  margin: 0px auto;
  justify-content: space-between;
  height: 100%;
  gap: 60px;
}

.popover-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.popover-heading h2 {
  font-size: var(--twentyTwo);
  color: var(--ff);
  font-weight: var(--xl);
}

.popover-heading p {
  font-size: var(--eighteen);
  font-weight: var(--menuWeight);
  color: white;
}

.popover-inner-content form {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  gap: 30px;
}

.popover-form-container {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.popover-inner-content form .popover-form-first {
  display: flex;
  gap: 15px;
  justify-content: end;
  align-items: end;
}

.popover-form-first label {
  width: 90px;
  font-family: var(--barlow);
  font-weight: var(--menuWeight);
  font-size: var(--sixteen);
  color: white;
  text-align: right;
}

.popover-form-first input {
  width: 100% !important;
}

.popover-form-first input::placeholder {
  text-align: right;
  color: var(--ff);
  font-size: var(--fifteen);
  font-weight: var(--menuWeight);
  font-family: var(--barlow);
  font-style: normal;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.popover-form-first input:focus::placeholder {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.popover-subscribe-last {
  display: flex;
  align-items: center;
  justify-content: end;
}

.popover-subscribe-last span {
  color: var(--df);
  font-size: var(--twentyFive);
  font-weight: var(--xl);
  font-family: var(--barlow);
}

.popover-subscribe-footer-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  outline: none;
  border: none;
  /* border-radius: 50%; */
  margin-left: 5px;
  background: transparent;
}

.popover-subscribe-footer-button img {
  width: var(--medButton);
  height: var(--medButton);
  object-fit: cover;
}

@media screen and (max-width: 786px) {
  .popover-inner-content form .popover-form-first {
    flex-direction: column;
  }

  .popover-form-first label {
    width: 100%;
    text-align: left;
  }

  .legendField {
    aspect-ratio: auto !important;
  }
}

.subscribe2-whole-button {
  width: 100%;
  height: 100%;
  background-color: transparent;
  outline: none;
  border: none;
  position: absolute;
}
