ul.timeline {
    list-style-type: none;
    position: relative;
}

ul.timeline:before {
    content: ' ';
    background: #d4d9df;
    display: inline-block;
    position: absolute;
    left: 24px;
    width: 2px;
    height: 100%;
    z-index: 400;
}

ul.timeline > li {
    margin: 20px 0;
    padding-left: 20px;
}

ul.timeline > li:before {
    content: ' ';
    background: white;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid #0078ff;
    left: 15px;
    width: 20px;
    height: 20px;
    z-index: 400;
}

.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* Adjust this as necessary */
}

.animated-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 16px 36px;
  border: 4px solid;
  border-color: transparent;
  font-size: 16px;
  background-color: inherit;
  border-radius: 50px; /* Border-radius maximal */
  font-weight: 600;
  color: #1abc9c;
  box-shadow: 0 0 0 2px #1abc9c;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button svg {
  position: absolute;
  width: 24px;
  fill: #1abc9c;
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-2 {
  top: -55%;
  left: 50%;
  transform: translateX(-50%);
}

.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: #1abc9c;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
  position: relative;
  z-index: 1;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
  box-shadow: 0 0 0 12px transparent;
  color: #212121;
  border-radius: 50px; /* Maintien du border-radius */
}

.animated-button:hover .arr-2 {
  top: 50%;
  transform: translate(-50%, -50%);
}

.animated-button:hover .text {
  opacity: 0;
}

.animated-button:hover svg {
  fill: #FFFFFF;
}

.animated-button:active {
  scale: 0.95;
  box-shadow: 0 0 0 4px #1abc9c;
}

.animated-button:hover .circle {
  width: 230px;
  height: 230px;
  opacity: 1;
}
