body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #00313e;
    color: #eee;
}
h1 {
    font-size: 40pt;
}
.loginbutton {
    padding: 20px;
    background: #00454e;
    border: #faf6ec 1pt solid;
    border-radius: 6px;
}
header {
    /*background: url('img/bg_colorful4.webp') no-repeat center center/cover;*/
        position:absolute; top:0; bottom:0; right:0; left:0;
        width:auto;
        height:auto;
    color: white;
    text-shadow: 2px 2px 5px #000;
    text-align: center;
    padding: 3rem 0;
}

nav {
    position: sticky;
    top: 0; /* määrab, kui kaugel ülaäärest element peaks jääma */
    z-index: 1000; /* tagab, et element jääb teiste kihtide peale */
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient(90deg, #ff7f50, #ff4500);
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav a {
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

img {
    width: 200px;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        display: none;
    }

    nav.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
        margin-right: 1rem;
    }
}

.section {
    padding: 2rem;
    text-align: center;
}

.section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

footer {
    background: linear-gradient(90deg, #ff7f50, #ff4500);
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

footer p {
    margin: 0;
}