body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
}

header {
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 1em;
}

header h1 {
    margin: 0;
    font-size: 1.5em;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav li {
    display: inline;
    margin-right: 1em;
}

nav a {
    color: red;
    text-decoration: none;
}

main {
    padding: 1em;
}

section {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 1em;
    margin-bottom: 2em;
}

#home img {
    max-width: 100%;
    height: auto;
    flex-shrink: 0;
    border-radius: 5px;
}

footer {
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 1em;
}

footer a {
    color: #fff;
    text-decoration: none;
}

@media only screen and (min-width: 600px) {
    header {
        padding: 2em;
    }
}

@media only screen and (min-width: 1024px) {
    body {
        width: 960px;
        margin: 0 auto;
    }
}

h1 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

h2 {
    color: red;
}

h4 {
    color: red;
}

p {
    font-size: 1em;
    line-height: 1.6;
    text-align: left;
}

section {
    width: calc(100% - 20px);
    float: left;
    clear: both;
}

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

footer {
    position: relative;
    z-index: 1;
}

.colophon {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

nav {
    text-align: center;
}

nav ul {
    display: flex;
    justify-content: center;
}

nav li {
    margin: 0 10px;
}

#top {
    display: block;
    text-align: center;
    margin-top: 20px;
}

/* Gallery lightbox */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

#lightbox img {
    max-width: 80%;
    max-height: 80%;
}

#closeBtn {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    background-color: red;
    border: none;
    padding: 10px;
}

/* Hover animation */
.thumb:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}
