/* 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);
  overflow-x: clip;
  position: relative;
}

.footer_container {
  height: auto;
  position: relative;
  display: grid;
  grid-template-columns: minmax(10px, 740px) minmax(32px, 1fr) 240px;
  padding-top: 90px;
  padding-bottom: 60px;
  max-width: 1300px;
  font-family: var(--barlow);
  margin: 0 45px 0 13.2%;
}

.footer_container h3 {
  font-size: var(--eighteen);
  color: var(--ff);
  font-family: var(--barlow);
  font-weight: var(--dblXl);
}

.footer_left {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 60px;
  grid-column: 1;
  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: 3;
}

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;
  margin-right: 15px;
}

.npl-footer-subtext-li a {
  color: var(--df);
}

.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;
  background: transparent;
  cursor: pointer;
  opacity: 1;
}

.footer_button:hover {
  opacity: 0.85;
}

.footer_button img {
  width: var(--medButton);
  height: var(--medButton);
  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;
  opacity: 1;
}

.social_icons a:hover {
  opacity: 0.85;
}

.social_icons a img {
  width: 100%;
  height: 100%;
}

.inquiries div,
.resources div {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: var(--fifteen);
  margin-top: 5px;
}

.inquiries li a,
.resources li a {
  color: var(--df);
  font-weight: var(--normalWeight);
  text-decoration: none;
}

.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;
}

.footer_box:hover a img:nth-child(1) {
  transform: scale(1.05);
  transition: transform 3s ease-in-out;
}

@media screen and (max-width: 1024px) {
  .footer_box:hover a img {
    transform: scale(1) !important;
    transition: transform 0s;
  }

  .photo_circle {
    justify-content: start;
    height: 55px;
  }

  .copyright {
    width: 90%;
    left: 0;
    right: 0;
    margin: 30px auto 0;
    max-width: 740px;
    display: flex;
    justify-content: start;
    margin-top: 20px;
    transform: rotate(0deg);
    bottom: 20px;
    text-align: center;
  }

  .copyright p {
    width: fit-content;
    transform: rotate(0deg);
  }

  .footer_container {
    grid-template-columns: 1fr;
    width: 90%;
    max-width: 740px;
    margin: 0 auto;
  }

  .footer_left {
    max-width: 100%;
    gap: 30px;
    margin: 0;
    justify-content: center;
  }

  .footer_right {
    width: 100%;
    gap: 30px;
    margin: 30px 0 0;
    grid-row: 2;
    grid-column: 1;
  }

  .npl-inquiry-resource {
    gap: 30px !important;
  }

  .social_icons {
    margin: 0;
  }

  .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;
}

/* popup */
.npl-subscribe-popup {
  position: fixed;
  height: auto;
  min-height: 100vh;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  top: 0;
  padding: 5vh 0;
  cursor: pointer;
  overflow-y: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out, visibility 2s ease-in-out;
}

.npl-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.npl-subscribe-back {
  background-color: var(--41);
  padding: 22px;
  width: 100%;
  max-width: 784px;
  max-height: calc(100vh - 10vh);
  overflow-y: auto;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  cursor: auto;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.npl-subscribe-back fieldset {
  width: 100%;
  margin: 0 auto;
  position: relative;
  padding: 30px;
  display: flex;
  gap: 40px;
  flex-direction: column;
  border: 2px solid var(--ff);
}

.npl-subscribe-close {
  position: absolute;
  right: 20px;
  top: -13px;
  background-color: var(--41);
  padding: 1px 3px;
  color: var(--ff);
  cursor: pointer;
  font-family: var(--libre);
  font-style: italic;
  font-weight: var(--menuWeight);
  font-size: var(--fifteen);
  outline: none;
  border: none;
}

.popover-inner-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  /* padding: 40px; */
  margin: 0px auto;
  justify-content: space-between;
  height: 100%;
  min-height: 331px;
}

.popover-heading-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.popover-heading {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.popover-heading h2 {
  font-size: var(--twentyTwo);
  color: var(--ff);
  font-weight: var(--dblXl);
}

.popover-heading p {
  font-size: var(--eighteen);
  font-weight: var(--menuWeight);
  color: white;
  font-family: var(--libre);
}

.popover-inner-content form {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  gap: 40px;
}

.popover-form-container {
  width: 100%;
  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(--dblXl);
  font-family: var(--barlow);
}

.popover-subscribe-footer-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  outline: none;
  border: none;
  background: transparent;
  cursor: pointer;
}

.popover-subscribe-footer-button:hover {
  opacity: 0.85;
}

.popover-subscribe-footer-button img {
  width: var(--medButton);
  height: var(--medButton);
  object-fit: cover;
}

#subscribe2 .legendField {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: auto;
  width: 100%;
  max-width: 740px;
  aspect-ratio: 3 / 2;
  background-color: var(--41);
  padding: 20px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 768px) {
  .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 .legendField {
    padding: 10px;
    width: 100%;
    height: fit-content;
  }

  /* new for responsive */
  .subscribe-inner {
    height: fit-content;
  }

  .popover-inner-content {
    padding: 10px;
    justify-content: center;
    height: 100%;
    gap: 40px;
  }

  .popover-inner-content form {
    justify-content: center;
    gap: 20px;
  }

  .popover-form-container {
    gap: 10px;
  }
}

.subscribe2-whole-button {
  width: 100%;
  height: 100%;
  background-color: transparent;
  outline: none;
  border: none;
  position: absolute;
  cursor: pointer;
}

.npl-subscribe-overflow {
  position: relative;
  overflow: clip;
}

.npl-subscribe-overflow-dummy {
  transform: translateY(0);
  transition: 0.3s ease-in-out;
}

.npl-subscribe-overflow-original {
  position: absolute;
  top: 0;
  transform: translateY(110%);
  transition: 0.3s ease-in-out;
}

.npl-subscribe-overflow:hover .npl-subscribe-overflow-dummy {
  transform: translateY(-110%);
  transition: 0.3s ease-in-out;
}

.npl-subscribe-overflow:hover .npl-subscribe-overflow-original {
  transform: translateY(0);
  transition: 0.3s ease-in-out;
}

@media screen and (max-width: 1024) {
  .npl-subscribe-overflow:hover .npl-subscribe-overflow-dummy {
    transform: translateY(0%) !important;
  }

  .npl-subscribe-overflow:hover .npl-subscribe-overflow-original {
    transform: translateY(0%) !important;
  }
}

@media screen and (min-width: 1921px) {
  .footer_container {
    max-width: 64%;
    margin: 0 auto;
  }
}
