* {
    box-sizing: border-box;
}

.galeri {
    text-align: center;
}
.galeri iframe {
}


.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
}
.gallery-item {
    flex-basis: 23.7%;
    margin-bottom: 20px;
    margin-left: 4px;
    opacity: .9;
    cursor: pointer;
}
.gallery-item:hover {
    opacity: 1;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-content {
    font-size: .8em;
}

.lightbox {
    position: fixed;
    display: none;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;              
    overflow: auto;
    top: 0;
    left: 0;
}
.lightbox-content {
    position: relative;
    width: 85%;
    height: 75%;
    margin: 12% auto;
    z-index: 3000;
}
.lightbox-content img {
    border-radius: 7px;
    box-shadow: 0 0 3px 0 rgba(225, 225, 225, .25);
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 7px;
    top: 45%;
    cursor: pointer;
}
.lightbox-prev {
    left: 0;
}
.lightbox-next {
    right: 0;
}
.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: .8;
}

@media screen and (max-width: 375px){
    .gallery-container {
        width: 97%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 0 auto;
    }
    .gallery-item {
        flex-basis: 32%;
        margin-bottom: 10px;
        margin-left: 4px;
        opacity: .9;
        cursor: pointer;
        overflow: hidden;
    }

}

/*Tablet Kısım */
    @media screen and (min-width: 376px) and (max-width: 750px) {
        .gallery-container {
        width: 97%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 0 auto;
    }
    .gallery-item {
        flex-basis: 32%;
        margin-bottom: 10px;
        margin-left: 4px;
        opacity: .9;
        cursor: pointer;
        overflow: hidden;
    }
        
    
    }
