/* CSS: Style quizu */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f4f8; 
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 650px;
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.8em;
}

#score-display {
    font-size: 1.1em;
    font-weight: bold;
    color: #00bcd4;
    margin-bottom: 20px;
    padding: 5px 0;
    border-bottom: 2px solid #e0f7fa;
}

#quiz-box {
    text-align: left;
}

#question-text {
    font-size: 1.4em;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #e0f7fa;
    border-radius: 8px;
    border-left: 5px solid #00bcd4;
}

.answer-btn {
    display: block;
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    background-color: #c8e6c9; 
    color: #1b5e20;
    border: 2px solid #81c784;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s, transform 0.1s;
}

.answer-btn:not([disabled]):hover {
    background-color: #a5d6a7;
    transform: translateY(-2px);
}

.answer-btn[disabled] {
    cursor: default;
}

/* Style po kliknięciu */
.correct {
    background-color: #4caf50; 
    color: white;
    border-color: #388e3c;
}

.incorrect {
    background-color: #f44336; 
    color: white;
    border-color: #d32f2f;
}

#next-button, #restart-button {
    background-color: #00bcd4;
    color: white;
    border: none;
    padding: 12px 25px;
    margin-top: 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2em;
    transition: background-color 0.3s;
    width: 100%;
}

#next-button:hover, #restart-button:hover {
    background-color: #0097a7;
}

#result-box h2 {
    color: #00bcd4;
    font-size: 2em;
}

#score-text {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
}