
/******************************************** navbar *******************************/
#profil,
#experiences,
#formations,
#competences,
#portfolio,
#contact {
  scroll-margin-top: 80px; /* ajuste à la hauteur réelle de ta navbar */
}
.et-hero-tabs-container {
    display: flex;
    flex-direction: row;
    position: absolute;
    bottom: 0;
    width: 100vw;
    height: 70px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10;
    transition: height 0.5s;
}
.et-hero-tabs-container--top {
    position: fixed;
    top: 0;
    background-color: #0a192f;
}
.et-hero-tab {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    color: #9CDCFE;
    letter-spacing: 0.1rem;
    font-size: 0.9rem;
    transition: all 0.5s ease;
   
}
.et-hero-tab:hover {
    color: #C586C0;
    background-color: rgba(0, 0, 0, 0.7);
    transition: all 0.5s ease;
}
.et-hero-tab-slider {
    position: absolute;
    bottom: 0;
    width: 0;
    height: 6px;
    background: #9CDCFE;
    transition: left 0.3s ease;
}
.et-hero-tab i {
    margin-right: 8px;
  }
  
  .et-hero-tab span {
    vertical-align: middle;
  }

/******************************* photo de profil et logo et nom ***************************/
/* .et-hero-tabs-container .profil-tab{
    position: absolute;
    width: 250px;
    top: -250px;
    transition: all 0.5s;
    opacity: 0.8;
}  */
.et-hero-tabs-container .logo-tab{
    position: absolute;
    width: 8rem;
    top: 100px;
    border-radius: 50%;
}
/* .et-hero-tabs-container .name{
    font-size: 1.4rem;
    background: linear-gradient(45deg, rgb(58, 120, 142) 0%, #ffffff 51%, rgb(58, 120, 142) 100%);
    -webkit-background-clip: text;  Nécéssaire pour appliquer le dégradé 
    -webkit-text-fill-color: transparent;  Rend le texte transparent pour voir le fond 
    position: absolute;
    top: 215px;
    left: 28px;
} */

/************************************************** main ******************************************/

.et-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: #0a192f;
    color: #ffffff;
    text-align: center;
    padding: 0 8em;
}
 .et-slide h1 {
    font-family: "Roboto", serif;
    font-size: 2rem;
    margin: 1.7em 0;
    letter-spacing: 0.5rem;
}
.et-slide h3{
    font-size: 1.2rem;
    text-align: justify;
    letter-spacing: 0.1rem;
    line-height: 1.7rem;
    opacity: 0.7;
} 

/****************************************** fixed background **************************************/
.fixed-background{
    height: 10rem;
    width: 100vw;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
}
.fixed-background::before {
    content: ' ';
    display: block;
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    background-color: #0a192f;
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: cover;
  }
/******************************************* profil *************************************************/
.et-slide#profil .fixed-background{
    margin-top: 2rem;
}
.et-slide#profil h3{
    font-family: "Roboto", serif;
    font-weight: 500;
}
.et-slide#profil h3 span{
    color: #FFEB3B;
}
.et-slide h2{
    letter-spacing: 0.3rem;
    margin: 2em 0;
    opacity: 0.7;
}

/******************************************** color ***************************************************/
.parenthese{
    color: #FFEB3B;
}
.point-virgule{
    color: white;
}
.chevron{
    color: #808080;
    font-size: larger;
}
.atribute{
    color: #9CDCFE;
}
.value{
    color: #c16137;
}

.et-slide#competences .frontend h5, .et-slide#competences .backend h5, .et-slide#competences .outils h5{
    color: #43A047;
}
/* animation */
.et-slide h1{
    opacity: 0;
    transform: scale(5);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .et-slide h1.visible{
    opacity: 1;
    transform: scale(1);
  }
  .et-slide#profil h3{
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1s ease, transform 1s ease;
  }
  .et-slide#profil h3.visible{
    opacity: 0.7;
    transform: translateY(0);
  }

@media (max-width: 991px) {
    .et-slide{
        padding: 0 1.5rem;
    }
    .et-hero-tab:hover {
        color: #9CDCFE;
        background-color: rgba(0, 0, 0, 0);
    }
    .et-hero-tabs-container .profil-tab{
        width: 200px;
        top: -200px;
    }
    .et-hero-tabs-container .logo-tab{
        width: 6.5rem;
    }
    .et-hero-tabs-container .name{
        font-size: 1.2rem;
        top: 190px;
        left: 21px;
        }
    .et-slide h1 {
        font-size: 1.5rem;
        letter-spacing: 0.3rem;
        }
        .et-slide h3{
            font-size: 1rem;
            letter-spacing: 0rem;
            line-height: 1.5rem;
        } 
        .et-slide h2{
            font-size: 1.2rem;
            letter-spacing: 0.1rem;
        }  
        /* navbar */
        .et-hero-tab {
            font-size: 0.8rem;
            letter-spacing: 0rem;
       }
      
      
}
@media (max-width: 767px){
   
    .et-hero-tabs-container .profil-tab{
        width: 150px;
        top: -150px;
    }
    .et-hero-tabs-container .logo-tab{
        width: 4rem;
        top: 4.1rem;
    }
    .et-hero-tabs-container .name{
        font-size: 0.7rem;
        top: 125px;
        left: 12px;
        }
    .et-hero-tab i {
      font-size: 1.1rem;
      margin-right: 0; /* Pas d'espacement (texte masqué) */
    }
    .et-hero-tab span {
      display: none; /* Masquer le texte */
    }
}