/* Importation de la police Agdasima */
@import url('https://fonts.googleapis.com/css2?family=Agdasima:wght@400;700&display=swap');

/* Importation des polices */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Importation des styles communs */
@import url('common.css');

/*----------------------PREMIERS PARAMETRES--------------------------------*/
* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
}

/* Style de la scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #000;
    border-radius: 5px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #333;
}

/* Pour Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #000 #f1f1f1;
}

.container1,
.container2,
.competence,
.contact {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.agdasima-regular {
    font-family: "Agdasima", sans-serif;
    font-weight: 400;
    font-style: normal;
}

html,
body {
    scroll-behavior: smooth;
    background: rgb(255, 255, 255);
    background-image: 
        linear-gradient(to right, rgb(255, 255, 255), transparent 50%, transparent 50%, rgb(255, 255, 255)),
        radial-gradient(#adadad 1px, transparent 0.1%);
    background-size: 100% 100%, 20px 20px;
    background-position: center;
    background-attachment: fixed;
    color: rgb(0, 0, 0);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/*----------BR-------------*/
.container1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    width: 100%;
    height: 100vh;
}
#fleche {
    width: 50px;
    height: auto;
    cursor: pointer;
    animation: bounce 1.5s infinite;
    transition: opacity 0.5s ;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

#fleche:hover{
    transform:translateY(-20px);
}

.presentation {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    height: 35vh;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

img {
  width: fit-content;
  height: 100%;
  margin: 0 -2.4rem;
}

/*---------------QUI SUIS JE ?------------*/

.p {
    font-size: 25px;
}

h1 {
    font-size: 3.5em;
}

.timeline-container img,
p {
    display: inline;
    height: auto;
    width: 100%;
    max-width: 300px;
}

.timeline-container {
    margin: 4% auto;
    margin-top: 10%;
    text-align: center;
    max-width: 1200px;
    padding: 0 20px;
}

.qui {
    margin-bottom:4% ;
}

.qui h1 {
    font-size: 3.5em;
    background: #000000;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    display: block;
}



.qui img {
    transition: transform 0.3s ease;
}

.qui img:hover {
    transform: scale(1.05);
}
/* From Uiverse.io by janisar-hyder */ 
.content__item {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2%;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    pointer-events: none;
  }
  
  .button {
    pointer-events: auto;
    cursor: pointer;
    background: #e7e7e7;
    border: none;
    padding: 1.5rem 3rem;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    position: relative;
    display: inline-block;
  }
  
  .button::before,
  .button::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .button--hyperion {
    font-family: input-mono-narrow, monospace;
    font-weight: 500;
    padding: 1rem 1.5rem;
    border: 1px solid #000;
    overflow: hidden;
    color: #fff;
  }
  
  .button--hyperion span {
    display: block;
    position: relative;
  }
  
  .button--hyperion > span {
    overflow: hidden;
  }
  
  .button--hyperion > span > span {
    overflow: hidden;
    mix-blend-mode: difference;
  }
  
  .button--hyperion:hover > span > span {
    animation:
      MoveUpInitial 0.2s forwards,
      MoveUpEnd 0.2s forwards 0.2s;
  }
  
  @keyframes MoveUpInitial {
    to {
      transform: translate3d(0, -105%, 0);
    }
  }
  
  @keyframes MoveUpEnd {
    from {
      transform: translate3d(0, 100%, 0);
    }
    to {
      transform: translate3d(0, 0, 0);
    }
  }
  
  .button--hyperion::before {
    content: "";
    background: #000;
    transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1);
    transform-origin: 100% 50%;
  }
  
  .button--hyperion:hover::before {
    transform: scale3d(0, 1, 1);
    transform-origin: 0% 50%;
  }
  
.vrai {
    display: flex;
    justify-content: center;
    min-height: 50vh;
    width: 100%;
    position: relative;
    padding: 20px
}

.timeline {
    position: absolute;
    border-radius: 20px;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 800px;

}

.timeline.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.timeline.exit {
    opacity: 0;
    transform: translateX(-50px);
}

.timeline-item {
    background: white;
    padding: 20px;
    margin: 15px 0;
    border-left: 4px solid #000000;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    width: 12px;
    height: 12px;
    background: #000000;
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.timeline-item h4 {
    margin-bottom: 8px;
    color: #000000;
    font-size: 1.2em;
    font-weight: 600;
}

.timeline-item p {
    font-size: 1em;
    color: #636e72;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .qui h1 {
        font-size: 2.5em;
    }
    
    
    .button-container {
        flex-direction: column;
        align-items: center;
    }
    
    button {
        width: 100%;
        max-width: 300px;
    }
    
    .timeline {
        padding: 20px;
    }
    
    .timeline-item {
        padding: 15px;
    }
}

/*----------------------FIN DE QUI SUIS JE ?--------------------------------*/

.title {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40vh;
    background-color: #969696;
    font-size: 40x;
    color: white;
}

.pdf img {
    height: 100px;
    width: 110px;
    margin-left: 50px;
}

/*---------------------Stacks--------------------*/
.stacks {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 10%;
}
.stacks h1 {
   font-size: 3.5rem;
    position: relative;
}

.stacks img:hover {
    transform: scale(1.1);
    transition: 10.5s ease-in-out;
}

.ad{
    display: flex;
    justify-content: center;
}
@keyframes slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }

  .logos {
    background: linear-gradient(#ffffff26, #f4f4f5cf);
    overflow: hidden;
    padding: 60px 0;
    white-space: nowrap;
    position: relative;
  }

  .logos:before,
  .logos:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
  }

 /* .logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
  }

  .logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
  }
*/
  .logos:hover .logos-slide {
    cursor: pointer;
  }

  .logos-slide {
    display: inline-block;
    animation: 25s slide infinite linear;
  }

  .logos-slide img {
    height: 50px;
    margin: 0 40px;
  }
/* Dimensions spécifiques des images */
#next {
    width: 170px;
    height: 100px;
    margin: 50px;
}
#react {
    width: 120px;
    height: 100px;
    margin: 50px;
}
#tail {
    width: 150px;
    height: 100px;
    margin: 50px;
}
#php {
    width: 140px;
    height: 100px;
    margin: 50px;
}
#js {
    width: 100px;
    height: 100px;
    margin: 50px;
}
#java {
    width: 100px;
    height: 100px;
    margin: 50px;
}