* {
    --main-txt-color: #86A69D;
    --background-color: #F2E8DF;
    --navbar-color: #F2B263;
    --navbar-txt-color: #42544F;
}

body {
    font-family: "Ubuntu", Verdana, Geneva, Tahoma, sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    color: var(--main-txt-color);
}
.nav-ul > li > * {
    color: var(--navbar-txt-color);
    font-weight: 500;
}

#corps {
    background-color: var(--background-color) ;
    padding-top: 15px;
    padding-bottom: 15px;
}

.title {
    margin-left: 30px;
    margin-top: 30px;
    font-weight: 500;
    font-size: 38px;
    margin-bottom: 35px;
}

.titlemen {
    text-decoration: underline;
}

.blockmen {
    background-color: rgb(255, 255, 255);
}

.textblockmen { 
    background-color: rgb(255, 255, 255);
    padding: 30px;
    margin-left: 180px;
    margin-right: 180px;
    margin-bottom: 70px;
    margin-top: 30px;
    border-width: 5px;
    border-style: solid;
    border-radius: 20px;
}


.logo {
    margin-left: 15px;
    padding: 5px;
    background-color: white;
    border-radius: 12px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-right: 30px;
}

.nav-links a {
    font-size: 18px;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s;
}

.nav-links a:hover {
    background-color: #575757;
    border-radius: 4px;
}

.linkfooter{
    background-color: #90848493;
}


.gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 20px;
    margin: 0 auto;
    background-color: #90848493;
}

.gallery img {
    background-color: white;
    padding: 10px;
    border-radius: 7px;
    margin-left: 50px;
}

.gallerypart {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-bottom: 30px;
    margin-right: 100px;
    margin-left: 100px;
    margin-bottom: 80px;
    margin-top: 50px;
}

.container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 20px;
    gap: 100px;
}

.boxaccue {
    width: calc(50% - 25px); /* Les boîtes occupent chacune 50% de la largeur avec 25px d'espace entre elles */
    border: 2px solid #000;
    padding: 20px;
    background-color: #f2f2f2;
    text-align: center;
    border-radius: 10px;
} 



.boxaccu {
    width: calc(50% - 25px); /* Les boîtes occupent chacune 50% de la largeur avec 25px d'espace entre elles */
    border: 2px solid #000;
    padding: 20px;
    background-color: #f2f2f2;
    text-align: center;
    border-radius: 10px;
    height: 460px;
} 

.inscriptionacc {
    margin-left: 20px
}

.research {
    color: rgb(255, 255, 255);
    margin-left: 10px;
    background-color: var(--main-txt-color);
    padding: 10px;
}

.boxacc {
    width: calc(50% - 25px); /* Les boîtes occupent chacune 50% de la largeur avec 25px d'espace entre elles */
    border: 2px solid #000;
    padding: 20px;
    background-color: #f2f2f2;
    text-align: center;
    border-radius: 10px;
}

.box {
    border-style: solid;
    border-width: 4px;
    border-radius: 10px;
    padding-right: 5px;
    padding-left: 5px;
    padding-top: 40px;
    padding-bottom: 20px;
    text-align: center;
    border-color: rgb(154, 154, 154);
    box-shadow: 8px 5px 5px rgb(142, 142, 142);
}

.box p {
    font-weight: 500;
    text-decoration: underline;
    color: black;
}

.boxa {
    border-style: solid;
    border-width: 4px;
    border-radius: 10px;
    padding-right: 5px;
    padding-left: 5px;
    padding-top: 40px;
    padding-bottom: 20px;
    text-align: center;
    border-color: rgb(154, 154, 154);
    box-shadow: 8px 5px 5px rgb(142, 142, 142);
}

.box p {
    font-weight: 500;
    color: black;
    font-size: 15px;
}

.boxtextpart{
    text-align: left;
}

.boxtextpartbis{
    text-align: left;
}

footer{
    margin: 0;
    padding: 0;
}

.mention_leg{
    background-color: rgba(206, 206, 206, 0.253);
    border-radius: 10px;
    text-align: center;
    width: 160px;
    height: 22px;
    text-decoration: none;
    color: #000000;
}

hr {
    height: 1px;
    background-color: rgb(0, 0, 0);
}

.mentitre {
    margin-left: 80px;
    text-decoration: underline ;
}

.carte {
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 10px;
}

.cartetitle {
    padding-left: 20px;
    padding-right: 30px;
    padding-bottom: 10px;
    text-decoration: underline;
}

.maintitlecarte {
    padding-left: 20px;
    padding-bottom: 10px;
    text-decoration: underline;
}

.about {
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 10px;
}

.abouttitle {
    padding-left: 20px;
    padding-right: 30px;
    padding-bottom: 10px;
    text-decoration: underline;
}

.maintitleabout {
    padding-left: 20px;
    padding-bottom: 10px;
    text-decoration: underline;
}


.gallerypartbis {
    display: grid;
    grid-template-columns: repeat(3, 5fr);
    gap: 50px;
    padding-bottom: 30px;
    margin-right: 100px;
    margin-left: 100px;
    margin-bottom: 80px;
    margin-top: 50px;
}

.boxactu {
    padding: 10px;
    margin: 50px;
    border-width: 3px;
    border-style: solid;
    border-color: black;
    border-radius: 6px;
}

.bouton {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #4dff00;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-left: 20px;
}

.bouton:hover {
    background-color: #00b312;
}

.bouton:active {
    background-color: #00853c;
}

.textbouton {
    text-decoration: none;
    color: black;
}

.footer_mention_supp{
    display:flex;
    flex-direction: row;
    align-items: center;
}

.img_card{
    width:calc(100% - 20px) !important;
    margin: 10px;
}


.img_actu{
    max-width: min(100%, 300px)!important;
}

.map-container {
    margin: 20px auto;
    text-align: center;
    width: 100%; /* Pour prendre toute la largeur disponible */
    max-width: 800px; /* Optionnel : largeur maximale sur écrans plus larges */
}

iframe {
    width: 100%; /* Toujours prendre toute la largeur du conteneur */
    height: 300px; /* Hauteur par défaut pour les téléphones */
}

@media (min-width: 600px) {
    iframe {
        height: 450px; /* Hauteur plus grande pour les tablettes et ordinateurs */
    }
}