/* On supprime le décalage sur les bords */
html, body {
    height: 100%;
    padding: 0;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #fffff9;
    scroll-behavior: smooth;
}

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

/* Evenements */

.page-wrap {
    min-height: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-wrap h1 {
    margin-left: 6%;
    font-weight: 500;
    color: #424242;
    font-size: 50px;
}
div.menuevent {
    margin-left: 5%;
    width: 88%;
}
div.scrollmenu::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0,0,0,0.2);
    background-color: #F5F5F5;
    border-radius: 7px;
}
div.scrollmenu::-webkit-scrollbar {
    height: 14px;
    background-color: #FFFFFF;
}
div.scrollmenu::-webkit-scrollbar-thumb{
    border-radius: 7px;
    box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #707070;
}
div.scrollmenu {
    display: flex;
    overflow-x: auto;
}
div.event {
    margin-left: 15px;
}
div.event img {
    width: 320px;
    height: 200px;
    object-fit: cover;
}
div.content {
    background-color: #F3EDB2;
    border-radius: 10px;
    width: 320px;
    margin: 10px 0 10px 0;
}
div.content h1 {
    margin: 0;
    padding: 5px 0 0 10px;
    font-size: 25px;
    text-transform: uppercase;
}
div.content h2 {
    margin: 0;
    padding: 0 0 5px 10px;
    font-size: 17px;
    font-weight: 500;
    color: #525252;
}
div.content p {
    margin: 0;
    padding: 5px 0 5px 10px;
    font-size: 15px;
    color: #303030
}
div.content a {
    display: flex;
    justify-content: flex-end;
    padding-right: 10px;
    padding-bottom: 10px;
    color: #303030;
    cursor: pointer;
    text-decoration: underline;
}
div.content a:focus {
    outline: none;
}
div.Evenements {
    margin-top: 150px;
}
div.eventContenu {
    display: flex;
    align-items: center;
    background-color: #525252;
    min-height: 100vh
}
div.eventContenu img{
    width: 25%;
    height: 50%;
    margin-right: 100px;
}
div.eventContenu2 {
    display: flex;
    align-items: center;
    background-color: #707070;
    min-height: 100vh
}
div.eventContenu2 img{
    width: 25%;
    height: 50%;
    margin-right: 100px;
}
div.evtContent {
    width: 100%;
    margin: 10px 0 10px 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    color: #F5F5F5;
}
div.evtContent h2 {
    margin: 0 0 1.5em 0;
    font-size:  20px;
    font-weight: 400;
}
div.evtContent h1 {
    margin: 0;
    color: #F3EDB2;
    text-align: center;
    font-weight: 500;
    font-size: 28px;
}
div.infoEvent {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
div.infoEvent img {
    width: 16px;
    margin: 2px 0px 0 15px;
    float: left;
}
div.infoEvent h3 {
    font-size: 17px;
    font-weight: 500;
    margin: 0 10px 0 30px;
    line-height: 25px;
}
.infoContenu {
    background: no-repeat url("../img/marker.svg");
    background-size: 20px;
}
.infoImg {
    background: no-repeat url("../img/calendar.svg");
    height: 24px;
    background-size: 20px;
}
.infoImg2 {
    background: no-repeat url("../img/clock.svg");
    height: 24px;
    background-size: 20px;
}
div.evtContent p {
    width: 75%;
    text-align: justify;
    margin: 15px 0 0 0;
}
div.evtContent p span {
    margin-top: 50px;
    font-size: 18px;
    font-weight: 500;
}
div.evtContent p span.italic {
    font-style: italic;
    font-weight: 400;
    font-size: 1em;
}

a#haut {
    border-radius:3px;
    height: 32px;
    padding: 10px;
    background:rgba(0, 0, 0, 0.25);
    position:fixed;
    right:20px;
    opacity:1;
    z-index:9999;
    transition:all ease-in 0.2s;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    text-decoration: none;
}
a#haut:hover {
    background:rgba(0, 0, 0, 1);
    transition:all ease-in 0.2s;
}
a#haut.cInvisible {
    bottom:-35px;
    opacity:0;
    transition:all ease-in 0.5s;
}
  
a#haut.cVisible {
    bottom:20px;
    opacity:1;
}
a#haut img.top {
    width: 32px;
}

@media screen and (max-width: 650px) {
    div.scrollmenu {
        margin-top: 15px;
        overflow-x: visible;
        flex-direction: column;
        align-items: center;
    }
    div.eventContenu {
        flex-direction: column;
        justify-content: center;
    }
    div.evtContent h1 {
        width: 90%;
    }
    div.infoEvent {
        width: 85%;
    }
    div.infoContent {
        display: flex;
        flex-direction: column;
    }
    div.eventContenu img {
        margin-right: 0;
        margin-bottom: 15px;
        width: 50%;
        height: 50%;
    }
    div.evtContent h2 {
        text-align: center;
        width: 90%;
    }
    div.evtContent p {
        width: 85%;
    }
    div.eventContenu2 {
        flex-direction: column;
        justify-content: center;
    }
    div.eventContenu2 img {
        margin-right: 0;
        margin-bottom: 15px;
        width: 50%;
        height: 50%;
    }
    div.menuevent {
        margin-left: 0;
        width: 100%;
    }
    div.event {
        margin-left: 0;
        margin-bottom: 20px;
    }
}
/* Fin Evenements */

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