/* Style général */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #004080;
    color: white;
    padding: 20px;
    text-align: center;
}

nav {
    display: flex;
    justify-content: center;
    background: #333;
}

nav a {
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    transition: background 0.3s ease; /* Fiche Transition */
}

nav a:hover {
    background: #0078D4;
}

/* Conteneur principal */
.container {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Style des cartes (Fiche border-radius et box-shadow) */
.card {
    background: white;
    width: 250px;
    margin: 15px;
    padding: 20px;
    border-radius: 15px; /* Fiche border-radius */
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1); /* Fiche box-shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Fiche transition */
    text-align: center;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
}

footer {
    text-align: center;
    padding: 20px;
    background: #ddd;
    margin-top: 20px;
}
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    background: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

nav a {
    position: relative;
    overflow: hidden;
}

/* Effet de barre soulignée qui s'anime au survol */
nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: #0078D4;
    transition: width 0.3s ease-in-out; /* Fiche Transition */
}

nav a:hover::after {
    width: 100%;
}
.card {
    background: white;
    border-radius: 20px; /* Fiche border-radius */
    overflow: hidden; /* Pour que l'image ne dépasse pas des coins arrondis */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Transition avec rebond */
}

.card:hover {
    transform: translateY(-10px) scale(1.02); /* Soulève la carte */
    box-shadow: 0 15px 30px rgba(0,0,0,0.2); /* Ombre plus profonde */
}

/* Effet sur l'image à l'intérieur de la carte */
.card img {
    width: 100%;
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.1); /* Zoom de l'image */
}
button {
    background: #0078D4;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 0 #005a9e; /* Ombre portée pour effet 3D */
}

button:active {
    transform: translateY(3px);
    box-shadow: inset 0 3px 5px rgba(0,0,0,0.3); /* Fiche box-shadow : effet enfoncé */
}
.skill-bar {
    background: #eee;
    border-radius: 20px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
    margin-bottom: 15px;
}

.skill-fill {
    background: linear-gradient(90deg, #0078D4, #00c6ff);
    color: white;
    padding: 5px;
    text-align: right;
    font-size: 12px;
    border-radius: 20px;
    transition: width 2s ease-in-out; /* Animation au chargement */
}