@import url('/styles/fonts.css');

/* ============================= */
/* ✅ ALLGEMEINE STILE */
/* ============================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  


body {
    font-family: 'Roboto', sans-serif;
    background: #121212;
    color: #E0E0E0;
    font-size: 16px;          /* 📏 Standard-Textgröße */
    max-width: 100vw;         /* Kein Scrollen nach rechts */
    overflow-x: hidden;      
    padding: 0 10px;          /* Etwas Rand links/rechts */
    margin: 0;
    padding: 0;
    display: block;              /* Standard-Layout, kein Flex nötig */
    box-sizing: border-box;
    min-height: 100vh;           /* Füllt den gesamten Viewport */
    display: flex;
    flex-direction: column;      /* Ordnet alles von oben nach unten */
    align-items: center;        /* 🔑 Zentriert den Inhalt horizontal */
}

/* ✅ Stellt sicher, dass der Hauptinhalt flexibel ist */
main {
    flex-grow: 1; /* Erweitert nur, wenn der Inhalt zu klein ist */
    min-height: 400px; /* Verhindert zu kleinen Main-Bereich */
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    box-sizing: border-box;
}

/* ✅ ZENTRALER CONTAINER */
.container {
    max-width: 1000px;           /* Maximale Breite */
    width: 100%;                 /* Füllt den verfügbaren Platz */
    padding: 10px;               /* Innenabstand für Ränder */
    box-sizing: border-box;      /* Saubere Berechnungen */
    display: flex;
    margin: 0 auto;
    flex-direction: column;      /* Elemente untereinander anordnen */
    align-items: center;         /* Inhalte zentrieren */
    gap: 20px;                   /* Abstand zwischen den Abschnitten */
}

/* ✅ HEADINGS */
h1, h2, h3 {
    text-align: center;          /* Überschriften zentrieren */
    color: #C0C0C0;              /* Silber für den mystischen Look */
    margin: 0;
    text-align: center;
    margin-bottom: 15px;
    padding: 10px 0;
    transition: text-shadow 0.3s ease, transform 0.3s ease;
}

h1:hover, h2:hover {
    font-size: 1.8rem;        /* Kleinere Standardgröße */
    text-shadow: 0 0 20px rgba(192, 192, 192, 0.9); /* Leichter Silber-Glow */
    transform: scale(1.02);
}

/* ✅ BUTTONS */
.btn {
    display: inline-block;
    background-color: #8B0000;   /* Blutrot */
    color: white;
    border: 1px solid #C0C0C0;   /* Silberner Rahmen */
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 6px;
    margin: 10px auto;        /* Automatisch zentrieren */
    cursor: pointer;
    text-align: center;
    font-size: 14px;          /* Kleinere Schrift */
    transition: transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

.btn:hover {
    background-color: #C0C0C0;   /* Silber-Hover */
    color: #121212;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.8);
}

/* ✅ NEWS-CONTAINER */
#news-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 100%;
}

/* ✅ LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;     /* Bild zentrieren */
    align-items: center;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    border-radius: 5px;
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}



body, main, footer {
    width: 100%; /* 🔥 100% der verfügbaren Breite */
    max-width: none; /* 🚀 Kein künstliches Limit */
    align-self: stretch;
}

/* ✅ Mobile Only */
@media screen and (max-width: 768px) {
    .mobile-only {
        display: block !important;
    }
    .desktop-only {
        display: none !important;
    }
}

/* ✅ Desktop Only */
@media screen and (min-width: 769px) {
    .desktop-only {
        display: block !important;
    }
    .mobile-only {
        display: none !important;
    }
}
