.h-100 {
  height: 80px;
}
.unvisible {
  visibility: hidden;
}
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline::after {
  content: '';
  position: absolute;
  width: 5px;
  background: #2FAE3E;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  left: 0;
  width: 50%;
  padding: 0 20px;
  margin: 0;
  box-sizing: border-box;
}
/*.timeline-item:nth-child(odd) {
  left: 0;
}
.timeline-item:nth-child(even) {
  left: 50%;
}*/
.timeline-item-right {
  position: relative;
  left: 50%;
  width: 50%;
  padding: 0 20px;
  margin: 50px 0;
  box-sizing: border-box;
  color: #000;
  font-weight: bold;
}
.timeline-item-next {
  width: 50%;
  position: absolute;
  left: 100%;
  top: 0;
  font-weight: bold;
  color: #000;
  margin-left: 20px;
}
.timeline-item-next::before, .timeline-item-right::before {
  content: '';
  height: 3px;
  background-color: #2fae3e;
  width: 15px;
  display: block;
  left: -20px;
  position: relative;
  top: 0;
}
.timeline-item-next span, .timeline-item-right span {
  position: relative;
  top: -15px;
  display: inline-flex;
}
.timeline-item-next span i, .timeline-item-right span i {
  font-style: normal;
}
.timeline-img {
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  position: absolute;
  top: 20px;
  right: -40px;
  background: #fff;
}
.timeline-item:nth-child(even) .timeline-img {
  left: -40px;
  right: auto;
}
.timeline-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.timeline-content {
  padding: 0 12px 12px 12px;
  border-radius: 5px;
  position: relative;
  background-color: #fff;
  /*box-shadow: 0px 10px 11px rgba(0, 0, 0, 0.03);*/
}
.timeline-content h3 {
  margin-top: 0;
  font-size: 20px;
  color: #333;
}
.timeline-content p {
  margin: 0;
  color: #555;
}
.timeline-box {
  background: #2FAE3E;
  color: #fff;
  padding: 8px;
  position: relative;
}
.timeline-background {
  position: relative;
  width: 100%;
  background-image: url('https://www.corsafacile.it/wp-content/uploads/2025/06/us-ny.jpg');
}
.badge {
  color: #fff;
  background-color: #e78169;
  box-shadow: 1px 1px 3px 1px #e78169;
  margin: 3px 0 0 8px;
  padding: 3px;
  font-weight: 400;
  font-size: 14px;
  height: 20px;
  align-items: center;
  display: flex;
}
.badge-unlocked {
  color: #fff;
  background-color: #deb71d;
  box-shadow: 1px 1px 3px 1px #deb71d;
  margin: 3px 0 0 8px;
  padding: 3px;
  font-weight: 400;
  font-size: 14px;
  height: 20px;
  align-items: center;
  display: flex;
}

/*table css*/
.custom-table {
  width: 180px;
  border-collapse: collapse;
  text-align: left;
  color: #333;
  border: 1px solid #555;
}
.custom-table th,
.custom-table td {
  padding: 0;
  font-weight: 400;
  border: 0;
  font-size: 14px;
}
.custom-table thead tr {
  background: #333;
}

@media screen and (max-width: 768px) {
  .timeline::after {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 20px;
    margin-bottom: 20px;
  }
  .timeline-item:nth-child(even) {
    left: 0;
  }
  .timeline-img {
    top: 0;
    left: 0;
    right: auto;
  }
}