:root {
    --couleur-primaire: #001c8a;  /* Bleu */
    --couleur-secondaire: #e0e2ed; /* Vert */
    --couleur-texte: #333;         /* Gris foncé */
  }
  

html,body{
    min-width: 100vw;
    min-height: 100vh;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    overflow-x:hidden;
    padding-left: 0px;
    background-color:  var(--couleur-secondaire);

}

h1,h2,h3,p,a,li{
    margin: 0;
    padding: 0;
    text-decoration: none;
}

header{
    width: 100vw;
    height: 100vh;
    background-color:  var(--couleur-secondaire);
    display: flex;
}

#number{
    display: none;
    margin-left: 5px;
    margin-right: 5px;
    cursor: pointer;

}

#phone{
    cursor: pointer;
}

.left{
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.left h1.h1_princ{
    transform: translate(-40%) rotate(-90deg);
    font-size: 140px;
    color:  var(--couleur-primaire);
    position: relative;
    animation: titrePrinceArrive 1s ease-in-out;
}

@keyframes titrePrinceArrive {
    0%{opacity: 0%;top: 50px;}
    100%{top: 0px;opacity: 100%;}
}

.left div.square{
    width: 258px;
    height: 258px;
    background: #fff;
    position: absolute;
    top: 15%;
    left: 15%;
    z-index: 5;
    animation: squareArrive 1s ease-in-out;

}
@keyframes squareArrive {
    0%{opacity: 0%; width: 0px;height: 0px;}
    100%{opacity: 100%;width: 258px;height: 258px;}
}


.left h1.h1_mirror{
    transform: translate(-13%,-50%) rotate(-90deg);
    font-size: 100px;
    position: relative;
    color: transparent;
    top: -100px;
    -webkit-text-stroke: 1px  var(--couleur-primaire);
    z-index: 55;
    animation: titreMirrorArrive 1s ease-in-out;

}
@keyframes titreMirrorArrive {
    0%{opacity: 0%;top: -200px;}
    100%{top: -100px;opacity: 100%;}
}
.right{
    width: 30%;
    height: 100%;
}

.logoscroll{
    position: absolute;
    display: none;
}

.left p#Name{
    color:  var(--couleur-primaire);
    display: block;
    position: absolute;
    left: 24%;
    top: 25%;
    z-index: 6;
    font-size: 60px;
    animation: NameArrive 1s ease-in-out;

}

@keyframes NameArrive {
    0%{opacity: 0%;left: 20%;}
    100%{left: 24%;opacity: 100%;}
}

.left p#Name::before{
    display: block;
    content: "";
    width: 80px;
    height: 2px;
    background-color:  var(--couleur-primaire);
    position: relative;
    top: 35px;
    right: 90px;
}

.right{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.right  .citation{
    width: 780px;
    position: relative;
    top: -15%;
    font-size: 35px;
}

.right  .citation span.ligne2{
    display: inline-block;
    margin-left: 150px;
}

.right  .citation span.ligne2 span{
    margin-left: 15px;
    color:  var(--couleur-primaire);
}

.right img.photome{
    position: relative;
    top: -5%;
    width: 210px;
    border-radius: 20px;
    box-shadow: 3px 5px 8px rgba(0, 0, 0, 0.33);
    animation: photomeArrive .5s ease-in-out;

}

@keyframes photomeArrive {
    0%{opacity: 0%;top:-20%;}
    100%{opacity: 100%;top:-5%;}
}

.right p{
    position: relative;
    top: 5%;
    width: 800px;
    font-size: 18px;
    animation: descrArrive 1s ease-in-out;

}

@keyframes descrArrive {
    0%{opacity: 0%;top:-0%;}
    100%{opacity: 100%;top:5%;}
}

.contact{
    position: absolute;
    top: 92%;
    right: 30px;
}

.contact button.phone{
    background-color: transparent;
    outline: none;
    border: none;
}

.contact a.linkdin{
    position: relative;
    top: 5px;
}

main{
    width: 100vw;
    background-color:  var(--couleur-secondaire);

}
.carousel {
    width: 100vw;
    height: 20vw;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    animation: slide 20s linear infinite;
}

/* Chaque item prendra une fraction de l'écran en fonction du nombre d'éléments visibles */
.carousel .item {
    flex: 0 0 20%; /* Ajustez cette valeur pour montrer plus ou moins d'items */
    box-sizing: border-box;
    padding: 10px;
}

.carousel .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Animation pour faire défiler le carousel */
@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Pour assurer la boucle, dupliquez le contenu */
.carousel-track::after {
    content: '';
    display: flex;
    flex: 1;
}

.container{
    margin-top: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.itemContainer{
    width: 20%;
    height: AUTO;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    margin: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.itemContainer p{
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 20px;
}
.itemContainer a{
    display: inline-block;
    color: black;
    border: 1px solid black;
    padding: 5px 50px 5px 50px;
    margin-bottom: 15px;
}

.itemContainer a:hover{
    padding: 5px 45px 5px 45px;
    margin-bottom: 15px;
    background-color: rgba(0, 0, 0, 0.034);
}





@keyframes scroll_2 {
    0%   { transform: translateY(0); opacity: 1; }
    25%  { opacity: 1; }
    75%  { transform: translateY(.75em); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
  }
  
  
  .scroll-icon__dot {
    display: block;
    position: absolute;
    left: 58%;
    background: #000000;
    height: .3em;
    width: .3em;
    top: .6em;
    margin-left: -.25em;
    border-radius: 50%;
    transform-origin: top center;
    backface-visibility: hidden;
    animation: scroll_2 2s ease-out infinite;
  }
  .scroll-icon {
    display: block;
    position: absolute;
    height: 2em;
    width: 1em;
    border: .1em solid #000000;
    border-radius: 1em;
    top: 92%;
    left: 50%;
  }

  @media screen and (max-width: 1510px) {
    .left div.square{
        width: 158px;
        height: 158px;
        top: 15%;
        left: 15%;
    }

    .left p#Name{
        left: 24%;
        top: 22%;
        z-index: 6;
        font-size: 30px;
    }

    
    .right  .citation{
        width: 500px;
        position: relative;
        top: -15%;
        font-size: 20px;
    }

    .right  .citation span.ligne2{
        display: inline-block;
        margin-left: 90px;
    }
  }


  @media screen and (max-width: 1180px) {
    .right p {
        width: 500px;
    }

    .itemContainer p{
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 15px;
    }
    .itemContainer a{
        display: inline-block;
        color: black;
        border: 1px solid black;
        padding: 5px 50px 5px 50px;
        margin-bottom: 10px;
        font-size: 15px;

    }
    

  }


  @media screen and (max-width: 880px) {
    header{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .left h1.h1_princ{
        transform: translate(0) rotate(0deg);
        font-size: 100px;
        position:static ;
        display: inline-block;
        
    }
    .left h1.h1_mirror{
        display: none;
    
    }

    .left {
        width: auto;
         height: auto; 
        display: block;
        align-items: center;
    }

    .left div.square{
        display: none;
    }

    .left p#Name{
        position: static;
        display: block;
        align-self: center;
        transform: translate(45%);
    }

    .container{
        flex-direction: column;
        justify-content: center;
    align-items: center;
    }
    .itemContainer{
        width: 80%;
    }
  }



  @media screen and (max-width: 530px) {
    header{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        min-height: 100vh;
    }

    .right img.photome{
        width: 150px;

        margin: 10px 0px;
    }

    .right p {
        width: 300px;
        text-align: justify;
    }

    .left h1{
        transform: translate(0) rotate(0deg);
        font-size: 60px;
        position:static ;
        display: inline-block;
        
    }
    .left h1.h1_mirror{
        display: none;
    
    }

    .left {
        width: auto;
         height: auto; 
        display: block;
        align-items: center;
    }

    .left div.square{
        display: none;
    }

    .left p#Name{
        position: static;
        display: block;
        align-self: center;
        transform: translate(45%);
    }
    .carousel{
        display: none;
    }

    .container{
        margin-top: 20vw;
    }

    .right  .citation{

        width: 300px;
        position: relative;
        top: -15%;
        margin-top: 15px;
        margin-bottom: 15px;
        font-size: 20px;
    }

    .right  .citation span.ligne2{
        display: inline-block;
        margin-left: 45px;
    }
  }


  @media screen and (max-height: 900px) and (max-width: 530px){
    .scroll-icon{
        display: none;
    }

    .contact{
        position: static;
    }
  }