/* ✍️ Police OpenDyslexic */
@font-face {
  font-family: 'OpenDyslexic';
  src: url('fonts/OpenDyslexic-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'OpenDyslexic';
  src: url('fonts/OpenDyslexic-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'OpenDyslexic';
  src: url('fonts/OpenDyslexic-Italic.woff2') format('woff2');
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: 'OpenDyslexic';
  src: url('fonts/OpenDyslexic-Bold-Italic.woff2') format('woff2');
  font-weight: bold;
  font-style: italic;
}

/* 🌈 Corps global */
body {
    font-family: "OpenDyslexic", "Arial Rounded MT Bold", "Comic Sans MS", sans-serif;
    background-color: #f5faff;
    color: #111;
    font-size: 36px;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}

/* 🧠 Titres */
h1, h2 {
    font-size: 40px;
    margin-bottom: 25px;
    text-align: center;
    color: #003366;
}

/* 🔗 Liens */
a {
    color: #0066cc;
    font-weight: bold;
    font-size: 34px;
    display: block;
    margin-top: 1.2em;
    text-align: center;
}
a:hover {
    text-decoration: underline;
}

/* 📦 Formulaire */
form {
    max-width: 90%;
    margin: 0 auto;
}

/* ✅ Réponses (QCM) */
label {
    display: block;
    background-color: white;
    border: 4px solid #cce6ff;
    border-radius: 22px;
    padding: 22px;
    margin: 25px 0;
    font-size: 38px;
    cursor: pointer;
    box-shadow: 2px 2px 4px #ccc;
}

/* 🧩 Radio + saisie */
input[type="radio"] {
    transform: scale(1.6);
    margin-right: 22px;
}

input[type="text"] {
    width: 100%;
    font-size: 38px;
    padding: 22px;
    margin-top: 18px;
    border: 3px solid #bbb;
    border-radius: 18px;
    box-sizing: border-box;
}

/* 🎯 Bouton principal */
input[type="submit"], button {
    background-color: #007BFF;
    color: white;
    padding: 26px;
    font-size: 38px;
    border: none;
    border-radius: 20px;
    width: 100%;
    margin-top: 35px;
    box-shadow: 2px 2px 5px #aaa;
}
input[type="submit"]:hover, button:hover {
    background-color: #0056b3;
}

/* 🔁 Pour petits écrans */
@media screen and (max-width: 768px) {
    body {
        font-size: 36px;
        padding: 16px;
    }

    h1, h2 {
        font-size: 42px;
    }

    label {
        font-size: 38px;
        padding: 20px;
    }

    input[type="text"] {
        font-size: 38px;
    }

    input[type="submit"], button {
        font-size: 40px;
        padding: 30px;
    }

    a {
        font-size: 34px;
    }
}

/* Harmonisation des menus déroulants */
select, select option {
  font-size: 24px;   /* Taille du texte */
  font-family: inherit; /* Garde la même police que le reste de la page */
  padding: 10px 20px; /* Agrandit un peu la zone cliquable */
}