body {
    font-family: 'IBM Plex Serif', serif;
    margin: 0;
    padding: 0;
    background-color: white;
}

/* Header */
header {
    display: flex;
    justify-content: center; 
    align-items: center; 
    padding: 20px 0;
    border-bottom: 2px solid #0c55a1;
}

.header-container {
    display: flex;
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
}

.header-container img {
    height: 70px; 
    width: auto; 
    margin-bottom: 10px; 
}

.header-container h4 {
    font-size: 0.8em; 
    font-weight: bold; 
    margin: 0; 
    text-align: center;
}


/* Allgemeine Schriftarten */
h1, h2, h3, h4, h5, .menu-overlay ul li a, .preview h2 {
    font-family: 'Inter', sans-serif;
}

/* Hauptbereich */
main {
    display: flex;
    flex-direction: column;
    gap: 10px;
	margin: 0 10px;
	padding-bottom:50px;
	
}

@media (max-width: 600px) {
    
    .beitrag {
		display: flex !important;
		margin-left: 0px !important;
		margin-right: 10px !important;
	}
	
	.beitrag_b {
		display: flex !important;
		margin-left: 0px !important;
		margin-right: 10px !important;
	}

    
    .arrow {
        width: 18px !important;
        height: 18px !important;
    }
	

	
	.header-container img {
        height: 50px; 
    }
	
	.menu-header img {
    height: 60px; 
	}
}

@media (min-width: 1200px) {
    main {
        max-width: 800px;
        margin: 0 auto; 
    }
	
	.menu-list {
		max-width: 800px;
        margin: 0 auto; 
	}
}

/* Beitrag */
.beitrag {
    margin: 0;
    padding: 20px 0;
    border-bottom: 1px solid #0c55a1;
    display: flex;
    flex-direction: column;
}

.beitrag_b {
	margin: 0;
    padding: 20px 0;
    border-bottom: 1px solid #cf2728;
    display: flex;
    flex-direction: column;
	
}

.beitrag:last-child {
    border-bottom: none;
}

/* Beitrag-Container */
.beitrag-container {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.preview {
    flex-grow: 1;
    cursor: pointer;
}

.preview h2 {
    margin: 0;
    font-size: 1.5em;
    font-weight: 700;
}

.preview p.ausgabe {
    font-style: italic;
    font-size: 0.9em;
    margin: 5px 0;
}

.preview p.lead {
    font-style: italic;
   
}

.preview p {
    font-size: 1em;
    margin: 5px 0;
}

.autor {
	font-weight: bold;
}

/* Details */
.details {
    max-height: 0; 
    overflow: hidden; 
    margin-left: 10px; 
    padding: 0;
    transition: max-height 0.4s ease, padding 0.4s ease; /* Weicher Übergang */
    font-family: 'IBM Plex Serif', serif;
    font-size: 1em;
    line-height: 1.6;
	transition: max-height 0.3s ease; /* Animation für das Auf- und Zuklappen */
}

.details.active {
    max-height: 15000px; 
    padding: 10px 0; 
}

/* Pfeil */
.arrow {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background-image: url('logos/SH_-Pfeil.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 20px;
	transition: transform 0.3s ease; /* Animation für die Drehung */
}

.arrow.rotated {
    transform: rotate(90deg); /* Drehung um 90 Grad */
}

/* Menü */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: none;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
	overflow-y: auto; /* Scrollbar  */
    padding-top: 20px;

}

.menu-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0; 
    height: 80px; 
}

.menu-header img {
    height: 80px;
	width:auto;
    margin: 0; 
}



.menu-overlay.active {
    display: flex;
}

.menu-header {
    text-align: center;
    margin: 10px 0;
}

.menuimg {
    width: 120px;
    height: auto;
    margin-bottom: 10px;
}

.menu-header p {
    font-size: 1em; 
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 5px;
}

.menu-list {
    list-style: none;
    padding: 10px 10px 70px 10px;
    width: 100%;
	max-height: calc(100vh - 150px); 
    overflow-y: auto; 
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 10px 10px 10px 10px;
    position: relative;
}

.menu-content {
    display: flex;
    flex-direction: column;
}

.menu-item a {
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    color: black;
	
}

.menu-item .ausgabe {
    font-size: 0.9em;
    color: #555;
	margin-top: 5px;
	margin-bottom: 2px;
   
}

/* Abwechselnde Linien */
.menu-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #cf2728;
}

.menu-item:nth-child(even)::after {
    background-color: #0c55a1;
}

.menu-item:last-child::after {
    display: none;
}

/* Menü-Schließen-Button */
.menu-close {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: white;
    border: 1px solid #0c55a1;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    cursor: pointer;
    z-index: 1100;
}

/* Burger-Menü */
/* Grundlayout des Buttons */
.menu-toggle {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: white;
    border: 1px solid #ffffff;
    border-radius: 50%;
    box-shadow: 2px 4px 6px rgba(12, 85, 161, 0.5);
    z-index: 1000;
    cursor: pointer;
    display: flex;
    justify-content: center; 
    align-items: center;    
}

.menu-toggle.active {
	box-shadow: 2px 4px 6px rgba(207, 39, 40, 0.5);
}

/* Linien des Hamburger-Menüs */
.menu-toggle span {
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: #0c55a1;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Abstand der Linien im Hamburger-Menü */
.menu-toggle span:nth-child(1) {
    transform: translateY(-8px); /* Obere Linie */
}

.menu-toggle span:nth-child(2) {
    transform: translateY(0); /* Mittlere Linie */
    background-color: #cf2728;
}

.menu-toggle span:nth-child(3) {
    transform: translateY(8px); /* Untere Linie */
}

/* X-Zustand bei aktiver Schaltfläche */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(0) rotate(45deg); /* Oberer Strich diagonal */
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0; /* Mittlerer Strich unsichtbar */
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(0) rotate(-45deg); /* Unterer Strich diagonal */
}



img {
	width:90%;
}

 /* Rebus Rätsel */
.image-container {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: space-between;
            margin: 20px;
        }

.image-container img {
            width: calc(33.33% - 10px);
            max-width: 100%;
            height: auto;
        }

@media screen and (max-width: 768px) {
            .image-container img {
                width: 100%;
                margin-bottom: 15px;
            }
			
			.menu-item a {
				font-size: 0.8em !important;

			}
			
			.menu-item .ausgabe {
				font-size: 0.8em !important;
        }
}

.section-divider_b {
            width: 100%;
            height: 3px;
            background-color: #0c55a1;
            margin: 20px 0;
        }
		
.section-divider_r {
            width: 100%;
            height: 3px;
            background-color: #cf2728;
            margin: 20px 0;
        }
		
