a           {text-decoration:none; color:#dbdbdb;}
a:visited   {text-decoration:none; color:#dbdbdb;}
a:hover     {color:#686851;}
a:active    {text-decoration:none; color:#dbdbdb;}
a:focus     {text-decoration:none; color:#dbdbdb;}

html {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: transparent;
    position: relative;
}

body {            
    font-family: 'Helvetica Neue',arial,sans-serif;
    font-size: 1em;
    font-weight: 200;
    color: #dbdbdb;
    background: transparent;
    margin: 0;
    padding: 0;
    min-height: 100%;
    /* position: relative;*/
    transition: background 0.5s ease; /* Sanfter Übergang */
}

#background { 
    /* position: absolute;*/
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: -1;
}

h1 {
    font-size: 1.6em; 
    font-weight: 400; 
    letter-spacing: 0.1em;
}

h2 {
    font-size: 1em; /* Gleiche Schriftgröße wie der restliche Text */
    font-weight: 200; /* Gleicher Schriftstil wie der restliche Text */
}

.slide {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-height: 600px;
    max-width: 85%;
}
.content {
color: #dbdbdb;
margin-left: 2%;
}

#about {
    width: 90%; /* Die Bilder nehmen 90% der Bildschirmbreite ein */
    max-width: 1200px; /* Begrenzung der maximalen Breite für große Screens */
    display: block; /* Zentriert das Bild automatisch */
    margin: 20px auto; /* Automatische Zentrierung + Abstand nach oben/unten */
    text-align: justify; 
}

/* Verhindert, dass sich sehr große Bilder über den Rand hinaus ausdehnen */
figure {
    text-align: center; /* Stellt sicher, dass Bilder innerhalb von <figure> mittig sind */
    margin: 0 auto; /* Zentrierung */
}

/* Anpassung für kleinere Geräte */
@media (max-width: 768px) {
    #about {
        width: 85%; /* Die Bilder nehmen 90% der Bildschirmbreite ein */
        margin-left: auto;
        margin-right: auto;
    }
    .slideshow-container{
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        margin-top: -10%;
        }
    /*.slide {
    }*/
}

/* Anpassung für Desktop Geräte */
@media (min-width: 769px) {

    
    #about {
        width: 70%; /* Die Bilder nehmen 90% der Bildschirmbreite ein */
        max-width: 1200px; /* Maximale Breite beibehalten */
        margin-left: 2%;
        margin-top: 30px; 
        margin-right: auto;
    }
}
