@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400&family=Oswald:wght@300;700&display=swap");

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  line-height: 120%;
  font-family: "Lato", sans-serif;
}

ul,
li {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: inherit;
}

nav,
footer,
section {
  padding: 0 5rem;
}

section {
  height: 100vh;
}

@media screen and (max-width: 768px) {
  nav,
  footer,
  section {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* 
<!-- ------------------------- -->
<!-- navbar -->
<!-- ------------------------- --> 
*/

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  position: absolute;
  width: 100%;
  top: 0;
  padding: 0.5rem 5rem;
  transition: all 0.5s ease;
  z-index: 99;
}

nav .links {
  display: flex;
  gap: 2rem;
}

nav .links a {
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
  text-decoration: underline;
  text-transform: uppercase;
}

nav .links a:hover {
  color: #64718a;
}

nav.navbar-white {
  background-color: #fff;
  color: #000;
  position: sticky;
  top: 0;
}

nav.navbar-transparent {
  background-color: transparent;
}

nav.navbar-transparent .logo {
  display: block;
}

nav.navbar-transparent .logo-text {
  display: none;
}

nav.navbar-white .logo {
  display: none;
}

nav.navbar-white .logo-text {
  display: block;
}

@media screen and (max-width: 768px) {
  nav .links a {
    font-size: 0.8rem;
  }

  nav .logo-text {
    transform: scale(0.8);
  }
}

/* 
<!-- ------------------------- -->
<!-- landing -->
<!-- ------------------------- --> 
*/

.landing {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f5f5f5;
  background: url("./images/bg1.png") no-repeat top center/cover fixed;
}

/* 
<!-- ------------------------- -->
<!-- history -->
<!-- ------------------------- --> 
*/

.history {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #f5f5f5;
  background: url("./images/bg2.png") no-repeat top center/cover;
  padding: 3rem 5rem;
}

.history.backrgound-fixed {
  background-attachment: fixed;
}

.history h2 {
  position: relative;
  font-family: "Oswald", sans-serif;
  font-size: calc(5rem + 5vw);
  font-weight: 700;
  color: rgba(65, 79, 107, 0.502);
  width: fit-content;
}

.history h2::after {
  content: "HISTORY";
  font-family: "Oswald", sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  position: absolute;
  bottom: -10%;
  right: -97%;
  transform: translate(-50%, 0%);
  color: #414f6b;
}

.history p {
  width: 70%;
  font-size: 1rem;
  text-align: justify;
}

.history .carousel {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  background-color: rgba(65, 79, 107, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper {
  width: 70%;
  padding: 2rem 0 !important;
}

.swiper .swiper-pagination {
  bottom: 5% !important;
}

.swiper .swiper-pagination .swiper-pagination-bullet {
  background: #fff !important;
}

@media screen and (max-width: 768px) {
  .history {
    padding: 1rem;
  }

  .history h2::after {
    bottom: -5%;
    right: -95%;
    transform: translate(0%, 0%);
  }

  .history p {
    width: 100%;
  }
}

/* 
<!-- ------------------------- -->
<!-- team -->
<!-- ------------------------- --> 
*/

.team {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #f5f5f5;
  padding: 0.5rem 0;
}

.team .text {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 1rem;
}

.team .text h2 {
  position: relative;
  font-family: "Oswald", sans-serif;
  font-size: calc(5rem + 5vw);
  font-weight: 700;
  color: rgba(65, 79, 107, 0.502);
  width: fit-content;
}

.team .text h2::after {
  content: "CLIMB";
  font-family: "Oswald", sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  position: absolute;
  bottom: -10%;
  right: -60%;
  transform: translate(-50%, 0%);
  color: #414f6b;
}

.team .text p {
  width: 50%;
}

@media screen and (max-width: 768px) {
  .team {
    padding: 2rem 0;
  }

  .team .text {
    flex-direction: column;
    align-items: flex-start;
  }

  .team .text h2::after {
    right: -95%;
    bottom: -5%;
  }

  .team .text p {
    width: 100%;
  }
}

/* 
<!-- ------------------------- -->
<!-- tabs -->
<!-- ------------------------- --> 
*/

.tabs {
  width: 100%;
  height: 100%;
  padding: 0 !important;
}

.tabs .tab-header {
  display: flex;
  gap: 5px;
  padding: 0 10rem;
  background-color: rgba(65, 79, 107, 1);
}

.tabs .tab-header .tab {
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: hsl(220, 24%, 75%);
  cursor: pointer;
}

.tabs .tab-header .tab.active {
  background-color: hsl(220, 24%, 75%);
  color: #414f6b;
  text-decoration: underline;
}

.tabs .tab-header .tab:hover {
  background-color: hsl(220, 24%, 75%);
  color: #414f6b;
  text-decoration: underline;
}

.tabs .tab-body {
  padding: 0 5rem;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #f5f5f5;
  padding: 3rem 5rem;
  height: 80vh;
  position: relative;
  display: none;
}

.tabs .tab-body .schedule {
  position: absolute;
  background-color: #fff;
  padding: 1rem 2rem;
  top: 20%;
  left: 10%;
}

.tabs .tab-body .schedule h3 {
  font-family: "Oswald", sans-serif;
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #414f6b;
}

.tabs .tab-body .schedule div {
  display: flex;
  gap: 4rem;
  margin: 0.5rem 0;
}

.tabs .tab-body .schedule div:nth-child(3) {
  margin: 1.2rem 0;
}

.tabs .tab-body.active {
  display: flex;
}

.tabs #mountainOne {
  background: url("./images/bg3.png") no-repeat bottom center/cover;
}

.tabs #mountainTwo {
  background: url("./images/bg4.png") no-repeat bottom center/cover;
}

@media screen and (max-width: 768px) {
  .tabs .tab-header {
    padding: 0;
  }

  .tabs .tab-body .schedule {
    top: 5%;
    left: 5%;
  }
}

/* 
<!-- ------------------------- -->
<!-- footer -->
<!-- ------------------------- --> 
*/

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f5f5f5;
  padding: 0.5rem 5rem;
  background-color: rgba(65, 79, 107, 1);
  padding: 1rem 5rem;
}

footer p {
  font-style: italic;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  color: hsl(220, 24%, 75%);
}

@media screen and (max-width: 768px) {
  footer {
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    padding: 2rem 1rem;
  }
}
