html, body {
    height: 100%; /* Ensure the body takes the full height of the viewport */
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

header {
    background: #333!important;
    color: #fff!important;
    padding: 1rem;
    text-align: left; /* Align header content to the left */
}

main {
    padding: 1rem;
    flex: 1; /* Push the footer to the bottom by taking up available space */
}

body > h1, h2 {
    color: #333;
}

/* Mobile-friendly responsive gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

/* Make images scale nicely */
.image-gallery img,
.image-gallery video {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

/* Slight hover effect for desktop */
@media (hover: hover) {
    .image-gallery img:hover,
    .image-gallery video:hover {
        transform: scale(1.03);
        transition: 0.2s ease;
    }
}

/* Better layout on very small screens */
@media (max-width: 480px) {
    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px;
    }
}

section {
    margin-bottom: 2rem;
}

ul {
    list-style-type: disc;
    margin-left: 2rem;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    width: 100%;
}

nav {
    background: #444;
    padding: 0.5rem 1rem;
    text-align: left; /* Align navigation menu to the left */
}

nav a {
    color: #fff;
    text-decoration: none;
    margin-right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

nav a:hover {
    background: #fff;
    color: #444;
}

