html {
  height: 100%;
}

body {
  padding: 0;
  margin: 0;
  min-height: 100vh;
  font-family: "Inria Sans", serif;
}

html,
body {
  overflow-x: hidden;
}

header {
  top: 0;
  left: 0;
  position: fixed;
  z-index: 1;
  width: 100vw;
  min-height: 50px;
  box-sizing: border-box;
  background-color: #ffffff;
}

a {
  text-decoration: none;
}

footer {
  left: 0;
  bottom: 0;
  text-align: left;
  position: absolute;
  width: 20vw;
  padding: 0px 0px 20px 20px;
}

#background-home {
  width: 100vw;
  height: 100vh;
  background-image: url("../images/Nepal-14-min.jpg");
  background-size: cover;
}

#background-mission {
  background-image: url("../images/Swayambhunath_161106-97.jpg");
}

.topnav {
  overflow: hidden;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 50px;
  box-sizing: border-box;
  padding: 0 10px;
  background-color: rgba(255, 255, 255, 0.7);
}

.pages {
  display: flex;
}

.topnav .link {
  color: #000000;
  background-color: #ffffff;
  text-align: center;
  padding: 14px 16px;
  font-size: 17px;
  font-weight: bold;
  text-decoration: underline;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.no-hover:hover {
  background-color: transparent;
}

.topnav .active {
  border-bottom: 6px solid #ff9016;
  box-sizing: border-box;
}

.topnav .house-icon {
  width: 32px;
  height: auto;
  margin-right: 10px;
}

.details {
  background-color: rgba(255, 254, 254, 0.904);
  opacity: 90%;
  width: 50%;
  min-width: 400px;
  margin: auto;
  margin-top: 10%;
  padding: 30px;
  border-radius: 20px;
  overflow: hidden;
}

.content-wrapper {
  display: flex;
  align-items: start;
  gap: 2rem;
  /* flex-wrap: wrap; */
  height: 20%;
  margin-top: 15px;
  min-width: 400px;
}

@media (max-width: 1200px) {
  .details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
  }
  .content-wrapper {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.temple-description {
  flex: 2;
}

.map {
  flex: 1;
}

.map-image {
  border-radius: 10px;
  min-width: 300px;
  width: 100%;
  box-shadow: 0px 8px 10px rgba(0, 0, 0, 0.376);
}

.explore-button-container {
  display: flex;
  justify-content: start;
  align-items: center;
  width: 90%;
}

.explore-button {
  background-color: #ea6e65;
  margin: 20px;
  font-weight: 600;
  font-size: larger;
  border: none;
  padding: 20px 40px 20px 40px;
  align-content: center;
}

.explore-button br {
  size: 80%;
}

.large-heading {
  font-size: 40px;
  color: black;
  font-family: "Inria Sans", serif;
  font-weight: bold;
}

.large-heading:hover {
  background-color: #f0963c;
  color: rgb(255, 255, 255);
}

.small-heading {
  font-size: 20px;
  color: black;
  font-family: "Inria Sans", serif;
  font-weight: bold;
  margin: 3px;
}

.mission-container,
.impact-container,
.work-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.mission-container {
  margin-top: 60px;
}

.impact-slide {
  position: relative;
  display: inline-block;
  align-items: start;
  height: 100%;
  width: 80%;
  border-radius: 20px;
}

.impact-slide-text {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: flex-start;
  height: 100%;
  width: 50%;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 20px 0 0 20px;
}

.mission-image,
.impact-image,
.work-image {
  width: 80%;
  border-radius: 20px;
  object-fit: cover;
  filter: brightness(0.85);
  filter: drop-shadow(0 0 0.75rem rgb(63, 63, 63));
}

.impact-image {
  display: block;
  width: 100%;
  height: auto;
}

.impact-text {
  color: white;
  font-size: clamp(1rem, 1vw + 1rem, 2.5rem);
  padding-left: 1rem;
  width: 90%;
}

.section-number {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ff9016;
  font-weight: bold;
  font-size: clamp(2rem, 2vw + 2rem, 4rem);
}

.impact-slide .section-number {
  position: static;
  transform: none;
  padding-left: 1rem;
}

.work-container .section-number {
  top: 30%;
  left: 65%;
}

.mission-heading,
.work-heading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: clamp(6rem, 2vw + 6rem, 10rem);
}

.impact-heading {
  position: static;
  color: #ff9016;
  font-weight: bold;
  font-size: clamp(6rem, 2vw + 6rem, 10rem);
  padding-left: 1rem;
}

.work-heading {
  top: 50%;
  left: 65%;
}

.mission-text1,
.work-text1 {
  position: absolute;
  width: 60%;
  transform: translateX(-50%);
  top: 60%;
  left: 50%;
  color: white;
  font-size: clamp(1rem, 1vw + 1rem, 2.5rem);
  text-align: center;
}

.mission-text2 {
  position: absolute;
  width: 90%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 1rem;
  border-radius: 1rem;
  color: black;
  background-color: rgba(255, 254, 254, 0.904);
  opacity: 90%;
}

.mission-text3 {
  padding: 0.5rem;
  text-align: start;
}

.work-text1 {
  top: 60%;
  left: 65%;
}

.work-text2 {
  position: absolute;
  padding: 1rem;
  border-radius: 1rem;
  /* color: black; */
  /* background-color: rgba(255, 254, 254, 0.904); */
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 90%;
  top: 45%;
  left: 50%;
  width: 85%;
  transform: translate(-50%, -50%);
}

.work-text3 {
  top: 50%;
  left: 50%;
  width: 75%;
}

.mission-heading3 {
  margin-left: 1rem;
  margin-bottom: none;
}

.slide-text {
  opacity: 0;
  transition: opacity 0.4s ease;
  transition-delay: 0s;
  pointer-events: auto;
}

footer .hero {
  color: #c0bbbb;
}

footer .sub-hero {
  color: white;
}

@media (max-width: 900px) {
  .explore-button-container {
    justify-content: center;
  }

  .explore-button {
    margin: 15px;
  }

  .mission-heading,
  .impact-heading,
  .work-heading {
    font-size: clamp(4rem, 4vw + 1rem, 6rem);
    font-weight: bold;
  }

  .section-number {
    font-size: clamp(1.5rem, 1vw + 1.5rem, 2rem);
  }

  .mission-text1,
  .mission-text2,
  .mission-text3 {
    font-size: clamp(0.5rem, 1vw + 0.5rem, 1.5rem);
    font-weight: bold;
    padding: 0;
  }

  .mission-text1 {
    width: 85%;
  }

  .work-text1,
  .work-text2,
  .work-text3 {
    font-size: clamp(0.5rem, 1vw + 0.5rem, 1.5rem);
    font-weight: bold;
  }

  .impact-text {
    font-size: clamp(0.5rem, 1vw + 0.5rem, 1.5rem);
    font-weight: bold;
  }

  .slide-text ul li:nth-child(n + 4) {
    display: none;
  }
}

@media (max-width: 700px) {
  .slider {
    aspect-ratio: 1/1;
  }

  footer {
    display: none;
  }

  .mission-heading,
  .impact-heading,
  .work-heading {
    font-size: clamp(3rem, 5vw + 0.5rem, 4rem);
  }

  .section-number {
    font-size: clamp(1rem, 1vw + 1rem, 1.5rem);
  }
}
/* ----------------------------------- Image Slider ------------------------------------
*/
.slider-wrapper {
  position: relative;
  /* max-width: 48rem; */
  width: 80%;
  margin: 0 auto;
  filter: drop-shadow(0 0 0.75rem rgb(63, 63, 63));
}

/* Mobile 1:1, laptop: 16:9*/
.slider {
  display: flex;
  aspect-ratio: 16/9;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%0.25);
  border-radius: 20px;
}

.slider img {
  flex: 1 0 100%;
  scroll-snap-align: start;
  object-fit: cover;
}

.slider-nav {
  display: flex;
  column-gap: 1rem;
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.slider-nav a {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.75;
  transition: opacity ease 0.25s;
  cursor: pointer;
}

.slider-nav a:hover {
  opacity: 1;
}

.slider-nav a.active-dot {
  background-color: #ff9016;
  opacity: 1;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
/* -------------------------------------CSS Fonts --------------------------------------------*/
/* Imported CSS */
.inria-sans-light {
  font-family: "Inria Sans", serif;
  font-weight: 300;
  font-style: normal;
}

.inria-sans-regular {
  font-family: "Inria Sans", serif;
  font-weight: 400;
  font-style: normal;
}

.inria-sans-bold {
  font-family: "Inria Sans", serif;
  font-weight: 700;
  font-style: normal;
}

.inria-sans-light-italic {
  font-family: "Inria Sans", serif;
  font-weight: 300;
  font-style: italic;
}

.inria-sans-regular-italic {
  font-family: "Inria Sans", serif;
  font-weight: 400;
  font-style: italic;
}

.inria-sans-bold-italic {
  font-family: "Inria Sans", serif;
  font-weight: 700;
  font-style: italic;
}

.roboto-font {
  font-family: "Roboto", serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}
