/* =============== gallery section start=============== */

.gallery-wraper {
    padding: 20px;
}

.gallery-wraper .imagesContainer {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

.gallery-wraper .image {
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.gallery-wraper .image-big {
    height: 350px;
}

.gallery-wraper .image-text {
    width: 100%;
    height: 100%;
    z-index: 4;
}

.gallery-wraper .image-text div i {
    font-size: 15px;
    color: var(--black);
    display: none;
}

.gallery-wraper .image-text:hover {
    cursor: pointer;
    z-index: 2;
    background: linear-gradient(#00000099, #00000099);
}

.gallery-wraper .image-text:hover div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--white);
    font-size: 1.2em;
    cursor: zoom-in;
    z-index: 7;
}

.gallery-wraper .image-text:hover div i {
    display: inline-block;
}


/* imagePop  */

.gallery-wraper .imagePop {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    display: none;
}

.gallery-wraper .imagePop .imagePopUnder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--light);
    z-index: 12;
}

.gallery-wraper .imagePop .imagePopUnder:hover {
    cursor: zoom-out;
}

.gallery-wraper .imagePop .imageContain {
    position: relative;
    top: 5%;
    left: -20%;
    width: 50%;
    height: 90vh;
    margin: 0 auto;
    z-index: 12;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
}

@keyframes he {
    100% {
        left: 0;
    }
}

.gallery-wraper .imagePop .click1 {
    position: absolute;
    z-index: 14;
    top: 50%;
    left: 5%;
    cursor: pointer;
    color: var(--white);
}

.gallery-wraper .imagePop .click2 {
    position: absolute;
    z-index: 14;
    top: 50%;
    right: 5%;
    cursor: pointer;
    color: var(--white);
}

.imagePop .click1 i,
.imagePop .click2 i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    box-shadow: 0 0 10px var(--gray);
    font-size: var(--font-size24);
    line-height: 40px;
    color: var(--black);
    text-align: center;
}

.gallery-wraper .imagePop .close {
    position: absolute;
    z-index: 14;
    top: 5%;
    right: 5%;
    cursor: pointer;
    color: var(--white);
}

.gallery-wraper .imagePop .close i {
    font-size: var(--font-size30);
    color: var(--white);
}


/* =============== gallery section start =============== */
.photo-wraper {
    margin-top: 20px;
}

.photo-content {
    position: relative;
    margin-bottom: 20px;
}

.photo {
    position: relative;
}

.photo img {
    width: 270px;
    height: 300px;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: 0.3s;
    display: block;
    margin: 10 auto;
    /* Center the image */
}

.photo:hover img {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {

    /* Adjust styles for smaller screens if needed */
    .photo img {
        max-width: 100%;
        height: auto;
    }
}
