body{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: rgb(227, 232, 139) ;
}



.lang-select-wrapper{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;   
}

.lang-label {
    white-space: nowrap;
  }
  
li{
    list-style: none;
    width: 10%;
}

a{
    text-decoration: none;
    color: inherit;
}

.header-container{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 30px;
}

.burger-menu{

    display: none;
    width: 30px;
    height: 25px;
    position: absolute;
    right: 20px;
    top: 60%;
    transform: translateY(-50%);
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
}

.main-block {
    width: 1024px;
    background-color: white;
    height: auto;
    border-radius: 20px;
    margin: 0 auto;
    overflow: hidden;
}

.logo{
    width: 30%;
    height: auto;
    align-items: center;
}


.nav-links {
    display: flex;
    justify-content: space-between; /* espace entre les éléments */
    align-items: center;
    gap: 30px; /* espace entre chaque lien */
    padding: 0 40px;
    height: 100px;
    font-size: 20px;
    color: #190f33;
    background-color: transparent;
  }
  
  .nav-links a {
    color: #190f33;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
  }
  
  .nav-links a:hover {
    color: #6d940d;
  }
  


.main-image {
    width: 1024px;
    height: 600px;
    object-fit: cover;
}

/* ABOUT */

.section-white{
    background-color: white;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    margin-left: 25%;
    margin-top: 10%;
}

.profile-pic {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 5px solid rgb(133, 97, 12);
}

.name {
    font-size: 38px;
    font-weight: bold;
    color: #190f33;
    margin-bottom: 50px;
}

.city {
    font-size: 30px;
    font-style: italic;
    color: #190f33;
}

p{
    line-height: 30px;
}

.p-justify{
    text-align: justify;
    font-size: 20px;
    padding: 2%;
}

.download-cv {
    display: inline-block;
    margin-top: 40px;
    margin-right: 40%;
    padding: 14px 28px;
    background: linear-gradient(135deg, #a0db7b 0%, #81bf55 100%);
    color: rgb(255, 255, 255);
    font-size: 20px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    
}

#cv-button{
    margin-left: 33%;
}

/* EDUCATION */

.section-beige{
    background-color: rgb(246, 235, 221);
    text-align: center;
    padding-bottom: 10%;
    margin-top: 8%;
    height: 500px;
}
#p-tech-size{
    font-size: 30px;
    margin-bottom: 10%;
}

h2 {
    font-size: 40px;
    font-weight: bold;
    color: #190f33;
    margin-bottom: 40px;
    padding: 30px;
    
}

.logos-row {
    display: flex;
    gap: 30px;
    margin: 40px 0;
    padding: 7px;
    
}

.logos-row img {
    height: 100px;
    border-radius: 20px;
}

/* PROJETS */

.project {
    display: flex;
    align-items: flex-start;
    margin-bottom: 60px;
    padding: 2%;
    
    
}
#p-project-size{
    font-size: 20px;
    margin-bottom: 10%;
    padding: 3%;
}

.project div{
    width: 100%;
}

.project img {
    width:600px;
    margin-right: 60px;
}

.project ul li {
    line-height: 30px;
    list-style-type: disc;
    margin-left: 20px;
    width: 100%;
}

.tournesol {
    text-decoration: underline;
    cursor: pointer;
    color: #190f33;
}

h3 {
    font-size: 26px;
    font-weight: bold;
    color: #190f33;
    margin-bottom: 30px;
    margin-top: 0;
}

h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    
}

/* CONTACT */

.contact-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 10%;
}

#titre-contact{
    padding-top: 10%;
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-item img {
    height: 30px;
    margin-right: 20px;
}

/* FOOTER */

footer {
    height: 100px;
    text-align: center;
    padding-top: 100px;
}

/* 
-------- responsive mobile -------- */

@media (max-width: 767px) {
    header h1 {
    font-size: 32px;
    line-height: 80px;
    }
   
    .main-block {
    width: 95%;
    border-radius: 10px;
    }
   
    .main-image {
    width: 100%;
    height: auto;
    }
   
    .burger-menu {
    display: block;
    margin-top: 5%;
    width: 30px;
    height: 20px;
    
}
    .burger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: rgb(0, 0, 0);
    margin: 4px 0;
    transition: all 0.3s ease;
  }

   
    .nav-links {
    display: none;
    flex-direction: column;
    background-color: white;
    width: 80%;
    height: auto;
    position: absolute;
    top: 50px;
    left: 0;
    z-index: 1000;
    border-top: 1px solid #ccc;
    gap: 0;
    padding: 50px 0; 
    }


    .logo{
        display: none;
    }
   

    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
      }
      
      .burger-menu.active span:nth-child(2) {
        opacity: 0;
      }
      
      .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
      }
      
      .burger-menu span {
        transition: all 0.3s ease;
      }
      


    .nav-links.active {
    display: flex;
    width: 100%;
    }
   
    .nav-links a {
    padding: 10px 20px ;
    border-bottom: 1px solid #ddd;
    display: block;
    text-align: left;
    font-size: 20px;
    }
   
    .section {
    padding: 40px 20px;
    }

    /* ABOUT */
   
    .about-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
    margin-right: 25%;
    }
   
    .profile-pic {
    width: 180px;
    height: 180px;
    }
   
    .name {
    font-size: 28px;
    }
   
    .city {
    font-size: 22px;
    }
   
    h2 {
    font-size: 26px;
    margin-bottom: 40px;
    }
   
    h3 {
    font-size: 22px;
    margin-bottom: 30px;
    }
   
    .logos-row {
    flex-direction: column;
    align-items: center;
    }
   
    .logos-row img {
    height: 80px;
    }
   
    .project {
    flex-direction: column;
    align-items: center;
    }
   
    .project img {
    width: 100%;
    margin: 0 0 30px 0;
    }
   
    .download-cv {
    font-size: 16px;
    padding: 12px 24px;
    width: 275px;
    }

    #cv-button{
        margin-left: 4%;
    }
   

    /* FORMATION */


    #education{
        height: 1000px;
    }

    /* CONTACT */
    .contact-row {
    padding: 0 20px;
    }
   
    .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    }
   
    .contact-item img {
    margin: 0 auto 10px auto;
    display: block;
    }
   
    footer {
    padding-top: 40px;
    height: auto;
    }
}
   
   /* responsive tablette */
   
   @media (min-width: 768px) and (max-width: 1024px) {
    /* On cache le burger */
    .burger-menu {
      display: none;
    }
  
    /* On affiche la nav inline (horizontalement) */
    .nav-links {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      padding: 20px 40px;
      background-color: transparent;
      position: static;
      flex-wrap: wrap;
    }
  
    .nav-links a {
      display: inline-block;
      padding: 10px 15px;
      font-size: 18px;
      color: #190f33;
      text-decoration: none;
      transition: color 0.2s ease;
    }
  
    .nav-links a:hover {
      color: #6d940d;
    }
  
    .logo {
      width: 80px;
      height: auto;
      margin-right: auto;
    }
  
    .lang-select-wrapper {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-left: 20px;
    }
  
    .lang-select {
      font-size: 16px;
      padding: 4px 8px;
    }
  
    .main-block {
      width: 95%;
      max-width: 1024px;
      margin: auto;
      border-radius: 16px;
    }
  
    .main-image {
      width: 100%;
      height: auto;
    }
  
    .about-container {
      margin-left: 0;
      flex-direction: column;
      text-align: center;
    }
  
    .project {
      flex-direction: column;
      align-items: center;
      padding: 5%;
    }
  
    .project img {
      width: 100%;
      margin-bottom: 30px;
    }
  
    .section-beige {
      height: auto;
      padding: 60px 20px;
    }
  
    .logos-row {
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
    }
  
    .logos-row img {
      height: 90px;
    }
  
    .contact-row {
      flex-direction: column;
      gap: 30px;
      padding: 20px;
    }
  
    .download-cv {
      margin-right: 0;
      font-size: 18px;
    }
  }
  