@font-face {
    font-family: "Jost";
    src: url('../fonts/Jost-Regular.ttf') format('truetype');
    src: url('../fonts/Jost-Regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Jost-Regular.woff2') format('woff2'),
         url('../fonts/Jost-Regular.woff') format('woff'),
         url('../fonts/Jost-Regular.ttf')  format('truetype'),
         url('../fonts/Jost-Regular.svg#svgFontName') format('svg');
}

@media (min-width: 769px) {
    header {
        padding: 0 0 0 10px;
    }

    #headerLogo {
        width: 150px;
        padding: 10px 5px;
    }

    #logIn {
        padding: 0 25px;
    }

    #logInText {
        display: inline; 
    }

    #hamburgerMenu {
        display: none; /* Masque le bouton hamburger sur les écrans larges */
    }
}

@media (max-width: 768px) { /* TABLETTE */
    header {
        flex-wrap: wrap;
        padding: 0;
    }

    #headerMenuList {
        display: none; 
        flex-direction: column; 
        width: 100%; 
    }

    #headerMenu {
        order: 1;
    }

    #headerLogo {
        width: 100px;
        padding: 10px 0px;
        order: 2;
    }

    #headerLogIn {
        order: 3;
    }

    #logIn {
        padding: 0 10px;
    }

    #logInText {
        display: none; 
    }

    #hamburgerMenu {
        display: block;
        width: 100%;
        cursor: pointer;
        padding: 10px;
        color: white;
        background-color: #6606a1;
    }
}

body, button {
    border: none;
    margin: 0;
    font-family: Jost, Arial, Helvetica, sans-serif;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center; 
}

footer {
    display: flex;
    justify-content: center;
    align-items: center; 
    padding: 10px 0;
    background-color: #6606a1;
    color: white;
}

ul {
    padding: 0;
    margin: 0;
    display: flex;
    height: 100%;
}

li {
    list-style: none;
    padding: 0; 
    height: 100%;
}

li a {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s ease;
}

li a i {
    font-size: 1.2rem;
    margin-bottom: 4px; 
}

li a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

ul {
    padding: 0;
    margin: 0;
    display: flex;
}

#headerMenu {
    display: flex;
    align-self: stretch;
    color: white;
}

#headerLogIn {
    align-self: stretch; 
    display: flex;
}

#logIn {
    height: 100%;
    border: none;
    background-color: #6606a1;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#logIn:hover {
    background-color: #4d047a;
}

#headerLogo img {
    width: 100%;
}