.container{
    max-width: 1224px;
    width: 90%;
    margin: 0 auto;
    padding: 40px 0;
}

.photo-gallery{
    display: flex;
    gap: 20px;
}

.column{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.photo img{
    width: 100%;
    height: 100%;
    border-radius: 5px;
    object-fit: cover;
}

@media(max-width:768px){
    .photo-gallery{
        flex-direction: column;
    }
}




.popup {
    position: fixed;
    top: -100vh; /* Initially off-screen */
    left: 0;
    width: 100%;
    height: 100%;
    transition: top 300ms ease-in-out; /* Transition for popup movement */
}

.popup .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.306); /* Dark background with transparency */
    opacity: 0; /* Initially transparent */
    transition: opacity 300ms ease-in-out; /* Transition for opacity */
}

.popup .popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.15);
    width: 95%;
    max-width: 450px;
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    opacity: 0; /* Initially hidden */
    box-shadow: 0 2px 2px 5px rgba(0, 0, 0, 0.1);
    transition: opacity 300ms ease-in-out, transform 300ms ease-in-out; /* Smooth transition for opacity and transform */
}

.popup.active {
    top: 0; /* Popup becomes visible when 'active' class is added */
}

.popup.active .overlay {
    opacity: 1; /* Fade in overlay */
}

.popup.active .popup-content {
    transform: translate(-50%, -50%) scale(1); /* Popup content becomes centered */
    opacity: 1; /* Fade in popup content */
}
