*, ::before, ::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body{
    font-family: 'Open Sans', sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.contenu {
    flex: 1 0 auto;
    padding: 2% 5%;
    background-color: #f1f1f1;
    color: #333;
    border-bottom: 5px dashed white;
}

.contenu2 {
    flex: 1 0 auto;
    padding: 5% 8%;
    text-align: justify;
    background-color: #0071BC;
    color: white;
    border-top: 5px dashed white; 
}

h1,
h2 {
    font-family: 'Viga', sans-serif;
}

h1 {
    text-align: center;
    padding-bottom: 3%;
}

h2 {
    padding-bottom: 1%;
}

.contenu2 p {
    line-height: 150%;
}




nav {
    background: #f1f1f1;
    padding: 5px 40px;
    font-family: 'Viga', sans-serif;
    border-bottom: 1px solid #000;
}

nav ul li {
    padding: 15px 0;
    cursor: pointer;
    color: #333;
}

nav ul li.items {
    position: relative;
    width: auto;
    margin: 0 16px;
    text-align: center;
    order: 3;
}

nav ul li.items:after {
    position: absolute;
    content: '';
    left: 0;
    bottom: 5px;
    height: 2px;
    width: 100%;
    background: #0071BC;
    opacity: 0;
    transition: all 0.2s linear;
}

nav ul li.items:hover:after {
    opacity: 1;
    bottom: 8px;
}

.img-menu-site {
    width: 320px;
}

.logo{
    flex: 1;
    cursor: pointer;
    user-select: none;
}

  nav ul li a {
    color: #333;
    font-size: 18px;
    text-decoration: none;
    transition: .4s;
}
nav ul li:hover a {
    color: #0071BC;
}
  
@media all and (min-width: 1110px) {

    nav ul {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
}

@media all and (max-width: 1110px) {
 
    nav ul {
        list-style: none;
         
    }

    .logo {
        text-align: center;
    }
}




.btn {
    height: 80px;
    width: 80px;
    background: #f1f1f1;
    border-color: black;
    border-style: solid;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: 20px;
    bottom: 20px;
    cursor: pointer;
}

.icone {
    width: 50px;
}




body::-webkit-scrollbar {
    width: 0.25rem;
}

body::-webkit-scrollbar-track {
    background: #21282c;
}

body::-webkit-scrollbar-thumb {
    background: #0099ff;
}




footer {
    flex-shrink: 0;
    border-top: 1px dashed #000;
    width: 100%;
    background: #f1f1f1;
    color: #333;
}


.titre3-footer {
    font-family: 'Viga', sans-serif;
    text-align: center;
}

h4 {
    font-family: 'Viga', sans-serif;
    padding-bottom: 20px;
}


.contenu-footer{
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 50px 0 50px;
}

.bloc {
    width: 25%;
    margin: 0 10px;
}

.footer-menu h3,
.footer-contact h3,
.footer-horaires h3,
.footer-reseaux h3,
.footer-autres h3 {
    padding-bottom: 15px;
}



.liste-menu,
.liste-contact,
.liste-horaires,
.liste-reseaux,
.liste-autres {
    list-style-type: none;
}

.liste-menu .li-footer,
.liste-contact .li-footer,
.liste-horaires .li-footer,
.liste-reseaux .li-footer {
    padding: 2px 0;
}

.liste-menu a,
.liste-reseaux a,
.liste-autres a {
    text-decoration: none;
    color: #333;
}

.liste-contact .clic-contact {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.liste-menu a:hover,
.liste-horaires a:hover,
.liste-reseaux a:hover,
.liste-autres a:hover {
    color: rgb(3,3,3);
}

.liste-contact .clic-contact:hover {
    color: rgb(3,3,3);
}

.liste-reseaux img {
    width: 25px;
    margin: -3px 5px;
}

.liste-media a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
}

/*Media queries*/

@media screen and (max-width: 1300px){

    .contenu-footer {
        width: 700px;
        flex-wrap: wrap;
        font-size: 17px;
    }

    .bloc {
        width: 40%;
        margin: 0 0;
    }
    .bloc:nth-child(1),
    .bloc:nth-child(2) {
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 1000px){

    .contenu-footer {
        width: 320px;
        font-size: 20px;
        
    }

    .bloc {
        width: 300px;
        margin: 30px 30px;
    }
    .bloc:nth-child(1),
    .bloc:nth-child(2) {
        margin-bottom: 30px;
    }
    .bloc:nth-child(1) {
        margin-top: 0;
    }

}


