body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
}

header {
    background-color: #333;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

header .logo img {
    height: 120px; /* 2x la taille d'origine */
    animation: bounce 2s infinite; /* Ajout de l'animation */
}

header .telephone {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin-top: 10px;
}

nav {
    margin-top: 20px;
}

nav .menu-item {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    background-color: #444;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

nav .menu-item:hover {
    background-color: #555;
}

.contact-info {
    background-color: #555;
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}

main {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

main .text-section, main .image-section {
    margin-bottom: 20px;
}

.text-section p {
    line-height: 1.6;
    color: #333;
}

.image-section img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 12px;
}

@media(min-width: 768px) {
    main {
        flex-direction: row;
    }

    main .text-section {
        flex: 2;
        padding-right: 20px;
    }

    main .image-section {
        flex: 1;
    }
}

/* Animation keyframes pour le rebond */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}
