@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');

*{
    font-family: "Righteous", sans-serif;
    margin: 0;
}

/* Header */

header{
    background-color: darkslategray;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 2;
}

header img{
    height: 50px;
}

header ul{
    display: flex;
    list-style: none;
    margin-bottom: 0;
}

header a{
    color: aliceblue;
    text-decoration: none;
}

header ul a{
        padding: 17px;
        transition: 0.3s;
}

header ul a:hover{
    background-color: forestgreen;
}

/* Sections */

section{
    width: 100%;
    height: 100vh;
    
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-size: cover;
}

#hero{
    background-image: url(../imgs/Content1.jpg);
    background-position: bottom center;
}

#hero img{
    width: 400px;
}

h1{
    color: #f2f2f2;
    font-size: 90px;
}

#info{
    background-color: #2f2f2f;
    color: #f2f2f2;
    height: 450px;
}

.conteneur{
    display: flex;
}

.infobox img{
    width: 300px;
margin-top: 20px;
    margin-bottom: 20px;
}

.infobox{
    width: 300px;
    margin: 20px;
    text-align: center;
}

#parallax{
    background-image: url(../imgs/parallax.jpg);
    background-attachment: fixed;
}

#parallax img{
    width: 400px;
}

#contact{
    background-image: url(../imgs/contact.jpg);
}
#contact h2{
    font-size: 75px;
}

footer{
    background-color: #2f2f2f;
    color: #f2f2f2;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}


/* Page A propos */

#informations{
    flex-direction: row;
}

.split{
    width: 50%;
    height: 100vh;
    background-color: #f2f2f2;
}

#bg-split{
    background-image: url(../imgs/A-propos-1.jpg);
    background-size: cover;
    background-position:center;
}

#location{
    background-image: url(../imgs/A-propos-2.jpg);
background-size: cover;
    background-position:center;
}
#bg-blanc{
    background-color: rgba(255,255,255,0.5);
    width: 80%;
    border-radius: 50px;
    border:solid black;
}

h2,p{
    margin: 20px;
}

#bg-vert{
    height: 50vh;
    background-color: darkslategray;
}


/* RESPONSIVE */

@media screen and (max-width:1000px){
    #info{
        height: auto;
    }
    .conteneur{
        flex-direction: column;
    }
}

@media screen and (max-width:600px){
    header{
        flex-direction: column;
        height: 80px;
    }
    header img{
        height: 30px;
    }
    header ul a{
        padding: 5px;
}
}


