body {

    font-family: "Thasadith", sans-serif;

    margin: 0;

    padding: 0;

    width: 100%;

    height: 100%;

    overflow-x: hidden;

}



html {

    scroll-behavior:smooth;

    margin: 0;

    padding: 0;

    overflow-x: hidden;

    width: 100%;

  }



  .news-mobile{

    display: none;

  }





em {

    font-family: "Thasadith", sans-serif;

    font-weight: bold;

    font-style: italic;

    font-size: 16px;

    color: #666;

}



.hidden {

    display: none;

}







.rejoindre{

    font-size: 30px;

    font-weight: bold;

    text-align: center;

    color: #fff;

    background: linear-gradient(90deg, rgb(113, 142, 26), rgb(186, 230, 56));

    padding: 15px;

    padding-top: 20px;

    letter-spacing: 2px;

    border-radius: 5px;

}



.text-rejoindre{

    font-size: 25px;

    line-height: 1.6;

    color: #333;

    text-align: justify;

    padding-bottom:50px;

    margin-top: 40px;

    background-color: #f9f9f9;

    border-left: 5px solid  rgb(113, 142, 26);

    border-radius: 5px;

    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);

}



.section-title {

    font-size: 2em;

    color: rgb(113, 142, 26);

    margin: 20px 0 20px;

    margin-left: 170px;

    text-align: left;

    font-family: 'Thasadith', sans-serif;

    border-bottom: 2px solid rgb(113, 142, 26);

    padding-bottom: 0px;

    position: relative;

    font-weight: lighter;

  }

  

  

  .section-text {

    font-size: 1.2em;

    color: #0e1612;

    line-height: 1.5;

    margin: 0 auto;

    padding-top: 20px;

    max-width: 800px;

    font-family: 'Thasadith', sans-serif;

    position: relative;

  }


.lien-contact{
    color: rgb(113, 142, 26);
}


/* Bannière */

.actu-banner-unique123 {

    font-family: 'Arial', sans-serif;

    position: relative;

    text-align: center;

    background-color: rgba(0, 0, 0, 0.6); 

    padding: 20px 0; 

    width: 100%; 

    height: 350px; 

    box-sizing: border-box; 

    background-image: url('cetoine.jpg'); 

    background-size: cover;

    background-attachment: fixed;

    background-position: center;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 48px;

    color: #e0e0e0;

}



.actu-banner-unique123 h1 {

    margin: 0;

    color: #509954;

    font-size: 2em;

    font-weight: bold;

    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);

}



/* Contenu */

.actu-content-unique123 {

    max-width: 1000px;

    margin: auto;

    display: flex;

    flex-wrap: nowrap; /* Pas de retour à la ligne pour garder les items en ligne */

    gap: 20px; /* Espace entre les éléments */

    justify-content: center;

    position: relative;

}



/* Éléments d'actualité */

.actu-item-unique123 {

    background-color: #ffffff;

    padding: 20px;

    border-radius: 8px;

    border: 1px solid #ddd;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

    width: 220px;

    position: relative; /* Pour le décalage en escalier */

    transition: transform 0.3s ease;

    margin-top: 80px;

    margin-bottom: 40px;

}



.actu-item-unique123:nth-child(1) {

    transform: translateY(-60px);

}



.actu-item-unique123:nth-child(2) {

    transform: translateY(-50px);

}



.actu-item-unique123:nth-child(3) {

    transform: translateY(-40px);

}



.actu-item-unique123:nth-child(4) {

    transform: translateY(-30px);

}



.actu-item-unique123 h3 {

    margin-top: 0;

    font-size: 1.2em;

    color: #444;

}



.actu-item-unique123 p {

    margin: 8px 0;

    font-size: 0.9em;

    color: #555;

}



.projet{

    font-size: 1.2em;

    color: #0e1612;

    line-height: 1.5;

    margin: 0 auto;

    padding-top: 20px;

    text-align: justify;

    max-width: 800px;

    font-family: 'Thasadith', sans-serif;

    position: relative;

}



.show {

    display: block;

    padding: 40px 20px;

    background-color: #f4f4f4;

    border-radius: 10px;

    margin: 20px auto;

    max-width: 800px;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}



.actu-banner5 {

    font-family:sans-serif;

    position: relative;

    text-align: center;

    background-color: rgba(255, 255, 255, 0.8); /* Fond semi-transparent */

    padding: 0; /* Aucune marge intérieure pour le moment */

    width: 100%; /* Largeur complète */

    border-left: 0;

    height: 400px; /* Hauteur minimale */

    box-sizing: border-box;

    border-radius: 0;

    box-shadow: none;

    background-image: url('arbolab_cornouiller.jpg'); 

    background-size: cover;

    background-attachment: fixed;

    background-position: center;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 50px;

}



.actu-banner4 {

    font-family:sans-serif;

    position: relative;

    text-align: center;

    background-color: rgba(255, 255, 255, 0.8); /* Fond semi-transparent */

    padding: 0; /* Aucune marge intérieure pour le moment */

    width: 100%; /* Largeur complète */

    border-left: 0;

    height: 400px; /* Hauteur minimale */

    box-sizing: border-box;

    border-radius: 0;

    box-shadow: none;

    background-image: url('ruche.png'); 

    background-size: cover;

    background-attachment: fixed;

    background-position: center;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 50px;

}



.actu-banner3 {

    font-family:sans-serif;

    position: relative;

    text-align: center;

    background-color: rgba(255, 255, 255, 0.8); /* Fond semi-transparent */

    padding: 0; /* Aucune marge intérieure pour le moment */

    width: 100%; /* Largeur complète */

    border-left: 0;

    height: 400px; /* Hauteur minimale */

    box-sizing: border-box;

    border-radius: 0;

    box-shadow: none;

    background-image: url('arbolab_aubepine.jpg'); 

    background-size: cover;

    background-attachment: fixed;

    background-position: center;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 50px;

}

  

.actu-banner2 {

    font-family:sans-serif;

    position: relative;

    text-align: center;

    background-color: rgba(255, 255, 255, 0.8); /* Fond semi-transparent */

    padding: 0; /* Aucune marge intérieure pour le moment */

    width: 100%; /* Largeur complète */

    border-left: 0;

    height: 400px; /* Hauteur minimale */

    box-sizing: border-box;

    border-radius: 0;

    box-shadow: none;

    background-image: url('arbolab_sycomore.jpg'); 

    background-size: cover;

    background-attachment: fixed;

    background-position: center;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 50px;

}



.actu-banner {

    font-family:sans-serif;

    position: relative;

    text-align: center;

    background-color: rgba(255, 255, 255, 0.8); /* Fond semi-transparent */

    padding: 0; /* Aucune marge intérieure pour le moment */

    width: 100%; /* Largeur complète */

    border-left: 0;

    height: 400px; /* Hauteur minimale */

    box-sizing: border-box; /* Inclure padding et border dans les calculs de largeur */

    border-radius: 0;

    box-shadow: none;

    background-image: url('cetoine.jpg'); 

    background-size: cover;

    background-attachment: fixed;

    background-position: center;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 50px;

}

  

  .actu-banner h1, .actu-banner2 h1, .actu-banner3 h1, .actu-banner4 h1, .actu-banner5 h1 {

    margin: 0;

    color: white;

    font-size: 1.5em;

    font-weight:lighter;

  }



.carousel {

    position: relative;

    width: 100%; 

    margin: auto;

    overflow: hidden;

    border-radius: 10px;

}



.carousel-inner {

    display: flex;

    overflow:hidden;

    width: 100%;

}



.carousel-item.active {

    display: block;

  }



.carousel-item {

    flex: 0 0 33.3333%; 

    box-sizing: border-box;

    height: 300px; 

    display: flex;

    align-items: center;

    justify-content: center;

    transition: transform 0.5s ease-in-out;



}



.carousel-control {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    background-color: rgba(0, 0, 0, 0.5);

    color: white;

    border: none;

    padding: 10px;

    cursor: pointer;

    z-index: 1000;

  }

  



.center-message {

    width: 90%;

    height: 100%;

    background-color: rgba(255, 255, 255, 0.8);

    border-radius: 10px;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

    box-sizing: border-box;

    display: flex;

    flex-direction: column;

    justify-content: center;

    text-align: center;

}



.center-message h1 {

    color: rgb(113, 142, 26);

    font-size: 24px; 

    margin-bottom: 10px;

    font-weight: normal;

}



.center-message p {

    color: #333;

    font-family: Verdana, sans-serif;

    font-size: 16px;

}



.carousel-control {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    background-color: rgba(0, 0, 0, 0.5);

    color: white;

    border: none;

    padding: 10px;

    cursor: pointer;

    z-index: 1000;

    border-radius: 10%;

}



.carousel-control.prev {

    left: 10px;

}



.carousel-control.next {

    right: 10px;

}



.carousel-control:disabled {

    opacity: 0.5;

    cursor: not-allowed;

}



.content-localisation {

    padding: 20px;

    text-align: center;

    font-family: 'Thasadith', sans-serif;

    background-color: #f9f9f9; 

    border-radius: 8px;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

    margin: 20px auto;

    max-width: 800px; 

}



.content-localisation .section-text {

    font-size: 1.2em;

    color: #333; 

    line-height: 1.6;

}



.content-localisation .section-text strong {

    font-weight: bold;

    color: rgb(113, 142, 26);

}



.content-localisation img {

    width: 100%;

    max-width: 100%;

    height: auto;

    border-radius: 8px;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 

    margin-top: 20px;

    margin-bottom: 25px;

}



.news-container {

    background-image: url('arbolab_bouleau.jpg');

    background-size: cover;

    background-attachment:fixed ; 

    background-position: center;

    padding: 20px;

}



.section-text-wrapper {

    display: flex;

    align-items: flex-start;

    gap: 20px;

    max-width: 800px; 

    margin: 0 auto;

}



.image-right {

    float: right; 

    width: 200px;

    height: auto;

    margin: 0 0 10px 15px;

    border-radius: 8px; 

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}



.slogan h1{

    font-weight: lighter;

    text-align: center;

    color: rgb(113, 142, 26);

}



.navbar-container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    background-color: white;

    padding: 0 20px;

    width: 100%;

    height: 100px;

    position: relative;

}



.logo {

    width: 180px;

    height: auto;

    cursor: pointer;

}



#checkbox {

    position: absolute;

    left: -9999px;

    visibility: hidden;

}



.toggle {

    width: 40px;

    height: 40px;

    cursor: pointer;

    display: none;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 10px;

    transition-duration: 0.3s;

}



.bars {

    width: 100%;

    height: 4px;

    background-color: rgb(148, 188, 31);

    border-radius: 5px;

    transition-duration: 0.3s;

}



#checkbox:checked + .toggle .bars {

    margin-left: 13px;

}



#checkbox:checked + .toggle #bar2 {

    transform: rotate(135deg);

    margin-left: 0;

    transform-origin: center;

    transition-duration: 0.3s;

}



#checkbox:checked + .toggle #bar1 {

    transform: rotate(45deg);

    transition-duration: 0.3s;

    transform-origin: left center;

}



#checkbox:checked + .toggle #bar3 {

    transform: rotate(-45deg);

    transition-duration: 0.3s;

    transform-origin: left center;

}



.navbar {

    display: flex;

    align-items: center;

    justify-content: center;

    background-color: white;

    transition: all 0.3s ease;

    width: 100%;

    position: relative;

    z-index: 1;

}



.navbar a {

    font-size: 20px;

    color: rgb(113, 142, 26);

    text-align: center;

    padding: 14px 20px;

    text-decoration: none;

}



.dropdown {

    position: relative;

    display: inline-block;

}



h1 .news-title {

    font-weight: bold;

}



.dropdown .dropbtn {

    font-size: 20px;

    color: rgb(113, 142, 26);

    padding: 14px 25px;

    background-color: inherit;

    font-family: inherit;

    text-decoration: none;

    text-align: center;

    border: none;

    cursor: pointer;

}



.navbar a:hover,

.dropdown:hover .dropbtn {

    background-color: rgb(244, 255, 209);

    color: rgb(113, 142, 26);

    border-radius: 20px;

}



.dropdown-content {

    display: none;

    position:absolute;

    background-color: #f9f9f9;

    min-width: 190px;

    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);

    z-index: 1;

    top: 160%;

    left: 0;

    box-sizing: border-box;

}



.dropdown-content a {

    color: rgb(113, 142, 26);

    padding: 12px 16px;

    text-decoration: none;

    display: block;

    text-align: left;

}



.dropdown-content a:hover {

    background-color: rgb(244, 255, 209);

}



.dropdown:hover .dropdown-content {

    display: block;

    border-radius: 10px;

}



.navbar-container::after {

    content: '';

    display: block;

    width: 100%;

    height: 2px;

    background-color: rgb(113, 142, 26);

    position: absolute;

    bottom: 0;

    left: 0;

}



.content {

    padding: 20px;

}



h2{

    text-align: center;

    padding-bottom: 10px;

    font-size: 1.8em;

    color:rgb(113, 142, 26);

    text-decoration:underline;

}



.mentions-legales {

    padding: 40px 20px;

    background-color: #f4f4f4;

    border-radius: 10px;

    margin: 20px auto;

    max-width: 800px;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}



.mentions-legales h1 {

    font-size: 24px;

    color: rgb(113, 142, 26);

    margin-bottom: 20px;

}



.legal-content h2 {

    font-size: 20px;

    color: rgb(113, 142, 26);

    margin-top: 20px;

    border-bottom: 2px solid rgb(113, 142, 26);

    padding-bottom: 5px;

}



.legal-content p {

    font-size: 16px;

    line-height: 1.6;

    margin: 10px 0;

}



.legal-content a {

    color: rgb(113, 142, 26);

    text-decoration: none;

}



.legal-content a:hover {

    text-decoration: underline;

}



.link{

    font-weight: 700;

    padding: 8px;

    text-decoration: underline;

    color: rgb(113, 142, 26);

    border-radius: 100px;

    white-space: nowrap;

    display: flex;

    justify-content: center;

    align-items: center; 

}



.link:hover {

    background: rgb(245, 255, 213);

    text-decoration: underline;

}



.wiki-link {

    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    font-weight: 700;

    background: rgba(239, 247, 227, 0.8);

    padding: 5px;

    text-decoration: none;

    color: rgb(113, 142, 26);

    border-radius: 10px;

    font-size: 15px;

}



.wiki-link:hover {

    background: rgba(255, 255, 255, 1);

    text-decoration: underline;

}



.espace{

    padding-bottom: 40px ;

}



.beetle-info {

    text-align: left;

    font-size: 17px;

    color: #333;

    max-width: 60%;

}



footer {

    background-color: #f4f4f4;

    text-align: center;

    padding: 20px;

    position: fixed;

    bottom: 0;

    width: 100%;

    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);

}



footer::before{

    top: 100px;

}



footer p {

    margin: 0;

    font-size: 14px;

    color: #333;

}



footer a {

    color: rgb(113, 142, 26);

    text-decoration: none;

}



footer a:hover {

    text-decoration: underline;

}



.beetle-section {

    text-align: center;

    padding: 30px;

    background-color: #f4f4f4;

    border-radius: 10px;

    margin: 20px auto;

    max-width: 800px;

}



.beetle-section h2 {

    color: rgb(113, 142, 26);

}



.beetle-container {

    display: flex;

    flex-direction: row;

    align-items: flex-start;

    gap: 20px;

}



.beetle-image-container {

    display: flex;

    flex-direction: column;

    align-items: center;

}



.beetle-image {

    width: 300px;

    height: auto;

    border: 2px solid rgb(113, 142, 26);

    border-radius: 10px;

}



.beetle-info {

    text-align: left;

    font-size: 17px;

    color: #333;

    max-width: 60%;

}



@media (max-width: 1200px) {



    footer{

        display: none;

    }

    .content {

        padding: 20px;

        text-align: center;

      }

      

    .text-rejoindre {

        background-color: #f4f4f4; /* Couleur de fond légère */

        padding: 20px;

        border-radius: 10px;

        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre légère */

        margin-top: 20px;

    }



    .actu-content-unique123 {

        flex-direction: column;

        align-items: center; 

        gap: 1px;

    }



    .actu-item-unique123 {

        margin-top: 25px;

        width: 95%;

        margin-bottom: 15px;

        min-height: 300px;

        padding: 20px; 

        background-color: #f9f9f9; 

        border-left: 8px solid #719e1a; 

        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 

        border-radius: 15px; 

        box-sizing: border-box; 

    }



    .actu-item-unique123 h3 {

        color: #3e7520; 

        font-size: 1.7rem;

        margin-bottom: 12px;

        line-height: 1.4;

    }



    .actu-item-unique123 p {

        color: #444; 

        font-size: 1.2rem;

        line-height: 1.8; 

    }



    .actu-item-unique123 strong {

        color: #719e1a;

    }



    .actu-banner5,

    .actu-banner4,

    .actu-banner3,

    .actu-banner2,

    .actu-banner {

        background-position: center center;

        background-attachment: scroll; /* Appliqué uniquement sur mobile */

        font-family:sans-serif;

        position: relative;

        text-align: center;

        background-color: rgba(255, 255, 255, 0.8); /* Fond semi-transparent */

        padding: 0; /* Aucune marge intérieure pour le moment */

        width: 100%; /* Largeur complète */

        border-left: 0;

        box-sizing: border-box;

        border-radius: 0;

        box-shadow: none;

        background-size: cover;

        background-position: center;

        display: flex;

        align-items: center;

        justify-content: center;

        font-size: 50px;

        height: 200px;

    }



    .section-text {

        font-size: 1em;

        line-height: 1.6;

        color: #333;

    }



    .rejoindre {

        display: block;

        font-size: 0.7em;

        color: #fefff4;

        font-weight: bold;

    }



    .contact-info {

        display: block;

        font-size: 1em;

        color: #666;

    }



    .contact-link {

        color: #8cbd29;

        text-decoration: none;

        font-weight: bold;

    }



    .contact-link:hover {

        text-decoration: underline;

    }



    .call-to-action {

        font-size: 1.1em;

        font-weight: bold;

        color: #555;

        margin-top: 10px;

    }



    .section-text{

        margin-left: 10px;

        margin-right: 10px;

        text-align: justify;

    }



    .section-title{

        text-align: left;

        margin: 5px;

    }

    .news-container {

        display: none;

    }



    .news-mobile {

        display: block; 

        padding: 20px;

        text-align: center;

        background-color: #f9f9f9; 

    }



    .news-item {

        margin-bottom: 20px;

        padding: 15px;

        border: 1px solid #ddd;

        border-radius: 8px;

        background-color: rgb(244, 255, 209); 

        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

    }



    .news-item h2 {

        font-size: 1.5em;

        color: #333;

        margin-bottom: 10px;

    }



    .news-item p {

        font-size: 1em;

        color: #666; 

        margin: 5px 0;

    }

    .center-messages {

        flex-direction: column;

        padding: 0;

    }



    .center-message {

        width: 100%;

        margin: 0 0 20px 0;

        padding: 20px;

        box-sizing: border-box;

    }



    .dropdown {

        width: 100%;

        padding: 10px;

        border-bottom: 1px solid rgb(113, 142, 26); 

    }



    .toggle {

        display: flex;

        margin-right: 30px; 

    }



    .navbar {

        display: none;

        flex-direction: column;

        position: absolute;

        align-items: flex-start;

        top: 100px;

        left: 0;

        width: 100%;

        z-index: 1;

        background-color: white;

        padding: 20px;

        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);

        box-sizing: border-box;

    }







    #checkbox:checked ~ .navbar {

        display: flex;

    }



    .dropdown .dropbtn {

        width: 100%; 

        padding: 10px;

        text-align: left;

        box-sizing: border-box;

        margin-left: -10px; 

    }



    .navbar a {

        text-align: left;

        padding: 10px;

        width: 100%;

        border-bottom: 1px solid rgb(113, 142, 26);

        box-sizing: border-box;

    }



    .dropdown-content {

        position: relative;

        width: 100%;

        box-shadow: none;

        background-color: white;

    }



    .dropdown-content a {

        padding: 10px 20px;

        border-bottom: 1px solid rgba(113, 142, 26, 0.3);

        width: 100%; 

    }



    .navbar-container::after {

        content: '';

        display: block;

        width: 100%;

        height: 2px;

        background-color: rgb(113, 142, 26);

        position: absolute;

        bottom: 0;

        left: 0;

    }



    .navbar a:hover, .dropdown .dropbtn:hover {

        background-color: rgb(244, 255, 209);

        color: rgb(113, 142, 26);

        border-radius: 20px;

    }



    .dropdown:hover{

        display: block;

        background-color: rgb(244, 255, 209);

        border-radius: 10px;

    }



    .dropdown-content a:hover {

        background-color: rgb(244, 255, 209);

        color: rgb(113, 142, 26);

        border-radius: 10px;

    }



    .beetle-container {

        flex-direction: column;

        align-items: center;

    }



    .beetle-image {

        width: 80%;

        max-width: 300px;

    }



    .beetle-info {

        max-width: 90%;

        font-size: 1em; 

        text-align: justify;

    }

    .mobile-mentions {

        display: block;

        padding: 10px;

        color: #333;

        text-align: center; 

        border-bottom: 1px solid #ddd; 

    }

}



@media (min-width: 1200px) {

    .mobile-mentions {

        display: none;

    }

}