/* Style du fond de la page */
body {
    background-color: #f0f5ff; /* Fond légèrement bleu */
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

h1 {
    font-size: 24px;
    margin: 20px;
}

/* Style des filtres et du bouton */
.filter {
    margin-bottom: 10px;
}

/* Style des cartes des matières */
.subject {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 15px; /* Coins arrondis */
    padding: 20px;
    margin: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); /* Effet d'ombre */
    width: 350px; /* Plus grandes cartes */
    text-align: center;
    transition: transform 0.3s; /* Animation de levage */
}

.subject:hover {
    transform: translateY(-5px); /* Léger effet de levage au survol */
}

.subject h2 {
    font-size: 24px;
    margin: 10px 0;
}

/* Style du menu déroulant */
#displayOption {
    font-size: 16px;
    border: none;
    border-radius: 10px; /* Coins arrondis */
    background-color: #fff;
    transition: background-color 0.3s;
    margin: 10px 0;
}

#displayOption:hover {
    background-color: #eee; /* Couleur au survol */
}

/* Style du bouton Comparer */
#compareBtn {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    margin: 10px 0;
}

#compareBtn:hover {
    background-color: #0056b3; /* Couleur au survol */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Effet de brillance au survol */
}
