*{
    margin:0;
    padding:0;
    font-family: 'Roboto', sans-serif;
}
/* home */
.container-nav{
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.element-text{
    display:flex;
    justify-content: flex-end;
    gap: 1rem;
    height: 2.3rem;
    align-items: center;
}
.element {
    text-decoration:none;
    border:1px solid white; 
    border-radius:30px;
    display:flex;
    color:white;
    width:fit-content;
    padding: 0.3rem;
    font-size: 0.8rem;
    height: fit-content;
}
.link-for-nav{
    text-decoration:none;
    color: #231F20;
}
.link-for-nav:hover{
    color: #3d3638;
}
@media screen and (max-width: 480px){
    .element i{
        margin: 0 0.2rem!important;
    }
    .element span{
        display: none;
    }
    .link-for-nav{
        font-size: 0.8rem;
    }
    .footer{
        flex-direction: column;
    }
    .links{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .link-for-footer{
        margin-right: 0!important;
        margin-top: 2rem;
    }
}

footer{
    background-color: #231F20;
    color: white;
    min-height: 10rem;
    font-size: 0.8rem;
    margin: 2rem 0 0 0;
    padding: 1rem 0;
}
.yellow{
    background-color: #FCD205;
    width: 8rem;
    height: auto;
    margin-left: 1rem;
    padding: 0.5rem;
}
.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem;
}
.link-for-footer{
    text-decoration:none;
    color: white;
    margin-right: 3rem;
    font-size: 0.9rem;
}
.link-for-footer:hover{
    color: #bebebe;
}
.rs{
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    a{
        i{
            color: #FCD205;
            font-size: 2rem;
        }
    }
}
.presentation{
    display: flex;
    justify-content: center;
    margin: 2rem;
    min-height: 20rem;
}
.photo-text{
    background-color: rgba(217, 217, 217, 0.4);
    width: 80vw;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.text-presentation{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    max-width: 30rem;
    padding: 1rem;
    text-align: justify;
}
button{
    background-color: #FCD205;
    color:#231F20;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 30px!important;
}
button:hover{
    background-color: #d8b402;
}
.title{
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    padding: 2rem 0 2rem 1rem;
}
.title div {
    background-color: #FCD205;
    width: 1rem;
    height: 2rem;
    margin: 0 0.5rem;
}
.who{
    min-height: 27rem;
    background-color: #231F20;
}
.who-photo img {
    width: 35vw;
    height: 100%;
    object-fit: fill;
    border-radius: 15px;
}
.who-text p {
    color: white;
    font-weight: 400;
}
.who-photo-text{
    display: flex;
    align-items: center;
    gap:1rem;
    margin: 0 2rem;
}
.button{
    display: flex;
    justify-content: center;
    padding: 1.5rem;
}

@media screen and (max-width: 680px){
    .home-photo{
        display: none;
    }
    .who-photo-text{
        flex-direction: column;
        margin: 0 1rem;
    }
    .who-photo img{
        width: 60vw;
        max-height: 12rem;
        height: auto;
        object-fit: cover;
        object-position: bottom;
    }
}

html,
body {
    position: relative;
    height: 100%;
}

body {
    background: #eee;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #000;
    margin: 0;
    padding: 0;
}

.swiper {
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    height: calc((100% - 30px) / 2) !important; /* Ajuste la hauteur pour les grids */

    /* Centrer le texte */
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Positionnement des flèches de navigation */
.swiper-button-next, .swiper-button-prev {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 3.5rem!important;
    height: 3.5rem!important;
    color: white!important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute; /* Position absolue pour rester à l'intérieur du swiper */
    top: 50%; /* Centrer verticalement */
    transform: translateY(-50%); /* Ajustement pour le centrer */
    z-index: 10; /* S'assurer que les flèches apparaissent au-dessus */
}

.swiper-button-next {
    right: 10px; /* Position à droite */
}

.swiper-button-prev {
    left: 10px; /* Position à gauche */
}

/* Styles au survol */
.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 18px;
}

/* S'assurer que les flèches ne sont pas cachées par les images */
.swiper-container {
    position: relative; /* Position relative pour que les flèches soient positionnées correctement */
}

/* Positionnement de l'image */
.image-container {
    position: relative;
    height: 200px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

/* Texte en superposition */
.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7); /* Fond semi-transparent */
    color: white;
    text-align: center;
    padding: 0.5rem;
    transition: opacity 0.3s ease; /* Transition fluide */
}

/* Le titre est toujours visible */
.always-visible {
    margin: 0;
}

/* La description est cachée par défaut */
.description {
    display: none;
    margin: 0;
    padding-top: 0.5rem;
}

/* Effet hover pour desktop */
.image-container:hover .description {
    display: block;
}

/* Pour espacer le titre de la description */
.image-container:hover .always-visible {
    margin-bottom: 0.5rem;
}

.image-text-contact{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 2rem 0;
}
.element-contact{
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.element-contact i{
    font-size: 1.5rem;
    color: #FCD205;
}
iframe{
    width: 100%;
    height: 16rem;
    margin-top: 2rem;
}
form{
    background-color: rgba(228, 228, 228, 0.5)!important;
    width: 80vw!important;
}
#contact_submit{
    background-color: #FCD205;
    color:#231F20;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
}
@media screen and (max-width: 600px){
    .image-text-contact{
        flex-direction: column;
        gap: 2rem;
    }
    .image-contact img {
        width: 12rem!important;
    }
 
}