/* Conteneur des formations */
.formations-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin: 20px 0;
}

.formation-card {
    width: 250px;
    height: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.2s ease;
    text-align: center;
    border: 2px solid black;
}

.formation-card:hover {
    transform: translateY(-10px);
}

.formations-container a {
    text-decoration: none;
    font-weight: bold;
}

/* Conteneur général */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Sections */
.sections {
    width: 100%;
    text-align: center;
    display: flex;
    border-radius: 15px;
    padding: 1rem;
    margin: 1rem auto; 
}

.icon, .iconUlis, .Classicon {
    height: auto;
    margin-right: 15px;
}

.icon {
    width: 45px;
}

.iconUlis {
    width: 70px;
}

.Classicon {
    width: 40px;
    margin-right: 5px;
}

.matiere {
    display: flex;
    align-items: center;
    justify-content: center;
}

.matiere h3 {
    margin: 0;
}

/* Logos des écoles */
.LogoEcole {
    display: flex;
    align-items: center; 
    padding: 10px;
    justify-content: center;
}

.LogoEcole a {
    display: flex;
    align-items: center;
    text-decoration: none; 
}

.Logo {
    width: 75px; 
    height: auto;
    margin-right: 1.5rem; 
}

.LogoLabel {
    font-family: Arial, sans-serif; 
    font-size: 1.2rem; 
    color: white; 
}

/* Media queries pour la réactivité */
@media (max-width: 1200px) {
    .formation-card {
        flex-basis: calc(50% - 2rem); 
    }
    .sections {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .formation-card {
        flex-basis: calc(90% - 2rem); 
    }
    .sections {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .formation-card {
        flex-basis: calc(90% - 2rem); 
    }
    .sections {
        width: 80%;
    }
}
