/*Header*/
* {
    box-sizing: border-box;
}

.body {
    background-color: #9c7c38;
    width: 100%;
    height: 100vh;
    margin: 0;
}
.headerdiv {
    display: flex;
    background-color: #5B3A29 ;
    justify-content: space-between;
}

/*Navbar*/


.navbar {
    margin-right: 100px;
    margin-top: 90px;
}

.navbutton:hover {
    background-color: black;
    border-radius: 60%;
    transition: background-color 1s;
    boder-radius: 5px;
}

.navbutton {
    color: #b89e14;
    text-decoration: none;
    padding-left: 30px;
    padding-right: 30px;
}

.iconloop {
    margin-bottom: -12px;
}


/*Main*/


main {

    background-color: #9c7c38   ;
    height: 100% ;
    text-align: center;
}

.titresection1 {
    font-family: Apple Chancery, cursive;
    font-size: 35px;
}

.parasection1 {
    font-family: Courier, monospace;
    font-size: 100%;

}

.divsection {
    display: flex;
    flex-wrap: wrap;
    padding-left: 200px;
}
section {
    background-color: #E8DAB2 ;
    height: 630px;
    width: 600px;
    margin-top: 100px;
    margin-bottom: 100px;
    border-radius: 2px;
    border-radius: 5%;
    border: 2px solid #A52A2A;
    box-sizing: border-box;
    box-shadow: 0px 0px 40px #A52A2A;
}
.carouselsec {
    margin-left: 150px;
    animation: fade 3s ease-in;
}
.section1acc {
    animation: fade 3s ease-in;

}
.section1 {
    animation: fade 3s ease-in;
}
.section2 {
    animation: fade 3s ease-in;
}
.section1 {
    margin-left: 200px;
    padding-left: 30px;
    padding-right: 30px;
}


.section2 {
    margin-left: 50px;
    margin-right: 220px;
}


/*Carrousel*/


/* Définition d'un container pour gérer l'affichage */
.container {
    overflow: hidden;
    /* Cache les éléments qui dépassent du container */
    margin-top: 50px;
}
/* Définition du carousel */
.carousel {
    position: relative;
    /* Le carousel est positionné relativement à son parent */
}
/* Définition de l'élément contenant les diapositives */
.carousel-inner {
    display: flex;
    /* Affiche les éléments en ligne */
    overflow: hidden;
    /* Cache les éléments qui dépassent */
    height: 100vh;
    /* Hauteur égale à 100% de la hauteur de la vue */
    flex-wrap: nowrap;
    /* Empêche les éléments de se placer sur plusieurs lignes */
}
/* Définition des diapositives */
.slide {
    flex: 0 0 100%;
    /* Largeur de chaque diapositive est de 100% */
    height: 90%;
    /* Hauteur de chaque diapositive est de 100% */
    margin-top: 40px;
    transition: .5s ease-in-out;
    /* Ajout d'une animation douce pour la transition entre les diapositives */
}
/* Définition de l'affichage de l'image de chaque diapositive */
.slide img {
    width: 90%;
    /* Largeur de l'image est de 100% */
    height: 50%;
    /* Hauteur de l'image est de 100% */
    object-fit: cover;
    /* Couvre tout l'espace disponible */
}
/* Définition des boutons de contrôle du carousel */
.carousel-controls {
    position: absolute;
    /* Les boutons sont absolument positionnés */
    z-index: 5;
    /* Ils sont placés au-dessus des autres éléments */
    left: 5%;
    /* La distance à gauche est de 10% */
    right: 5%;
    /* La distance à droite est de 10% */
    top: 25%;
    /* La distance du haut est de 50% */
    display: flex;
    /* Affiche les boutons en ligne */
    justify-content: space-between;
    /* Espacement égal entre les boutons */
}
/* Style des boutons de contrôle */
.carousel-controls button {
    padding: 10px;
    /* Ajout de padding pour un meilleur contrôle */
    border: none;
    font-family: Courier, monospace;
    background: none;
}
/* Définition des points de contrôle */
.carousel-dots {
    position: absolute;
    /* Les points sont absolument positionnés */
    z-index: 5;
    /* Ils sont placés au-dessus des autres éléments */
    left: 50%;
    /* La distance à gauche est de 50% */
    right: 50%;
    /* La distance à droite est de 50% */
    bottom: 55%;
    /*La distance du bas est de 10% */
    display: flex;
    /* Affiche les points en ligne */
    justify-content: center;
    /* Centrage des points */

}
/* Style des points de contrôle */
.carousel-dots .dot {
    border-radius: 50%;
    /* Les points sont en forme de cercle */
    margin: 5px;
    /* Ajout d'un margin pour un meilleur contrôle */
    cursor: pointer;
    /* Curseur en forme de main pour un meilleur contrôle */
    margin-bottom: 0px;
}
/* Styles pour les points de navigation du carrousel */
.carousel-dots .active {
    /* Border de 10px pour le point actif */
    border: 10px solid #761530 !important;
    /* !important permet de surcharger les autres styles éventuels */
}
.carousel-dots .inactive {
    /* Border de 10px pour les points inactifs */
    border: 10px solid #b89e14;
}



.carousel-controls button:hover {
    font-weight: bold;
    background: #b89e14;
    border-radius: 40%;
    transition: background-color 1.5s;

}




/*Footer*/


footer {
    background-color: #5B3A29 ;
    display: flex;
    padding: 40px;
    justify-content: space-between;

}

.footerdiv {
    display: flex;
    background-color: #5B3A29 ;
    justify-content: space-between;
}

.navbarfooter {
    margin-right: 100px;
    margin-top: 90px;
    justify-content: space-between;
}


/*pagegaleriephoto*/


@keyframes fade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}



.galleriephoto {
    animation: fade 3s ease-in;
}
.divsectionimage {
    display: flex;
    flex-wrap: wrap;
    padding-left: 150px;
}
.section1image {
    background-color: #E8DAB2 ;
    height: 100%;
    width: 100%;
    margin-top: 100px;
    margin-right: 100px;
    border-radius: 2px;
    border-radius: 5%;
    border: 2px solid #A52A2A;
    box-sizing: border-box;
    box-shadow: 0px 0px 40px #A52A2A;
}

.galleriephoto {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 20px;
   justify-content: center;
}



.elementgallerie:hover {
    background-color: #761530;
    border: 5px solid #761530;


}



/*contact

 */


.section1form {
    animation: fade 3s ease-in;
    justify-content: center;
    margin-left: 370px;
    margin-top: 100px;
    margin-bottom: 100px;

}

.divsectionform {
    animation: fade 3s ease-in;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 0px;
    margin-bottom: 0px;
    background-color: #9c7c38   ;
}
/*Formulaire de contact */

form {

    margin: 75px;
}

label {
    font-family: Courier, monospace;
    font-weight: bold;
}
input {
    width: 100%;
    margin: 5px 0 22px 0;
    border: 2px solid #761530;
    box-sizing: border-box;
    background-color: white;
}
input, select, textarea {
    width: 100%;
    padding: 8px;
    margin: 5px 0 22px 0;
    border: 2px solid #761530;
    box-sizing: border-box;
}

button {
    background-color: #b89e14;
    color: white;
    padding: 14px 20px;
    margin: 8px;
    border: none;
    width: 100%;
    cursor: pointer;
    border: 2px solid #761530;
}
button:hover {
    opacity: 70%;
}


/*mention legale /cgv */

.section1mtlg{
    animation: fade 3s ease-in;
}
.section1mtlg {
    height: 100%;
    width: 100%;
    margin-top: 100px;
    margin-bottom: 100px;
    padding-bottom: 50px;
    border-radius: 2px;
    border-radius: 5%;
    border: 2px solid #A52A2A;
    box-sizing: border-box;
    box-shadow: 0px 0px 40px #A52A2A;
}

.section1mtlg {
    margin-right: 100px;
    margin-bottom: 100px;
}


/*
Plan du site
 */
.section1pds{
    animation: fade 3s ease-in;
}
.section1mtlg {

    height: 100%;
    width: 50%;
    margin-top: 100px;
    padding: 40px;
    margin-left: 350px;
    border-radius: 2px;
    border-radius: 5%;
    border: 2px solid #A52A2A;
    box-sizing: border-box;
    box-shadow: 0px 0px 40px #A52A2A;
}
.parasection1T {
    font-family: Apple Chancery, cursive;
    font-size: 30px;

}


.parasection1p {
    font-family: Courier, monospace;
    font-size: 100%;

}

.navbuttonpds {
    display: grid;
    grid-template-columns: 1fr ;
    grid-column-gap: 20px;
}
.section1mtlg {
    margin-right: 100px;
    margin-bottom: 100px;
}

.navbuttonpds:hover {
    background-color: #b89e14;
    transition: background-color 1s;
    boder-radius: 1px;
}

.navbuttonpds {
    color: black;
    text-decoration: none;
    gap: 20px;

}



/*Respondive*/
@media screen and (max-width: 1000px) {

    .container {
    display: none;
    }

@media screen and (max-width: 1000px) {

    .headerdiv {
        display: grid;
        grid-auto-columns: 1fr;
        text-align: center;
        padding-bottom: 75px;
        font-size: 30px;
        gap: 10px;
        column-gap: 10px;
    }

    .logoh {
        width: 400px;
        height: 400px;
        text-align: center;
    }

    .logof {
        width: 400px;
        height: 400px;
        text-align: center;
    }
    .section2 {
        margin-bottom: 50px;

    }
    .divsection {
        margin-bottom: 170px;

    }
    .section1acc {
        margin-bottom: 50px;

    }
    .carouselsec {
        display: none;

    }
    .galleriephoto {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .section1mtlg {
        background-color: #E8DAB2 ;

        margin-left: 150px;
    }

    .navbarpds {
        column-gap: 50px;
        font-size: 20px;
    }



    .footerdiv {
        display: grid;
        grid-auto-columns: 1fr;
        grid-gap: 20px;
        font-size: 16px;
        text-align: center;
    }


    .navbarfooter {
        margin-bottom: 50px;
        font-size: 30px;
        gap: 10px;
        column-gap: 10px;

    }


    main {
        display: grid;
        grid-auto-columns: 1fr;
        width: 100%;
        height: 100%;
        text-align: center;
        justify-content: center;


    }


    .parasection1 {
        font-size: 20px;
    }
    .divsectionform {
        animation: fade 3s ease-in;
        margin-right: 275px;

        margin-left: 0px;
    }
}}

