/* Feuille de style comportant les éléments du header et du footer ainsi que le responsive lié */
/*///////////////////////////////////////*/
/* Header, partie non responsive */
header {
    background-color: #262321;
    padding: 2% 3% 1.7% 3%;
    width: 100%;
    display: grid;
    grid-template-columns: 0.6fr 2fr 1fr;
    align-items: center;
}

/* Liens de la nav */
header nav ul li{
    list-style: none;
    display: inline;
}

.liens-nav li a{
    margin-left: 2%;
    font-family: Barlow;
    font-weight: 900;
    font-size: 1.2em;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
}

/* Pictos sur la droite */
.pictos-nav {
    text-align: end;
}

.pictos-nav li a {
    text-decoration: none;
}

.pictos-nav {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.pictos-nav ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.pictos-nav img {
    width: 25px;
    margin: 0px 10px;
}

/* Hover sur les liens */
.liens-nav li a:hover {
    background: -webkit-linear-gradient(0.50turn,#55b6e7, #c167a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accessibilite-on {
    cursor: pointer;
}

button {
    background : none;
    border: none;
}

/*////////////////////////////////////////////////////////////////*/
/* Footer, partie non responsive */
footer {
    background-color: #262321;
    padding: 2%;
    display: flex;
    justify-content: space-around;
    text-align: center;
    align-items: center;
    flex-shrink: 0;
}

.logo-footer-dekstop {
    width: 40%;
}

.logo-footer-mobile {
    display: none;
}

.footer-infos,
.footer-liens {
    color: white;
    font-family: 'Raleway';
}

.footer-infos p,
.footer-liens p {
    font-weight: 700;
    font-size: 1.2em;
}

.footer-infos li,
.footer-infos a,
.footer-liens li,
.footer-liens a {
    text-decoration: none;
    color: white;
    padding: 5px 0px;
    font-size: 0.9em;
}

/*////////////////////////////////////////////////////////////*/
/* Responsive des deux éléments */
@media screen and (min-width: 1200px) { 
    .logo-short,
    .menu-mobile,
    .menu-mobile-close,
    .logo-long-mobile,
    #lien-mobile {
        display: none;
    }
}

@media screen and (max-width: 1200px) { 
    header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 30px 35px;
    }

    .logo-nav {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }

    .pictos-nav {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
    }

    .logo-full {
        display: none;
    }

    .menu-mobile {
        display: block;
    }

    .logo-short {
        margin-left: 15px;
    }

    .logo-short img{
        width: 30px;
    }

    .menu-mobile img {
        width: 30px;
    }

    .pictos-nav img {
        width: 30px;
        margin: 0px 5px;
    }

    .liens-nav {
        position: absolute;
        top: 0;
        left: 0;
        background-color: #262321;
        width: 100%;
        height: 100vh;
        justify-content: center;
        text-align: center;
        z-index: 60;
        margin-top: -100vh;
        transition: all 0.6s ease-in-out;
        position: fixed;
    }

    .liens-nav ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100vh;
    }

    .liens-nav li {
        width: 100%;
        font-size: 1.4em ;
        margin: 2%;
    }

    .logo-long-mobile {
        width: 50%;
        position: absolute;
        top: 5vh;
        left: 26%;
        display: flex;
        justify-content: center;
    }

    .menu-mobile-close {
        width: 25px;
        position: absolute;
        top: 4.5vh;
        left: 25px;
    }

    .menu-burger {
        margin-top: 0vh;
    }
    
    .liens-nav {
        display: flex;
        flex-direction: column;
    }

    #lien-mobile a {
        color: white;
        text-transform: uppercase;
        font-family: 'Raleway';
        font-size: 0.9em;
        font-weight: 300;
    }

    .menu-mobile {
        z-index: 50;
    }
}

@media screen and (max-width: 1200px) and (min-width: 769px) { 
    footer {
        padding: 5%;
        display: flex;
        flex-direction: column;
    }

    .logo-footer-dekstop {
        width: 20%;
    }

    .footer-infos p,
    .footer-liens p {
        font-weight: 700;
        font-size: 1em;
    }

    .footer-infos,
    .footer-liens {
        margin-top: 5%;
    }
}

@media screen and (max-width: 768px) { 
    footer {
        padding: 10%;
        flex-direction: column;
        text-align: left;
        align-items: self-start;
    }

    .logo-footer-mobile {
        display: block;
        width: 80%;
    }

    .logo-footer-dekstop {
        display: none;
    }

    .footer-infos p,
    .footer-liens p {
        font-weight: 700;
        font-size: 1em;
    }

    .footer-infos,
    .footer-liens {
        margin-top: 7%;
    }
}
