/* Styles spécifiques pour Kidmalin */

:root {
    --primary-color: #6379FF;
    --secondary-color: #2329FF;
    --accent-color: #7329FF;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 0;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.exercice-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary-color);
}

.exercice-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.btn-kidmalin {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-kidmalin:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.theme-badge {
    display: inline-block;
    padding: 5px 10px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-right: 5px;
    margin-bottom: 5px;
}

.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 30px 0;
    margin-top: 50px;
}

.footer a {
    color: var(--light-color);
}

.footer a:hover {
    color: white;
    text-decoration: none;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group label {
    font-weight: bold;
    color: var(--dark-color);
}

.stats-table {
    width: 100%;
    margin-top: 20px;
}

.stats-table th {
    background-color: var(--primary-color);
    color: white;
}

.stats-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 40px 0;
    }
}

/* Animation pour les boutons */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.btn-animate {
    animation: pulse 2s infinite;
}

/* Style pour les exercices */
.exercice-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.exercice-question {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.exercice-options {
    list-style: none;
    padding: 0;
}

.exercice-options li {
    padding: 10px;
    margin: 5px 0;
    background-color: #f8f9fa;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
}

.exercice-options li:hover {
    background-color: #e9ecef;
}

.exercice-feedback {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none;
}

.exercice-feedback.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

.exercice-feedback.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}
