img {
    transition: all 300ms;
    -moz-transition: all 300ms;
    -o-transition: all 300ms;
}

#gallery {
    margin: 50px auto 50px auto;
    width: 80%;
    max-width: 1010px;
}

.gallery-img {
    float: left;
    width: 33.3%;
    padding: 6px;
    /* align-items: center; */
}

#gallery img{
    border: 2px solid #d1d3c4;
    border-radius: 3px;
}

#gallery img:hover{
    /* transform: scale(1.04); */
    transform: translateY(-2px);
    box-shadow: 2px 2px 10px rgba(11, 11, 11, .9);
}

@media only screen and (max-width: 600px) {
    .gallery-img {
        width: 100%;
    }
}

/*pop up window clicked*/
.img-window{
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;

    flex-direction: column;

}

.img-window img{
    max-width: 80%;
    max-height: 80vh;
    /* max-width: 80vw; */
    border: 5px solid #d1d3c4;

}

@media only screen and (max-width: 700px) {
    .img-window img{
        max-width: 95vw;
        max-height: 95vh;
    }
}

/* img description ----------- */
.img-txt {
    padding: 10px;
}



.img-btn-next{
    display: inline-block;
    padding: 20vh 5% 20vh 30vw;
    position:fixed;
    top: 25vh;
    z-index: 500;
    cursor: pointer;
    right: 0px;
    opacity: 0;
}
.img-btn-prev {
    /* display: block; */
    padding: 20vh 40vw 20vh 5%;
    position: fixed;
    top: 25vh;
    z-index: 500;
    cursor: pointer;
    left: 20px;
    opacity: 0;
}
#gallery-btns:hover {
    opacity: 1;
}

@media only screen and (max-width: 700px) {
    .img-btn-prev{
        left: 0;
        padding: 20vh 20vw 20vh 5%;
    }
    .img-btn-next{
        right: 0;
        padding: 20vh 5% 20vh 20vw;
    }

    #gallery-btns {
        opacity: 0;
    }
    #gallery-btns:hover {
        opacity: 0;
    }

}
/* close button------------- */
.close-btn{
    position: fixed;
    right: 30px;
    top: 30px;
    z-index: 600;
    cursor: pointer;
    padding: 30px;
    width: 80px;
}
.close-btn:hover{
    opacity: 0.5;
}

@media only screen and (max-width: 700px) {
    .close-btn{
        display: none;
    }
    
}

