:root {
    --primary-color: #50fa7b;
    --secondary-color: #282a36;
    --text-color: #f8f8f2;
    --background-color: #44475a;
    --hover-color: #ff5555;
    --transition-time: 0.3s;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-color: var(--secondary-color);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    transition: all var(--transition-time) ease-in-out;
}

h1, h2 {
    font-family: 'JetBrains Mono', monospace;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

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

#progress-bar {
    background-color: var(--background-color);
    height: 10px;
    border-radius: 5px;
    margin-bottom: 2rem;
    overflow: hidden;
}

#progress {
    background-color: var(--primary-color);
    height: 100%;
    width: 0;
    transition: width var(--transition-time) ease-in-out;
}

.question {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all var(--transition-time) ease-in-out;
    text-align: left;
}

.button:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0);
}

.hidden {
    display: none;
    opacity: 0;
    transition: opacity var(--transition-time) ease-in-out;
}

#result {
    text-align: center;
    font-size: 1.2rem;
    margin-top: 2rem;
}

#quiz-header {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: bold;
    color: var(--primary-color);
}

.personality-type {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.score-breakdown {
    margin-top: 2rem;
    text-align: left;
}

.score-breakdown ul {
    list-style-type: none;
    padding: 0;
}

.score-breakdown li {
    margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
    .container {
        padding: 1rem;
    }

    .button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

