nav, footer {
    clear: both;
    color: #fff;
    background-color: #555;
    height: 40px;
    line-height: 40px;
}

nav ul {
    margin: 0;
    padding: 0 20px;
    display: flex;
    list-style: none;
}

nav li {
    margin-right: 20px;
}

nav li a {
    color: #fff;
    text-decoration: none;
    padding: 10px;
}

nav li a:hover, nav li a.current {
    color: #ffc107;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery-item img {
    max-width: 100%;
    height: auto;
    display: block;
}

.gallery-item figcaption {
    text-align: center;
    margin-top: 5px;
}

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

.lightbox img {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2em;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 1001;
}