/* General styles */
body.home-background {
    background-image: url('/media/images/main/Main_Background_01.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
}

.article--main {
    margin-top: 10vh; /* Anpassung der Positionierung spezifisch für die Hauptseite */
}

/* Positionierung für Carousel */
.carousel--main {
    margin-top: 5vh; /* Anpassung der Positionierung spezifisch für die Hauptseite */
}



/* PDF Navigation */
.pdf-navigation {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.9); /* Schwarz-transparent */
    border-right: 1px solid #ccc;
    width: 150px;
}

/* Styling für die PDF-Navigationsbuttons */
.pdf-navigation button {
    background-color: #2E86C1; /* Dunkleres Mittelblau */
    color: #fff; /* Weiße Schrift */
    border: none;
    border-radius: 4px;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pdf-navigation button:hover {
    background-color: #5DADE2; /* Hellblau-Weiß beim Hover */
    color: #fff; /* Weiße Schrift beim Hover */
}

.pdf-navigation button:focus {
    outline: none;
    box-shadow: 0 0 10px #5DADE2; /* Fokus-Effekt */
}

/* PDF Section Styles */
#pdfSection {
    display: none; /* Startet im ausgeblendeten Zustand */
    position: fixed; /* Fest positioniert, um über anderen Inhalten zu schweben */
    bottom: -45%; /* Beginnt am unteren Rand des Bildschirms */
    left: 0;
    right: 0;
    width: 100%;
	height: 100%;
    max-height: 49.5vh; /* Maximale Höhe, die das PDF-Fenster einnehmen kann */
    background-color: rgba(0, 0, 0, 0.9); /* Schwarzer, transparenter Hintergrund */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    transform: translateY(100%); /* Versteckt das Element unter dem Bildschirm */
	transition: transform 1.5s ease-in-out; /* Steuerung der Dauer und Art der Bewegung */
  
    z-index: 1002; /* Höherer Z-Index, um über dem restlichen Inhalt zu schweben */
    overflow-y: auto; /* Ermöglicht das Scrollen innerhalb des PDF-Fensters */
}

#pdfSection.show {
    display: flex; /* Zeigt die PDF-Sektion an */
    transform: translateY(-100%); /* Schiebt das Element nach oben */
}
#pdf-frame {
    flex-grow: 1;
    width: 100%;
    height: 100%; /* Passt die Höhe des iframes an die Höhe des PDF-Bereichs an */
    border: none;
}
.toggle-pdf-button {
    position: fixed;
    bottom: 4%; /* Feste Positionierung des Buttons */
    left: 50%;
    transform: translateX(-50%);
    background-color: #2E86C1; /* Dunkleres Mittelblau */
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.2vh;
    z-index: 1003; /* Über dem PDF-Fenster */
    transition: background-color 0.3s ease;
}


.toggle-pdf-button:hover {
    background-color: #5DADE2; /* Hellblau-Weiß beim Hover */
}
