/* Header Stile */
header {
    position: relative; /* Relative Position für die absolute Positionierung der Links */
    background-color: #463ffa;
    color: white;
    padding: 20px;
    text-align: center;
}

/* Sternen-Icons */
header h1 .fa-star {
    color: yellow;
    margin: 0 5px;
}

/* Navigation Links */
header .header-links {
    position: absolute;
    top: 20px;
    right: 20px;
}

header .header-links a {
    color: white;
    text-decoration: none;
    margin-left: 10px;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

header .header-links a:hover {
    background-color: #372fbf;
}

/* Navigation Links */
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin-right: 10px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
}

nav ul li a.active {
    color: #ffffff;
}


/* Seitenklassen für spezifische Seiten */
.index-page a[href="index.html"],
.quize-page a[href="quize.html"],
.wordle-page a[href="wordle.html"],
.kontakt-page a[href="kontakt.html"]{
    background-color: #2e29a0; /* Dunklere Hintergrundfarbe für die aktuelle Seite */
}

/* Überschrift Stil */
.willkommen {
    font-size: 42px;
}

/* Main Content Stile */
main {
    padding: 20px;
}

/* News Item und Quiz Item Stile */
.news-item, .quiz-item, .form-group {
    background-color: white;
    margin: 20px 0;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.news-item h3, .quiz-item h3 {
    margin-top: 0;
}

/* Quiz Link Stil */
.quiz-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #463ffa;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.quiz-link:hover {
    background-color: #372fbf;
}

/* Formularstile */
form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #463ffa;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

button:hover {
    background-color: #372fbf;
}

/* Container für den Inhalt */
.container {
    padding: 20px;
}



/* styles.css */

/* styles.css */

/* styles.css */

/* Allgemeine Stile */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Header Stile */
header {
    background-color: #463ffa; /* Neue Header Farbe */
    color: white;
    padding: 20px;
    text-align: center;
}

/* Navigation Links */
header nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
    padding: 5px 10px; /* Padding für die Box */
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* Set active link color */
header nav a.active,
header nav a:hover {
    background-color: #2e29a0; /* Dunklere Hintergrundfarbe für die aktuelle Seite */
}

h1 {
    font-size: 36px;
}

main {
    padding: 20px;
}

/* Quiz Container Stile */
.quiz-container {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 20px auto;
    font-size: 18px;
}

.quiz-question {
    margin-bottom: 20px;
}

button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #463ffa;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
}

button:hover {
    background-color: #372fbf;
}

#quiz-result, #question-count, #score {
    margin-top: 20px;
    font-size: 20px;
    color: #333;
    text-align: center;
}

/* Antwort Stil */
.answer {
    display: block;
    margin: 15px 0;
    padding: 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.answer.correct {
    background-color: green;
    color: white;
}

.answer.wrong {
    background-color: red;
    color: white;
}

/* styles.css */

#quiz-beenden {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #463ffa;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s ease;
}
#quiz-beenden:hover{
    background-color: #372fbf;
}

/*bestenliste*/


table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

table th {
    background-color: #f2f2f2;
    color: #333;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
}

button {
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}


#back-link {
    display: block;
    text-align: center;
    margin-top: 20px;
}

 /* Wordle Stile */
 #game-container {
    text-align: center;
}
#word-grid {
    display: grid;
    grid-template-rows: repeat(6, 50px);
    gap: 5px;
    justify-content: center;
    margin-bottom: 20px;
}
.word-row {
    display: grid;
    grid-template-columns: repeat(5, 50px);
    gap: 5px;
}
.word-cell {
    border: 2px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    background-color: white;
}
input[type="text"] {
    width: 200px;
    padding: 10px;
    font-size: 18px;
    margin: 10px 0;
}
button {
    padding: 10px 20px;
    font-size: 18px;
    margin: 5px;
    cursor: pointer;
    width: auto; /* Automatische Breite */
    display: inline-block; /* Neben anderen Elementen */
}
/* Spezielle Stile für den "Spiel starten"-Button */
#start-button {
    padding: 30px 60px; /* Höheres Padding für mehr Raum um den Text */
    font-size: 28px; /* Größere Schriftgröße */
    margin-top: 50px;
}
#message {
    margin-top: 20px;
    font-size: 18px;
    color: #333;
}
#start-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 200px); /* 100% der Bildschirmhöhe abzüglich Header und Footer */
}
/* Zentrierung der Buttons im Spiel */
.button-container {
    display: flex;
    justify-content: center;
    gap: 10px; /* Abstand zwischen den Buttons */
    margin-top: 20px;
}
#language-selection {
    margin-bottom: 20px;
}


