@font-face {
    font-family: "Oswald";
    src: url("fonts/Oswald-VariableFont_wght.ttf") format("truetype");
    font-weight: 200 700;
    font-style: normal;
}

@font-face {
    font-family: "Kalam";
    src: url("fonts/Kalam-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Kalam";
    src: url("fonts/Kalam-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

:root {
    --section-width: 93vw;
    --section-radius: 30px;
}

html {
    background-color: #000;
    overscroll-behavior-y: none;
}

body {
    margin: 0;
    background-color: #f3eee4;
    font-family: "Oswald", sans-serif;
}


/* HERO */

.hero-wrapper {
    height: 110vh;
}

.hero {
    height: 100vh;

    background-image: url("Images/Landingpage4.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: sticky;
    top: 0;

    overflow: hidden;

    transform: scale(1);
    transform-origin: center;

    will-change: transform, border-radius;
}


/* HEADER */

header {
    position: relative;

    color: #f3eee4;

    background-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0)
    );

    padding: 20px 60px;

    z-index: 10;
}

.desktop-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.desktop-nav nav {
    display: flex;
    gap: 80px;

    font-size: large;
}

.desktop-nav nav:first-child {
    justify-self: end;
    margin-right: 120px;
}

.desktop-nav nav:last-child {
    justify-self: start;
    margin-left: 120px;
}

.logo {
    font-size: x-large;
    font-weight: 700;
    text-align: center;
}

header a {
    text-decoration: none;
    color: #f3eee4;
    font-weight: 600;
}

header a:hover {
    text-shadow: 0 0 1px #fff;
}


/* MOBILE HEADER */

.mobile-header,
.mobile-menu {
    display: none;
}


/* HERO TEXT */

.hero-content {
    position: absolute;

    color: #f3eee4;

    left: 8%;
    top: 54%;
}

.hero-content h1 {
    margin: 0;

    font-size: 70px;
    font-weight: 700;
}

.hero-content h2 {
    word-spacing: 20px;
}


/* INTRO */

.intro {
    width: var(--section-width);

    margin: 40px auto 0;

    min-height: 40vh;

    border: 2px solid #000;
    border-radius: var(--section-radius);

    background-color: #f4f5f6;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.08) 1px,
            transparent 1px
        );

    background-size: 40px 40px;

    overflow: hidden;
}

.intro-box {
    padding: 20px 30px 30px;

    font-family: "Kalam", cursive;
    font-weight: 400;
    font-size: larger;
}

.intro-label {
    font-family: "Kalam", cursive;
    font-weight: 700;
}

.intro a {
    color: #000;
}


/* FOOTER */

footer {
    text-align: center;
    color: #000;
}


/* =========================
   TABLET / SMALL LAPTOP
   ========================= */

@media (max-width: 1000px) {

    .hero {
        background-position: 58% center;
    }

    header {
        padding: 18px 30px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-header {
        position: relative;
        z-index: 110;

        display: flex;

        justify-content: space-between;
        align-items: center;
    }

    .mobile-header .logo {
        text-align: left;
    }

    .menu-button {
        position: relative;
        z-index: 120;

        background: none;
        border: none;

        color: #f3eee4;

        font-family: "Oswald", sans-serif;
        font-size: 34px;
        font-weight: 500;

        cursor: pointer;

        padding: 0;
    }

    .mobile-menu {
        display: none;

        position: fixed;
        inset: 16px;

        z-index: 100;

        flex-direction: column;
        justify-content: center;

        gap: 30px;

        padding: 40px;

        background: rgba(20, 20, 20, 0.92);

        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);

        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 28px;

        box-shadow:
            0 20px 60px rgba(0, 0, 0, 0.35);

        text-align: left;
    }

    .mobile-menu.active {
        display: flex;
    }

    .mobile-menu a {
        position: relative;

        color: #f3eee4;

        font-size: 34px;
        font-weight: 500;

        text-decoration: none;

        padding: 8px 0;

        transition:
            transform 0.2s ease,
            opacity 0.2s ease;
    }

    .mobile-menu a:hover {
        transform: translateX(8px);
        opacity: 0.7;
        text-shadow: none;
    }

    .hero-content {
        left: 7%;
        top: 56%;
        width: 46%;
    }

    .hero-content h1 {
        font-size: 50px;
        line-height: 0.95;
    }

    .hero-content h2 {
        font-size: 20px;
        word-spacing: 8px;
    }

    .intro {
        width: 90vw;
    }
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 800px) {

    :root {
        --section-radius: 22px;
    }

    .hero {
        background-position: 56% center;
    }

    header {
        padding: 16px 20px;
    }

    .logo {
        font-size: 20px;
        line-height: 1.05;
    }

    .menu-button {
        font-size: 30px;
    }

    .mobile-menu {
        inset: 10px;

        padding: 30px;

        gap: 24px;

        border-radius: 22px;
    }

    .mobile-menu a {
        font-size: 30px;
    }

    .hero-content {
        left: 6%;
        top: 72%;

        width: 44%;
    }

    .hero-content h1 {
        font-size: 34px;
        line-height: 0.95;
        letter-spacing: -0.5px;
    }

    .hero-content h2 {
        font-size: 13px;
        line-height: 1.4;

        word-spacing: 3px;

        white-space: nowrap;
    }

    .intro {
        width: 92vw;

        margin-top: 25px;

        min-height: 45vh;

        background-size: 30px 30px;
    }

    .intro-box {
        padding: 20px;

        font-size: 17px;
    }

    footer {
        padding: 20px;
        font-size: 14px;
    }
}