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

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

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body {
    background-color: rgb(31, 58, 8);
    position: relative;
    height: 100%;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    color: #FFF;
}

body.loaded {
    overflow-y: auto;
    overflow-x: hidden;
}

.logo {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 100%;
}

.logo img {
    width: 130px;
    margin: 0 auto;
}

.bg {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    object-fit: cover;
}

.layer {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    background: rgba(31, 58, 28, 0.35);
}

.webgl {
    position: fixed;
    top: 0;
    left: 0;
    outline: none;
}

.loader-number {
    position: fixed;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: 300;
    color: #FFF;
    z-index: 99;
    transition: opacity 0.5s;
}

.loader-number.ended {
    opacity: 0;

}

section {
    height: 100vh;
    width: 100vw;
    /* scroll-snap-align: start; */
    position: relative;
    opacity: 0;
}

section .container {
    max-width: 1360px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 15px;

    display: flex;
    align-items: center;
    justify-content: flex-start;
}


.hero {
    width: 50%;
    height: 100%;
    margin-bottom: 50px;

    grid-area: content;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

.two .hero {
    margin-left: auto;
}

.four * {
    text-align: center;
}

.four .hero {
    margin: 0 auto;
}

h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 90px;
    line-height: 100px;
    font-weight: 700;
    height: 100px;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

h2 {
    font-size: 54px;
    font-weight: 600;
    line-height: 66px;
    font-family: inherit;
    display: block;
    width: 100%;
    margin-bottom: 30px;
}

h3 {
    font-size: 36px;
    font-weight: 400;
    line-height: 48px;
    margin-bottom: 30px;
    display: block;
    width: 100%;
}

p {
    font-size: 16px;
    line-height: 26px;
    font-weight: 300;
    display: block;
    width: 100%;
}

.loading-bar {
    position: fixed;
    top: 50%;
    width: 100%;
    height: 2px;
    z-index: 99;
    background: #FFF;
    transform: scaleX(0);
    transition: transform 0.5s;
    transform-origin: top left;
}

.loading-bar.ended {
    transform: scaleX(0);
    transform-origin: 100% 0;
    transition: transform 1.5s ease-in-out;
}

@media (max-width: 768px) {
    h1 {
        font-size: 48px;
        line-height: 60px;
    }

    h2 {
        font-size: 36px;
        line-height: 46px;
        margin-bottom: 20px;
        margin-top: -130px;
    }

    h3 {
        font-size: 24px;
        line-height: 34px;
        margin-bottom: 20px;
    }

    p {
        font-size: 14px;
        line-height: 24px;
    }

    .hero {
        width: 100%;
    }

    .logo img {
        width: 100px;
    }
}