/* Définition des variables */
:root {
    --fond: rgb(240, 240, 240);
}

* {
    margin: 0px;
    padding: 0px;
    font-family: 'Century Gothic', 'Helvetica', 'Arial', sans-serif;
    transition: all ease .5s;
}

body {
    background-color: var(--fond);
}

main {
    padding: 3rem 5rem;
}

.bouton {
    background-color: black;
    border: solid 2px black;
    color: white;
    text-decoration: none;
    transition: all 0.5s ease;
    padding: 10px 20px;
    text-align: center;
    font-size: 15px;
    cursor: pointer;
    display: block;
    width: 10rem;
}

.bouton:hover {
    background-color: white;
    color: black;
    text-decoration: none;
    transition: all 0.5s ease; 
}

a {
    text-decoration: none;
    color: black;
}

a:hover, footer a:hover {
    text-decoration: underline;
}

ul {
    list-style-type: none;
}

/******************************************** Header ********************************************/

header nav {
    background-color: black;
    border-bottom: solid 2px black;
}

header nav ul {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

header nav ul li {
    padding: 2rem;
}

header nav ul li:first-of-type {
    padding: 1rem;
}

header nav ul .menu:hover {
    background-color: var(--fond);
}

header nav ul .menu:hover a {
    color: black;
    text-decoration: none;
}

header a {
    text-decoration: none;
    color: white;
    font-size: 16px;
}

header #logoBretcho {
    width: 9rem;
}

/******************************************** Footer ********************************************/
section {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

footer {
    background-color: black;
    color: white;
    padding-top: 20px;
    width: 100%;
}

footer div ul {
    list-style: none;
}

footer #footerPremiereLigne {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

footer #footerPremierePartie {
    font-size: 16px;
    display: flex;
}

footer .footerLienGras {
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    color: white;
}

footer .footerLienBasique {
    text-decoration: none;
    color: white;
    font-size: 18px;
}

footer #footerTroisiemePartie {
    margin: 20px 1px;
}

footer .icon {
    width: 25px;
}

footer .icon:hover {
    filter: brightness(70%);
}

footer #boutonInfo {
    background-color: white;
    border: solid 2px white;
    color: black;
    margin: 15px 1px;
}

footer #boutonInfo:hover { 
    background-color: black;
    border: solid 2px white;
    color: white;
}

footer #boutonInfo:active {
    box-shadow: 0px 0px 30px ; 
}

footer #footerDeuxiemeLigne {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

footer .footerLienPetit {
    text-decoration: none;
    font-size: 14px;    
    color: white;
    margin: 20px;
}

footer #liste {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    border-top: 1px solid white;
    padding: 20px;
    margin-top: 15px;
}

@media screen and (max-width: 550px) {
    footer #liste {
        flex-direction: column;
        justify-content: flex-start;
    }

    footer #footerPremiereLigne {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    footer #footerTroisiemePartie ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    footer #footerTroisiemePartie img {
        margin: 0vw 3vw;
    }

    footer #footerPremierePartie {
        align-items: center;
    }

}

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

    header nav ul li {
        padding: 2vw;
    }

}

/******************************************** Loader ********************************************/

#conteneurLoader {
    width: max-content;
}

#loader {
    border: 16px solid var(--fond);
    border-top: 16px solid black; 
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    display: block;
}
  
@keyframes spin {
    0% { 
        transform: rotate(0deg); 
    }
    100% { 
        transform: rotate(360deg); 
    }
}