@import url('https://fonts.googleapis.com/css2?family=Anonymous+Pro:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body {
    margin: auto;
}

.gallery-section {
    background: #F6EEEB;
    width: 100%;
    height: auto;
    display: inline-block;
    color: #212526;
    text-align: center;
    padding-top: 2vh;
}

.gallery-section h1 {
    margin-bottom: 10px;
    font-family: "Anonymous Pro";
    font-weight: bold;
    font-size: 60px;
}

.gallery-section .container .row {
    margin: auto;
    padding: 0 35px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

}

.gallery-section .container .row .image-container {
    width: 40vh;
    height: auto;
    margin: 25px auto 25px auto;

}


.gallery-section .container .row div .image {
    border-radius: 20px;
    max-width: 100%;
    cursor: pointer;
    transition: 0.2s;
}

.gallery-section .container .row div .image:hover {
    opacity: 0.3;
    transform: scale(1.05);
}


.pop-up {
    display: none;
    position: fixed;
    z-index: 1;
    margin-top: 10vh;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
    /* Add overflow for small screens */
}

.image-content {
    margin: 10% auto;
    max-width: 100%;
    max-height: 100%;
    display: block;
    opacity: 1 !important;
    animation-name: zoom;
    animation-duration: 0.6s;
}

/* Media Query for smaller screens */
@media only screen and (max-width: 600px) {
    .image-content {
        margin: 10% auto;
        max-width: 95%;
        max-height: 95%;
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close-btn:hover,
.close-btn:focus {
    color: #bbb;
    text-decoration: none;
    cursor: poi nter;
}