/* Styles existants */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f7fa;
    color: #333;
}

.header {
    background-color: #2c3e50;
    color: white;
    padding: 1rem;
    text-align: center;
}

.container {
    display: block;
    padding: 1rem;
}

.content {
    flex: 1;
    padding: 1rem;
    margin-left: 1rem;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Comportement responsive */
@media (max-width: 768px) {
    .burger-icon {
        display: block; /* Affiché sur mobile */
    }
    .sidebar {
        left: -250px; /* Masquée par défaut sur mobile */
    }
    .sidebar.active {
        left: 0; /* Affichée quand active */
    }
    .main-content {
        margin-left: 0; /* Pas de marge sur mobile */
    }
}

@media (min-width: 769px) {
    .sidebar {
        left: 0; /* Toujours visible sur desktop */
    }
    .main-content {
    ; /* Décale le contenu principal */
    }
}

/* Styles existants pour les cartes, quiz, etc. */
.course-section {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid #FF8C00;
}

.course-section h3 {
    color: #2c3e50;
    margin-top: 0;
}

.course-section p {
    color: #333;
}

.course-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #FFD700;
    display: inline-block;
    width: 100%;
    margin-right: 1%;
}

.course-card h4 {
    color: #2c3e50;
    margin-top: 0;
}

.course-card p {
    color: #333;
}

.course-card strong {
    color: #2c3e50;
}

.course-card a {
    color: #FF8C00;
}

.course-card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1rem 0;
}

.quiz-button {
    background-color: #FF8C00;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
}

.quiz-button:hover {
    background-color: #e74c3c;
}

.card-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.back-button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 1rem;
}

.back-button:hover {
    background-color: #2980b9;
}

.quiz-option {
    display: block;
    width: 100%;
    text-align: left;
    margin: 0.5rem 0;
    padding: 0.5rem;
    background-color: #f0f0f0;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    color: #333;
    transition: background-color 0.2s;
}

.quiz-option:hover {
    background-color: #e0e0e0;
}

.quiz-option.selected {
    background-color: #d0d0d0;
    font-weight: bold;
}

.quiz-option.correct {
    background-color: #d4edda;
    border-left: 3px solid #28a745;
    color: #155724;
}

.quiz-option.incorrect {
    background-color: #f8d7da;
    border-left: 3px solid #dc3545;
    color: #721c24;
}

.check-button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 0.5rem;
}

.check-button:hover {
    background-color: #218838;
}

.check-button:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

.follow-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #2ecc71;
}

.follow-card h3 {
    color: #2c3e50;
    margin-top: 0;
}

.follow-button {
    background-color: #2ecc71;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0.5rem;
    width: 100%;
}

.follow-button:hover {
    background-color: #27ae60;
}