.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.gallery img {
    max-height: 300px;
    max-width: 400px;
    height: auto;
    cursor: pointer;
    border-radius: 3px;
    transition: transform 0.1s;
}

.gallery img:hover {
    transform: scale(1.025);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    flex-direction: column;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
    color: white;
}

.modal img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 5px;
}

.modal-description {
    margin-top: 10px;
    font-size: 1rem;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2.5rem;
    cursor: pointer;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    padding: 15px;
}

.nav-left {
    left: 15px;
}

.nav-right {
    right: 15px;
}

em {
    margin-top: 5px;
}

.social-media-link {
    margin: 10px;
    text-decoration: none;
    color: #FFF;
}