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

/* Article */
article{
    display:flex;
    margin-top:40px;
    margin-bottom:50px;
    width:80%;
}

/* Titre */ 
.CCAS h1 {
    font-size: 50px;
    color: #525252;
    font-weight: 500;
    margin-left: 200px;
}

/* Texte */
.CCAS p {
    font-weight: 400;
    color:#525252; 
    margin-top: 10px;
    margin-left: 200px;
    font-size:20px;
}

/* Titre */ 
.CCAS h2 {
    font-size: 28px;
    color: #525252;
    font-weight: 500;
    margin-left: 200px;
    margin-top: 50px;
}

/* Liste */
.CCAS li {
    font-weight:400;
    color:#525252;
    margin-left: 200px;
    font-size:20px;
}

/* Responsive */
@media screen and (max-width: 1350px) {
    article {
        width:100%;
    }

    .CCAS h1 {
        margin-left: 50px; 
    }
    
    .CCAS p {
        margin-left: 50px; 
    }
    
    .CCAS h2 {
        margin-left: 50px;
    }
    
    .CCAS li {
        margin-left: 50px;
    }
}

@media screen and (max-width: 414px) {
    .CCAS h1 {
        font-size:40px;
        margin-left: 20px; 
    }
    
    .CCAS p {
        font-size:16px;
        margin-left: 20px; 
    }
    
    .CCAS h2 {
        font-size:40px;
        margin-left: 20px;
    }
    
    .CCAS li {
        font-size:16px;
        margin-left: 20px;
    }
}