﻿

/* Correction pour le menu fixe */
body {
    padding-top: 56px;
    background-image: url('../../Image/Centrale/CDEJFond1.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Contenu principal */
main {
    flex: 1;
    padding-bottom: 2rem;
}

/* Pied de page amélioré */
footer {
    background-color: #343a40;
    color: white;
    padding: 1.5rem 0;
    margin-top: auto;
}

    footer a {
        color: #f8f9fa;
        text-decoration: none;
        transition: color 0.3s;
    }

        footer a:hover {
            color: #17a2b8;
            text-decoration: underline;
        }

/* Animation de la maison */
.home-icon {
    width: 60px;
    height: 60px;
    transition: all 0.3s ease;
    transform-origin: center;
}

    .home-icon:hover {
        transform: scale(1.1) rotate(5deg);
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    }

/* Animation d'entrée */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-load {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Effet pulse au clic */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.pulse-effect {
    animation: pulse 0.5s ease;
}
