
body {
    padding: 0;
    margin: 0;
    display: flex;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    font-family: sans-serif;
}

.quiz-container {
    width: 800px;
    max-width: 80%;
    background-color: white;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 0 10px 2px rgba(0,0,0,0.1);
}

#progress-bar {
    display: flex;
    height: 10px;
    width: 100%;
    border: 1px solid #aaa;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    overflow: hidden; 
}

#progress-text {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #555;
}

.progress-segment {
    flex-grow: 1;
    background-color: #e0e0e0;
    border-right: 1px solid #fff; 
}

.progress-segment:last-child {
    border-right: none;
}

.progress-segment.correct {
    background-color: #28a745;
}

.progress-segment.wrong {
    background-color: #dc3545;
}


#question-header {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
}

#question {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.btn-grid {
    display: grid;
    gap: 10px;
    margin: 20px 0;
}

.btn {
    border: 1px solid #c0c0c0;
    background-color: #e0e0e0;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    text-align: left;
}

.btn:hover:not(:disabled) {
    background-color: #d0d0d0;
}

.btn.selected {
    background-color: #aadaff;
    border-color: #007bff;
}

.btn.correct {
    background-color: #28a745;
    color: white;
}

.btn.wrong {
    background-color: #dc3545;
    color: white;
}

.btn:disabled {
    cursor: not-allowed;
}


.start-btn, .next-btn, .restart-btn, .check-btn {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px 20px;
    text-align: center;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    gap: 10px;
}

#navigation-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

#question-number-input {
    width: 80px;
    padding: 5px;
    margin-right: 10px;
}


.hide {
    display: none;
}
