.container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

.inner-container {
  width: 100%;
  max-width: 1310px;
  margin: 0 auto;
}

.main {
  background-color: #000000;
  padding-bottom: 178px;
}


.birthday-banner, .main-inner, .main-end {
  margin: 0;
  position: relative;
  background-color: #000000;
  font-size: 18px;
  color: #ffffff;
}

.birthday-banner {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  height: 571px;
  background: url("img/Баннер\ др.png");
  position: relative;
}

.birthday-banner .home {
  display: flex;
  align-items: center; /* Vertical centering */
  justify-content: center; /* Horizontal centering */
  position: absolute;
  width: 222px;
  height: 51px;
  bottom: 29px;
  right: 244px;
  border-radius: 9px;
  text-decoration: none;
  background-color: #7ad10a;
  text-align: center;
  vertical-align: middle;
  color: #000000;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 4%;
}

/* Основной контейнер таймлайна */
.timeline {
  position: relative;
  width: 100%;
  /* margin-top: 162px; */

  /* padding-top: 10px; */
  /* margin-top: 20px; */
  /* max-width: 1200px; */
}

.timeline-start{
  position: relative;
  height: 162px;
  width: 100%;
}

/* Вертикальная линия */
.timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background-color: #7ad10a;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  box-shadow: 0 0 21.4px #7ad10a;
  z-index: 0;
}

.timeline-start::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 162px;
  background-color: #696d75;
  top: 0;
  left: 50%;
  margin-left: -2px;
  z-index: 0;
}
 
.timeline-end::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 287px;
  background-color: #696d75;
  top: -40px;
  left: 50%;
  margin-left: -2px;
  z-index: 0;
}

.timeline-item-end::before {
  content: "";
  position: absolute;
  width: 6px;
  background-color: #696d75;
  top: 0;
  bottom: 0;
  left: 0%;
  margin-left: -2px;
  z-index: 0;
}

/* Контейнер для контента */
.timeline-item, .timeline-item-end {
  padding: 0px 10px;
  position: relative;
  background-color: inherit;
  width: 50%;
  margin-bottom: 40px;
  /* margin-top: 28px; */
  /* z-index: 1; */
}

/* Кружочки на линии */
.timeline-item::after, .timeline-item-end::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #355b04;
  border: 4px solid #caff86;
  top: 40px;
  right: -10px;
  border-radius: 50%;
  z-index: 5;
  box-shadow: 0 0 21.4px #7ad10a;
}

.timeline-item-end::after {
  top: 40px;
  right: -10px;
  border: 4px solid #696d75;
  box-shadow: none;
  background-color: #000;
}


.timeline-item.left {
  padding-left: 30px;
}

.timeline-item.right, .timeline-item-end.right {
  padding-left: 191px;
}

.timeline-item.left::before {
  content: "";
  position: absolute;

  /* Линия */
  right: 1px;
  top: 13px;
  /* Размеры уголка */
  width: 267px;
  /*width: 100%;*/
  height: 38.5px;

  /* Создаем Г-образную форму через границы */
  border-top: 2px solid #7ad10a;
  border-right: 2px solid #7ad10a;
  border-top-right-radius: 30px;
  /* transform: skewX(-20deg); */
  z-index: 1;
}

.timeline-item.right::before {
  content: "";
  position: absolute;

  /* Линия */
  left: 1px;
  top: 13px;
  /* Размеры уголка */
  width: 176px;
  height: 39px;

  /* Создаем Г-образную форму через границы */
  border-top: 2px solid #7ad10a;
  border-left: 2px solid #7ad10a;
  border-top-left-radius: 30px;
  /* transform: skewX(-20deg); */
  z-index: 1;
}

.timeline-item-end.right::before {
  content: "";
  position: absolute;

  /* Линия */
  left: 4px;
  top: 13px;
  /* Размеры уголка */
  width: 176px;
  height: 39px;
  background-color: unset;
  /* Создаем Г-образную форму через границы */
  border-top: 2px solid #696d75;
  border-left: 2px solid #696d75;
  border-top-left-radius: 30px;
  /* transform: skewX(-20deg); */
  z-index: 1;
}

/* Позиционирование слева */
.left {
  left: 0;
}

/* Позиционирование справа */
.right {
  left: 50%;
}

/* Кружочки для правой стороны */
.right::after {
  left: -10px;
}

/* Контент внутри */
.content {
  /* padding: 0px 30px; */
  position: relative;
  border-radius: 6px;
  width: 100%;
  max-width: 467px;
  line-height: 150%;
}

.content h2 {
      font-family: 'OpenSans-Bold', Arial, Tahoma, Sans-Serif;
  font-size: 45px;
  font-weight: 700;
  margin: 0;
  margin-bottom: 42px;
  text-transform: unset;
}

.content p {
  font-size: 18px;
  line-height: 150%;
}

.content h3 {
      font-family: 'OpenSans-Bold', Arial, Tahoma, Sans-Serif;
  font-size: 18px;
  text-transform: unset;
  font-weight: 700;
}

.content strong {
  color: #7ad10a;
  font-weight: 700;
}

.content ul {
  color: #7ad10a;
  padding-left: 30px;
  list-style-type: disc;
}

/* Адаптивность для мобильных устройств */
@media screen and (max-width: 600px) {
  .timeline::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item::after {
    left: 21px;
  }

  .right {
    left: 0%;
  }
}

.current-image::before {
  position: absolute;
  content: "";
  top: -124px; /* Enlarged area to ensure the image covers the container */
  left: -325px;
  width: 1153.72px;
  height: 700px;
  background: url("img/5 1.png");
  background-size: cover;
  z-index: 0;
  /* transform: rotate(-86.08deg); */
}


.timeline-start .timeline-logo {
  position: absolute;
}

.timeline-start .timeline-logo::before {
  position: absolute;
  content: "";
  top: 162px; 
  left: 123px;
  width: 531px;
  height: 197.44px;
  background: url("img/2.svg");
  background-size: cover;
  border: unset;
  /* transform: rotate(-86.08deg); */
}
/* 5 1 */
