.box-gallery
{
    /* border: 2px solid yellow; */
    flex-direction: column;
    align-items: center;
    align-items: center;
    background-image: url("../front/images/stroke-small-biodiversity-HERP-CAMEROON-white.png");
}
.box-gallery-2
{
    width: 90%;
    height: 100%;
}

.box2
{
    height: 90vh;
}
.album
{
    max-width: 350px;
    width: 20%;
    min-width: 100px;
    height: 100%;
    overflow: hidden !important;
}
.photos-album
{
    width: 80%;
    height: 100%;
    background-color: #0119017f;
    /* border: 2px solid green; */
}
.list-album
{
    height: 100%;
    background-color: #011901;
    overflow: scroll;
    flex-wrap: nowrap !important;
    position: relative;
}

.album-item
{
    background-color: white;
    color: #011901;
    padding: 10px;
}
.cadre-icone-album
{
    height: 100px;
    width: 100px;
    overflow: hidden;
    /* background-color: green; */
}
.icone-album
{
    width: 150%;
    transition: 0.5s;
}

.album-item:hover .icone-album
{
    width: 250%;
    transform: rotate(3deg);
}
.photos-album
{
    overflow-y: scroll;
    position: relative;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}
.photo-item
{
    height: 200px;
    margin: 5px;
    transition: 0.5s;
    position: relative;
}
.photo-item:hover
{
    transform: scale(1.3);
    box-shadow: 0px 0px 20px rgb(0, 28, 0);
    z-index: 4;
}
.box-show-photo, #ajouter_photo_dans_album
{
    position: fixed;
    top: 0px;
    visibility: hidden;
    /* padding-top: 90px;
    padding-bottom: 90px; */
    overflow-y: scroll;
    color: white;
    width: 100vw;
    height: 100vh;
    background-color: #011901ee;
    transition: 1s;
    z-index: 100;
}
.conteneur-box-show>div
{
    margin: 0;
}
.conteneur-box-show
{
    height: 100%;
    flex-direction: row;
}
.afficher-photo>div
{
    height: 100%;
    /* border: 2px solid red; */
}

.conteneur-photo
{
    overflow: hidden;
    width: 900px;
    /* border: 2px solid rgb(17, 255, 0); */
    height: 90vh !important;
}
.cadre-photo-item-appercu
{
    align-items: center;
    justify-content: center;
    width: 900px;
    /* border: 5px solid rgb(0, 34, 255); */
    height: 90vh !important;
}
.photo-ouvert
{
    transition: 0.2s;
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
    width: max-content;
    height: 650px;
    left: 0px;
    /* border: 2px solid red; */
    flex-direction: row;
}

.photo-item-appercu
{
    height: 600px;
    margin: 30px;
}
.btn-gallery-prev
{
    left: 10%;
}
.btn-gallery-next
{
    right: 10%;
}
.btn-gallery-prev, .btn-gallery-next
{
    z-index: 1000;
    position: absolute;
    width: min-content;
    height: min-content;
}

.fermerPhoto
{
    position: absolute;
    z-index: 2000;
}

@media (max-width: 1000px)
{
    .box-gallery-2
    {
        width: 95%;
        height: 100%;
    }
    .box2
    {
        height: max-content;
    }
    .album
    {
        max-width: 100%;
        min-width: 100%;
        width: 100%;
        height: 200px;
    }
    .list-album
    {

        width: 100% !important;
        height: 200px;
        overflow-y: scroll ;
        flex-wrap: wrap !important;
    }
    .album-item
    {
        width: min-content !important;
    }
    .photos-album
    {
        width: 100%;
        height: 80vh;
    }
    .photo-item
    {
        height: 300px;
    }
    .conteneur-box-show
    {
        flex-direction: row;
        width: 100%;
        padding: 0px;
        /* border: 2px solid greenyellow; */
    }
    .conteneur-box-show>div
    {
        margin: 0px;
        /* border: 2px solid rgb(47, 255, 61); */
    }
    
    .afficher-photo
    {
        height: 90%;
    }
    .btn-gallery-prev
    {
        left: 10px;
    }
    .btn-gallery-next
    {
        right: 10px;
    }
    .btn-gallery-prev, .btn-gallery-next
    {
        position: absolute;
        width: min-content;
        height: min-content;
        /* max-width: fit-content;
        max-height: fit-content; */
    }
    .conteneur-photo
    {
        overflow: hidden;
        flex-wrap: nowrap;
        width: 400px;
        /* border: 2px solid rgb(17, 255, 0); */
        height: 90vh !important;
    }
    
    .photo-ouvert
    {
        transition: 0.2s;
        position: relative;
        overflow: hidden;
        flex-wrap: wrap;
        width: max-content;
        height: 650px;
        left: 0px;
        /* border: 2px solid red; */
        flex-direction: row;
    }
    .cadre-photo-item-appercu
    {
        align-items: center;
        justify-content: center;
        width: 400px !important;
        /* border: 5px solid rgb(0, 34, 255); */
        height: 90vh !important;
    }
    .photo-item-appercu
    {
        width: 100% !important;
        height: min-content !important;
    }
}
