.anonymous-pro-regular {
  font-family: "Anonymous Pro", monospace;
  font-weight: 400;
  font-style: normal;
}

.anonymous-pro-bold {
  font-family: "Anonymous Pro", monospace;
  font-weight: 700;
  font-style: normal;
}

.anonymous-pro-regular-italic {
  font-family: "Anonymous Pro", monospace;
  font-weight: 400;
  font-style: italic;
}

.anonymous-pro-bold-italic {
  font-family: "Anonymous Pro", monospace;
  font-weight: 700;
  font-style: italic;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

body {
  font-family: "Anonymous Pro", monospace;
  font-weight: 400;
  background-color: white;
}

.container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  height: 100vh;
}

.colonne-gauche {
  margin: 2%;
}

.colonne-droite {
  overflow-y: scroll; 
  height: 100vh; 
  padding: 20px;
  background-color: #ffff; 
  scrollbar-width: thin; 
  scrollbar-color: #f9c347 #f0f0f0; 
}

.name {
  font-size: 3rem;
  font-weight: bold;
  text-align: left;
  opacity: 0; 
  transform: translateY(50px); 
  animation: fadeIn 0.5s forwards ease-out;
}

#parcours-title{
  font-size: 1.3em;
  color: #f9c347;
}

.name span {
  color: #f9c347; 
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.5s forwards ease-out 0.5s; 
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.colonne-droite::-webkit-scrollbar {
  width: 8px;
}
.colonne-droite::-webkit-scrollbar-track {
  background: #f0f0f0;
}
.colonne-droite::-webkit-scrollbar-thumb {
  background-color: #f9c347;
  border-radius: 4px;
}

h1 {
  margin-bottom: 10px;
  font-size: 4em;
  color: #f9c347;
  font-size: clamp(2rem, 5vw, 4em);
}

.text-wrapper {
    display: flex;
    align-items: center;
  }
  
  h3 {
    font-size: 1.3em;
    font-weight: bold;
    position: relative;
    display: inline-block; 
    height: 50px; 
    line-height: 50px; 
    margin: 0; 
  }
  
  .rotating-text {
    border: 0px solid #fff;
    height: 50px;
    line-height: 50px;
    text-transform: uppercase;
    overflow: hidden;
    margin-left: 10px; 
  }
  
  .rotating-text span {
    position: relative;
    color: #f9c347;
    animation: animation 10s ease infinite;
  }

  
 @keyframes animation {
    0%,
    100% {
        top:0;
    }
    20% {
        top: 0;

    }
    25% {
        top: -50px;
    }
    45% {
        top: -50px;
    }
    50% {
        top: -100px;
    }
    70% {
        top: -100px;
    }
    75%{
        top: 0px;
    }

  85%{
    top: 0px;
}

}

  .labeur {
    margin-bottom: 20px;
    font-style: italic;
    font-family: "Anonymous Pro", monospace;
    font-weight: 400;
  }
  
hr {
  border: none;
  border-top: 1px solid #f9c347;
  margin: 0px 0;
}

.copyright {
  border: none;
  border-top: 1px solid #f9c347;
  margin: 10px;
}

.projets p {
  margin: 10px 0;
}

.projet .arrow {
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.3s ease;
  align-content: center ;
}

.projet:hover .arrow {
  transform: rotate(-68deg); 
}


.projet.hidden {
  display: none;
}

.footer {
  margin-top: 1vh;
}

.reseaux-contact a {
  
    color: #e09f08;
    text-decoration: none;
    display: inline-flex; 
    align-items: center; 
    font-size: 1.1em;

  }
  
  .reseaux-contact a:hover {
    color: #f9c347;
  }
  
  .arrow {
    display: inline-block; 
    margin-left: 5px; 
    transition: transform 0.3s ease; 
  }
  
  .reseaux-contact a:hover .arrow {
    transform: rotate(-35deg); 
  }
  

.powered-by {
  font-size: 0.8em;
  color: grey;
}

.projet {
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  margin-bottom: 30px; 
  padding: 20px;
  background-color: #fff; 
  border-radius: 10px;
  box-shadow: 0 6px 6px rgba(249,195,71, 0.2); 
}

.projet-info {
  flex: 2; 
  margin-right: 20px; 
  padding: 2%;
}

.projet-info h2 {
  font-size: 1.8rem;
  color: #f9c347;
  margin-bottom: 10px;
  margin-left: 10px;
}

.projet-info strong {
  color: #f9c347;
}

.projet-info p {
  font-size: 1rem;
  color: black;
  margin-left: 10px;
}

.slideshow {
  flex: 3; 
  position: relative;
  width: 100%; 
  height: 450px; 
  border-radius: 8px;
  overflow: hidden; 
  align-content: center;
}

.slide {
  width: 100%; 
  height: 100%; 
  object-fit: contain; 
  display: none; 
  border-radius: 8px;
  cursor: pointer;
}

.slide.active {
  display: block; 
}


.slide.active {
  display: block;
}




@keyframes slideUpFromBottom {
    from {
      transform: translateY(500px); 
      opacity: 0; 
    }
    to {
      transform: translateY(0); 
      opacity: 1; 
    }
}

.projet {
    opacity: 0; 
    transform: translateY(150px); 
    animation: slideUpFromBottom 0.8s ease-out forwards; 
}

.projet.visible {
    animation: slideUpFromBottom 0.8s ease-out forwards; 
}

.projet[data-delay] {
    animation-delay: var(--delay); 
}

@media screen and (max-width: 600px) {

  .container {
    display: flex; /* Utilisation de flexbox pour empiler les éléments */
    flex-direction: column; /* Empile les éléments verticalement */
    gap: 20px; /* Ajoute un espacement entre les colonnes */
    width: 100%; /* Assure que le conteneur utilise toute la largeur */
  }

  .colonne-gauche {
    display: none;
  }

  .colonne-droite {
    padding: 15px;
    background-color: white; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
    border-radius: 8px; 
    width: 100%; /* Colonne de droite occupe toute la largeur */
    box-sizing: border-box; /* Inclut les marges et bordures dans la largeur */
  }

  .projet {
    margin-bottom: 20px; 
    padding: 15px;
    flex-direction: column; 
    align-items: center;
    background-color: white; 
    border-radius: 8px; 
    box-shadow: 0 6px 6px rgba(249,195,71, 0.2); 
    width: 100%; /* Assure que chaque projet utilise toute la largeur */
    box-sizing: border-box;
  }

  .projet-info {
    text-align: left;
    margin-bottom: 10px;
  }

  .projet-info h2 {
    font-size: 1.5rem;
    color: #f9c347;
    margin-bottom: 10px;
  }

  .projet-info p {
    font-size: 0.9rem;
    color: #333;
  }

  .projet-image {
    width: 100%; 
    height: auto;
    object-fit: cover;
    border-radius: 8px; 
  }
}
