body {
    height: 100%;
    background: linear-gradient(to bottom, #00A3E0, #A6D8E4); /* Dégradé de bleu */
    min-height: 100vh; /* S'assurer que le body prend toute la hauteur de la fenêtre */
    font-family: 'Arial', sans-serif; /* Police par défaut */
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Aligne les éléments en haut */
    text-align: center; /* Centrer le texte horizontalement */
}

h1 {
    margin: 20px 0; /* Marge verticale pour le titre */
    font-size: 2em; /* Taille de police adaptable */
}

h3 {
    font-size: 14px;
    font-weight: bold;
    color: #000000;
}

.button-container {
    display: flex; /* Utilisation de Flexbox pour le conteneur */
    justify-content: center; /* Centre les boutons horizontalement */
    flex-wrap: wrap; /* Permet aux boutons de s'enrouler si nécessaire */
    gap: 10px; /* Espace entre les boutons */
}

.button {
    background-color: rgba(30, 144, 255, 0.8); /* Bleu dodger avec transparence */
    color: white;
    padding: 8px 13px; /* Taille légèrement réduite pour mobile */
    border: none;
    border-radius: 20px; /* Coins arrondis plus marqués */
    text-align: center;
    text-decoration: none;
    display: flex; /* Utiliser flexbox pour centrer le contenu */
    align-items: center; /* Centre verticalement les éléments */
    justify-content: center; /* Centre horizontalement les éléments */
    margin: 10px; /* Marge entre les boutons */
    font-size: 16px; /* Taille de police adaptable */
    font-weight: bold;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    width: auto; /* Largeur par défaut */
    max-width: 35%; /* Largeur maximale pour les boutons */
    flex-wrap: wrap; /* Permet aux éléments de s'enrouler */
}

.button:hover {
    background-color: rgba(0, 191, 255, 0.8); /* Bleu profond au survol */
    transform: translateY(-3px); /* Légère élévation au survol */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); /* Ombre accrue au survol */
}

.scrolling-text {
    width: 80%; /* Largeur adaptable */
    max-width: 500px; /* Largeur maximale pour les grands écrans */
    height: 40px;
    border: 2px solid #1E90FF; /* Bordure bleue dodger */
    background-color: white; /* Couleur de fond blanche */
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    margin: 20px 0; /* Marge verticale */
    display: flex;
    align-items: center; /* Centrer verticalement le texte */
}

.scrolling-text p {
    margin: 0; /* Pas de marges */
    white-space: nowrap; /* Empêche le retour à la ligne */
    animation: scroll 12s linear infinite; /* Animation de défilement */
    color: #00A3E0; /* Couleur du texte défilant */
    font-weight: bold; /* Texte en gras */
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Permet aux éléments de s'enrouler */
}

.separator {
    margin: 0 10px;
    font-size: 20px;
    color: white;
}

.pdf-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pdf-item {
    margin-bottom: 20px;
    text-align: center;
}

.pdf-item img {
    width: 280px;
    height: auto;
}

/* Media Query pour les petits écrans */
@media (max-width: 400px) { /* Ajustez cette largeur selon vos besoins */
    .button {
        padding: 10px 15px; /* Padding ajusté pour les petits écrans */
        font-size: 13px; /* Optionnel : réduire un peu la taille de la police */
        max-width: 95%; /* Ajustement de la largeur maximale pour les petits écrans */
    }
}

table {
    width: 95%;
    max-width: 400px; /* Largeur maximale de 400px */
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 18px;
    text-align: left;
    border: 1px solid #ddd;
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
    border-radius: 10px;
}

th, td {
    padding: 12px 15px;
}

tr:nth-child(even) {
    background-color: #f3f3f3;
}

tr:hover {
    background-color: #f1f1f1;
}

th {
    background-color: #1E90FF; /* Bleu dodger */
    color: white;
    font-weight: bold;
	padding: 10px 8px; /* Ajuster le padding pour les petits écrans */
}

td {
    border: 1px solid #ddd;
    border-radius: 10px;
	padding: 10px 8px; /* Ajuster le padding pour les petits écrans */
}
