@font-face {
    font-family: "Nunito";
    src: url('../fonts/Nunito-VariableFont_wght.ttf');
}

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

body {
    font-family: "Nunito";
    background-color: #0a0e51;
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #7dbbff;
    padding: 1rem 2rem;
    position: relative;
    z-index: 10;
}

.logo a {
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    text-decoration: none;
}

.logo a:hover {
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    padding: 5px;
}

.hamburger :first-child {
    margin-top: 0;
}

.bar1,
.bar2,
.bar3 {
    height: 6px;
    width: 35px;
    background-color: #02024c;
    margin-top: 6px;
    border-radius: 5px;
    transition: all 0.1s;
}

.open .bar1,
.open .bar2,
.open .bar3 {
    background-color: #02024c;
    z-index: 100;
}

.open .bar1 {
    transform: translateY(100%) translateY(6px) rotate(45deg);
    /* as far as .bar1 margin-top = 6px */
}

.open .bar2 {
    opacity: 0;
}

.open .bar3 {
    transform: translateY(-100%) translateY(-6px) rotate(-45deg);
    /* as far as .bar1 margin-top = 6px */
}

/* Fullscreen overlay */

/* Hero section */
.hero {
    text-align: center;
    margin-top: 1rem;
    padding: 1rem 1rem 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    color: #ffc233;
}

.hero .stars {
    font-size: 1.5rem;
}

.hero p {
    margin-top: 1rem;
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.store-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.store-buttons img {
    height: 50px;
}

.unicorn {
    margin-top: 2rem;
    text-align: center;
}

.unicorn img {
    max-width: 300px;
}

/* MAIN CONTENT */
main {
    max-width: 900px;
    margin: 1rem auto;
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    flex: 1;
}

main.contact-text-ctr {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    -webkit-text-decoration: none;
}

h1 {
    margin-top: 1.5rem;
    font-size: 2.2rem;
    margin-bottom: 0.3rem;
    color: var(--primary);
}

h2 {
    font-size: 1.6rem;
    margin-top: 2rem;
    color: var(--secondary);
}

h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    color: var(--text-muted);
}

ul {
    padding-left: 1.2rem;
    margin-top: 0.5rem;
}

ul li {
    margin-bottom: 0.6rem;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* .address-link {
    text-decoration: none;
    color: inherit;
    -webkit-text-decoration: none;
} */

/* Footer */
.footer {
    background-color: #7dbbff;
    text-align: center;
    padding: 2rem 1rem;
    margin: 0;
}

.footer .links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.footer .links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.footer .links a:hover {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {

    .nav-overlay {
        position: fixed;
        background-color: rgba(125, 187, 255, 0.7);
        -webkit-backdrop-filter: blur(3px);
        backdrop-filter: blur(3px);
        top: 0;
        left: -100%;
        height: 100%;
        width: 100%;
        z-index: 99;
        transition: left 0.3s ease-in-out;
    }

    .nav-overlay.slide {
        left: 0;
    }

    .nav-overlay.show {
        display: flex;
    }

    .nav-overlay .nav-links {
        flex-direction: column;
        gap: 2rem;
    }

    .nav-overlay .nav-links a {
        font-size: 2rem;
    }

    .nav-links {
        padding-top: 100px;
        /* pour laisser la place au header */
        padding-left: 2rem;
        /* pour décaler les liens à gauche */
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 1.5rem;
        text-align: left;
    }

    .hamburger {
        display: flex;
    }

    /* main {
        margin: 1.5rem 1rem;
        padding: 1.5rem;
        flex: 1;
    } */

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .footer .links {
        display: flex;
        flex-direction: column;
    }
}