* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    background: #050505;
    color: white;
    font-family:
        "Segoe UI",
        sans-serif;
}


.noise {
    position: fixed;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            rgba(255,255,255,0.02),
            rgba(255,255,255,0.02)
        );

    pointer-events: none;

    z-index: 100;
}


/* ============================================================
   HEADER
   ============================================================ */

header {
    position: relative;
    top: 0;

    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 25px 8%;

    background:
        rgba(0,0,0,0.4);

    backdrop-filter: blur(10px);

    z-index: 1000;
}


.logo {
    font-weight: 900;
    letter-spacing: 3px;
}


nav a {
    color: white;
    text-decoration: none;

    margin-left: 30px;

    opacity: .7;

    transition: .3s;
}


nav a:hover {
    opacity: 1;
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
    height: 100vh;

    display: flex;
    align-items: center;

    padding-left: 10%;

    position: relative;

    overflow: hidden;
}


.hero::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            rgba(0,0,0,0.4),
            rgba(0,0,0,0.8)
        ),
        url("images/hero-01.png");

    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;

    -webkit-mask-image:
    linear-gradient(
        to bottom,
        black 0%,
        black 90%,
        transparent 100%
    );

    mask-image:
    linear-gradient(
        to bottom,
        black 0%,
        black 90%,
        transparent 100%
    );

    z-index: 0;

    animation:
        heroZoom
        20s
        ease-in-out
        infinite
        alternate;
}

@keyframes heroZoom {

    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }

}


.hero-content {
    position: relative;
    z-index: 1;

    width: 100%;
    padding-right: 10%;

    text-align: right;
}


.hero h1 {
    font-size: 90px;

    line-height: .9;
}


.hero h1 span {
    color: #ff3b3b;
}


.hero p {
    margin-top: 30px;
    margin-left: auto;
    margin-right: 0;

    font-size: 22px;
    max-width: 500px;

    color: #aaa;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.buttons {
    margin-top: 40px;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 150px;
    height: 52px;

    box-sizing: border-box;

    padding: 0;

    background: #222;
    color: white;

    text-decoration: none;
    font-weight: bold;

    margin-right: 0;

    transition: .3s;
}

.button:hover {
    transform: translateY(-3px);
}

.steam {
    background: #222;
}

.button.dtf {
    background: transparent;
    border: 1px solid #333;
}

.button.dtf:hover {
    border-color: #666;
}


/* ============================================================
   SECTIONS
   ============================================================ */

section {
    padding: 120px 10%;
}


h2 {
    font-size: 45px;

    margin-bottom: 40px;
}


section p {
    font-size: 20px;

    line-height: 1.6;

    color: #aaa;

    max-width: 800px;
}


/* ============================================================
   CARDS
   ============================================================ */

.cards {
    display: flex;

    gap: 30px;
}


.card {
    background: #111;

    padding: 40px;

    border: 1px solid #222;

    flex: 1;

    transition: .4s;
}


.card:hover {
    transform: translateY(-10px);

    border-color: #ff3b3b;
}


/* ============================================================
   IMAGES
   ============================================================ */

.images {
    display: flex;

    gap: 20px;
}


.image {
    height: 250px;

    flex: 1;

    background: #151515;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #555;

    border: 1px solid #222;
}


/* ============================================================
   NEWS
   ============================================================ */

.news {
    display: flex;

    gap: 30px;
}


article {
    background: #111;

    padding: 30px;

    flex: 1;
}


/* ============================================================
   BOTTOM INFO
   ============================================================ */

.bottom-info {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;
}


.bottom-info > div {
    flex: 1;
}


.engine {
    text-align: left;
}


.blog {
    text-align: center;
}


.contact {
    text-align: right;
}


.bottom-info h2 {
    margin-bottom: 20px;
}


/* ============================================================
   FOOTER
   ============================================================ */

footer {
    padding: 40px;

    text-align: center;

    color: #555;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */


@media(max-width:800px) {

    .hero h1 {
        font-size: 50px;
    }

    .hero::before {
        background-position: 30% center;
    }

    .hero-content {
        width: 100%;
        padding-right: 8%;
        text-align: right;
    }

    .hero p {
        max-width: 100%;
        margin-left: auto;
        margin-right: 0;
    }

    .buttons {
        margin-top: 40px;
        justify-content: flex-end;
        gap: 10px;
    }

    .button {
        width: 150px;
        height: 52px;
    }

    .cards,
    .images,
    .news,
    .bottom-info {
        flex-direction: column;
    }

    /* BOTTOM INFO */

    .bottom-info {
        gap: 60px;
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .bottom-info > div {
        width: 100%;
        text-align: left;
    }

    .engine,
    .blog,
    .contact {
        text-align: left;
    }

    .bottom-info h2 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .bottom-info p {
        font-size: 17px;
    }

}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */

.language-switcher {
    position: absolute;

    top: 25px;
    right: 8%;

    z-index: 9999;
}


/* BUTTON */

.language-button {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 10px 0;

    background: transparent;
    border: 0;

    color: #888;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;

    cursor: pointer;

    transition: color 0.2s ease;
}

.language-button:hover {
    color: #fff;
}


/* ARROW */

.language-arrow {
    font-size: 8px;

    transition: transform 0.2s ease;
}


/* OPEN STATE */

.language-switcher.open .language-arrow {
    transform: rotate(180deg);
}


/* DROPDOWN */

.language-menu {
    position: absolute;

    top: calc(100% + 5px);
    right: 0;

    min-width: 100%;

    padding: 5px 0;

    background: #080808;
    border: 1px solid #333;

    opacity: 0;
    visibility: hidden;

    transform: translateY(-5px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}



/* OPEN */

.language-switcher.open .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* LINKS */

.language-menu a {
    display: block;

    padding: 10px 20px;

    color: #888;

    text-decoration: none;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;

    white-space: nowrap;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.language-menu a:hover {
    color: #fff;
    background: #111;
}


/* MOBILE */

@media (max-width: 800px) {

    .language-switcher {
        top: 20px;
        right: 8%;
    }

}
