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

header {
    background-color: #0066cc;
    color: white;
    text-align: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

header h1 {
    margin: 0;
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInDown 1s ease forwards;
}

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #005bb5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1rem;
}


nav .menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
}

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

nav ul li {
    margin: 0.5rem 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

main, footer {
    padding: 7rem 1rem 1rem 1rem;
    animation: fadeInMain 1s ease 1s forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInMain {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    margin-top: 2rem;
    color: #0066cc;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-bottom: 2rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.protokolle-liste {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.protokolle-liste li {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInItem 0.5s ease forwards;
    animation-delay: calc(var(--i, 0) * 0.1s);
}

@keyframes fadeInItem {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.protokolle-liste li:nth-child(n) {
    --i: 1;
}
.protokolle-liste li:nth-child(2) { --i: 2; }
.protokolle-liste li:nth-child(3) { --i: 3; }
.protokolle-liste li:nth-child(4) { --i: 4; }
.protokolle-liste li:nth-child(5) { --i: 5; }

.protokolle-liste a {
    color: #0066cc;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.protokolle-liste a i {
    color: #cc0000;
    font-size: 2rem;
}

.protokolle-liste a:hover {
    text-decoration: underline;
    color: #004a99;
}

@media (max-width: 600px) {
    nav .menu-toggle {
        display: block;
    }

    nav ul {
        flex-direction: column;
        display: none;
        align-items: center;
        margin-top: 2rem;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    main {
        padding-top: 8rem;
    }
}

