/*================================================================gallery banner==========================================*/

.gallery {
    padding-bottom: 20px;
    text-align: center;
}

.gallery .images {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 0 10%;
}

@media screen and (max-width: 470px) {
    .gallery .images {
        margin: 0 5px;
    }
}

.img_div {
    margin: .2rem;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
}

.img_div img {
    cursor: pointer;
    display: block;
    max-height: 250px;
    max-width: 100%;
    transition: transform .4s;
}

.img_div img:hover {
    transform: scale(1.1);
}

@supports (object-fit: cover) {
    .gallery .images {
        justify-content: unset;
    }

    .img_div {
        flex-grow: 1;
    }

    .img_div img {
        min-width: 100%;
        object-fit: cover;
    }
}


.load_btn {
    margin: 1.5rem 0 15px 0;
}

.large_img {
    z-index: 200;
    position: fixed;
    padding: 10px;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: -150vw;
    background-color: #444;
    transition: left 0.3s;
}

.open {
    left: 0;
}

.large_img .cross {
    cursor: pointer;
    height: 30px;
    width: 30px;
    transform: rotateZ(45deg);
    position: absolute;
    right: 30px;
}

.large_img .cross .line{
    border: 2px solid white;
    border-radius: 3px;
    width: 30px;
    background-color: white;
}


.large_img .cross .top {
    transform: rotateZ(90deg) translateX(13px);
}

.large_img .cross .bottom {
    transform: translateY(9px);
}

.large_img .image {
    margin-top: 35px;
    text-align: center;
}

.large_img .image img {
    max-width: 90vw;
    max-height: 90vh;
    box-shadow: 0 0 10px black;
}