/* 
Theme Name: Portfolio Sylla
Theme URI: https://exemple.com
Author: Sylla
Author URI: https://exemple.com
Description: Portfolio développeur WordPress & front-end
Version: 1.0
Text Domain: portfolio-sylla
*/
#wpadminbar {
   width: 1971px;
    max-width: 1879px;
    overflow-x: hidden;
}

html body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    background-color: #F5F6FA;
    color: #111827;
     overflow-x: hidden !important;
}

/* * {
    outline: 1px solid red;
} */


.my-logo {
    display: flex;
    width: 1917px;
    max-width: 1917px;
    flex-direction: row;
    margin: 10px 0 0 -46px;
}


.my-logo h1{
padding-left: 10%;
width: 100%;

}

.menu-menu-principal-container {
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    padding-right: 2%;
}

#menu-menu-principal {
    display: flex;
}
#menu-menu-principal a{
    margin: 0 30px;
    color: black;
    white-space: nowrap;

}

/* BASE */
.header-menu-class li a {
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
}

/* VISITÉ */
.header-menu-class li a:visited {
  color: purple;
}

/* HOVER */
.header-menu-class li a:hover {
  color: blue;
}





ul {
    list-style: none;
}

a {
        text-decoration: none;
        text-transform: uppercase;
}

.my-logo h1 a {
color: #E00000 !important;
}




a:hover {
    text-decoration: none;
    text-transform: none;
}
 .container {
    max-width: 80% !important;
    width: 100% !important;
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
}



section {
    padding: 80px 0;
}

/* ******************HEADER********************** */
header ul {
    box-sizing: border-box;
    display: flex;
    gap: 6vh;
        margin-right: 10vh;

}

/* Hero */

/* HERO FULLSCREEN */
.hero-section {
    text-align: center;
    position: relative;
    width: auto;
    max-width: 1910px;
    height: 150vh; /* toute la hauteur de l'écran */
    max-height: 200vh;
    background-image: url('./images/hero-bg.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* ****************************************ANIMATION FLOATE************************************************* */

.hero-content {
    animation: floatHero 4s ease-in-out infinite;
}

@keyframes floatHero {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}




.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: 6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}




/* Superbe effet assombrissant */
.hero-overlay {
    width: 100%;
    max-width: 1910px;
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45); /* n'hésite pas à augmenter si le texte doit ressortir */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Contenu centré */

 .hero-content {
  text-align: center;
  color: #ffffff;              /* mets la couleur voulue ici */
  width: 100%;
  max-width: 900px;            /* largeur max, mais s’adapte à l’écran */
  margin-left: auto;
  margin-right: auto;
  padding: 0 5%;               /* un peu de marge horizontale */
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero-content h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #A7C7FF; /* légèrement bleu pour le style */
}

.hero-content p {
    width: 830px;
    max-width: 900px;
    max-height: 100vh;
    height: 28vh;
    font-size: 1.7rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: left;
}

/* Boutons */
.btn  {
    display: flex;
    justify-content: center;
    padding: 0.8rem 1.7rem;
    border-radius: 999px;
    font-weight: 600;
    border: 2px solid transparent;
    display: inline-block;
    cursor: pointer;
    margin: 0 10px;
}

.btn-primary {
    background: #2563EB;
    color: white;
}

.btn-outline {
    border-color: #FFFFFF;
    color: black;
    background: transparent;
}

.btn:hover {
    transform: scale(1.05);
    transition: 0.25s ease;
}



.btn-primary {
    background-color: #2563EB;
    color: #ffffff;
    margin-top: 5vh;
    }
    
    .btn-outline {
        border-color: #2563EB;
        color: #FFFFFF;
        background-color: blue;
        }
        
        /* Section title */
        .section-title  {
            display: flex;
            justify-content: center;
            font-size: 2rem;
            margin-bottom: 8rem;
            }
            
            
            
             /* Skills pills */

.skills-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.skill-badge {
    width: 165px;
    height: 165px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    transition: transform 0.3s ease;
    text-align: center;
}

.skill-badge img {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
    object-fit: contain;
}

.skill-badge span {
    font-size: 0.85rem;
    font-weight: 600;
}

.skill-badge:hover {
    transform: translateY(-6px);
}

/* ***************************PAGE COMPETENCES************************************* */
.competence-accueil {

}



.skills-section {
    padding: 100px 0;
}

.container-competence {
    margin: 20px;
}
.skill-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.skill-card img {
    width: 100%;
    max-width: 390px;
    height: 56%;
    max-height: 100vh;
    margin-bottom: 15px;
}

.skills-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.skills-section .section-title {
    text-align: center;
}
.skill-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.skill-card ul {
    display: grid;
    list-style: none;
    padding: 0;
    gap: 3vh;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.skills-content{
        display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1900px;
    margin: 10px;
}

.container-text {
        max-width: 1473px;
    width: 63%;
    text-align: center;
}


/* *******************************************PAGE A PROPOS************************************************ */

.page-template-page-apropos .container {
    max-width: 90%;
    width: 2000px ;
    margin: auto;
    padding-left: 8px;
    padding-right: 8px;
    box-sizing: border-box;
}


/* Section */
.apropos-section {
    width: 1869px;
    max-width: 1900px;
  padding: 4rem 0;
  background: #f7f8fa;
}

/* Image */
.apropos-header {
  text-align: center;
  margin-bottom: 3rem;
  margin-left: 50px;
}

.lazyloaded {
    opacity: 1;
    width: auto;
    max-width: 1700px ;
    object-fit: cover;
    transition: opacity 400ms;
    transition-delay: 0ms;
}

.wp-block-list {
    margin-left: 0;
}

/* Card principale */
.apropos-card {
  max-width: 110vh;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 2vh;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* Texte WordPress */
.apropos-card-content {
  text-align: left;
  line-height: 1.8;
   margin-left: 4vh;
}

/* Titres */
.apropos-card-content h2 {
  font-size: 1.7rem;
  margin: 2.5rem 0 1rem;
}

.apropos-card-content h3 {
  font-size: 1.3rem;
  margin: 2rem 0 0.8rem;
}

/* Paragraphes */
.apropos-card-content p {
  margin-bottom: 1.1rem;
}

/* Listes */
.apropos-card-content ul {
  margin: 1rem 0 1.5rem 1.2rem;
 margin-left: -36px;

}

.apropos-card-content li {
  margin: 0.45rem 0;
}

/* Séparateurs */
.apropos-card-content hr {
  border: 0;
  border-top: 1px solid rgba(0,0,0,0.12);
  margin: 2.5rem 0;
}


/* Infos fixes en bas de card (propre et aligné) */
.apropos-card-meta {
  margin-top: 2.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(0,0,0,0.1);

  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

.apropos-card-meta p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  line-height: 1.4;
  margin-left: 28%;
  white-space: nowrap;
}

.apropos-card-meta .meta-icon {
  font-size: 1.1rem;
  line-height: 1;
}



.apropos-infos {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    margin-top: 20px;
}

.apropos-infos p {
    margin: 6px 0;
}

/********* BLOCS **********/

.apropos-block {
    padding: 80px 0;
}

.apropos-block.alt {
    background: #F8F9FC;
}

.block-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.block-text {
    max-width: 900px;
    margin: 0 auto 20px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    text-align: center;
}

/********* METHOD **********/

.method-list {
        display: flex;
    align-items: center;
    justify-content: center;
    max-width: 190vh;
    margin: 0 auto;
    list-style: none;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}
.method-list li{
    width: 100%;
}

/********* TOOLS **********/

.tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.tool-item {
    background: #2563EB;
    color: #fff;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 500;
}

/********* SOFT SKILLS **********/

.skills-soft {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.skills-soft span {
    background: #fff;
    padding: 10px 20px;
    border-radius: 999px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    font-weight: 500;
}

/********* TIMELINE **********/

.timeline {
    max-width: 97vh;
    margin: 0 auto;
    list-style: none;
    line-height: 1.8;
    color: #333;
    font-size: 1.05rem;
    padding-left: 0;
}

.timeline li {
    margin-bottom: 8px;
    text-align: center;
}





/* ************************PARTIE CONTACT********************************************** */

.contact-intro  {
    display: block;
    align-items: center;
    justify-content: center;
    margin: auto;
    width: 70vh;
    color: #444;
    text-align: center;
     background-color: #ffffff;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}


.contact-infos {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.contact-infos li {
    margin-bottom: 8px;
}

/* GAUCHE : IMAGE + TEXTE */
.contact-left {
    flex: 1 1 400px;
}

.contact-img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-intro {
    color: #444;
}




.contact-title {
    text-align: center;
}

 .contact-container {
    width: 100%;
    max-width: 2000px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
 }

 

input {
    height: 7vh;
    border-radius: 1vh;
    height: 5vh;
}
/* LABEL */
.form-label {
    width: 100%;
    display: flex;
    margin: auto;
    font-size: 0.95rem;
    font-weight: 600;
    color: #000;
}

.contact-intro p {
    text-align: center;
    margin: 10px;
    }

.contact-infos a {
    font-size: small;
}

/* INPUT */
.form-input,
.form-textarea {
    width: 100%;
    max-width: 800px;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    border: 1px solid #D1D5DB;
    font-size: 1rem;
    margin-bottom: 15px;
    font-family: inherit;
    box-sizing: border-box;
}

/* FOCUS */
.form-input:focus,
.form-textarea:focus {
    border-color: #2563EB;
    outline: none;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* TEXTAREA */
.form-textarea {
    min-height: 130px;
    resize: vertical;
}

/* SUBMIT BUTTON */
.form-submit {
    width: 500px;
    height: 10vh;
    background-color: #2563EB;
    color: #fff;
    padding: 0.9rem 2rem;
    border: none;
    font-weight: 600;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.2s ease;
     margin-left: 88px; 

}

.form-submit:hover {
    transform: scale(1.04);
    background-color: #1e4fc6;
}


.form-consent {
    /* max-width: 500px; */
    width: 420px;
    margin-bottom: 5vh;
    margin-left: 0;
}
/* ***************************************PAGE ACCUEIL******************************************* */

#contact-form-wrapper {
    width: 100vh;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
    position: relative !important;
    background: rgba(255,255,255,1) !important;
    z-index: 9999 !important;
    padding: 20px !important;
}



#contact-form-wrapper {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.3s ease;
}

#contact-form-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Cacher le formulaire au chargement */
#contact-form-wrapper.contact-hidden {
    display: none !important;
}


/* ************************Bouton voir tous les projets******************************* */


.btn-wrapper {
    text-align: center;
    margin-top: 10vh;
    /* background-color: #444; */
}

.btn-view-all {
    display: inline-block;
    padding: 12px 24px;
    background: #2563EB;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s ease;
}


.btn-view-all:hover {
    background: linear-gradient(90deg, #4F46E5, #9333EA);
}

.projet-para {
    display: flex;
    justify-content: center;
}

.container-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.container-p {
    display: flex;
    justify-content: center;
    width: 500px;
    max-width: 500px;
}


/* *****************************************PARTIE PROJET************************************************** */


/* Projects grid */
 .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
    text-align: center;
}


.grid-accueil {
        max-width: 1800px;
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    justify-items: center;
    gap: 24px;
    margin-top: 97px;
    margin-left: 10px;
    text-align: center;
    margin: auto;
}

.accueil-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.accueil-card img {
    width: 100%;
    height: 94vh;
    margin: auto;

}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 97px;

}


.project-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.project-card h3 {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.project-card img {
    width: 100%;
    height: 94vh;
    margin: auto;
}

.project-meta {
    font-size: 0.85rem;
    color: #6B7280;
    margin-bottom: 0.75rem;
}

.project-card  .btn-outline {
    display: flex;
    justify-content: center;
    color: #000;
}

/* Footer */
.site-footer {
    padding: 30px 0;
    font-size: 0.9rem;
    background-color: gray;
    color: #FFFFFF;
    text-align: center;
}

.site-footer a {
        color: #FFFFFF;

}

.footer-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, #2563EB, transparent);
    animation: glowLine 3s infinite linear;
}

.description {
    background-color: beige;
    border-radius: 2vh;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);


}



@keyframes glowLine {
    from { background-position: 0; }
    to { background-position: 200%; }
}



/* **************************** DETAIL PROJET *************************** */ 

/* ----- MOBILE (par défaut) ----- */
.detailimg {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.detailimg img {
    width: 100%;
    height: auto;
    margin-left: 0;
}

.detail-full {
    display: none;
}

.detail-read-more {
    width: 100%;
    padding: 14px;
    background: #2563EB;
    color: #fff;
    border: none;
    border-radius: 8px;
    margin-top: 14px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
}

.seo-hidden-content {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.seo-content {
  height: 0;
  overflow: hidden;
}



/*************************** Responsive *******************************/



 

/* ----- MOBILE + TABLETTE ----- */
@media screen and (max-width: 1024px) {
    #wpadminbar {
   width: 1971px;
    max-width: 1879px;
    overflow-x: hidden;
    display: none;
}

   html, body {
    overflow-x: hidden;
    height: 100vh;
}


    .my-logo {
    width: 100%;
    max-width: 100%;
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    padding: 1rem 0;
    margin: 0 10% 0 17%;
}

  .my-logo h1 {
    font-size: 1rem;
    padding-left: 0;
    margin: 0;
    text-align: start;
    white-space: nowrap;
  }

  .logo h1 a {
    color: #E00000 !important;
    font-size: small;
}


      /* Burger */


/* Burger */
  .burger {
    width: 100%;
    max-width: 100%;
    height: 22px;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
       top: 20vh;
      right: 15vh;
     gap: 6px;
  }


  .burger span {
    width: 28px;
    height: 3px;
    background: #000;
  }

  /* État OUVERT : transformation en X */
.burger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

  /* Menu mobile */
  .header-menu-class {
    display: none !important;
    flex-direction: column;
    position: absolute;
    top: 65px;
    right: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    gap: 15px;
    z-index: 9999;
    margin-left: 5vh;

      width: 60vh;
    height: 0;          /* ← au lieu de 87vh */
    overflow: hidden;   /* ← évite que ça déborde */

  }

  .menu-menu-principal-container {
    width: 100%;
    max-width: 1024px;
  }

  .header-menu-class.active {
    display: flex !important;
    margin-top: 8vh;
     width: 100%;
     max-width: 1024px;
     height: 87vh;
     margin: 50px -20px 0px -26px;
     align-items: center;
     justify-content: center;
     background-color: #E00000;
     

  }

  #menu-menu-principal a {
   color: #FFFFFF;
   font-size: 1.5rem;
   white-space: nowrap;
    text-decoration: none;

  }

  a:visited {
  color: red; /* couleur du lien visité */
}


  .modal-close {
    position: absolute;
    top: 70px;
    right: 15px;
    background: none;
    border: none;
    font-size: 5vh;
    cursor: pointer;
}
  
.hero-section {
    position: relative;
    width: 100%;
    max-height: 790px;
    height: 729px;

}

.hero-overlay {
    width: 100%;
    height: 100%;
    max-height: 890px;

}

.hero-content h1 {
    font-size: x-large;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero-content h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #A7C7FF;
}

.hero-content p {
    width: 100%;
    max-width: 700px;
    max-height: 100vh;
    height: 28vh;
    font-size:medium;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: left;
}

/* ************************************** */

.reveal {
    display: flex;
}



.hero-buttons {
    margin: auto;
}

.btn-primary {
    margin: 2vh;
}

.btn-outline {
    margin: 2vh;
}
/* ************************************************* */

.projects-grid {
    display: block;
    text-align: center;
}

.project-card p{
    max-width: 100vh;
    text-align: center;
    margin-left: 10%;
}

.projet-para {
    display: flex;
    max-width: 100vh;
    width: 44%;
    justify-content: center;
}
.projet-accueil p {
    width: 97vh;
    margin-left: 20%;
}


.project-card {
    border-bottom: 1px solid black;
    margin-bottom: 10px;
}

.project-card img {
     width: 100%;
    height: auto;
    margin: auto;
    /* object-fit: cover;  */
}

/* *********************A propos********************** */

.apropos-header {
    width: 100%;
max-width: 1024px;
margin: auto;
}

.apropos-card {
    max-width: 1024px;
    width: 100%;
    margin: auto;
}

/* .lazyloaded {
    width: 100%;
    max-width: 900px;
} */

.section-title {
        display: flex;
        justify-content: center;
        margin: 28px;
    }

.container {
    margin-top: 0;
}


/* ******************Page competences*************************** */
.skills-cards {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    height: 100%;
    /* max-height: 800px; */
}

.skill-card {
    height: 90%;
    max-height: 800px;
}
.skill-card img {
    width: 100%;
    max-width: 250px;
    height: 100%;
    max-height: 240px;
}

.skills-icons {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
}

/* ************************Partie contact**************************** */

.contact-title {
    font-size: x-large;
    margin: 0px 0px 82px 0px;
}

.contact-section .container {
    margin-top: 50px;
}

.contact-right {
    width: 90%;
    max-width: 1024px;
}
.form-submit {
height: 10vh;
}

/* ********************************** */

.apropos-section {
    max-width: 877px;
}

.lazyloaded {
    max-width: 1024px;
    width: 100%;
    margin: 15px;
}

.grid-accueil {
    display: grid;
    max-width: 1024px;
    grid-template-columns: repeat(1, minmax(260px, 1fr));
    justify-items: center;
    gap: 24px;
    margin-top: 97px;
    margin-left: 10px;
    text-align: center;
    margin: auto;

}
.accueil-card p{
        width: 500px;
        text-align: center;
}

.accueil-para {
    width: 600px;
}

}




/* *******************MOBILE**************************** */

@media screen and (max-width: 768px) {
        #wpadminbar {
   width: 1971px;
    max-width: 1879px;
    overflow-x: hidden;
    display: none;
}

        html, body {
            overflow-x: hidden;
        }
          .my-logo {
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        padding: 1rem 0;
        margin: 0 10% 0 17%;
    }

       .burger {
       display: flex;
       max-width: 100%;
       
    }

  .nav-menu {
    position: static !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
    background: none !important;
  }

  .menu-items {
    display: flex !important;
    gap: 24px;
  }

  .menu-overlay {
    display: none !important;
  }

      .hero-section {
        position: relative;
        width: 100%;
        max-height: 850px;
        height: 850px;
    }

    .hero-title {
        font-size: 2.2rem;
    }


    .hero-content h1 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

    .hero-content h2 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #A7C7FF;
}


   .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 620px;
    max-height: 810px;
    padding: 0 20px;
    min-width: 0;
    margin-top: 0;

}

.hero-overlay {
    width: 100%;
    max-width: 768px;
    height: auto;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 620px;
    padding: 0 20px;
    text-align: center;
    min-width: 0;
}

    .hero-content p {
        width: auto;
        max-width: 900px;
        max-height: 100vh;
        height: 28vh;
        font-size: medium;
        line-height: 1.7;
        margin-bottom: 2rem;
        text-align: left;
        margin: auto;
    }

.seo-intro {
    width: 100%;
    min-width: 0;
}

.seo-intro p {
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* ******************************************* */

.projects-grid {
    width: 100%;
    max-width: 768px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
    text-align: center;
    margin-left: 0;
    margin-top: 0;
    margin: auto;
}

      .project-card {
    width: 100%;
    max-width: 768px;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    margin: 5vh;
    /* margin-left: -9%; */
    margin-top: 0;
    margin-bottom: 0;
}

 .project-card img {
        width: 100%;
        max-width: 768px;
        min-height: 0;
        box-sizing: border-box;
        text-align: center;
    }

    .project-card p{
    max-width: 100vh;
    text-align: start;
    margin-left: 10%;
}

    .project-card h3 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-top: 45px;
}



    .contact-intro {
width: 100%;
margin: auto;
 margin-left: -25px;
}

.contact-section .container {
    width: 100%;
    margin: auto;
}
    
.form-input, .form-textarea {
    width: 33vh;
    margin: auto;
}

.contact-right {
    width: 97%;
    max-width: 300px;
    margin-left: 48px;
}

.contact-container {
    margin-right: 65px;
}

.form-label {
    width: 96%;
}

.form-submit {
    width: 33vh;
    margin-left: 0;
}

section {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    padding: 30px 0;
    justify-items: center;
}
/* ************************************************ */
.section-title {
            display: flex;
        justify-content: center;
        align-items: center;
    margin-bottom: 0;
    font-size: medium;
    
}

.skills-icons {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
}

.skill-card {
    width: 320vh;
    max-width: 330px;
    margin-left: 0px;

}
.skill-card img {
    width: 100%;
        margin: 0;
        object-fit: contain;
    }


    /* *******************Page competence*********************** */
    
    .skills-section {
        display: flex;
        max-width: 768px;
        width: 100%;
        margin: 0;
        height: auto;
    }
    
    .skills-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}



    .skills-cards {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0;
        margin-bottom: 0;
        margin-top: 0;
    }

    .container-competence {
        margin: 0;
    }

.skill-card {
    max-width: 100vh;
    width: 75%;
    height: auto;
}

.skill-card img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
}

.skill-card h2 {
    margin: 0.5rem 0;
}

.skill-card ul {
    margin: 0;
    padding-left: 1.2rem;
}

/* ********************************* */

    .container-text {
        width: 90%;
        max-width: 100vh;
        margin: 3vh;
        text-align: start;
    }

.skills-content {
    margin-top: 0;

}

    /* ****************************************** */


     .apropos-container {
        flex-direction: column;
        text-align: center;
    }

    .apropos-img {
        max-width: 280px;
    }

    .apropos-right {
        text-align: center;
    }

    .tools-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    .skills-soft {
    display: grid;
    grid-template-columns: repeat(1, 1fr);

}
.method-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    margin-left: -37px;
}


.apropos-block alt{
width: 50%;
}

.apropos-block {
    padding: 0px 0;
}
.apropos-section {
    padding: 20px 0;
    max-width: 768px;
    width: auto;
    min-width: 0;
}

  .container img {
        width: 100%;
        max-width: 320px;
        min-height: 0;
        box-sizing: border-box;
        text-align: center;
    }


/* **************************************** */

.detail-preview {
        display: none;
    }

    .detail-full {
        display: block !important;
    }

    .detail-read-more {
        display: none;
    }

  
/* ************************************************** */
    .detailimg {
        width: auto;
        max-width: 100%;
        height: auto;
        margin-left: 0vh;
        margin-bottom: 20px;
    }

    .detailimg img {
        width: 100%;
        height: auto;
        margin-left: 0;
    }


      .apropos-card-meta {
    grid-template-columns: repeat(1, 1fr);
    margin-left: -137px;

  }
  .apropos-card {
  max-width: 110vh;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 2vh;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.apropos-card-meta .meta-icon {
  font-size: 0.8rem;
  line-height: 1;
}

/* ********************************contact accueil************************************************* */
 
    .accueil-para {
    width: 100%;
    max-width: 300px;
}

.form-input, .form-textarea {
    width: 100%; 
    max-width: 768px;

}

    .form-submit {
        width: 100%;
        max-width: 350px;
        border-radius: 0; 
     }


     /* ***************************** */
         .apropos-header {
            margin: 0;
            width: auto;
            max-width: 746px;
         }

         .apropos-header img {
            width: auto;
        max-width: 300px;
        min-height: 0;
        box-sizing: border-box;
        text-align: center;
         }

         /* ************************************************* */
         .page-template-page-apropos .container {
         
            max-width: 500px;
        }

        /* ******************************** */
    .containercontact {
        max-width: 100vh;
        width: 80%;
     background-color: #ffffff;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    }


        .projet-para {
            margin: 1vh;
    display: flex;
    justify-content: center;
}


    .container-p {
               margin: 1vh;
    display: flex;
    justify-content: center;
   
}

.form-consent {
    margin: 0;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
}


/* ************************projets********************************* */
    .grid-accueil {
        display: grid;
        justify-items: center;
        max-width: 305px;
       margin: 10px;
       margin-left: 34px;

    }

    .accueil-card img{
        max-width: 300px;
        width: 100%;
        
    }

    .accueil-card {
    width: 100%;
    max-width: 460px;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    margin: 5vh;
    margin-left: 12px;
    }

        .projet-accueil {
            max-width: 768px;
        }
    
   

        .accueil-card h3{
            text-align: center;
        }
        .projet-accueil p {
        width: 85%;
        max-width: 300px;
        margin-left: 10%;
    }

        .wp-block-list {
    margin-left: 0;
    text-align: left;
}
/* ************************************** */

.container-projets {
    max-width: 300px;
}
    .container {
        /* margin-top: 0; */
        margin: 0px 0px 0 0px;
    }

}











