/* Vidéo de fond qui couvre toute la page */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#background-video {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Barre de navigation à gauche */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    height: 100%;
    background-color: #007BFF;
    padding-top: 20px;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    padding: 20px;
    border-radius: 10px; /* Coins arrondis */
    box-shadow: 0 0 0 5px white; /* Contour blanc autour de l'élément */
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: bl;
    font-size: 18px;
    text-align: center;
}

.sidebar ul li a:hover {
    background-color: #5c5c5cc7;
}

/* Page active - bouton gris */
.sidebar ul li a.active {
    background-color: #bbb;
}

/* Contenu principal */
.content {
    margin-left: 260px;
    padding: 50px;
    color: white;
}

/* Titre central */
.title {
    text-align: center;
}

.title h1 {
    font-size: 50px;
    margin-bottom: 10px;
}

.title h2, .title h3 {
    font-size: 30px;
}

/* Boutons */
.buttons {
    text-align: center;
    margin-top: 20px;
}

.button {
    padding: 15px 30px;
    font-size: 18px;
    margin: 10px;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    background-color: #007BFF;
    color: white;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.button:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

/* Animation d'explosion au clic */
@keyframes explode {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(0); opacity: 0; }
}

.button:active {
    animation: explode 0.5s forwards;
}

/* Contenu du CV */
.content-section {
    display: none;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    text-align: center;
}

#cv-content {
    display: block;
}

#cv-content div {
    margin: 20px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

/* Compétences supplémentaires */
.competence {
    display: inline-block;
    width: 45%;
    margin: 20px;
    text-align: center;
}

.competence img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Footer avec mentions légales */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f0f0f0;
    text-align: center;
    padding: 5px;
    color: #333;
}

/* Vidéo de fond */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#background-video {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Moyens de contact */
.contact-info {
    margin: 50px 0;
    text-align: center;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.contact-item p a {
    font-size: 18px;
    color: #007BFF;
    text-decoration: none;
}

.contact-item p a:hover {
    text-decoration: underline;
}


.wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .item {
    background-color: black;
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
    transition: transform 0.3s ease;
  }

  .item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
  }

  .item a {
    color: #4caf50;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
  }

  .item a:hover {
    color: #81c784;
  }

  .item:hover {
    transform: scale(1.1);
  }

  .datetime {
    display: block;
  }