*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    min-height: 50rem;
    background-color: #111827;
    color: white;
    font-family: Arial, sans-serif;
}

main {
    min-height: 50rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

#startScreen h1 {
    font-size: 2.5rem;
    color: #A78BFA;
}

#startScreen h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

#startScreen p {
    font-size: 1rem;
    color: #CBD5E1;
    margin-bottom: 2rem;
}

#startButton{
    background-color: #7C3AED;
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

#startButton:hover {
    background-color: #231638;
}

#startScreen,#quizScreen,#resultScreen {
    background-color: #1F2937;
    padding: 3rem;
    border-radius: 1.25rem;
    width: 28rem;
    max-width: 100%;
    text-align: center;
}

#questionNumber {
    color: #A78BFA;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.progressContainer {
    background-color: #374151;
    height: 0.75rem;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 2rem;
}

#progressBar {
    background-color: #7C3AED;
    width: 20%;
    height: 100%;
    border-radius: 1rem;
}

#questionText {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

#answerOptions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: left;
}

#startButton,#nextButton,#restartButton {
    background-color: #7C3AED;
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

#startButton:hover,#nextButton:hover,#restartButton:hover {
    background-color: #6D28D9;
}

#resultScreen h2 {
    color: #A78BFA;
    font-size: 2rem;
    margin-bottom: 1rem;
}

#resultScreen p {
    color: #CBD5E1;
    font-size: 1rem;
}

#finalScore {
    font-size: 3rem;
    color: white;
    margin: 2rem 0;
}