:root {
    --primary-gradient: linear-gradient(135deg, #00F2EA, #7B2FF7);
    --secondary-gradient: linear-gradient(135deg, #FF6B6B, #FFD93D);
    --primary-color: #7B2FF7;
    --secondary-color: #FF6B6B;
    --accent-color: #00F2EA;
    --background-color: #FFFFFF;
    --text-color: #333333;
    --alert-success-gradient: linear-gradient(165deg, rgba(0,242,234,0.1), rgba(123,47,247,0.1));
}

body {
    font-family: "Arial", sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card {
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    background: var(--secondary-gradient);
    border: none;
    transition: opacity 0.3s;
}

.btn-secondary:hover {
    opacity: 0.9;
}
/* Kid-friendly animations to make the interface more engaging and fun for children */
/* Kid-friendly animations */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-bounce:hover {
    animation: bounce 0.5s ease infinite;
} 

.flashcard-wrapper {
    perspective: 1000px;
    padding: 20px;
}

.flashcard {
    position: relative;
    width: 100%;
    height: 300px;
    cursor: pointer;
    transform-style: preserve-3d;
    transform-origin: center right;
    transition: transform 0.8s;
}

.flashcard.flipped {
    transform: translateX(-100%) rotateY(-180deg);
}

.flashcard-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flashcard-front, .flashcard-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.flashcard-back {
    transform: rotateY(180deg);
    background: var(--primary-gradient);
}

.flashcard-text {
    font-size: 1.5rem;
    margin: 0;
    padding: 20px;
}

.progress-bar {
    background: var(--primary-gradient);
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: bold;
}

.alert-success {
    background: var(--alert-success-gradient);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}
.alert-info {
    background: var(--primary-gradient);
    border: 1px solid var(--accent-color);
    color: var(--primary-color);
}


.score-circle {
    background: var(--primary-gradient);
    color: white;
    border: none;
}

.score-circle span {
    color: white;
}