/* RESET CSS */
html {
    box-sizing: border-box;
    font-size: 16px;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
ol,
ul {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

ol,
ul {
    list-style: none;
    display: inline;
}

img {
    max-width: 100%;
    height: auto;
}

/* FIN RESET CSS */





body {
    text-align: center;
    background-color: white;
    background-size: cover;
    color: rgb(0, 0, 0);
    font-family: Raleway;
}

a.noline {
    text-decoration: none;
    color: black;
}






/* NAVIGATION ET LOGO */
ul.navigation {
    list-style-type: none;
    text-align: center;
    overflow: hidden;
}

.boutonnav:hover {
    color: #00a4d6;
}

li.boutonnav {
    display: inline-block;
    margin: 1em 2em 0em 2em;
}

@media screen and (max-width: 800px) {
    li.boutonnav {
        display: none;
    }
}

.haut {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    z-index: 1000;
}

.logo {
    margin-left: 2em;
    margin-right: 2em;
    transition: 0.5s cubic-bezier(.56, .2, .37, .61);
}

.logo:hover {
    transform: scale(1.05);
    transition: 0.5s cubic-bezier(0.65, 0.05, 0.36, 1);
}

#current {
    color: #ff2c2c;
}

/* FIN NAVIGATION ET LOGO */




/* SIDEBAR */


@media screen and (min-width: 800px) {
    .menutoggle {
        display: none;
    }

    .sidebar {
        display: none;
    }
}

.menutoggle {
    font-size: 2.5em;
    cursor: pointer;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.904);
    padding-top: 70px;
    transition: left 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menutoggle.active+.sidebar {
    left: 0;
}

.boutonnav2:hover {
    color: #00a4d6;
}

li.boutonnav2 {
    display: column;
    margin: 1em 2em 0em 2em;
    text-align: left;
    color: white;
}

/* FIN SIDEBAR */



/* FOOTER */
#contactfooter {
    color: white;
    padding: 3em 0em 1em 0em;
    margin-top: 2em;
    display: flex;
    justify-content: center;
    font-size: 1.3em;
}

address {
    padding-top: 2em;
    padding-bottom: 1.5em;
}

#mail {
    margin-bottom: 2em;
    color: rgb(253, 70, 70);
    text-decoration: underline;
    font-style: normal;
    font-size: 1.3em
}

#mail:hover {
    color: #57d8ff;
    transition: 0.2s;
}

footer {
    background-color: #2c2b2b;
    bottom: 0px;
    width: 100%;
}

button.wow {
    background-color: #ff6f6f;
    border: none;
    color: white;
    padding: 1em 2em;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1.1em;
    cursor: pointer;
    border-radius: 2em;
    font-weight: 500;
    margin: 2em 0em 5em 0em;
    position: relative;
    top: -90px;
    left: -300px;
    transition:
        background-color 0.8s
}

@media screen and (max-width: 900px) {
    button.wow {
        position: relative;
        top: 0px;
        left: 0px;
    }
}

@media screen and (min-width: 1400px) {
    button.wow {
        position: relative;
        top: -90px;
        left: -500px;
    }
}

button.wow a {
    text-decoration: none;
    color: white;

}

button.wow:hover {
    background-color: #0abcc2;
    transition: 0.8s;
}

/* le "*" est un sélecteur universel, il sélectionne toutes les balises */

/* si je veux appliquer un style à toutes les balises A contenues dans les balises B, j'écris B A sans virgule, si c'est les balises A qui suivent les balises B, j'écris B + A (ne s'applique que à A dans les 2 cas)*/

/* a[attribut] sélectionne tous les liens qui ont l'attribut "attribut" ATTENTION attribut n'est pas id ou class c'est par exemple "title", si on veut un attribut précis on écrit attribut="truc précis" + si il doit contenir juste un mot, on met "*" après le nom de l'attribut*/