body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
}

header {
    text-align: center;
    padding: 20px;
    font-size: 24px;
    background-color: #333;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5); /* Effet de lumière douce initiale */
}

header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #007bff; /* Couleur du néon */
    box-shadow: 0 0 15px #007bff, 0 0 40px #007bff, 0 0 60px #007bff;
    animation: neonGlow 3s ease-in-out infinite alternate;
}

/* Animation pour faire fluctuer la lumière */
@keyframes neonGlow {
    0% {
        box-shadow: 0 0 10px #007bff, 0 0 20px #007bff, 0 0 30px #007bff;
        opacity: 0.6;
    }
    50% {
        box-shadow: 0 0 15px #007bff, 0 0 30px #007bff, 0 0 45px #007bff;
        opacity: 1;
    }
    100% {
        box-shadow: 0 0 20px #007bff, 0 0 40px #007bff, 0 0 60px #007bff;
        opacity: 0.6;
    }
}

section {
    margin: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

h2 {
    color: #333;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    margin: 10px 0;
}

button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

button:active {
    background-color: #004494;
    transform: translateY(0);
}




/* index */
#cvSection {
    display: none;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease-out, opacity 0.5s ease;
    opacity: 0;
}

#cvSection.show {
    display: block;
    max-height: 600px; /* Ajustez cette valeur en fonction de la hauteur souhaitée */
    opacity: 1;
}

/* Effet de battement de cœur */
.heartbeat {
    display: inline-block;
    animation: heartbeat 1s infinite ease-in-out;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* Mouvement rapide gauche-droite */
.shake {
    display: inline-block;
    animation: shake 2s infinite ease-in-out;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30% {
        transform: translateX(-10px);
    }
    20%, 40% {
        transform: translateX(10px);
    }
    50%, 100% {
        transform: translateX(0);
    }
}

/* Rotation douce pour la loupe (reste verticale) */
.search {
    display: inline-block;
    animation: searchRotation 1.5s infinite alternate ease-in-out;
}

@keyframes searchRotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(20deg);
    }
}
