* {
    --primary-color:#080705;
    --secondary-color: #40434e;
    --accent-color: #702632;
}

body {
    animation: slideUp 1.5s ease-out forwards;
    margin: 0;
    background-color: var(--primary-color);
    font-family: Roboto, sans-serif;
    color: var(--secondary-color);
}





nav {
    padding: 1em;
}

ul {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

li {
    margin: 0 1em;
}

a {
    display: block;
    color: white;
    text-align: center;
    font-size: 1em;
    padding: 0.5em 2em;
    text-decoration: none;
    transition: 0.3s;
    border-radius: 0.2em;
}

a:hover {
    background-color: #111;
    border-radius: 0.2em;
}







h1 {
    margin-top: 1em;
    margin-left: 1em;
    font-size: 4em;
}

h2 {
    text-align: center;
    font-size: 3em;
    margin-top: 3em;
    color: var(--accent-color);
}

h3 {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 4em;
}





.bild-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2em;
    gap: 5em;
}

.bild-section img {
    width: 45em;
    height: 30em;
    border-radius: 0.5em;
}





::-webkit-scrollbar {
    width: 0.6em;
}
    
::-webkit-scrollbar-track {
    border-radius: 50px;
}
    
::-webkit-scrollbar-thumb {
    background: white; 
    border-radius: 15em;
}
    
::-webkit-scrollbar-thumb:hover {
    background: gray; 
}





@keyframes slideUp 
{
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}     





@media (max-width: 640px) {
    ul {
        flex-direction: column;
        align-items: center;
    }
    li {
        margin: 0, 0;
    }
    a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 1em;
    }


    
    h1, h2, h3{
        margin: 0;
        margin-right: 0;
        flex-direction: column;
        text-align: center;
    }

    .bild-section {
        flex-direction: column;
        align-items: center;

    }
    
    .bild-section img {
        flex-direction: column;
        align-items: center;
        width: 20em;
    }
}