/* HEADER */

/* 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 */

/* INFOS */

/* Mise en page flexible */
.conteneur {
    display: flex;
    flex-direction: row;
}

/* Div du Contenu */
.text {
    position: relative;
    margin-top: 75px;
    margin-left: 250px;
    margin-bottom: 75px;
}

/* Titre */
.text h1 {
    font-size: 28px;
    color: #525252;
    font-weight: 500;
}

/* Contenu */
.text p {
    color: #525252;
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: 400;
}

/* Image */
.img {
    display: flex;
    align-items: center;
    margin-left: 10%;
}

.img img{
    border-radius: 7px;
    width: 60%;
}


/* Responsive */
@media screen and (max-width: 1500px) {
    .img img{
        width: 80%;
    }
    .text {
        /*margin-left: -150px;*/
        margin-right: 10px;
    }
}

@media screen and (max-width: 1024px) {
    .text {
        margin-left: 50px;
        margin-right: 20px;
    }
    .img {
        margin-left: 10px;
        margin-right: 10px;
    }
    .img img{
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .conteneur {
        flex-direction: column;
    }
    .text {
        margin-top: 30px;
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 10px;
    }
    .img {
        margin-top: 20px;
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 40px;
    }
    .img img{
        width: 100%;
    }
}