/*
cyan :
    Code hexa : #80FEED
    RGB : 128, 254, 237
    CMJN : 45, 0, 20, 0

rouge bordeaux :
    Code hexa : #770000
    RGB : 119, 0, 0
    CMJN : 31, 100, 100, 45
*/

@import url("https://use.typekit.net/oqj6wzu.css");

body{
    margin: 0px;
}

header{
    height: 80px;
    margin: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 2px 10px black;
    padding: 10px;
    background-color: white;
}

.icone:hover{
    transition: 0.3s;
    height: 70px;
}

#logo{
    margin: 5px;
    height: 60px;
}

#menu{
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position:relative;
}

#reseaux{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.lien{
    transition: 0.3s;
    font-family: 'greycliff-cf', 'arial', 'sans-serif';
    color: black;
    font-size: 1.5em;
    font-weight: 500;
    margin: 15px;
    text-decoration: none;
}

.lien:hover{
    transition: 0.3s;
    transform: scale(1.1);
    text-shadow: 2px 2px 0px #80FEED;
}

/* Masquer le bouton burger par défaut */
#menu-burger {
    transition: 0.3s;
    display: none;
}

/* Bouton burger */
#burger-btn {
    font-size: 2em;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 10px;
}

.icône-lien{
    transition: 0.3s;
    text-decoration: none;
}

.icône-lien:hover{
    transition: 0.3s;
    filter: drop-shadow(3px 3px 0px #80FEED);
    transform: scale(1.1);
}

.icone-reseaux-sociaux{
    transition: 0.3s;
    height: 65px;
}

.icone-reseaux-sociaux:hover{
    transition: 0.3s;
    filter: drop-shadow(1px 1px 0px #80FEED);
    transform: scale(1.1);
}

#developpement{
    font-family: 'greycliff-cf', 'arial', 'sans-serif';
    font-size: 1.5em;
    color: white;
    text-align: center;
    background: linear-gradient(45deg, #770000, #4d0000);
    box-shadow: 0px 2px 10px black;
    padding: 10px;
    margin-top: 50px;
    margin-bottom: 0px;
}

@media screen and (max-width: 1000px) {
    .lien{
        transition: transform 0.3s ease-in-out;
        font-size: 1.3em;
        margin: 8px;
    }

    #logo{
        height: 50px;
    }

    .icone-reseaux-sociaux{
        transition: transform 0.3s ease-in-out;
        height: 50px;
    }
}

@media screen and (max-width: 800px) {
    .lien{
        transition: 0.3s;
        font-size: 1.1em;
        margin: 8px;
    }

    #logo{
        height: 40px;
    }

    .icone-reseaux-sociaux{
        transition: transform 0.3s ease-in-out;
        height: 40px;
    }

}

/* Apparence spéciale pour mobile (< 600px) */
@media screen and (max-width: 700px) {

    header {
        z-index: 10;
        height: 46px;
        position: relative;
        z-index: 10;
        padding: 6px;
    }

    .icone:hover{
        transition: 0.2s;
        height: 40px;
    }

    .icone-reseaux-sociaux{
        height: 46px;
    }

    /* Afficher le bouton burger */
    #menu-burger {
        transition: 0.2s;
        display: block;
    }

    /* Cacher le menu par défaut */
    #menu {
        z-index: 1;
        transition: 0.3s;
        transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
        display: none;
        flex-direction: column;
        position: absolute;
        box-shadow: 0px 2px 5px black;
        top: 105%;
        right: 0; /* Plaqué à droite */
        background: white;
        padding: 10px;
    }

    /* Lorsque le menu est actif */
    #menu.active {
        transition: 0.3s;
        display: flex;
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    #menu a {
        transition: 0.3s;
        display: block;
        text-align: center;
        width: 100%;
    }

    .lien {
        font-size: 0.85em;
        font-weight: 500;
        text-decoration: none;
        transition: 0.3s;
    }

    .lien:hover {
        text-shadow: 1px 1px 0px #80FEED;
        transform: scale(1.1);
    }

    #reseaux{
        display: none;
    }

    #developpement{
        font-size: 0.75em;
    }
}