/*#region Page Index*/
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 2px;
  background: #ccc;
  top: 0;
  bottom: 0;
  left: 50%;
}

.timeline-item {
  padding: 10px;
  position: relative;
  width: 50%;
}

.timeline-date {
  font-weight: bold;
  margin-bottom: 10px;
}

.timeline-content {
  background: #f0f0f0;
  padding: 15px;
  border-radius: 15px;
}

.timeline-content h3 {
  margin-top: 0;
}

.timeline-subtitle {
  font-style: italic;
  color: #666;
  margin-top: -10px;
  margin-bottom: 10px;
}

.timeline-description {
  margin: 0;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(odd) .timeline-date {
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

/* Conteneur des compétences */
.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 20px 0;
}

.progress{
  position: relative;
  margin: 4px;
  float:left;
  text-align: center;
  align-self: center;
  width: 150px;
  height: 160px;
}

.progress p{
  position: relative;
  margin: 4px;
  float: left;
  text-align: center;
  align-content: center;
  width: 150px;
  height: 66px;
}

.barOverflow{ /* Wraps the rotating .bar */
  position: relative;
  overflow: hidden; /* Comment this line to understand the trick */
  width: 90px; 
  height: 45px; /* Half circle (overflow) */
  margin: 0 auto -14px auto; /* bring the numbers up */
}

.bar{
  position: absolute;
  top: 0; 
  left: 0;
  width: 90px; 
  height: 90px; /* full circle! */
  border-radius: 50%;
  box-sizing: border-box;
  border: 5px solid #eee;     /* half gray, */
  border-bottom-color: #4CAF50;  /* half azure */
  border-right-color: #4CAF50;
  transform: rotate(calc(45deg + (1.8deg * var(--r))));
}

.hint {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 10px;
  background: #333;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 10;
  /* Style de la flèche (optionnel) */
  &::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent #333 transparent transparent;
  }
}

.progress:hover .hint {
  opacity: 1;
  visibility: visible;
}

.timeline-more {
  font-style: italic;
  color: #777;
  margin-top: 1rem;
  padding-left: 1rem;
}

/*#endregion */

/*#region Page Mon parcours et Mes compétences*/

.error {
  color: red;
  font-weight: bold;
}

/*#endregion */