/* Grundlegende Layout-Stile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Schriftart einbinden */
@font-face {
    font-family: 'MyFont';
    src: url('fonts/MyFont.woff2') format('woff2'); /* Moderne Browser */
}

body {
    font-family: 'MyFont', Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Header */
header {
    text-align: center;
    padding: 20px 0;
    background-color: #222;
    color: white;
}


h1 {
    font-size: 3rem;
}

/* Navigation */
nav {
    background-color: #333;
    padding: 0;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0;
    position: relative;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 15px 20px;
    display: block;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    background-color: #ffcc00;
    color: #222;
    border-radius: 5px;
}

nav ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ffcc00;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

nav ul li a:hover::before {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Info-Bar */
.info-bar {
    background-color: #ffcc00;
    padding: 10px;
    text-align: center;
    margin-bottom: 0;
}

marquee {
    font-size: 1.2rem;
    font-weight: bold;
    color: #222;
}

/* Container für Sidebar und Main-Inhalt */
.content-container {
    display: flex;
    margin-top: 0;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background-color: #333;
    color: white;
    padding: 20px;
    margin-top: 0;
}

.sidebar h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar ul li {
    margin: 10px 0;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
}

.datum {
    text-align: center;
    font-size: 1.2rem; /* Schriftgröße anpassen */
    font-weight: bold; /* Optional für mehr Betonung */
    margin: 10px 0; /* Platz ober- und unterhalb des Datums */
}



.sidebar ul li a:hover {
    text-decoration: underline;
}

/* Gelbe Infobox */
.update-box {
    background-color: #ffcc00;
    text-align: center;
    padding: 20px;
    margin: 20px auto;
    border: 2px solid #333;
    max-width: 1200px;
    border-radius: 8px;
}

/* Weiße Infobox innerhalb der gelben Infobox */
.inner-box {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: auto;
    max-width: 90%;
    text-align: left;
}

.update-box h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #222;
}

/* Bilder in der gelben Update-Box */
.update-box img {
    max-width: 100%; /* Das Bild passt sich der Breite des Containers an */
    height: auto; /* Höhe wird automatisch angepasst, um das Seitenverhältnis beizubehalten */
    display: block;
    margin: 10px auto; /* Zentriert das Bild */
    border-radius: 8px;
}

/* Main Content */
main {
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
    flex: 1;
}

h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Allgemeine Bildstile */
img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.Icon {
    display: flex; /* Macht die Icons flexibel und nebeneinander */
    align-items: center; /* Zentriert die Icons vertikal */
    justify-content: center; /* Zentriert die Icons horizontal */
    gap: 10px; /* Abstand zwischen den Icons */
}

.Icon-right a img {
    transition: transform 0.3s ease; /* Animation bei Hover */
}

.Icon-right a img:hover {
    transform: scale(1.2); /* Vergrößert die Icons leicht beim Hover */
}

Icon a:hover {
    text-decoration: underline; /* Hebt Links beim Hover hervor */
}

Icon a img {
    transition: transform 0.3s ease;
}

Icon a img:hover {
    transform: scale(1.2); /* Vergrößert das TikTok-Icon leicht beim Hover */
}


/* Footer */
footer {
    background-color: #222;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: center; /* Zentriert den gesamten Footer-Inhalt */
    align-items: center;
}

.footer-container {
    display: flex;
    justify-content: space-between; /* Platz zwischen Text (links/mittig) und TikTok-Icon (rechts) */
    align-items: center;
    width: 100%; /* Sorgt dafür, dass der Container die gesamte Breite nutzt */
    max-width: 1200px; /* Maximalbreite für größere Bildschirme */
}

.footer-left {
    text-align: center; /* Zentriert den Text (Copyright und Impressum) */
    flex: 1; /* Sorgt dafür, dass die linke Seite Platz hat, um mittig zu bleiben */
}

.footer-right {
    margin-left: auto; /* Positioniert das TikTok-Icon am rechten Rand */
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline; /* Hebt Links beim Hover hervor */
}

footer a img {
    transition: transform 0.3s ease;
}

footer a img:hover {
    transform: scale(1.2); /* Vergrößert das TikTok-Icon leicht beim Hover */
}


