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

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

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 8.5rem;
}

body {
    width: 100%;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

p {
    font-size: 1rem;
    letter-spacing: 0.02em;
    line-height: 1.6;
    max-width: 65ch;
    min-width: 0;
}

img {
    display: block;
    max-width: 100%;
}

header {
    background: #ffd500;
    width: 100%;
    height: 9rem;
    position: fixed;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    box-sizing: border-box;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
    display: flex;
    align-items: center;
    flex-direction: column;
}

    .logo {
        font-family: 'Schoolbell', cursive;
        font-size: 2rem;
        color: #fff;
    }

    .nav-links {
        list-style: none;
        display: flex;
        justify-content: center;
        gap: 2rem;
    }

        .nav-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 44px;
            text-decoration: none;
            color: #fff;
            font-weight: 700;
            letter-spacing: 0.04em;
            transition: color 0.3s ease;
        }

        .nav-links a:hover {
            color: #242424;
        }

main {
    margin-top: 9rem;
    padding-top: 3rem;
    padding: 0 5vw;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

section {
    padding: 2rem 0;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

section:nth-child(even) {
    background: #e2e2e2;
    border-radius: 25px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-weight: 800;
    letter-spacing: 0.03em;
    padding: 10px 20px;
    width: fit-content;
    background: #ffd500;
    color: #fff;
    text-decoration: none;
    border-radius: 15px;
    transition: background 0.3s ease;
    box-shadow: 2px 3px 15px rgba(0, 0, 0, 0.1);
}


footer {
    background: #000000;
    color: #fff;
    text-align: center;
    padding: 20px 5vw;
    box-sizing: border-box;
    position: relative;
    bottom: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;   
    gap: 20px;
    margin-top: 10rem;
}

footer .nav-links a:hover {
    color: #ffd500;
}

footer .legal-notice {
    color: rgba(255, 255, 255, 0.5);
}

footer .legal-links {
    display: flex;
    gap: 15px; 
    list-style-type: none;
}


    footer .legal-links a {
        color: rgba(255, 255, 255, 0.5);
        text-decoration: none;
        font-weight: 500;
    }

@media (max-width: 760px) {
    html {
        scroll-padding-top: 9.5rem;
    }

    header {
        position: sticky;
        height: auto;
        min-height: 0;
        padding: 2rem 0;
    }

    .logo {
        display: block;
        padding: 0 1rem;
        font-size: clamp(1.45rem, 7vw, 2rem);
        line-height: 1.1;
    }

    .nav-links {
        width: 80%;
        gap: 2rem;
        padding: 0.5rem;
    }

    .nav-links li {
        text-align: center;
    }

    .nav-links a {
        width: fit-content;
        font-size: 1.2rem;
    }

    main {
        margin-top: 0;
        padding: 0 1rem;
        gap: 2.5rem;
    }

    section {
        min-height: auto;
        padding: 1.5rem 0;
    }

    footer {
        margin-top: 4rem;
        padding: 1.5rem 1rem;
    }

    footer .nav-links li {
        flex-basis: auto;
    }
}
