@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;400;700&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins','sans-serif';
    box-sizing: border-box;
    scroll-behavior: smooth;
}


header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 40px 50px;
  color: rgba(29, 25, 25, 0.767);
}


.profil {
  display: flex;
  align-items: center;
  gap: 20px;
}

.photo-profil {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #32B9FA;
}

.nom {
  font-size: 40px;
}

header h1 span {
  color: #32B9FA;
}

header nav a {
  outline: none;
  text-decoration: none;
  color: rgba(29, 25, 25, 0.767);
  font-size: 20px;
  margin: 0px 20px;
}

/* Corrige : scale ne fonctionne pas ainsi */
header .nav a:hover {
  transform: scale(1.1);
  transition: transform 0.2s ease-in-out;
}

.dl{
    font-size: 15px;
    padding: 10px 15px;
    text-decoration: none;
    color: white;
    background-color: #32B9FA;
    display: flex;
    justify-content: center;
    border-radius: 20px;
}

.dl1{
    font-size: 25px;
    padding: 10px 25px;
    text-decoration: none;
    color: white;
    background-color: #32B9FA;
    display: flex;
    justify-content: center;
    border-radius: 30px;
    margin: 0px 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.dl1:hover{
    transform: scale(1.1);
}

.content{
    display: flex;
    justify-content: center;
}
.cv{
    width: 30%;
    display: flex;
    justify-content: center;
}
.center_cv{
    display: flex;
    align-items: center;
    justify-content: center;
}

.bonjour{
    display: flex;
    justify-content: center;
    height: 150px;
    align-items: center;
}

.bonjour h1{
    font-size: 50px;
    color: #32B9FA;
    align-items: center;

}


.parcours h1 {
    text-align: center;
    font-size: 50px;
    margin-bottom: 80px;
    color: #32B9FA;
    padding-top: 50px;
  }
  
  .timeline {
    position: relative;
    max-width: 1000px;
    margin: auto;
    padding: 20px 0;
  }
  
  .timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #2c3e50;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .timeline-item {
    position: relative;
    width: 50%;
    padding: 40px 60px;
    box-sizing: border-box;
  }
  
  .timeline-item .content {
    padding: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    font-size: 1.2rem;
    line-height: 1.6;
  }
  
  .timeline-item .content h2 {
    margin-top: 0;
    color: #32B9FA;
    font-size: 1.8rem;
  }
  
  .timeline-item.left {
    left: 0;
    text-align: right;
  }
  
  .timeline-item.right {
    left: 50%;
    text-align: left;
  }
  
  .timeline-item::before {
    content: '';
    position: absolute;
    top: 40px;
    width: 24px;
    height: 24px;
    background-color: #fff;
    border: 6px solid #2c3e50;
    border-radius: 50%;
    z-index: 1;
  }
  
  .timeline-item.left::before {
    right: -12px;
  }
  
  .timeline-item.right::before {
    left: -12px;
  }
  
  /* Responsive */
  @media screen and (max-width: 768px) {
    .timeline::after {
      left: 20px;
    }
  
    .timeline-item {
      width: 100%;
      padding-left: 60px;
      padding-right: 25px;
    }
  
    .timeline-item.left,
    .timeline-item.right {
      left: 0;
      text-align: left;
    }
  
    .timeline-item.left::before,
    .timeline-item.right::before {
      left: 10px;
    }
  }

  .timeline-item.right .content h2 {
    margin-bottom: 20px; /* augmente l'espace sous la date */
  }
.texte {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    width: 1000px;
    margin: 0 auto; 
    text-align: center;
}

.titre_loisir{
    display: flex;
    justify-content: center;
    height: 250px;
    align-items: center;
}

.titre_loisir h1{
    font-size: 50px;
    color: #32B9FA;
    align-items: center;

}

.boite {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* important pour aligner le haut des blocs */
  flex-wrap: wrap; /* pour que ça s’adapte si l’espace est limité */
  gap: 40px; /* espace entre les blocs */
  padding: 20px;
}

.moto {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px; /* même largeur que l’image */
  margin: 0px 90px;
}

.image {
    width: 300px; 
    height: 300px; 
    overflow: hidden; 
    border-radius: 50%;
    margin: 30px 0px;
}

.texte_b {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
  padding: 10px 20px;
  max-width: 300px;
  color: #333;
  background-color: #f8f8f8;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 20px 50px;
  color: #333;
}

.foot, .contact, .copyright {
  display: flex;
  justify-content: center;
  font-size: 18px;
  margin: 10px 0;
  text-align: center;
}

.contact a {
  color: #007BFF;
  text-decoration: none;
  margin: 0 5px;
}

.contact a:hover {
  text-decoration: underline;
}

.stage1{
    padding: 50px 15%;
}

.stage1 h1{
    font-size: 50px;
    color: black;
    display: flex;
    justify-content: center;
    padding: 50px 0px;
    color: rgba(29, 25, 25, 0.952);

}

.presentation,.missions,.docu{
    padding: 50px 25px;
    border-radius: 20px;
    border: solid;
    border-color: #32b7fa36;
    border-radius: 50px;
    padding-bottom: 130px;
    margin: 20px 0px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.presentation h2,.missions h2,.docu h2{
    padding: 50px 150px;
    color: #32B9FA;
    font-size: 40px;
}

.bloc{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.bloc img{
    width: 25%;
    height: 25%;
    border-radius: 15px;
}

.bloc p{
    width: 50%;
    font-size: 25px;
    color: rgba(29, 25, 25, 0.952);
}

.container {
    background-color: white;
    padding: 30px;
    margin: 20px 0px;
    font-size: 25px;
    color: rgba(29, 25, 25, 0.952);
  }

  .container ol {
    padding-left: 60px;
    margin: 10px 0px;
  }

  .container li {
    margin-bottom: 20px;
  }

  .container li b {
    display: block;
    margin-bottom: 5px;
  }

  .container ul {
    margin-top: 5px;
    margin-bottom: 10px;
    padding-left: 20px;
    list-style-type: disc;
  }

  .container ul li {
    margin-bottom: 5px;
  }

.pdf{
    display: flex;
    justify-content: center;
}

.docu a{
    font-size: 25px;
    padding: 10px 25px;
    text-decoration: none;
    color: white;
    background-color: #32B9FA;
    display: flex;
    justify-content: center;
    border-radius: 30px;
    margin: 0px 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.docu a:hover{
    transform: scale(1.1);
}

.section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
    border-radius: 20px;
    border: solid;
    border-color: #32b7fa36;
    border-radius: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.section h2 {
    color: #32B9FA;
    padding-left: 10px;
    margin-bottom: 20px;
    font-size: 30px;
}

.skills-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skill {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 15px;
    border-radius: 8px;
}

.section a{
    font-size: 25px;
    padding: 10px 25px;
    text-decoration: none;
    color: white;
    background-color: #32B9FA;
    display: flex;
    justify-content: center;
    border-radius: 30px;
    margin: 0px 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.section a:hover{
    transform: scale(1.1);
}




  .section2 {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
  }

  .topic {
    background: white;
    border-radius: 20px;
    border: solid;
    border-color: #32b7fa36;
    border-radius: 50px;
    margin-bottom: 2rem;
    padding: 2rem;
    box-shadow: 0 0px 10px rgba(0,0,0,0.1);
    font-size: 20px;
  }
  .topic h2 {
    font-size: 30px;
    color: #32B9FA;
    margin-top: 0;
  }

  .topic p {
    margin-bottom: 1rem;
  }

  .topic ul {
    padding-left: 1.5rem;
  }

  .topic li {
    margin-bottom: 0.5rem;
  }

 .topic a {
    color: #32B9FA;
    text-decoration: none;
  }

 .topic a:hover {
    text-decoration: underline;
  }



  @media (max-width: 600px) {
    .section2,.veille {
      padding: 1rem;
    }
  }

/* ... ton CSS initial ... */

/* Responsive général pour tablettes */
@media screen and (max-width: 1024px) {
    .nom {
      font-size: 30px;
    }
  
    header nav a {
      font-size: 16px;
      margin: 0 10px;
    }
  
    .dl1 {
      font-size: 18px;
      padding: 8px 20px;
    }
  
    .bonjour h1,
    .titre_loisir h1,
    .parcours h1,
    .stage1 h1 {
      font-size: 40px;
      text-align: center;
    }
  
    .texte {
      font-size: 20px;
      width: 90%;
    }
  
    .bloc {
      flex-direction: column;
      align-items: center;
    }
  
    .bloc img {
      width: 60%;
      margin-bottom: 20px;
    }
  
    .bloc p {
      width: 90%;
      text-align: center;
    }
  
    .moto {
      width: 40%;
      margin: 20px;
    }
  }
  
  /* Responsive mobile */
  @media screen and (max-width: 768px) {
    header {
      flex-direction: column;
      padding: 20px 10px;
      text-align: center;
    }
  
    header nav {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 10px;
    }
  
    .content, .center_cv {
      flex-direction: column;
    }
  
    .cv {
      width: 80%;
      margin: 20px 0;
    }
  
    .dl1 {
      font-size: 16px;
      padding: 8px 15px;
      margin: 10px 0;
    }
  
    .texte {
      font-size: 18px;
      width: 95%;
      flex-direction: column;
    }
  
    .boite {
      flex-direction: column;
    }
  
    .moto {
      width: 80%;
      margin: 30px 0;
    }
  
    .image {
      width: 200px;
      height: 200px;
    }
  
    .footer {
      padding: 100px 10px 30px 10px;
    }
  
    .foot, .copyright {
      font-size: 16px;
      text-align: center;
    }
  
    .presentation h2,
    .missions h2,
    .docu h2 {
      padding: 20px;
      font-size: 30px;
      text-align: center;
    }
  
    .container {
      font-size: 18px;
    }
  
    .container ol {
      padding-left: 30px;
    }
  
    .docu a {
      font-size: 20px;
      padding: 8px 20px;
    }
  
    .stage1 {
      padding: 30px 5%;
    }
  }
  