body {
    display: flex;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

.content-container {
    display: flex;
    width: 100%;
    align-items: flex-start;
    margin-top: 100px;
    font-size: 0.9em;
    margin-bottom:20px;
}

.left, .right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.open-popup {
    padding: 10px 10px;
    font-size: 1em;
    background-color: #ffffff;
    color: #b9b9b9;
    border: 0.5px solid #edededb0;
    border-radius: 5px;
    cursor: pointer;
    transition: color, background-color 0.8s ease;
}

.right-move {
    margin-top: 20px;
    margin-left: 20px;
}

a:hover{
    font-weight: 600;
}

.active {
    font-weight: 600 !important;
}


.equipe {
    flex-basis: 60%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-content: start;
    padding-bottom: 20px;
}

.photo {
    background-size: cover;
    background-position: center;
    width: 100%;
    /* height: auto; */
    padding-bottom: 135%;
    position: relative;
}

.info-panel {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Noir semi-transparent */
    color: white; /* Texte blanc */
    padding: 10px;
    box-sizing: border-box;
    text-align: left; /* Centrer le texte horizontalement */
}

.photo:hover .info-panel {
    display: block; /* Montrer le panneau au survol */
}

.client-info, .location-info {
    margin: 0;
    font-size: 14px;
    opacity: 0.7;
}


.swiper-slide {
    flex-shrink: 0;
    width: auto !important;
    height: 100%;
    position: relative;
    transition-property: transform;
    display: block;
    margin-right: 20px;
}

.swiper-horizontal {
    touch-action: pan-y;
    background-color: white;
}

.swiper-container {
    position: fixed; /* Change `absolute` to `fixed` */
    top: 0;
    left: 0;
    right: 0;
    height: 100vh; /* Assure-toi que la hauteur est appropriée */
    width: 100%; /* Couvre toute la largeur de la fenêtre */
    z-index: 1000000000;
    display: none; /* Masqué par défaut */
}


.swiper-slide img {
    display: block; /* Élimine les espaces blancs sous l'image */
    height: 100%; /* S'assure que l'image prend toute la hauteur de la diapositive */
    width: 100%; /* Couvre toute la largeur de la diapositive */
    object-fit: cover; /* Assure que l'image couvre la diapositive complètement */
    margin: 0; /* Aucune marge autour des images */
    padding: 0; /* Aucun padding autour des images */
}



.close-swiper, .close-swiper:hover  {
    position: absolute;
    top: 53px;
    right: 3px;
    z-index: 11000000;
    /* padding: 0 10px; */
    font-size: 24px;
    /* line-height: 30px; */
    color: white;
    background-color: transparent;
    border: none;
    cursor: pointer;
    user-select: none;
    text-shadow: 0px 0px 5px rgb(0 0 0 / 50%);
    box-shadow: none;
}

.swiper-pagination-bullet-active {
    background: #ffffff !important;
}

.project-info-bar {
    border: none;
    position: fixed;
    display: flex;
    bottom: 0;
    left: 0;
    height: 45px;
    width: 20% !important;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 10000000000;
    flex-direction: row;
    overflow: hidden;
    transition: width 0.3s ease;
}

.project-info-bar.expanded {
    width: 100% !important;
}

.project-info-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 50px;
    width: 100%;
    /* margin:5px 0; */
}

.project-info-bar p {
    /* margin: 5px 0; */
}

div#project-details {
    display: flex;
    gap: 50px;
}

.categories {
    margin:0 20px;
}

.categories:hover {
    font-weight: 600 !important;
}

@media (max-width: 1100px) {
    .left {
        display: none;
    }

    .right {
        display: flex;
        /* flex: 0; */
        width: 80%;
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: row;
        gap: 10px;
    }

    .content-container {
        display: flex;
        width: 100%;
        flex-direction: column-reverse;
        justify-content: flex-end;
        margin-top: 100px;
        align-items: center;
        gap: 20px;
    }

    .categories{
        margin:0;
    }

    .equipe {
        width: 90%;
        grid-template-columns: repeat(2, 1fr);
    }

    div#project-details {
        display: flex;
        gap: 9px;
        flex-direction: column;
        width: 100%;
        overflow: scroll;
    }

    .project-info-toggle {
        align-items: flex-start;
        overflow: scroll;
        width: auto;
        gap: 20px;
    }

    .project-info-bar {
        height: auto;

    }
}