body {
    margin: 50px;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #50a150;
    background-color: #202020;
}
p {
    font-family: sans-serif;
}
h1{
    font-family: sans-serif;
    color: #50a150;

}
h2 {
    color: #50a150;
}
form {
    margin: 20px 0;
}
label {
    display: block;
    margin: 10px 0 5px;
}
input {
    width: 100%;
    padding: 8px;
    margin: 5px 0 10px;
    box-sizing: border-box;
}
button {
    padding: 10px 20px;
    background-color: #5cb85c;
    color: rgb(0, 0, 0);
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
}
button:hover {
    background-color: #4cae4c;
}
a {
    display: block;
    margin-top: 10px;
    color: #5cb85c;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.loggedin { color: green; }
.loggedout { color: red; }
#highscore {
    position: fixed;
    top: 60px;
    width: 210px;
    right: 10px;
    background-color: #5cb85c;
    color: #000;
    padding: 0px 10px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    font-weight: bold;
}
#actscore {
    position: fixed;
    top: 130px;
    width: 210px;
    right: 10px;
    background-color: #5cb85c;
    color: #000;
    padding: 0px 10px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    font-weight: bold;
}
#wPW { 
    font-weight: bold;
    padding: 0px 10px;
    color: rgb(124, 0, 0);
    max-width: 425px;
}
.home-button {
    position: fixed;
    top: 5px;
    left: 5px;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #007BFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.optische-box {
    width: 185px;
    height: 16px;
    padding: 20px;
    border: 2px solid #000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.optische-box button {
    margin: 0 7px; /* Fügt 10px Abstand zwischen den Schaltflächen hinzu */
}
.profile-button-container {
    position: fixed;
    top: 10px;
    right: 10px;
    text-align: right;
}

#profile-button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

#dropdown-buttons {
    margin-top: 10px;
    flex-direction: column-reverse;
    opacity: 1;
}

.dropdown-button {
    padding: 10px;
    font-size: 14px;
    border: 2px solid #000;
    cursor: pointer;
    margin-top: 5px;
    opacity: 1;
}

.hidden {
    display: none;
}
table {
    width: 80%;
    border-collapse: collapse;
    border: 1px solid #ccc;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: rgb(61, 73, 73);
}
th, td {
    padding: 10px;
    text-align: left;
}
th {
    background-color: #f2f2f2;
    border-bottom: 1px solid #ccc;
}
tr:nth-child(even) {
    background-color: #f9f9f9;
}
tr:hover {
    background-color: #f5f5f5;
}
td:first-child {
    border-left: 1px solid #ccc;
}
td:last-child {
    border-right: 1px solid #ccc;
}
#tableContainer {
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ccc;
}
#resultTable {
    width: 100%;
    border-collapse: collapse;
}
#resultTable th, #resultTable td {
    border: 1px solid #ddd;
    padding: 8px;
}
#resultTable th {
    background-color: #f2f2f2;
    position: sticky;
    top: 0;
}
#ergebnis {
    font-weight: bold;
    margin-top: 1rem;
}

#antworten {
position: relative;
height: 100px; /* Platz für die Buttons */
margin-top: 2rem;
}

.antwort-button {
position: absolute;
transform: translate(-50%, -50%);
padding: 0.5rem 1rem;
border: none;
border-radius: 8px;
cursor: pointer;
}
#frage{
    text-align: center;
    align-items: center;  
}

#progress-container {
    width: 100%;
    height: 20px;
    background-color: #ddd;
    margin-bottom: 1rem;
  }
  
  #progress-bar {
    height: 100%;
    width: 0%;
    background-color: #5cb85c;
    transition: width 0.4s ease;

  }

table {
    width: 80%;
    margin: 20px auto;
    border-collapse: collapse;
    border: 1px solid #ccc;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
th, td {
    padding: 10px;
    text-align: left;
}
th {
    background-color: #f2f2f2;
    border-bottom: 1px solid #ccc;
}
tr:nth-child(even) {
    background-color: #f9f9f9;
}
tr:hover {
    background-color: #f5f5f5;
}
td:first-child {
    border-left: 1px solid #ccc;
}
td:last-child {
    border-right: 1px solid #ccc;
}

