/* Einheitlicher Füllfeder-Cursor */
body {
    cursor: url('../images/mine.png'), auto;
}

/* Grundlayout */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f8f0;
    color: #333333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 165px;
}

/* Ladeanimation */
.ink-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f8f8f0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1.5s ease-out, visibility 1.5s ease-out;
}

.ink-loader.hide-ink-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: none;
}

/* Header - ANGEPASST */
.site-header {
    background-color: #e8e8e0;
    padding: 10px 20px;
    text-align: center;
    border-bottom: 1px solid #cccccc;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    max-width: 900px;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    box-sizing: border-box;

    /* Verwende Flexbox um die Elemente im Header zu zentrieren */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.site-header .logo {
    width: 60px;
    height: auto;
    margin-bottom: 8px; /* Abstand zum Titel hinzufügen */
    border-radius: 10px;
}

.site-header h1 {
    margin: 0;
    font-size: 2em;
    color: #222222;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    /* Stelle sicher, dass der Titel sichtbar ist */
    display: block; 
}

.site-header .subtitle {
    margin: 3px 0 0;
    font-size: 1em;
    color: #555555;
    /* Stelle sicher, dass der Untertitel sichtbar ist */
    display: block;
}

.language-switcher {
    position: absolute;
    top: 10px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.language-switcher label {
    font-size: 0.9em;
    color: #555555;
}

.language-switcher select {
    background-color: #d8d8d0;
    color: #333333;
    border: 1px solid #aaaaaa;
    padding: 5px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9em;
}

/* Inhalt */
.wrapper {
    flex-grow: 1;
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background-color: #e8e8e0;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

/* Videobereich */
.bild-container {
    text-align: center;
}

.video-container {
    width: 300px;
    height: 450px;
    margin: 0 auto;
}

.transition-video {
    width: 100%;
    height: 100%;
    display: block;
}

.gallery-video {
    display: none;
}

#originalCaption {
    display: block;
    margin-top: 20px;
}

/* Buttonbereich */
.graphic-button {
    display: block;
    width: 134px;
    height: 100px;
    margin: 5px auto;
    cursor: url('../images/mine.png'), pointer;
    transition: transform 0.3s ease;
}

.graphic-button:hover {
    transform: scale(1.05);
}

.bottom-button-container {
    text-align: center;
    margin: 5px auto 0 auto;
}

/* Footer */
footer {
    margin-top: 5px;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    color: #888;
    background-color: #e8e8e0;
    border-top: 1px solid #cccccc;
    border-radius: 15px 15px 0 0;
}