@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    /* Font */
    --font-stack: "Inter", sans-serif;
    
    /* Colors */
    --dark-color: #323232;
    --light-color: #5A5A5A;
    --lighter-color: rgba(50, 50, 50, 0.1);
    --bg-color: #FFFFFF;

    /* Gradients */
    --color-one: #2563eb;
    --accent-color: #2563eb;
    --color-two: #EB4925;
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: var(--font-stack);
    color: var(--dark-color);
    margin: 0;
    padding: 0;
}


/* MOBILE NOTICE */

#mobile-notice {
    display: none;
}

@media (max-width: 1024px) {
    #mobile-notice {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        min-height: 100svh;
        padding: 2rem;
        text-align: center;
        background-color: var(--bg-color);
    }

    #mobile-notice h1 {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--dark-color);
    }

    #mobile-notice p {
        font-size: 1rem;
        color: var(--light-color);
        max-width: 36ch;
        line-height: 1.6;
    }

    body > *:not(#mobile-notice) {
        display: none !important;
    }
}


/* HEADER */

header {
    width: 100%;
    position: sticky;
    z-index: 999;
    top: 0;
    left: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem clamp(1.5rem, 15vw, 16rem);

    background-color: var(--bg-color);
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.logo {
    font-weight: 700;
    font-size: 2rem;
}

.logo, .nav a {
    text-decoration: none;
    color: var(--dark-color);
    transition: color 0.2s ease;
}

.logo:hover,
.logo a:hover {
    color: var(--accent-color);
}

#nav-items {
    display: flex;
    align-items: center;
}

#nav-items li {
    list-style-type: none;
    font-weight: 600;
    font-size: 1.2rem;
    margin-left: 4rem;
}

#nav-items a {
    position: relative;
}

#nav-items a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--dark-color);
    transition: width 0.3s ease;
}

#nav-items a:hover::after {
    width: 100%;
}

#nav-items a.active::after {
    width: 100%;
}



/* FADING */

.fade-in {
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}



/* FOOTER */

footer {
    margin: 0 auto;
    
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    padding: 2rem;
}

.footer-links {
    display: flex;
    gap: 2.4rem;
    justify-content: center;
    padding: 4rem 0 1rem 0;
}

.footer-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.2s ease;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--dark-color);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.credits {
    font-size: 1.1rem;
    font-weight: 400;
}

.divider {
    height: 2px;
    width: 2rem;
    background: var(--lighter-color);
    border: 0;
    margin: 1.2rem auto;
}

.copyright {
    margin: 0 auto;
    width: fit-content;

    background: linear-gradient(to right, var(--color-one), var(--color-two));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ------------- */
/* MEDIA QUERIES */
/* ------------- */

@media (max-width: 1697px) {

    /* HEADER */

    header {
        padding: 0.8rem clamp(1.5rem, 13vw, 16rem);
    }

    .logo {
        font-size: 1.8rem;
    }

    #nav-items li {
        font-size: 1rem;
        margin-left: 4rem;
    }

    footer {
        padding: 2rem;
    }

    .footer-links {
        gap: 2.4rem;
        padding: 4rem 0 1rem 0;
    }

    .footer-links a {
        font-size: 1rem;
    }

    .credits {
        font-size: 1rem;
    }

    .divider {
        width: 2rem;
        margin: 1rem auto;
    }

}

@media (max-width: 1520px) {

    header {
        padding: 0.8rem clamp(1.5rem, 13vw, 16rem);
    }

    .logo {
        font-size: 1.8rem;
    }

    #nav-items li {
        font-size: 1rem;
        margin-left: 4rem;
    }

    footer {
        padding: 2rem;
    }

    .footer-links {
        gap: 2.4rem;
        padding: 4rem 0 1rem 0;
    }

    .footer-links a {
        font-size: 1rem;
    }

    .credits {
        font-size: 1rem;
    }

    .divider {
        width: 2rem;
        margin: 1rem auto;
    }

}