/* =========================
   GLOBAL BASICS
========================= */

html,
body {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    font-family: 'Sulphur Point', sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    padding-top: 70px;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 70px);
}

main {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================
   HEADER
========================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    background: linear-gradient(180deg,
            #2f2f2f 0%,
            #1f1f1f 100%);
    color: #FFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    z-index: 1000;
}

header .container {
    display: flex;
    align-items: center;
    height: 70px;
}

header img {
    height: 55px;
    display: block;
}

/* Navigation (Desktop) */
.nav {
    display: flex;
    gap: 25px;
    margin-left: auto;
}

.nav a,
.nav a:visited {
    color: #FFF;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 14px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.nav a:hover {
    background: #9BE000;
    color: #FFF;
}

/* Burger */
.burger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* Icons */
.burger i {
    display: none;
}

.burger .icon-menu {
    display: block;
}

.burger .icon-close {
    display: none;
}

.burger.active .icon-menu {
    display: none;
}

.burger.active .icon-close {
    display: block;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 900;
}

.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* =========================
   FOOTER
========================= */

.footer {
    background: #f5f5f5;
    color: #555;
    padding: 30px 0;
    font-size: 14px;
}

.footer p {
    margin: 0;
    text-align: center;
}

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

@media (max-width: 768px) {

    header img {
        height: 45px;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(80%, 320px);
        background: #1f1f1f;

        flex-direction: column;
        padding: 80px 20px 20px 20px;
        gap: 15px;

        transform: translateX(100%);
        pointer-events: none;
    }

    .nav.active {
        transform: translateX(0);
        pointer-events: auto;
        transition: transform 0.3s ease;
    }

    .burger {
        display: block;
        margin-left: auto;
        z-index: 1100;
    }

}