/* GENERAL */

html, body {
    margin: 0;
    padding: 0;
   font-family: sans-serif;   
    font-size: 30px;
    --rouge: #c0392b;
    --orange: #d35400;
    --jaune: #f39c12;
    --bleu: #2980b9;
    --vert: #27ae60;
}

/* MAIN */

#accueil {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*background: linear-gradient(225deg, rgba(0, 0, 0, 0.5) 50%, rgba(255, 0, 0, 0.5) 50%), url('../images/mer.jpg');
    background-size: cover;
    background-position: center;*/
    color: #c0c0c0;
}

#accueil>h1 {
    font-size: 3em;
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    
}
#accueil>h2 {
    font-size: 4em;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 200;
}

.menu:link { color: white; text-decoration: none; }
.menu:visited { color: white; text-decoration: none; }
.menu:hover { color: white; text-decoration: underline; opacity: 0.5; transition: opacity 1.2s;}
.menu:active { color: white; text-decoration: none; }

#elt1 {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--rouge);
    color: #fff;
}

#elt1>h1 {
    font-size: 3em;
}

#elt2 {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--orange);
    color: #fff;
}

#elt2>h1 {
    font-size: 3em;
}

#elt3 {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--jaune);
    color: #fff;
}

#elt3>h1 {
    font-size: 3em;
}

#elt4 {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--bleu);
    color: #fff;
}

#elt4>h1 {
    font-size: 3em;
}

#elt5 {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--vert);
    color: #fff;
}

#elt5>h1 {
    font-size: 3em;
}

/* BOUTON BURGER */

.boutonBurger {
    position: fixed;
    top: 20px;
    right: 20px;
    /* border: 1px solid #000; */
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 25;
}

.span1 {
    position: absolute;
    top: 8px;
    width: 100%;
    height: 4px;
    background-color: #fff;
    transition-duration: 0.5s;
}
.span1Open {
    transform: rotate(-45deg);
    top: 16px;
}
.span2 {
    position: absolute;
    top: 18px;
    width: 100%;
    height: 4px;
    background-color: #fff;
    transition-duration: 0.5s;
}
.span2Open {
    display: none;
}
.span3 {
    position: absolute;
    top: 28px;
    width: 100%;
    height: 4px;
    background-color: #fff;
    transition-duration: 0.5s;
}
.span3Open {
    transform: rotate(45deg);
    top: 16px;
}

/* MENU BURGER */

.menuBurger {
    position: fixed;
    top: 0;
    left: -100vw;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 0, 0, 0.6);
    transition-duration: 1.5s;
    z-index: 20;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.menuBurgerOpen {
    left: 0;
}

.menuBurger>a {
    color: #fff;
    margin: 20px 0 20px 0;
    text-decoration: none;
    font-size: 2em;
}
