/* Import Poppins font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

.container {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: #171C21; /* Dark background color */
    color: white;
    padding-top: 5rem; /* Added to prevent content from hiding behind navbar */
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-column {
    flex-direction: column;
}

/* Card styling */
#home, #quiz, #results {
    background: #171C21; /* Dark background */
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Category buttons styling */
.quiz-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.btn {
    padding: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: transform 0.2s ease;
    color: #171C21;
    text-align: center;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Different colors for category buttons using the palette */
.btn:nth-child(1) { background-color: #CDFB7C; } /* Light green */
.btn:nth-child(2) { background-color: #AA7CFB; } /* Purple */
.btn:nth-child(3) { background-color: #CDFB7C; } /* Light green */
.btn:nth-child(4) { background-color: #AA7CFB; } /* Purple */
.btn:nth-child(5) { background-color: #CDFB7C; } /* Light green */

.btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.hide {
    display: none;
}

/* Question styling */
#question {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.5rem 0;
    color: white;
}

.choice-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.choice {
    padding: 1rem 1.5rem;
    border: 2px solid #AA7CFB; /* Purple border */
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    color: white;
    background-color: rgba(170, 124, 251, 0.1); /* Semi-transparent purple */
}

.choice:hover {
    background-color: rgba(170, 124, 251, 0.2);
    border-color: #CDFB7C; /* Light green border on hover */
}

.choice.selected {
    background-color: #AA7CFB;
    color: #171C21;
    border-color: #AA7CFB;
}

/* Results page styling */
#results {
    text-align: center;
}

#score {
    font-size: 2rem;
    font-weight: 600;
    color: #CDFB7C; /* Light green */
    margin: 1.5rem 0;
}

/* Progress indicator */
#progress {
    color: #AA7CFB; /* Purple */
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Next button styling */
#next {
    background-color: #CDFB7C;
    color: #171C21;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    min-height: auto;
    margin-top: 1rem;
}

/* Results page buttons */
#results .btn {
    min-height: auto;
    padding: 0.8rem 2rem;
    margin: 0.5rem;
    display: inline-block;
}

/* Congratulations section */
#summary {
    margin: 2rem 0;
    color: white;
}

/* Add animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#quiz, #results, #home {
    animation: fadeIn 0.3s ease;
}

/* Headings */
h1, h2 {
    color: #CDFB7C; /* Light green */
    font-weight: 600;
}

/* Navigation styling */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #171C21;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #CDFB7C; /* Light green */
    letter-spacing: 1px;
}

.logo span {
    color: #AA7CFB; /* Purple */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-content {
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
} 