/* *{
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
} */

.all-pictures {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 10px;
}

.wrapper {
    max-width: 1100px;
}

.gallery{
    display: flex;
    flex-wrap: wrap;
}

span {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.image{
    width: calc(100% / 3);
    padding: 5px;
}



img{
    width: 100%;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.image:hover {
    transform: scale(1.01);
}


@media (max-width:576px){
    .image {
        width:100%;
        padding: 5px;
    }
}

.preview-box{
    position: fixed;
    max-width: 768px;
    /* max-height: 80vh; */
    width: 95%;
    /* height: 100%; */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #fff;
    padding: 5px 5px 5px 5px;
    opacity: 0;
    pointer-events: none;
    border-radius: 3px;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.2) ;
}

.preview-box.show{
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
    transition: all 0.3s ease;
}

.details{
    display: flex;
    
    padding: 12px 15px 12px 10px;
    align-items: center;
    justify-content: space-between;
   
}

.details .title{
    display: flex;
    font-size: 18px;
    font-weight: 400;

}

.details .title p{
    margin: 0 5px;

}

.details .title p.current-image {
    font-weight: 700;

}

.icon{
    /* text-align: right; */
    cursor: pointer;
    font-size: 17px;
    /* color: white; */
}

.preview-box .img-box {
    display: flex;
    width: 100%;
    
    /* height: 80vh; */
}

.preview-box .img-box img {
    width: 100%;
    /* height: 100%; */
    border-radius: 0 0 3px 3px;
}

.img-box .slide{
    position: absolute;
    top: 50%;
    /* transform: translateY(-50%); */
    font-size: 30px;
    cursor: pointer;
    color:rgba(255,255,255,0.3);
    width: 60px;
    height: 50px;
    text-align: center;
}

.closeIcon {
    color:rgba(255, 255, 255, 0.5);
    position: absolute;
    right: 20px;
    top: 16px;
}

.img-box .slide.prev {
    left: 0;
}

.img-box .slide.next {
    right: 0;
}

