/* 
Rouge : #dc5555
Blanc : #ffff
Noir : #000

Typo : Open Sans, régular, 800 et 700
*/


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
}

.links a{
    text-decoration: none;
    color: #fff;
}

.links a:hover{
    color: #692a2a;
}

.menu-container{
    width: 100%;
    background-color: #dc5555;
    color:#fff;
    display: flex;
    align-items: center;
    padding: 10px 0 10px 220px ;
}

.hamburger{
    display: none;
}

.menu{
    max-width: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
}


ul{
    list-style: none;
    display: flex;
    margin-left: 50px;
    gap: 25px;
    font-weight: 500;
    font-size: 18px;
}

/* Banniere titre css start */
.banner{
    background-image: url(img/hero.jpg);
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 896px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.titre{
    width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 2px solid white;
    padding-bottom: 2em;
}

h1{
    font-size: 4em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

h4{
    font-size: 1.8em;
    text-align: center;
}

.boutons{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.boutons>a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 50px;
    background-color: white;
    font-weight: 700;
    color: black;
    border-radius: 5px;
    gap: 15px;
    text-decoration: none;
}


.boutons>a img{
    width: 20px;
}

.boutons>a:hover{
    color: rgb(217, 210, 210);
}

/* Banniere titre css end */

/* Service css start */

.services{
    margin: auto;
    width: 100%;
    height: auto;
    background-color: #fff;
    margin-bottom: 75px;
}

.services h2{
    text-align: center;
    margin-top: 50px;
    text-transform: uppercase;
    font-size: 2.8em;
    margin-bottom: 80px;
}

.service-content{
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
}

.service-content>div{
    width: 350px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.service-content>div>img{
    width: 160px;
    margin: auto;
}

.service-content h6{
    font-size: 2em;
    margin:40px 0 20px 0;
}

.service-content p{
    font-size: 1.2em;
    font-weight: 600;
    color: #000;
}

.service-content a{
    text-decoration: underline;
    color: #dc5555;
}

.service-content a:hover{
    color: #692a2a;
}

/* Service css end */

/* Equipes css start */
.equipes .banner {
    background-image: url(img/starwars.jpg);
    background-size: cover;
    background-position: top center;
    width: 100%;
    height: 320px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner h2{
    font-size: 3.2em;
    text-align: center;
}

.membres{
    margin: auto;
    width: 100%;
    height: auto;
    margin-bottom: 75px;
}

.membres-equipe{
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    margin: auto;
    margin-top: 60px;
    justify-content: center;
    gap: 40px;
}

.membres-equipe .membre{
    border-radius: 50%;
}

.membres-equipe h6{
    font-size: 2.5em;
    text-align: center;
    margin-top: 20px;
}

.membres-equipe .message{
    width: 200px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: #fff;
    background-color: #dc5555;
    margin: auto;
    border-radius: 5px;
    margin-top: 30px;
}

.membres-equipe .message:hover{
    background-color: #692a2a;
}

.membres-equipe .message img{
    width: 35px;
}

.membres-equipe .message p{
    font-weight: 700;
}

.membres-equipe a{
    text-decoration: none;
}

/* Equipes css end */
/* Contact css start */

.contact{
    max-width: 100vw;
    background-color: #dc5555;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 50px;
}


.contact h2{
    font-size: 2.5em;
    text-transform: uppercase;
    color: #fff;
    margin: 40px 0;
    text-align: center;
}

form{
    width: 800px;
}

form .information{
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
}

form .information>div{
    width: 50%;
    margin-bottom: 15px;
}

label{
    color: #fff;
    font-size: 0.9em;
}

input{
    width: 100%;
    height:30px;
    border-radius: 2px;
    border: none;
    padding-left:10px;
    margin-top: 4px;
}

textarea{
    width: 100%;
    padding: 10px 0 0 10px;
    margin-top: 4px;
    border: none;
    border-radius: 2px;
}

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

.button img{
    width: 15px;
}

button{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 10px;
    background-color: #fff;
    border-radius: 4px;
    border: none;
    margin-top: 10px;
    gap: 5px;
    font-size: 0.8em;
    cursor: pointer;
}

/* Contact css end */


/* Responsive */

@media only screen and (min-width:769px) and (max-width:1145px) {
    .menu-container{
        padding-left: 40px;
    }

    .banner h2{
        font-size: 2.8em;
        text-align: center;
    }

    .membres-equipe{
        max-width: 100%;
        gap: 10px;

    }

    .membres-equipe>div{
        margin: auto;
        width: 20%;
    }
    .membres-equipe .membre{
        width: 100%;
    }

    .membres-equipe h6{
        font-size: 1.5em;
    }
    .membres-equipe .message{
        width: 150px;
        height: 50px;
        gap: 10px;
    }

    .service-content{
        display: flex;
        flex-wrap: wrap;
        max-width: 1023px;
        margin: auto;
        justify-content: center;
        align-items: flex-start;
        gap: 10px;
    }
    .service-content>div{
        width: 250px;
    }

    form{
        width: 650px;
    }
}

@media only screen and (min-width:600px) and (max-width:768px) {
    .menu-container{
        padding-left: 40px;
    }


    .logo{
        width: 80%;
    }

    ul{
        margin-left: 10px;
        font-size: 11px;
        width: 100%;
    }

    .banner .titre{
        width: 80%;
    }

    .banner h1{
        font-size: 3em;
    }

    .banner h2{
        font-size: 2.5em;
        text-align: center;
    }

    .banner .boutons{
        width: 80%;
    }

    form{
        width: 80%;
    }
}

@media only screen and (max-width:599px) {

    .hamburger{
        display: block;
        position: absolute;
        right: 40px;
        border: solid 2px white;
        width: 40px;
        border-radius: 3px;
    }

    .bar{
        display:block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: white;
        transition: all 0.3s ease-in-out;
    }

    .hamburger.active .bar:nth-child(2){
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }

    .menu-container{
        height:69px;
        padding-left: 20px;
        display: flex;
    }
    .menu .links{
        position: fixed;
        top: 69px;
        right: 0;
        transform: translateX(100%);
        background-color: #dc5555;
        max-width:599px;
        width: 100%;
        padding-bottom: 20px;
        transition: 0.7s ease;
    }

    .menu .links.active {
        transform: translateX(0%);
    }

    ul{
        flex-direction: column;
        align-items: center;
        margin-left: 0;
    }

    .banner .titre{
        width: 80%;
    }

    .banner .titre h1{
        font-size: 1.8em;
    }

    .banner .titre h4{
        font-size: 0.9em;
    }

    .banner .boutons{
        flex-direction: column;
    }

    .services{
        width: 80%;
    }
    .equipes .banner h2{
        font-size:1.9em;
    }

    form{
        width: 80%;
    }

    form .information{
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    form .information>div{
        width: 100%;
        margin-bottom: 15px;
    }

}