body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to right, #f8f9fa, #e0e0e0);
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.container {
    text-align: center;
    max-width: calc(3 * 250px + 2 * 20px); /* Limite à la largeur de 3 boutons */
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

header .logo {
    max-width: 100%;
    height: auto;
    max-height: 100px;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin: 10px 0;
    color: #2c3e50;
    animation: fadeIn 2s ease-in-out;
}

.separator {
    width: 80%;
    max-width: 750px;
    border: 0;
    height: 1px;
    background-color: #ccc;
    margin: 20px auto;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    width: calc(33.33% - 20px); /* Largeur fixe des boutons pour qu'ils soient trois par ligne */
    aspect-ratio: 1 / 1; /* Assure que les boutons restent carrés */
    max-width: 250px; /* Limite maximale de la largeur des boutons */
    box-sizing: border-box; /* Inclut la bordure et le padding dans la largeur et la hauteur */
}

.button img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Assure que l'image s'adapte bien à l'intérieur du bouton */
}

.button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.additional-section {
    margin-top: 20px;
}

.additional-section h2 {
    font-size: 20px;
    margin: 10px 0;
    color: #2c3e50;
}

.additional-section a {
    display: block;
    margin: 0 auto;
}

.additional-section .Logo-A-Coeur-Marque-Alsace {
    max-width: 100%;
    height: auto;
    max-height: 80px;
}

.footer {
    padding: 20px;
    text-align: center;
    background-color: #d3d3d3; /* Gris très clair */
    color: #333;
    border-top: 2px solid #ccc;
    width: 100%; /* Pied de page pleine largeur */
    box-sizing: border-box;
    margin-top: 20px; /* Marge au-dessus du pied de page */
}

.footer p {
    margin: 5px 0;
}

.footer a {
    color: #007bff;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.2s;
}

.footer a:hover {
    color: #0056b3;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .buttons {
        flex-direction: column;
        align-items: center;
    }

    .button {
        width: 80%;
        max-width: none;
        margin-bottom: 10px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
