section.gallery{
    position: relative;
    width: 100%;
}
.gallery .gallery-images{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: calc(160px);

    width: 80%;
    height: calc((160px + 14px) * 3 - 14px);
    overflow: hidden;

    gap: 14px;
    margin: 0 auto;
    transition: .6s;
}
.gallery .gallery-images .img_wrapper{
    overflow: hidden;
}
.gallery .gallery-images img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: .2rem;
    transform: scale(1);
    cursor: pointer;
    transition: .3s;
}
.gallery .gallery-images img:hover{
    transform: scale(1.1);
}


.gallery-images__buttons{
    display: flex;
    justify-content: center;
    margin-top: 14px;
}
.gallery .gallery-images__buttons .btn-more, .gallery .gallery-images__buttons .btn-less{
    border: 1px solid rgba(0, 0, 0, 0.78);
    border-radius: .25rem;
    padding: 10px;
    white-space: nowrap;
    width: min-content;
    cursor: pointer;
    font-weight: 500;
    color: #424242;
    user-select: none;
}
.gallery .gallery-images__buttons .btn-less{
    display: none;
}
.gallery .gallery-images__buttons .btn-more:hover{
    background-color: rgb(63, 63, 63);
    color: whitesmoke;
}


.slider{
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
    z-index: 5;
}
.slider .slide{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 96%;
    height: 90%;
}
.slider .slide img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
}
.slider .slide1{}
.slider .slide2{
    display: none;
    z-index: 6;
}
.slider .slider__buttons{
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    width: 96%;
    height: 100%;
}
.slider .slider__buttons .nav-btn, .slider .slider__close{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 12px;
    background-color: rgba(0, 0, 0, 0.4);
    color: whitesmoke;
    border-radius: .2rem;
    font-size: 2em;
    cursor: pointer;
    pointer-events: auto;
}
.slider .slider__close{
    position: absolute;
    padding: 12px 16px;
    top: 2%;
    right: 2%;
    cursor: pointer;
    z-index: 6;
}
.slider .slider__buttons .prev{}
.slider .slider__buttons .next{}


/*                                                       . . : : MEDIA : : . .*/

@media screen and (max-width: 1025px) {
    .gallery .gallery-images{
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 114px;

        width: 90%;
        height: calc((160px + 14px) * 3 - 14px);
        overflow: hidden;

        gap: 14px;
        margin: 0 auto;
        transition: 1s;
    }

}
@media screen and (max-width: 769px) {

}
@media screen and (max-width: 426px) {
    .gallery .gallery-images{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 80px;

        width: 98%;
        height: 550px;
        overflow: hidden;

        gap: 14px;
        margin: 0 auto;
        transition: 1s;
    }
    .slider .slider__buttons .nav-btn, .slider .slider__close{
        padding: 20px 8px;
        font-size: 1.4em;
    }
    .slider .slider__close{
        position: absolute;
        padding: 12px 16px;
        top: 2%;
        right: 2%;
        cursor: pointer;
        z-index: 6;
    }

}
@media screen and (max-width: 321px) {

}

/*                                                       . . : : Dynamic Classes : : . .*/
