*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}


body{
    background-color: #10181F;
}


header{
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 0px;
    background-color: #10181F80;
    z-index: 10;
}

.logo{

    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-style: italic;

    color: #EAECEE;
    font-size: 25px;
}

.lien-nav{
    display: flex;
    align-items: center;
}

ul{
    display: flex;
    align-items: center;
}
.liste-nav-bar{
    padding: 0 350px;
}

    
.liste-nav-bar li{
    list-style-type: none;
    padding: 0 20px;
}

a{
    text-decoration: none;
    color: #EAECEE;
    font-weight: 300;
}

a:hover{
    color: #C92C35;
}

.contact{
    color: #C92C35;
    background-color: #EAECEE;
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.contact:hover{
    background-color: #C92C35;
    color: #F3F3F3;
    transform: scale(1.1); 
}


/* ================================================================ */

h1{
    font-family: "Montserrat", sans-serif;
}

h2{
    font-family: "Montserrat", sans-serif;
    font-size: 28px;
}

.pied-de-page{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #EAECEE;
    color: #0A0F14;
    padding: 20px 0px 25px 0px;
}

.titre-pied-de-page{
    font-size: 18px;
    margin: 0 0 10px 0;
    font-weight: 500;
}

.nav-lien{
    transition: transform 0.3s ease;
}

.nav-lien:hover {
    transform: scale(1.1); 
}

/* 1. On cache le burger sur ordinateur */
.burger {
    display: none;
    cursor: pointer;
}

.burger .barre {
    width: 25px;
    height: 3px;
    background-color: #EAECEE;
    margin: 5px;
    transition: 0.3s;
}

/* ==================[Responsive Web Design]================== */

@media screen and (max-width: 1100px) {
    
    header {
        justify-content: space-between; 
        padding: 25px 5%;
    }

    .burger {
        display: block;
        z-index: 100;
    }

    .lien-nav {
        position: absolute;
        right: 0;
        top: 0;
        height: 100vh;
        background-color: #10181F;
        width: 60%;
        
        display: flex;
        flex-direction: column;
        align-items: center; 
        justify-content: flex-start;
        
        padding-top: 100px; /* Espace pour ne pas coller en haut */
        
        /* Animation */
        transform: translateX(100%); 
        transition: transform 0.4s ease-in;
    }

    .liste-nav-bar {
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .liste-nav-bar li {
        margin: 20px 0;
        opacity: 0;
    }

    .contact {
        margin-top: 20px; 
        opacity: 0; 
    }

    .lien-nav.nav-active {
        transform: translateX(0%);
    }

    .lien-nav.nav-active li,
    .lien-nav.nav-active .contact {
        opacity: 1;
        transition: opacity 0.5s 0.3s;
    }
}

@media screen and (max-width: 1500px) {
    .liste-nav-bar{
        padding: 0 100px;
    }
}

@media screen and (max-width: 775px) {
    h2{
        font-size: 18px;
    }

    p{
        font-size: 14px;
    }
}