body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #9e1d22;
}       

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px; 
    color: white;
    min-height: 120px; 
}

a.title{
    border: none;
    text-decoration: none;
    color: white;
    font-size: 36px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    margin-right: 10px; 
}

.logo h1 {
    font-size: 36px; 
    margin: 0;
}


nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end; 
    margin-right: 80px;
}

nav ul {
    list-style: none; 
    margin: 0;
    padding: 0;
    display: flex; 
}

nav li {
    margin: 0 15px;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: transform 0.3s, background-color 0.3s, color 0.3s; /* Sanfte Animation */
}

nav a:hover {
    background-color: white;
    color: #333;
}

.login_button{
    border: none;
}

.info-box{
    width: 80%; 
    padding: 20px; 
    margin: 50px auto; 
    background-color: #9f2327; 
    border-radius: 15px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: white; 
}

.info-box p{
    font-size: 20px;
    line-height: 30px;
}

#spenden-link{
    color: white;
    font-size: 20px;
}
.community-info-box{
    width: 80%; 
    padding: 20px; 
    margin: 50px auto; 
    background-color: #9f2327; 
    border-radius: 15px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    text-align: left; 
    color: white; 
}
.community-info-box h1{
    text-align: center;
}
.community-info-box p{
    font-size: 20px;
    line-height: 30px;
}
.community-info-box a{
    font-size: 20px;
    text-decoration: underline;
    color: white;
}

.regeln-info-box{
    width: 80%; 
    padding: 20px; 
    margin: 50px auto; 
    background-color: #9f2327;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    text-align: left; 
    color: white; 
}
.regeln-info-box h1{
    text-align: center;
}
.regeln-info-box p{
    font-size: 20px;
    line-height: 30px;
}

.regeln-box{
    width: 80%; 
    padding: 20px; 
    margin: 50px auto; 
    background-color: #9f2327; 
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left; 
    color: white;
}
.regeln-box h1{
    text-align: center;
}
.regeln-box ul{
    list-style-type: circle;
    padding: 10px;
    font-size: 20px;
    line-height: 30px;
}
.regeln-box p{  
    font-size: 20px;
    line-height: 30px;
}

.regeln-box a{
    color: white;
}

.ip-container {
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    margin-top: 10px;
}

#copy-ip-text {
    margin: 0;
    color: white;
}

#copy-ip-button {
    border: none;  
    background: transparent;  
    display: flex;  
    align-items: center;  
    justify-content: center;  
    padding: 0;  
}

#copy-ip-button img {
    width: 25px;  
    height: auto;  
}

/*Login page*/
.login-page{
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #9e1d22, #6b0f0f);
    justify-content: center;
    align-items: center; 
    height: 100vh;
    color: white;
}

.login-box {
    display: flex;
    background: #fff;
    color: #333;
    width: 350px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    align-items: center;
    padding: 20px;
}


.login-box h1{
    font-size: 20px;
    text-align: center;
}

.login-box h2 {
    margin-bottom: 20px;
    color: #9e1d22;
}

.login-box form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-box input[type="text"],
.login-box input[type="password"] {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s;
}

.login-box input[type="text"]:focus,
.login-box input[type="password"]:focus {
    border-color: #9e1d22;
}

.login-box button {
    background: #9e1d22;
    color: white;
    font-size: 16px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-box button:hover {
    background: #6b0f0f;
}

.login-box .forgot-password {
    margin-top: 10px;
    font-size: 14px;
}

.login-box .forgot-password a {
    color: #9e1d22;
    text-decoration: none;
}

.login-box .forgot-password a:hover {
    text-decoration: underline;
}

.password-box{
    width: 80%; 
    padding: 20px; 
    margin: 50px auto; 
    background-color: #9f2327; 
    border-radius: 15px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    text-align: left; 
    color: white; 
}
.password-box h1{
    text-align: center;
}
.password-box p{
    font-size: 20px;
    line-height: 30px;
    text-align: center;
}
.password-box li{
    font-size: 20px;
    text-align: left;
}

/*leaderboard*/
.leaderboard table {
    width: 80%;
    margin: 10px auto; /* Feste Positionierung unter dem Header */
    border-collapse: collapse;
    margin-top: 20px;
    border-collapse: collapse;
    padding-top: 100px; /* Abstand zum Header hinzufügen */
    color: black;
}

.leaderboard th, td {
    padding: 10px;
    border: none;
}

.leaderboard th {
    background-color: white;
    text-align: center;
}

.leaderboard tr:nth-child(even) {
    background-color: rgb(200, 200, 200);
}

.leaderboard tr:nth-child(odd) {
    background-color: white;
}

.leaderboard td:first-child {
    border-right: 1px solid #444;
}
.leaderboard-container{
    width: 80%; 
    padding: 20px; 
    margin: 50px auto; 
    background-color: #9f2327; 
    border-radius: 15px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    text-align: left; 
    color: white; 
}

#page-link{
    color: white;
    font-size: 20px;
}