/* On supprime le décalage sur les bords */
html, body {
    height: 100%;
    padding: 0;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #fffff9;
}

/* On fait en sorte que l'image prenne toute la largeur de la page */

header img {
    width: 100%;
    display: flex;
}

/* On défini le style pour la barre de navigation */

.topnav {
    overflow: hidden;
    background-color: #424242;
    display: flex;
    justify-content: center;
}

/* On défini le style pour chaque liens de la barre de navigation */

.topnav a {
    float: left;
    display: block;
    color: #FFFFFF;
    text-align: center;
    padding: 18px 20px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 300;
}

/* On empêche l'apparation du symbole permettant la barre de navigation en format mobile */

.topnav .icon {
    display: none;
}

/* On défini le style pour les boutons de la barre de navigation */

.dropdown .dropbtn {
    border: none;
    outline: none;
    color: #FFFFFF;
    padding: 18px 20px;
    background-color: inherit;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 300;
}

/* On défini le style pour les onglets de la barre de navigation */

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #F3EDB2;
    min-width: 160px;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* On défini le style pour chaque liens des onglets de la barre de navigation */
.dropdown-content a {
    float: none;
    color: #525252;
    padding: 6px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-weight: 400;
}

.topnav a:hover, .dropdown:hover .dropbtn {
    background-color: #525252;
    color: #F3EDB2;
}

.dropdown-content a:hover {
    background-color: #525252;
    color: #F3EDB2;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* On défini un style différent quand on est sur l'onglet de la page active */
#myTopnav .active {
    background-color: #525252;
    color: #F3EDB2;
    justify-content: left;
}
a img.menuIcon {
    width: 30px;
}

@media screen and (max-width: 1024px) {
    .topnav a:not(:first-child), .dropdown .dropbtn {
        display: none;
    }
    .topnav a.icon {
        float: right;
        display: block;
        text-align: left;
    }
    a.accueil {
        font-size: 0;
        margin-top: 2px;
    }
    a.accueil::after {
        content: "Menu";
        font-size: 20px;
    }
    .topnav.responsive a.accueil::after {
        content: "Accueil";
    }
    .topnav.responsive a.accueil {
        margin-top: 0;
    }
    .topnav.responsive {
        position: relative;
        padding-left: 0;
        display: block;
        padding-top: 66px;
    }
    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
    .topnav.responsive .dropdown {
        float: none;
    }
    .topnav.responsive .dropdown-content {
        position: relative;
    }
    .topnav.responsive .dropdown .dropbtn {
        display: block;
        width: 100%;
        text-align: left;
    }
    .disabled {
        pointer-events: none;
        cursor: default;
    }
    .dropdown-content a {
        padding: 16px 20px;
    }
}
/* FIN NAVBAR */

/* FOOTER */

.bas {
    background-color: #424242;
    display: flex;
    height: 138px;
    justify-content: space-around;
}
.bas h1 {
    text-transform: uppercase;
    font-weight: 300;
    font-size: 25px;
    color: #F3EDB2;
}
.coord p {
    margin: 0;
    margin-bottom: 5px;
    color: #FFFFFF;
    font-weight: 400;
    font-size: 13px;
}

.hora p {
    margin: 0;
    margin-top: 5px;
    color: #FFFFFF;
    font-weight: 400;
    font-size: 13px;
}

/* ML */

.bas2 {
    background-color: #303030;
    display: flex;
    justify-content: center;
    font-weight: 300;
    font-size: 14px;
}
.bas2 p {
    color: #707070;
}
.bas2 a {
    text-decoration: none;
    color: #8A8A8A;
}
.bas2 a:hover {
    color: #AAAAAA;
}


@media screen and (max-width: 800px) {
    .bas {
        position: relative;
        padding-left: 0;
        display: flex;
    }
    .bas p {
        float: none;
        display: block;
        margin-left: 5px;
    }
    .coord {
        margin-left: 0;
        justify-content: flex-start;
    }
}
@media screen and (max-width: 650px) {
    .bas {
        flex-direction: column;
        height: 100%;
    }
    .coord h1 {
        margin: 10px 0 10px 5px;
    }
    .hora {
        margin-bottom: 10px;
        padding-left: 0;
    }
    .hora h1 {
        margin: 30px 0 10px 5px;
    }
}
/* FIN FOOTER */

/* FAST ACC MOBILE*/
.fastAcc-Mobile {
    display: none;
    margin-top: 1em;
}
#acces {
    outline: none;
    background-color: #F3EDB2;
    color: #424242;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 1em;
    font-size: 1em;
    margin-left: 20px;
}
.accMobile {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 1500;
    width: 100%;
    min-height: 100%;
    background: rgba(0, 0, 0, 0.7);
}
.mobile {
    display: flex;
    flex-direction: column;
    background-color: #F3EDB2;
    border-radius: 10px;
    height: 190px;
    text-align: center;
    padding: 10px;
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.2);
}
.mobile .close {
    outline: none;
    background-color: rgba(0, 0, 0, 0);
    width: 48px;
    border: none;
}
.mobile h1 {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 28px;
    color: #303030;
    margin: 10px;
}
.mobile a {
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 400;
    font-size: 17px;
    color: #424242;
    line-height: 2em;
    width: 100%;
}
.mobile a:hover {
    background-color: #525252;
    color: #F3EDB2;
}
/* FIN FAST ACC MOBILE*/

/* Accès rapide */
.fastAcc {
    background-color: #F3EDB2;
    border-radius: 15px;
    width: 300px;
    height: 200px;
    text-align: center;
    margin-top: 75px;
    margin-left: 50px;
    padding-top: 5px;
    margin-bottom: 50px;
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.2);
}

.fastAcc h1 {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 28px;
    color: #303030;
}
.fastAcc a {
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 400;
    font-size: 20px;
    color: #424242;
    display: block;
    padding: 6px;
}
.fastAcc a:hover {
    background-color: #525252;
    color: #F3EDB2;
}

@media screen and (max-width: 1400px) {
    .fastAcc-Mobile {
        display: block;
    }
    /* Supprime l'accès rapide sur mobile */
    .fastAcc {
        visibility: hidden;
        width: 0;
        height: 0;
    }
}
/* Fin accès rapide */

.flex {
    display: flex;
    margin-bottom: 5%;
}

.titre {
    display:flex;
    justify-content: center;
    flex-direction: column;
    width: 90%;
    margin-bottom: 20px;
}

.titre h1 {
    font-weight: 500;
    color:#525252;
    font-size:50px; 
    margin-left:300px;
    justify-content: center; 
}

.titre img {
    box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.2);
    position: relative;
    margin-left: 260px;
    width: 50%;
}

/* Texte */
.text {
    margin-bottom: 5%;
}
.text p {
    font-weight: 400;
    color:#525252; 
    margin-top: -20px;
    font-size:20px;
    text-align: center;
    margin-right: 100px;
    margin-left: 100px;
}


@media screen and (max-width: 1600px) {
    .titre h1 {
        margin-left: 230px;
    }
}

@media screen and (max-width: 1420px) {
    .titre {
        align-items: center;
    }

    .titre h1 {
        margin-left:0;
        text-align:center;
    }

    .titre img  {
        align-items: center;
        margin-left:0px;
    }
}

@media screen and (max-width: 1400px) {
    .titre {
        width:100%;
        margin-left:-50px;
    }
}

@media screen and (max-width: 768px) {
    .titre h1 {
        justify-content: center;
    }

    .titre img  {
        align-items: center;
        width: 80%;
    }
}

@media screen and (max-width:540px) {
    .text p {
        margin-left: 20px;
        margin-right:20px;
    }
}


@media screen and (max-width: 414px) {
    .titre h1 {
        justify-content: center;
        font-size:30px;
    }
}