@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Raleway';
    /* overflow: hidden; */
    background-color: #FDF4EB;
    width: 100%;
}

body {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

#mainLogo {
    width: 5rem;
    height: 5rem;
}

.logo {
    display: flex;
    align-items: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    height: 5rem;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background-image: linear-gradient(to bottom, rgba(0, 21, 41, 1), rgba(0, 21, 41, 1), rgba(0, 21, 41, 1));
    z-index: 10;
}

.navbar ul {
    width: 35vw;
    justify-content: space-between;
    display: flex;
    margin-right: 3vw;
    height: 25%;
}

.navbar ul span {
    height: 100%;
    width: 1px;
    background-color: #FFAEAA;
}

.navbar a, .navbar li {
    list-style: none;
    cursor: pointer;
    color: #f0f0f0;
    font-size: 1rem;
    text-decoration: none;
    padding: 0;
}

.burger {
    display: none;
    cursor: pointer;
    color: #f0f0f0;
    margin-right: 5vw;
    font-size: 1.5rem;
}

footer {
    background-color: #001529;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    color: white;
    bottom: 0;
    gap: 1vh;
    padding: 2vh;
}

footer p {
    margin: 0;
    font-size: 0.8vw;
}

footer ul {
    display: flex;
    justify-content: space-between;
    /* width: 40vw; */
    /* margin-top: 1vh; */
    list-style: none;
    gap: 0.5vw;
    font-size: 1vw;
    padding: 0;
    margin: 0;
    max-width: 80vw;
}

footer a {
    text-decoration: none;
    color: white;
    font-size: 1vw;
}

.button-underline {
    position: relative;
    text-decoration: none;
    color: #FFAEAA;
    padding-bottom: 5px;
}

.button-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0.5px;
    bottom: 0;
    left: 0;
    background-color: #FFAEAA;
    transition: width 0.3s ease;
}

.button-underline:hover::after {
    width: 100%;
}

footer li {
    height: 100%;
}

@media screen and (max-width: 1024px) {

    footer p, footer a {
        font-size: 0.5rem;
    }

    footer ul {
        font-size: 0.5rem;
        max-width: none;
    }

    .burger {
        display: block;
    }

    /* Masquer le menu en version mobile par défaut */
    .options {
        display: none;
        position: absolute;
        top: 5rem;
        right: 0;
        width: 100%;
        background-color: rgba(0, 21, 41, 1);
        text-align: center;
        padding: 0;
    }

    .options ul {
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .options li {
        padding: 1.5rem;
    }

    .options.active {
        display: block;
    }

    .options ul li {
        border-top: #FFAEAA 1px solid;
    }   
    
}