
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
 
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

h1{
    color: white;
    position: absolute;
    top: 125px;
    margin-left: 10%;
    display: inline-block;
    z-index: 1;
}


h2{
    font-family: Bebas Neue, cursive;
    text-align: center;
}

h3{
    font-family: Bebas Neue;
}

p{
    font-family: sans-serif;
}
 
body{
    min-height: 100%;
    font-family: sans-serif;
    background: rgb(32,185,123);
    background: linear-gradient(0deg, rgba(32,185,123,1) 22%, rgba(28,144,132,1) 75%) fixed;
    background-repeat: no-repeat; 
}

html{
    height: 100%;
}

/* Le menu */

nav{
    z-index: 40;
}

nav ul{
    /* pour enlevé les puces */
    list-style-type: none;
    display: flex;
}

nav li{
    position: relative;
    flex-grow: 1;
    background-color: rgb(43, 90, 166);
    text-align: center;
}

nav li a:hover{
    background-color: rgb(83, 120, 181);
    color:rgb(12, 6, 6);
    border:4px solid rgb(20, 8, 69);
}

nav li a{
    text-decoration: none;
    display: block;
    padding:15px;
    color:rgb(208, 201, 201);
    font-weight: bold;
    border: 4px solid transparent;
}



/*  menu déroulant */

nav li ul{ 
    display: none;
    position: absolute;
    width: 100%;
    z-index: 4;
}



nav ul li:hover ul{
    /* margin-top: 3%; */
    display: block;
    display: flex;
    flex-wrap: wrap;
    
    justify-content: center;
    flex-direction: column;
}

/* image header */
.header{
    display: flex;
    width: 100%; 
    position: relative;
}



/* Section pour le footer */

footer{
    display: flex;
    background-color: rgb(43, 90, 166);
    box-sizing: border-box;
    width: 100%;
    padding: 30px;
    position: relative;
    bottom: 0;
}

.copyright{
    display: flex;
    align-items: center;
    width: 50%;
    font-weight: bold;
    font-size: 20px;
    font-family: Bebas Neue;
}

.mouvementIcones{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-end;
}

ul.icones{
    display: flex;
}

.icones li{
    right: 10px;
    margin: 0px 10px 0px 10px;
    font-size: 20px;
    list-style-type: none;
    border-radius: 150%;
}

/* Couleurs des icônes */

.icones a{
    display: flex;
    text-decoration: none;
    color: rgb(0, 0, 0);
    padding: 20px;
}

.icones li:nth-child(1){
    background: #CD201F;
}

.icones li:nth-child(2){
    background: #5865F2;
}

.icones li:nth-child(3){
    background: #1DA1F2;
}

.icones li:nth-child(4){
    background: #0EBE2D;
}

.icones li:nth-child(5){
    background: #00ADEF;
}


.menu{
    display:flex;
    justify-content: end;
}

.menu a{
    display: flex;
    justify-content: center;
}

/* Menu hamburger */

.navbar-toggle{
    display: none;
    cursor: pointer;
    font-size: 2em;
    color: azure;
    position: absolute;
    top: 0.2em;
    margin-left: 2vw;
}

/* Menu hamburger animée en css */
.bar1, .bar2, .bar3{
    width: 35px;
    height: 5px;
    background-color: aliceblue;
    margin: 6px 0px;
    transition: 0.4s;
}

.change .bar1{
    transform: rotate(-45deg) translate(-6px, 6px);
    position: absolute;
    z-index: 999;
    top: 4px;
}

.change .bar2{
    opacity: 0;
}

.change .bar3{
    transform: rotate(45deg) translate(-6px, -8px);
    position: absolute;
    z-index: 999;
    top:22px;
}

/* tablette */

@media screen and (min-width: 768px) and (max-width: 980px){
    .menu{
        justify-content: space-between;
    }
}
    
@media screen and (min-width: 320px) and (max-width: 767px){
    .navbar-toggle{
        display: block;
    }

    /* cacher le menu */

    .menu{
        display: none;
    }

    /* barre de menu */

    .navbar{
        display: block;
        position: relative;
    }

    /* Classe du js pour ouvrir le menu*/

    .active{
        display: flex;
        flex-direction: column;
    }
}