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

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #333;
    overflow: hidden;
}

.logo {
    width: 100px;
}

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

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;
    font-size: 0.83rem;
    font-weight: 300;
    padding: 0 1.5rem;
}

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

.hamburger {
    padding-left: 1.5rem;
}

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

.hamburger .bar {
    position: relative;
    width: 52%;
    height: 1.3px;
    background-color: #fff;
    border-radius: 2px;
}

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

.hamburger .bar::before {
    top: -4.5px;
}

.hamburger .bar::after {
    top: 4.5px;
}

main {
    position: relative;
    background-color: #353;
    height: 110vh;
    width: 100vw;
    overflow: hidden;
}

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

.parallax {
    pointer-events: none;
    transition: .45s cubic-bezier(.2,.49,.32,.99);
}

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

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

.mountain-10 {
    position: absolute;
    width: 892px;
    top: calc(50% + 69px);
    left: calc(50% + 230px);
    z-index: 3;
}

.fog-6 {
    position: absolute;
    width: 1610px;
    top: calc(50% + 85px);
    left: calc(50% + 10px);
    z-index: 4;
}

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

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

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

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

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

.text h2 {
    font-weight: 100;
    font-size: 6.5rem;
    line-height: 0.88;
}

.text h1 {
    font-weight: 800;
    font-size: 8rem;
    line-height: 0.88;
}

.mountain-6 {
    position: absolute;
    width: 408px;
    top: calc(50% + 60px);
    left: calc(50% + 590px);
    z-index: 10;
}

.fog-4 {
    position: absolute;
    width: 590px;
    top: calc(50% + 223px);
    left: calc(50% - 60px);
    z-index: 11;
}

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

.mountain-7 {
    position: absolute;
    width: 408px;
    top: calc(50% + 60px);
    left: calc(50% + 590px);
    z-index: 13;
}

.fog-3 {
    position: absolute;
    width: 1600px;
    top: calc(50% + 110px);
    left: calc(50% - 15px);
    z-index: 13;
}

.mountain-4 {
    position: absolute;
    width: 780px;
    top: calc(50% + 256px);
    left: calc(50% - 381px);
    z-index: 14;
}

.mountain-3 {
    position: absolute;
    width: 560px;
    top: calc(50% + 130px);
    left: calc(50% + 900px);
    z-index: 15;
}

.fog-2 {
    position: absolute;
    width: 1600px;
    top: calc(50% + 110px);
    left: calc(50% - 15px);
    z-index: 16;
}

.mountain-2 {
    position: absolute;
    width: 745px;
    top: calc(50% + 199px);
    left: calc(50% + 424px);
    z-index: 17;
}

.mountain-1 {
    position: absolute;
    width: 530px;
    top: calc(50% + 117px);
    left: calc(50% - 900px);
    z-index: 18;
}

.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;
    width: 100%;
    pointer-events: none;
}

.fog-1 {
    position: absolute;
    width: 1600px;
    top: calc(100% - 355px);
    left: 50%;
    z-index: 21;
}

@media (max-width: 1100px) {
    .text h1 {
        font-size: 5.8rem;
    }

    .text h2 {
        font-size: 4.5rem;
    }
}

@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: .85rem;
        padding: 0 1.8rem;
    }

    .hamburger a {
        height: 30px;
        width: 30px;
    }
}

@media (max-width: 520px) {
    .text h1 {
        font-size: 3.3rem;
    }

    .text h2 {
        font-size: 2.6rem;
    }
}
