body, html {
    height: 100%;
}

body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    overflow-x: hidden;
}

header {
    background-color: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

#navbar {
    position: sticky;
    top: 0;
    background-color: #333;
    z-index: 1000;
    width: 100%;
}

#navbar ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
}

#navbar ul li {
    margin: 15px 15px;
}

#navbar ul li a {
    color: #fff;
    text-decoration: none;
}

.hero-image-container {
    /* height: 100vh; /* Full viewport height */
    background-image: url('image-originals/tapahtumakuvia/Harjoituksissa Olarin luokiolla.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    background-repeat: no-repeat;
}

#hero-image {
    max-width: 100%;
    max-height: 100%;
    display: block; /* Remove extra space below image */
}

.hero-image-container h1 {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 5px;
}

main {
    padding: 20px;
}

section {
    margin-bottom: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
}

/* Basic responsive design */
@media (max-width: 768px) {
    #navbar ul li {
        display: block;
        margin-bottom: 10px;
    }

    .hero-image-container h1 {
        font-size: 1.5rem;
    }
}

.logo-overlay {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 100px; /* Adjust size as needed */
    opacity: 0.8; /* Partly transparent */
    z-index: 1001; /* Above other elements */
}

.federo-regular {
    font-family: "Federo", sans-serif;
    font-weight: 400;
    font-style: normal;
}

h1, h2, h3 {
    font-family: "Federo", sans-serif;
} 