/* reset 

* {
    list-style: none;
    padding: 0;
    margin: 0;
}

body {
    
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    font-size: inherit;
}


reset

.ga-maamli-regular {
    font-family: "Ga Maamli", sans-serif;
    font-weight: 400;
    font-style: normal;
  }


nav {
    
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 120px;
    width: 100%;
    background-color: rgba(26, 119, 7, 0.685);
    font-size: 20px;
    position: fixed;   
    top: 0;
    z-index: 1;
}

.logo_arcadia {
    
    height: 100px;
}
ul {
    width: 60%;
    display: flex;
    justify-content: space-around;
    font-family: "Ga Maamli";
}

.btn_connexion {
    border: solid 1px green;
    border-radius: 5px;
    background-color: rgba(14, 24, 14, 0.774);
    color: white;
    font-family: sans-serif;
    padding: 10px;

}

#carouselExampleCaptions {
    margin:150px;
    max-height: 36rem;
    width: 80%;
}

.carousel-control-prev, .carousel-control-next {
    margin-top : 250px;
}

.image_savane, .image_panneaux-solaires, .image_chimpanze {

    height: 500px;
}

footer {
height: 250px;
background-color: rgba(26, 119, 7, 0.685); 
position: relative;
}


.titre-footer {
    text-decoration: underline;
    text-underline-offset: 15px;
    margin-bottom: 20px;
    
}

.logo-rs {
    font-size: 25px;
    word-spacing: 15px;
    margin-left: -25px;
}

.block_suivi_rs {
  
    position: absolute; 
    top: 20px;
    left: 43%
}

.adresse {
    position: absolute;
    top: 60px;
    left: -450px
}

.intitule {
    margin-left: 45px;
}


a:hover {

color: rgb(16, 97, 163);

}

.horaire {
    text-align: center;
    
}
.horaire_ouverture {
margin-left: 300px;
margin-top: -30px
    
}



/* RESET */

* {
    list-style: none;
    padding: 0;
    margin: 0;
}

body {
    background-color: rgba(79, 211, 18, 0.445);
    overflow-x: hidden;
    color: #333333;
}

a {
    color: inherit;
    text-decoration: none;
    font-size: inherit;
}


/* FIN RESET */



* {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;

}


nav {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 90px;
    width: 100%;
    background-color: rgba(26, 119, 7, 0.685);
    font-size: 20px;
    position: fixed;
    top: 0;
    z-index: 1;
    color: white;   
}

.logo_arcadia {

    height: 100px;
}

ul {
    width: 60%;
    display: flex;
    justify-content: space-around;
    font-family: "Ga Maamli";
}

.btn_connexion {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #ffffff;
    color: #054716;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.btn_connexion:hover {
    background-color: #054716;
    color: #fff;
}




.btn_deconnexion {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #333;
    /* Couleur de fond des boutons */
    color: #fff;
    /* Couleur du texte des boutons */
    cursor: pointer;
    text-align: center;
}

.btn_deconnexion:hover {
    background-color: #555;
}

main {
    width: 80%;
    margin: auto;

}

#carouselExampleCaptions {
    margin: 150px 150px 50px 150px;
    max-height: 36rem;
    width: 100%;
}

.carousel-control-prev,
.carousel-control-next {
    margin-top: 250px;
}

.image_savane,
.image_panneaux-solaires,
.image_chimpanze {

    height: 500px;
}

.presentation_arcadia {
    text-align: center;
}

.containerHabitats,
.containerDetailHabitat,
.containerServices {

    margin: 100px 20px;
}

.habitats_list {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.habitat_item {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.habitat_item:hover {
    background-color: rgba(26, 119, 7, 0.685);
    color: #fff;
}

.habitat_item p {
    margin: 0;
    font-size: 1.1em;
    color: #333;
}

.habitat_item a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.element_habitat,
.element_avis {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    margin: 20px auto;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
    text-align: center;
}

.element_habitat p,
.element_avis p {
    margin: 10px 0;
}

.element_habitat strong,
.element_avis strong {
    color: #333;
}

.block_avis {
    margin: 20px auto;
}

.block_avis h2 {
    text-align: center;

}

.pseudo {
    margin-top: 20px;
}

footer {
    height: 250px;
    background-color: rgba(26, 119, 7, 0.685);
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: white;
}



.titre-footer {
    text-decoration: underline;
    text-underline-offset: 15px;
    margin-bottom: 20px;
    text-align: center;


}

.logo-rs {
    font-size: 25px;
    word-spacing: 15px;

}


.adresse_et_contact {
    text-align: center;

}


a:hover {

    color: rgb(16, 97, 163);

}

.horaire {

    text-align: center;
}

.detailAnimal {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 20px 220px;
}

.list-groupAnimaux {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin: 20px 220px;
}

.titre_formulaire_inscription {
    text-align: center;
    margin-top: 150px;
}

.champs_formulaire_inscription {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 220px;
}

.bouton_retour {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 0px auto 10px auto;
    cursor: pointer;
    border-radius: 12px;
    transition: background-color 0.3s ease;
    align-content: center;
}

.bouton_retour:hover {
    background-color: #45a049;
}

.champs_form {

    margin-top: 5000px;
}

.container {
    max-width: 800px;
}

.btn-retour {
    margin-top: 20px;
}

.habitat-card {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.habitat-card img {
    max-width: 200px;
    margin-bottom: 10px;
}

body {
    font-family: 'Ga Maamli', sans-serif;
}

.container {
    max-width: 800px;
}

.btn-retour {
    margin-top: 20px;
}

.habitat-card {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.habitat-card img {
    max-width: 200px;
    margin-bottom: 10px;
}


.container {
    margin-top: 100px;
    max-width: 800px;
}

.btn-retour {
    margin-top: 20px;
}

.habitat-card {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.habitat-card img {
    max-width: 600px;
    margin-bottom: 10px;
}

.choix_gestion_service {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.titre_modification_horaires {
    text-align: center;
    margin: 40px auto;
}

.horaire-card {
    display: flex;
    justify-content: space-around;
}

.choix_gestion_service {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.titre_modification_horaires {
    text-align: center;
    margin: 40px auto;
}

.horaire-card {
    display: flex;
    justify-content: space-around;
}

.valider_avis {
    margin-top: 150;
}


.table_alimentation {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 18px;
    text-align: left;
}

.table_alimentation thead tr {
    background-color: #009879;
    color: #ffffff;
    text-align: left;
    font-weight: bold;
}

.table_alimentation th,
.table_alimentation td {
    padding: 12px 15px;
    border: 1px solid #dddddd;
}

.table_alimentation tbody tr {
    border-bottom: 1px solid #dddddd;
}

.table_alimentation tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.table_alimentation tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}

.suivi_nourriture_animaux {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

fieldset {
    margin-top: 200px;
    text-align: center;
}

#animalSearchBar {
    width: 100%;
    padding: 12px 20px;
    margin: 20px 0;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 25px;
    font-size: 16px;
    border-color: #054716;
}

.searchContainer {
    display: flex;
    justify-content: center;
    margin-top: 120px;
}

.searchContainer label {
    text-align: center;
    font-size: 20px;
    color: rgba(26, 119, 7, 0.685);
    font-weight: bold;
}

.resultatSearch {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.animal {
    display: flex;
    flex-direction: column;
    margin: 20px auto;
    padding: 20px;
    width: 80%;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
    text-align: center;
    box-sizing: border-box;
}

.animalImage {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.animalLink {
    margin-top: 10px;
}

.row {
    display: flex;
    justify-content: center;
}

.detailAnimal {

    display: flex;
    justify-content: center;
    align-items: center;

}


.logo_arcadia {
    height: 80px;
    margin-left: 20px;
}

.bi-list {
    display: none;
    font-size: 30px;
    margin-right: 30px;
    cursor: pointer;

}

.navbar_mobile {
    display: none;
    align-items: center;
    background-color: rgba(26, 119, 7, 0.685);
    height: 160px;
    position: fixed;
    top: 89px;
    width: 100%;
    z-index: 1;
}

.navbar_desktop {
    display: flex;

}

.detail_animal_container {
    margin-top: 150px;
}



.list-groupAnimaux {
    list-style: none;
    padding: 0;
    margin: 20px auto;

}

.list-groupAnimaux li {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 10px 15px;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
}

.list-groupAnimaux li a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

.list-groupAnimaux li a:hover {
    color: #0056b3;

}

.block_habitat {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;

}

.element_habitat {
    box-sizing: border-box;
    width: 25%;
    margin: 20px;
    padding: 20px;
    border: 2px solid rgb(7, 122, 46);
    border-radius: 10px;
    text-align: center;
}

@media (max-width: 768px) {
    .navbar_desktop {
        display: none;
    }

    nav ul,
    .btn_connexion {
        display: none;
    }

    .bi-list {
        display: block;
    }

    .navbar_mobile.show {
        display: flex;
        flex-direction: column;
    }

    footer {
        display: flex;
        flex-direction: column;
        height: 600px;
    }

    .horaire_ouverture {
        margin-bottom: 10px;
    }

    .resultatSearch {
        display: flex;
        flex-direction: column;
    }

    .detail_animal_container {
        margin-top: 100px;
    }


    .img-fluid {
        width: 100%;
        height: 100%;
    }

    .image_page_accueil_mobile {

        width: 100%;
        height: 500px;
        margin-top: 100px;
    }
}