/*
Cette feuille de style concerne le document HTML index.html uniquement
*/

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}

body {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #fcfcfc;
}

/*Elements de la Barre de navigation*/
.navbar {
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 50px;
    background-color: black;
    box-sizing: border-box;
    position: fixed;
    top: 0px;
}

.navbar a {
    color: white;
}

.navbar .nav-nom {
    font-size: 2em;
    font-weight: bold;
}

.navbar .nav-links {
    display: flex;
}

.navbar .nav-links li {
    margin: 0 15px;
}

li.active a {
    color: #0efff3;
}

.nav-links a:hover {
    color: #0efff3;
}

/*Elements header (Page noire de bienvenue)*/
header{
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 20rem;
    text-align: center;
    color: #fff;
    background-color: rgb(0, 0, 0);
}

header h2{
    font-size: 3rem;
    padding-top: 10rem;
    text-transform: none;
} 

/*RWD sur les écrans avec une largeur < 900px*/
@media screen and (max-width: 1050px) {
    .navbar{
        padding: 0;
        position: relative;
    }

    .nav-nom{
        display: flex;
        position: absolute;
        top: 30px;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .nav-links {
        top: 100px;
        position: absolute;
        display: flex;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    .navbar .nav-links li {
        margin: 5px 0;
    }

}

/*Mise en forme des différentes balises de texte*/
section{
    background-color: #fcfcfc;
    margin-top: 5rem;
}

p{
    box-sizing: border-box;
    color: rgb(51, 51, 51);
    display: block;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 20px;
    font-weight: 300;
    height: auto;
    line-height: 32px;
    margin-bottom: 40px;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 40px; 
    text-align: center;
}
   
h2 {
    margin:0 0 35px;
	text-transform:uppercase;
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight:700;
	letter-spacing:1px;
    font-size: 30px;
    text-align: center;
    margin: auto 2rem;
}

h3 {
    margin:0 0 35px;
	text-transform:uppercase;
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight:700;
	letter-spacing:1px;
    font-size: 20px;
    text-align: center;
}


/*Elements liés aux classes et id pour des éléments particuliers*/
section a {
    background-color: rgb(51, 51, 51); 
    border: none; 
    color: white; 
    padding: 3% 5%; 
    text-align: center; 
    text-decoration: none; 
    display: inline-block; 
    font-size: 20px; 
    margin: 1rem 2%;
    margin-top: 1rem; 
    margin-bottom: 1rem; 
    border-radius: 8px; 
}

section a:hover {
    background-color: rgb(51, 51, 51); 
    color: #0efff3; 
    font-size: 16px; 
    font-weight: bold;
    padding: 3% 5%; 
    text-align: center; 
    text-decoration: none; 
    display: inline-block; 
    font-size: 20px; 
    margin: 1rem 2%;
    margin-top: 1rem; 
    margin-bottom: 1rem; 
    border-radius: 8px; 
}

/*Elements footer*/
footer {
    background-color: black;
    color: white;
    box-sizing: border-box;
    color: white;
    display: block;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 20px;
    font-weight: 300;
    height: auto;
    line-height: 32px;
    text-align: center;
}

footer a {
    background-color: black;
    color: white;
    box-sizing: border-box;
    color: white;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 20px;
    font-weight: 300;
    height: auto;
    line-height: 32px;
    text-align: center;
    font-weight: bold;
    text-decoration: underline;
}
footer img {
    width: 5%;
}

