*{
    margin: 0;
    padding: 0;
}




/*mettre le main qui orend toute la largeur en vertical*/




/*La naviguation*/

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #4a4a4a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 25px;
}





.logosite img {
    height: 55px;
    width: 55px;
    object-fit: cover;    /*Permet que l'image ne s'étire pas, donc pas de déforamtion.*/
    border-radius: 50%;
    display: block;
}

.navigation ul {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.navigation li {
    padding: 10px 22px;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
}



.navigation li:hover {
    background-color: #5a5a5a;
    border-color: white;
}


/*-----------Le main "milieu de la page"--------------*/

.image1 img {
    width: 100%;
    height: 750px;
    object-fit: cover;
    margin-top: 10px;
    display: block;
}

.titre {
    background-color: #5a5a5a;
    color: white;
    padding: 25px;
    margin: 25px auto;
    width: 90%;
    border-radius: 8px;
    text-align: center;
}

.titre h1 {
    margin: 0;
    font-size: 1.8rem;
}


.allImg {
    display: flex;
    gap: 20px;
    width: 90%;
    margin: 40px auto;
}

.premiere, .deuxieme, .troisieme {
    width: 32%;
}

.allImg div img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}



/*--------------------------Footer horaire et prix----------------------*/


a{
    color: inherit;
    text-decoration: none;
}


body {
    background-color: #d9d9d9;
    margin: 0;
    padding: 0;
}

footer {
    padding-bottom: 0;
    padding-top: 40px;
    margin-top: 50px;
}


.allfooter {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.horaire, .tarifs, .map {
    width: 30%;
    height: 280px;
    padding: 30px;
    border-radius: 8px;

    background-color: #5a5a5a;
    color: white;
    text-align: center;

    display: flex;
    flex-direction: column;
}

.horaire h2, .tarifs h2, .map h2 {
    margin: 0 0 25px 0;
    font-size: 1.4rem;
    color: #ffeb3b;
}

.horaire ul, .tarifs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.horaire li, .tarifs li {
    display: flex;
    justify-content: flex-start;
    align-items: center;

    margin: 10px 0;
    font-size: 1rem;

    padding: 0 20px;
    white-space: nowrap;
}

.jour, .service {
    text-align: left;
}

.heure, .prix, .heureferme {
    width: 160px;
    margin-left: auto;
    margin-right: 20px;
}

.heureferme {
    color: red;
    text-align: center;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    flex-grow: 1;
    margin-top: 10px;
}


/* ------------------Bas de la page-------------------*/

.baspage {
    width: auto;
    background-color: #4a4a4a;
    padding: 10px 40px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 30px;
    margin-bottom: 0px;
}

.baspage .copyright {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
}


.auteurcontact > ul{
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
    
}

.auteurcontact li:hover {
    background-color: #5a5a5a;
    border-color: white;
}



.auteurcontact li{
    padding: 10px 22px;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
}


.baspage .Insta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 10px;
}

.baspage img {
    width: 18px;
    height: auto;
}

.baspage span,
.baspage a {
    font-size: 0.8rem;
    color: white;
    text-decoration: none;
}


.baspage .Insta a:hover {
    text-decoration: underline;
}


/*---------------------------Présentation-------------------------------*/

.tprincipal {
    background-color: #5a5a5a;
    color: white;
    padding: 30px;
    width: 95%;
    margin: 30px auto;
    border-radius: 8px;
    text-align: center;
}

.tprincipal h1 {
    margin: 0;
    font-size: 2rem;
}


.video {
    width: 95%;
    margin: 30px auto;
}

.video video {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}


.resultat {
    background-color: #5a5a5a;
    color: white;
    padding: 20px;
    width: 80%;
    margin: 40px auto 20px auto;
    border-radius: 8px;
    text-align: center;
}

.resultat h1 {
    margin: 0;
    font-size: 1.6rem;
}


.restultphoto {
    width: 50%;
    margin: 20px auto 50px auto;
}

.restultphoto img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}


/*-----------------------------Contact-----------------------*/

.titrecontact {
    background-color: #5a5a5a;
    color: white;
    padding: 30px;
    width: 95%;
    margin: 30px auto;
    border-radius: 8px;
    text-align: center;
}

.titrecontact h1 {
    margin: 0;
    font-size: 2.2rem;
}

.formulaire {
    width: 60%;
    margin: 40px auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.formulaire form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.formulaire label {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}

.formulaire input,
.formulaire textarea {
    width: auto;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
}




.formulaire button {
    background-color: white;
    color: black;
    border: 1px solid #333;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    width: fit-content;
    margin-top: 5px;
}

.formulaire button:hover {
    background-color: #f0f0f0;
}


/*--------------------------page de l'auteur-------------------------*/

.titretete {
    width: 80%;
    margin: 30px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 45px;
}

.titrepresentation {
    background-color: #5a5a5a;
    color: white;
    padding: 25px;
    width: 45%;
    border-radius: 8px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.titrepresentation h1 {
    margin: 0;
    font-size: 1.9rem;
}

.photoauteur {
    width: 25%;
    display: flex;
    justify-content: center;
}

.photoauteur img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.textdemoi {
    width: 70%;
    margin: 30px auto 60px auto;
    background-color: white;
    padding: 35px;
    border-radius: 8px;
}

.textdemoi p {
    font-size: 1.1rem;
    line-height: 1.8rem;
    color: #333;
    text-align: justify;
}

/*--------------Responsiv disign pour les différents écrans-------------------*/


@media (max-width: 768px) {

    header {
        flex-direction: column;
        gap: 10px;
    }
    .navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .allImg {
        flex-direction: column;
        width: 95%;
    }
    .premiere, .deuxieme, .troisieme {
        width: 100%;
    }

    .allfooter {
        flex-direction: column;
        gap: 25px;
    }
    .horaire, .tarifs, .map {
        width: 90%;
        height: auto;
    }

    .video video {
        height: 300px;
    }

    .formulaire {
        width: 90%;
        padding: 20px;
    }

    .titretete {
        flex-direction: column;
        width: 90%;
        gap: 20px;
    }
    .titrepresentation {
        width: 100%;
    }
    .photoauteur {
        width: 70%;
    }
    .textdemoi {
        width: 95%;
        padding: 20px;
    }
}


