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

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
::selection {
  background-color: #0b372dbb;
}

body {
  font-family: "Poppins", sans-serif;
}

.logo {
  width: 100px;
}

header {
  position: absolute;
  z-index: 9999;
  padding: 0.9rem 0;
  width: 100%;
  top: 0;
  left: 0;
  border-bottom: 1.2px solid rgba(255, 255, 255, 0.1);
}

header nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header ul {
  display: flex;
  align-items: center;
  list-style: none;
}

header ul a {
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  padding: 0 1.5rem;
  font-weight: 300;
  font-size: 0.83rem;
}
header ul a:hover {
  background-color: #0b372dbb;
}

.search a {
  font-size: 1.05rem;
  padding: 0 3rem;
}
.hamburger {
  padding-left: 1.5rem;
}

.hamburger a {
  padding: 0;
  width: 37px;
  height: 37px;
  display: flex;
  border-radius: 50%;
  background-color: rgba(125, 125, 125, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
}

.hamburger .bar {
  height: 1.3px;
  width: 52%;
  border-radius: 2px;
  background-color: #fff;
  position: relative;
}
.hamburger .bar::before,
.hamburger .bar::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  height: 100%;
  width: 60%;
  border-radius: 2px;
  background-color: inherit;
}

.hamburger ::before {
  top: -4.2px;
}
.hamburger ::after {
  top: 4.5px;
}

main {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  position: relative;
}

.bg-img {
  position: absolute;
  width: 2800px;
  top: calc(50% - 390px);
  left: calc(50% + 10px);
  z-index: 1;
}

.fog-7 {
  position: absolute;
  z-index: 2;
  width: 1900px;
  top: calc(50% - 100px);
  left: calc(50% + 300px);
}

.mountain-10 {
  position: absolute;
  z-index: 3;
  top: calc(50% + 69px);
  width: 870px;
  left: calc(50% + 230px);
}
.fog-6 {
  position: absolute;
  z-index: 4;
  top: calc(50% + 85px);
  left: calc(50% - 10px);
  width: 1800px;
  opacity: 80%;
}

.mountain-9 {
  position: absolute;
  z-index: 5;
  top: calc(50% + 119px);
  width: 463px;
  left: calc(50% - 457px);
}

.mountain-8 {
  position: absolute;
  z-index: 6;
  top: calc(50% + 96px);
  width: 786px;
  left: calc(50% - 202px);
}

.fog-5 {
  position: absolute;
  z-index: 7;
  top: calc(50% + 160px);
  left: calc(50% - 230px);
  width: 450px;
}

.mountain-7 {
  position: absolute;
  z-index: 8;
  width: 515px;
  top: calc(50% + 134px);
  left: calc(50% + 305px);
}

.text {
  position: absolute;
  z-index: 9;
  text-align: center;
  text-transform: uppercase;
  top: calc(50% - 130px);
  left: 50%;
  color: #fff;
}

.text h2 {
  font-weight: 100;
  font-size: 6.5rem;
  pointer-events: auto;
}
.text h1 {
  font-weight: 800;
  pointer-events: auto;
  font-size: 8rem;
  line-height: 0.88;
}
.mountain-6 {
  position: absolute;
  z-index: 10;
  top: calc(50% + 86.5px);
  width: 383.5px;
  left: calc(50% + 590px);
}
.fog-4 {
  position: absolute;
  z-index: 11;
  top: calc(50% + 242px);
  left: calc(50% - 64px);
  width: 543px;
}

.mountain-5 {
  position: absolute;
  z-index: 12;
  top: calc(50% + 269px);
  width: 583px;
  left: calc(50% + 130px);
}

.fog-3 {
  position: absolute;
  z-index: 13;
  top: calc(50% + 171px);
  left: calc(50% + 29px);
  width: 449px;
}

.mountain-4 {
  position: absolute;
  z-index: 14;
  top: calc(50% + 220px);
  width: 717px;
  left: calc(50% - 381.5px);
}

.mountain-3 {
  position: absolute;
  z-index: 15;
  top: calc(50% + 133px);
  left: calc(50% + 736px);
  width: 419px;
}

.fog-2 {
  position: absolute;
  z-index: 16;
  top: calc(50% + 95px);
  left: calc(50% + 7px);
  width: 1833px;
}

.mountain-2 {
  position: absolute;
  z-index: 17;
  top: calc(50% + 188px);
  left: calc(50% + 412px);
  width: 625px;
}

.mountain-1 {
  position: absolute;
  z-index: 18;
  top: calc(50% + 91.5px);
  left: calc(50% - 650px);
  width: 450px;
}

.sun-rays {
  position: absolute;
  z-index: 19;
  top: 0;
  right: 0;
  width: 595px;
  pointer-events: none;
}
.black-shadow {
  position: absolute;
  z-index: 20;
  bottom: 0;
  right: 0;
  width: 100%;
  pointer-events: none;
}
.fog-1 {
  position: absolute;
  z-index: 21;
  top: calc(100% - 400px);
  left: 50%;
  width: 1900px;
}

.vignette {
  position: absolute;
  z-index: 100;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 0.7)
  );
  pointer-events: none;
}

.parallax {
  pointer-events: none;
  transition: 0.45s cubic-bezier(0.21, 0.78, 0.63, 1.05);
}

@media (max-width: 1100px) {
  .text h1 {
    font-size: 5.8rem;
  }
  .text h2 {
    font-size: 4.7rem;
  }
}
@media (max-width: 725px) {
  .text h1 {
    font-size: 5rem;
    line-height: 1.1;
  }
  .text h2 {
    font-size: 4.1rem;
    line-height: 1.1;
  }

  header nav {
    padding: 0 1rem;
  }

  .logo {
    width: 75px;
  }

  header ul a {
    font-size: 0.73rem;
    padding: 0 0.9rem;
  }
  .search a {
    font-size: 0.85rem;
    padding: 0 1.8rem;
  }

  .hamburger {
    padding-left: 0.9rem;
  }
  .hamburger a {
    height: 30px;
    width: 30px;
  }
}
@media (max-width: 520px) {
  .text h1 {
    font-size: 3.3rem;
  }
  .text h2 {
    font-size: 2.6rem;
  }
}
