*{
    font-family:serif;
    box-sizing: border-box;
}
header{ display: flex;
    margin-bottom: 10%;
    justify-items: center;
    place-items: center;
    justify-self: center;
    flex-direction: column;
}
div.gallery {
    width: 180px;
    margin: 5px;
    border: 1px solid #ccc;
    float: left;
    box-sizing: border-box; /* Box-Sizing hinzufügen, um das Padding und den Rand zu berücksichtigen */
}

div.gallery:hover {
    border: 1px solid #777;
}

div.gallery img {
    width: 100%;
    height: 200px;
}

div.desc {
    padding: 15px;
    text-align: center;
}

/* Container-Stil für die Galerie */
.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center ;/* Bilder von links nach rechts anordnen */
    width: 100%; /* Gesamtbreite des Containers */
}
a{
    margin-right: 5px;
}
input[type="date"],
input[type="URL"],
input[type="text"],
input[type="password"],
input[type="email"] {
    border: 1px solid #760013; /* Roten Rahmen fÃ¼r Text-, Passwort- und E-Mail-Eingabefelder */
}

.alert-success {
    font-size: 20px;
    color: green;
}
.alert-error{
    font-weight: bold;
    color: red;
}
.success{
    font-size: 20px;
    color: green;
}
.error{
    font-weight: bold;
    color: red;
}

#schriftZug{
    position: relative;
}

nav {
    float: right;
    text-align: center; /* Zentriert den Inhalt der <ul> */
    margin-bottom: 15px;


}
nav a{
    color:white;
    border: solid black 2px;
    background-color: rgb(118,0,18, 100%);
    padding: 10px;
    margin-top: 8px; /* Fügt Abstand nach oben hinzu */
    display: inline-block; /* Verhindert, dass sich die <a>-Elemente überlappen */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0 auto; /* Auto-Margin zentriert die <ul> horizontal */
    display: inline-block; /* Damit das <ul> nur so breit wie sein Inhalt ist */
}

nav ul li {
    display: inline; /* Damit die <li>-Elemente nebeneinander angezeigt werden */
    margin: 0;

}

    /* Header mit flexibler Höhe, um Platz für das Icon zu machen */
    header {

    }



main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: 0 auto;
}

.buttons{
    display: grid;
}
#schwertLogo{
    width: 300px;
    padding: 0;
}

.kommentarContainer {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    width: 100%;
    align-items: center;
    background-color: rgba(190, 190, 190, 0.32);
    border: 2px solid #760013;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.kommentarContainer p {
    margin: 10px 0;
    font-size: 16px;
}

.kommentarBackground {
    width: 100%;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

textarea {
    width: 100%;
    height: 50px;
    padding: 10px;
    border: 2px solid #760013;
    border-radius: 5px;
    font-size: 16px;
    resize: none;
    box-sizing: border-box;}

.char_Ã¼berschrift{
    font-weight: bold;}

.charBeschreibung::first-letter{
    color: #760013;
    font-size: 24px;}

p::first-letter{
    color: #ee142d;
    font-size: 24px;}

h2::first-letter{
    color: #ee142d;
    font-size: 24px;}

textarea{
    width: 100%;
    border: 1px solid #760013;}

hr{
    border-top: 1px solid #760013;}

a{
    color: #760013;}

blockquote::first-letter{
    color: #760013;
    font-size: 24px;
}
.charImg{
    border: 2px  solid #760013;
    height: 200px;
    width: 150px;
}
td{
    border: 1px solid #760013;
    background-color: rgb(190,190,190, 32%);
}
div a {
    margin-right: 20px;
}
.logo{
    width: 200px;
    height: 200px;
    animation: pulse 1.5s infinite alternate;
}
@keyframes pulse {
    0% {
        transform: scale(1); /* NormalgrÃ¶ÃŸe */
    }
    100% {
        transform: scale(1.2); /* VergrÃ¶ÃŸerte GrÃ¶ÃŸe */
    }
}
footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin:0 auto ;
    margin-bottom: 15%;
    background-color: rgb(190,190,190, 32%);
}
form{
    display: grid;
}

button, input[type="submit"] {
    background-color: #760013; /* Hintergrundfarbe */
    color: white; /* Textfarbe */
    padding: 12px 20px; /* Innenabstand */
    border: none; /* Rand */
    border-radius: 4px; /* Randradius */
    cursor: pointer; /* Zeiger */
    font-size: 16px; /* SchriftgrÃ¶ÃŸe */
    transition: background-color 0.3s; /* Ãœbergang fÃ¼r die Hintergrundfarbe */
    margin-top: 7px;
}

/* Stil fÃ¼r den Submit-Button im Hover-Zustand */
input[type="submit"]:hover {
    background-color: rgba(118, 0, 19, 0.6); /* Hintergrundfarbe beim Hover */
}
button:hover{
    background-color: rgba(118, 0, 19, 0.6); /* Hintergrundfarbe beim Hover */
}

.form{
    display: grid;
}

button{
    font-size: 16px;
    background: #760013;
    color: white;
    margin: 2px;
}.userChanges:hover{
     filter: grayscale(70%);
 }

.tables {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px; /* Abstand zwischen den Tabellen */
    background: #ffffff; /* Hintergrundfarbe der Tabelle */
    color: #760013; /* Textfarbe innerhalb der Tabelle */
    border: 1px solid #760013; /* Rahmenfarbe der Tabelle */
    transition: transform 0.2s ease; /* Übergangseffekt für das Zoomen */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Leichter Schatten für die Tabelle */
}

.tables:hover {
    transform: scale(1.05); /* Leichter Zoom-Effekt beim Hover */
}

.tables td, .tables th {
    padding: 12px; /* Mehr Polsterung für die Zellen */
    text-align: center;
    width: 50%; /* Teile die Tabellenzellen zu gleichen Teilen auf */
    border: 1px solid #760013; /* Rahmenfarbe der Zellen */
}

.tables td:first-child, .tables th:first-child {
    width: 30%; /* Erste Spalte etwas schmaler, um Platz für "Was:" oder "Wann:" zu lassen */
    background: #760013; /* Hintergrundfarbe der ersten Spalte */
    color: white; /* Textfarbe in der ersten Spalte */
}

.tables th {
    background: #760013; /* Hintergrundfarbe der Kopfzellen */
    color: white; /* Textfarbe in der Kopfzellen */
    text-transform: uppercase; /* Text in Großbuchstaben für die Kopfzeile */
}

.tables tr:nth-child(even) {
    background: #f2f2f2; /* Alternierende Hintergrundfarbe für Reihen */
}

.tables tr:hover {
    background: #e6e6e6; /* Leichte Hintergrundfarbe beim Hover über eine Zeile */
}


.impressum{
    display: flex;
    flex-direction: column;
    justify-content: center;
     margin-left: 20%;
}

.imgContainer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 80%; /* Begrenzt die Breite auf 100% des verfügbaren Platzes */
    width: 80%; /* Füllt den verfügbaren Platz aus */
    margin: 0 auto; /* Zentriert den Container horizontal */
    padding: 20px;
}

.video-container {
    width: 50%;  /* Feste Breite */
    height: 360px; /* Feste Höhe */
    margin: 0 auto;
    margin-bottom: 20px;

    overflow: hidden;
    background-color: black;
    border: solid #760013 4px;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Passt das Video an die Größe des Containers an */
}

@media (max-width:490px) {
    .video-container{
        width: 100%;
        height: 350px;
    }
}

.artikelContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Ändert die Ausrichtung auf linksbündig */
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
}

.singleArtikel p,
.singleArtikel {
    border: 1px solid #760013;
    padding: 4px; /* Innenabstand, damit der Text nicht direkt am Rand klebt */
    margin-bottom: 15px; /* Abstand nach unten für besseren Lesefluss */
    border-radius: 5px; /* Optional: Abgerundete Ecken für einen weicheren Look */
}
.artikelContainer p,
.artikelContainer blockquote {
    border: 1px solid #760013;
    padding: 10px; /* Innenabstand, damit der Text nicht direkt am Rand klebt */
    margin-bottom: 15px; /* Abstand nach unten für besseren Lesefluss */
    border-radius: 5px; /* Optional: Abgerundete Ecken für einen weicheren Look */
}

.artikelContainer img.userChanges {
    position: absolute;
    width: 24px;
    left: -140px;
}

.artikelContainer h2 {
    font-size: 20px; /* Beispiel für die Überschriften */
    margin: 0; /* Entfernt den Standardabstand */
}

.artikelContainer blockquote {
    margin: 0;
    padding: 10px;
    flex: 1; /* Füllt den verfügbaren Platz in der Höhe aus */
    overflow: hidden; /* Verhindert Überlaufen von Text */
    max-width: 80%;
    width: 100%;
}

.artikelContainer .charImg {
    width: 100%;
    max-width: 80%; /* Verhindert, dass das Bild den Container überläuft */
}


/* Formatierung des Formularcontainers */
.formContainer {
    margin: 20px auto;
    width: 80%;
    max-width: 500px;
    border: 1px solid #760013;
    padding: 20px;
    border-radius: 10px;
}

/* Formular-Selektor */
.form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.form label{
    font-family: Papyrus, serif ;
}

.form label::first-letter{
    color:red;
}
.form select,
.form input,
.form textarea {
    padding: 5px;
    border: 1px solid #760013;
    border-radius: 5px;
    width: 100%;
}

.form textarea {
    height: 100px;
}

/* Begrenzung der Breite auf den Inhalt des Main-Containers */
.image_a {
    width: 100%;
    max-width: 100%; /* Maximale Breite des Bildes */

}

.image_a img {
    width: 100%;
    height: auto; /* Automatische Höhe beibehalten */
    border: 1px solid #760013;
}

/* Media Query für größere Bildschirme */
@media (min-width: 768px) {
    .formContainer {
        max-width: 700px;
    }
    .kommentarContainer, .tables {
        width: 50%;
    }
    .image_a {
        width: 30%;
        max-width: 30%;
    }
}

.dropbtn{

    background-color: #760013; /* Hintergrundfarbe */
    color: white; /* Textfarbe */
    padding: 12px 20px; /* Innenabstand */
    border: none; /* Rand */
    border-radius: 4px; /* Randradius */
    cursor: pointer; /* Zeiger */
    font-size: 16px; /* SchriftgrÃ¶ÃŸe */
    transition: background-color 0.3s; /* Ãœbergang fÃ¼r die Hintergrundfarbe */
    margin-top: 7px;
    width: 40%;
}


/* The container <div> - needed to position the dropdown content */
.dropdown {

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 20px;

}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Show the dropdown content when the dropdown button is clicked */
.dropdown-content.show {
    display: block;
    margin : 0 auto;
}

/* Video inside dropdown */
.dropdown-content video {
    width: 100%;
    height: auto;
    margin : 0 auto;
}


.defaultContainer{
    display: flex;
    flex-direction: column;
    margin:0 auto;
    align-items: center;
    background-color: rgb(190,190,190, 32%);
    border: 2px solid #760013;

}
/* Allgemeiner Stil für die Tabelle */
.overviewUsers {
    width: 100%;
    max-width: 100%; /* Sicherstellen, dass die Tabelle nicht die Bildschirmbreite überschreitet */
    border-collapse: collapse;
    margin-bottom: 20px; /* Abstand zwischen den Tabellen */
    background: #ffffff; /* Hintergrundfarbe der Tabelle */
    color: #760013; /* Textfarbe innerhalb der Tabelle */
    border: 1px solid #760013; /* Rahmenfarbe der Tabelle */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Leichter Schatten für die Tabelle */
    font-family: Arial, sans-serif; /* Schlichte Schriftart */
    table-layout: fixed; /* Feste Tabellenlayout, um das Brechen langer Wörter zu ermöglichen */
}

.overviewUsers td, .overviewUsers th {
    padding: 12px; /* Polsterung für die Zellen */
    text-align: center; /* Textzentrierung */
    border: 1px solid #760013; /* Rahmenfarbe der Zellen */
    word-wrap: break-word; /* Lange Wörter umbrechen */
}

.overviewUsers th {
    background: #760013; /* Hintergrundfarbe der Kopfzellen */
    color: white; /* Textfarbe in den Kopfzellen */
    text-transform: uppercase; /* Text in Großbuchstaben für die Kopfzeile */
}

.overviewUsers tr:nth-child(even) {
    background: #f2f2f2; /* Alternierende Hintergrundfarbe für Reihen */
}

.overviewUsers tr:hover {
    background: #e6e6e6; /* Leichte Hintergrundfarbe beim Hover über eine Zeile */
}

.overviewUsers img.userChanges {
    cursor: pointer; /* Zeiger ändern, wenn man über die Bilder hovert */
    width: 20px; /* Größe der Bilder anpassen */
    height: auto;
}

.overviewUsers td:first-child, .overviewUsers th:first-child {
    width: 20%; /* Erste Spalte etwas schmaler */
}

.overviewUsers td:nth-child(2), .overviewUsers th:nth-child(2) {
    width: 20%; /* Zweite Spalte etwas breiter */
}

.overviewUsers td:nth-child(3), .overviewUsers th:nth-child(3),
.overviewUsers td:nth-child(4), .overviewUsers th:nth-child(4) {
    width: 15%; /* Dritte und vierte Spalte etwas schmaler */
}

.overviewUsers td:nth-child(5), .overviewUsers td:nth-child(6) {
    width: 10%; /* Spalten für die Bilder etwas schmaler */
}
.h2_over_images{
    padding: 15px;
    background-color: rgb(190,190,190, 32%);
    border: 1px solid #760013;
}
.up{
    position: fixed;
    bottom: 20px;
    right:0 ;
}
