/* Allgemeines Layout */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #663573, #225668 );
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}
h1 {
    font-size: 2.5rem;
    margin: 1rem 0;
    color: #e3ecf6;
  }
  h3 {
    font-size: 1.2rem;
    margin: 1rem 0;
    color: #dfebee;
  }
  #otherPageBtn {
    top: 8%;
    left: 50%;
    padding: 11px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    background-color: rgba(183, 135, 93, 0.01);
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    margin-top: 2%;
  }
  #otherPageBtn:hover {
    background-color: #d79a48;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  }
  
  #otherPageBtn:active {
    background-color: #d79a48;
    transform: scale(1);
  }
.quiz-container {
    width: 90%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    margin-top: 2%;
}

#quiz {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.team {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 5px;
}

.correct {
    background: #4caf50;
}

input {
    width: 80%;
    padding: 10px;
    font-size: 16px;
    margin-top: 10px;
    border-radius: 5px;
    border: none;
    text-align: center;
}

.restart-btn, .end-btn {
    margin-top: 10px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}
.restart-btn {
    background:#27a25a;
    color: white;
}
.end-btn {
    background:#d16762;
    color: white;
}
.restart-btn:hover, .end-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
.restart-btn:active, .end-btn:active {
    transform: scale(1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
@media screen and (max-width: 1500px) {
    .quiz-container {
        padding: 15px;
        margin: 10px;
    }

    #quiz {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    input {
        width: 90%;
        font-size: 14px;
    }

    .restart-btn, .end-btn {
        font-size: 14px;
        padding: 8px 16px;
    }

    #otherPageBtn {
        font-size: 0.9rem;
    }
}
@media screen and (max-width: 1900px) {
    .quiz-container {
        padding: 15px;
        margin: 10px;
    }

    #quiz {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    input {
        width: 90%;
        font-size: 14px;
    }

    .restart-btn, .end-btn {
        font-size: 14px;
        padding: 8px 16px;
    }

    #otherPageBtn {
        font-size: 0.9rem;
    }
}
/* Responsive Styles */
@media screen and (max-width: 970px) {
    .quiz-container {
        padding: 15px;
        margin: 10px;
    }

    #quiz {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    input {
        width: 90%;
        font-size: 14px;
    }

    .restart-btn, .end-btn {
        font-size: 14px;
        padding: 8px 16px;
    }

    #otherPageBtn {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 736px) {
    body {
        padding: 10px;
    }

    .quiz-container {
        width: 100%;
        padding: 10px;
    }

    #quiz {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    input {
        width: 90%;
        font-size: 14px;
    }

    .restart-btn, .end-btn {
        font-size: 14px;
        padding: 8px 16px;
    }

    #otherPageBtn {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 480px) {
    body {
        padding: 5px;
    }

    .quiz-container {
        width: 100%;
        padding: 8px;
    }

    #quiz {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    }

    input {
        width: 90%;
        font-size: 12px;
    }

    .restart-btn, .end-btn {
        font-size: 12px;
        padding: 6px 12px;
    }

    #otherPageBtn {
        font-size: 0.8rem;
    }
}
