/* Style pour les pages de maths */
body
{
    background-color: cornsilk;
}
h1
{
    color: red;
    text-align: center;
    font-weight: bold;
    font-size: 36px;
}
h2
{
    color:blue;
    text-align: center;
    font-size: 28px;
    font-style: italic; 
}
h3
{
    color:darkgreen;
    text-align: left;
    font-size: 22px;
}
h4
{
    color:darkgreen;
    text-align: left;
    font-size: 22px;
    text-decoration: underline;
}
p
{
    color:black;
    font-size:18px;
}
.cible
{
    display: inline;
    height: 24px;
    width: auto;
}
.regle
{
    display: inline-block;
    border:thick double black;
    padding: 0.5em;
}

table, tr, td
{
    border:solid black;
    padding : 0.25em;
    text-align: center;
}

.rep
{
    height: 1.2em;
    width: 6em;
}

.def
{
    font-weight: bold;
}

/* Styles pour la validation dynamique */
        .correct {
            background-color: #d4edda;
            color: #155724;
            font-weight: bold;
            text-align: center;
        }
        .incorrect-input {
            border: 2px solid #dc3545;
            background-color: #f8d7da;
        }

/* styles pour les flexbox */

.conteneur
{
    display : flex;
    gap:12px; /* espace entre les blocs */
    flex-wrap: wrap; /*passe à la ligne si l'écran est trop petit */
}

.bloc
{
    flex: 1 1 120px; /*répartit l'espace équitablement avec une base de 120px */
    padding: 20px;
    text-align: center;
}