/* Applique un dégradé de fond similaire à l'image */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(90deg, rgba(255,0,0,1) 0%, rgba(255,154,0,1) 50%, rgba(255,255,0,1) 100%);
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    color: #333;
}

h1 {
    color: #333;
    margin-bottom: 40px;
    font-size: 2.5em;
}

/* Conteneur pour centrer les éléments */
.container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Pour assurer que les blocs se réorganisent si l'écran est petit */
}

/* Style des blocs Pronote */
.pronote {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    max-width: 300px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 220px; /* Assure que tous les blocs ont la même hauteur */
}

/* Style pour les URL */
.pronote-url {
    color: #007BFF;
    font-weight: bold;
    word-wrap: break-word;
}

/* Style des boutons */
.btn {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    margin-top: auto; /* Aligne le bouton en bas du bloc */
}

.btn:hover {
    background-color: #0056b3;
}

/* Style pour les statuts */
.statut {
    font-style: italic;
    margin-top: 10px;
}

/* Statut Online (vert) */
.online {
    color: green;
}

/* Statut Hors Ligne (rouge) */
.offline {
    color: red;
}
