*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #d9f4ff;
    color: #000;
    padding: 60px 40px;
}

/* INTRO */

.rt-intro {
    margin-bottom: 30px;
}

.rt-intro h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.rt-intro p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* DESKTOP */

.rt-scroll {
    overflow-x: auto;
    padding: 20px 0;
}

.rt-stage {
    min-width: 1100px;
    min-width: 0px;
}

.rt-points {
    --line-y: 260px;

    display: flex;
    justify-content: space-between;
    align-items: stretch;

    position: relative;
    list-style: none;
    margin: 0;
    padding: 0 8px;

    height: calc(var(--line-y) * 2);
    justify-content: flex-start;
    gap: 10px;
}

.rt-line-svg {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--line-y);

    transform: translateY(-50%);
    pointer-events: none;
}
.rt-points {
    position: relative;
}
.rt-line-svg svg {
    width: 100%;
    height: 60px;
    display: block;
}

.rt-event {
    position: relative;
    z-index: 1;

    /*width: 160px;*/
    height: 100%;

    display: grid;
    grid-template-rows: var(--line-y) var(--line-y);
}

.rt-event::before {
    content: "";
    position: absolute;
    top: var(--line-y);
    left: 0;

    width: 14px;
    height: 14px;
    background: #000;
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.rt-slot-top,
.rt-slot-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.rt-slot-top {
    justify-content: flex-end;
    padding-bottom: 22px;
}

.rt-slot-bottom {
    justify-content: flex-start;
    padding-top: 22px;
}

.rt-img {
    width: 109px;
    height: 109px;
    border-radius: 50%;
    object-fit: cover;
}

.rt-icon {
    border-radius: 0;
    object-fit: contain;
    padding: 16px;
}

.rt-year {
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}

.rt-title {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.15;
}

.rt-sub {
    font-size: 14px;
    line-height: 1.2;
    color: #333;
}

/* MOBILE */

.rt-mobile {
    display: none;
    list-style: none;
    position: relative;
    padding: 20px 0;
    margin: 40px 0;
}
/*.rt-mobile::before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    top: 0;*/
/*    bottom: 0;*/
/*    left: 50%;*/
/*    border-left: 2px dashed #000;*/
/*    transform: translateX(-50%);*/
/*}*/
@media (max-width: 860px) {
    .rt-mobile {
        position: relative;
    }

    .rt-mobile::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 60px;

        transform: translateX(-50%);

        background: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 1000' preserveAspectRatio='none'>\
<path d='M50,0 Q20,50 50,100 T50,200 T50,300 T50,400 T50,500 T50,600 T50,700 T50,800 T50,900 T50,1000' \
fill='none' stroke='black' stroke-width='2' stroke-dasharray='6 6'/>\
</svg>") no-repeat center;

        background-size: 100% 100%;
    }
}
.rt-mobile li {
    position: relative;
    width: 50%;
    margin-bottom: 48px;

    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rt-mobile li:last-child {
    margin-bottom: 0;
}

.rt-mobile li::before {
    content: "";
    position: absolute;
    top: 4px;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    background: #000;
    z-index: 2;
}

.rt-mobile li:nth-child(odd) {
    padding-right: 24px;
    text-align: right;
    align-items: flex-end;
    border-radius: 50%;
}

.rt-mobile li:nth-child(odd)::before {
    right: -7px;
    border-radius: 50%;
}

.rt-mobile li:nth-child(even) {
    margin-left: 50%;
    padding-left: 24px;
    text-align: left;
    align-items: flex-start;
}

.rt-mobile li:nth-child(even)::before {
    left: -7px;
}

.rt-mobile .rt-img {
    width: 109px;
    height: 109px;
}

.rt-mobile .rt-icon {
    width: 99px;
    height: 99px;
}

/* RESPONSIVE */

@media (max-width: 860px) {
    body {
        padding: 40px 20px;
    }

    .rt-intro {
        margin-bottom: 8px;
    }

    .rt-intro h2 {
        font-size: 26px;
    }

    .rt-scroll {
        display: none;
    }

    .rt-mobile {
        display: block;
    }
}
.rt-slot-top .rt-img{
    margin-bottom: 8px;
}
.rt-slot-bottom .rt-img{
    margin-top: 8px;
}
.rt-slot-bottom .rt-year{
    margin-bottom: 8px;
}
.rt-slot-top .rt-year{
    margin-top: 8px;
}
.rt-points {
    opacity: 0;
    transform: translateY(20px);
    animation: rtFadeIn 0.8s ease forwards;
}

@keyframes rtFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.rt-event {
    opacity: 0;
    transform: translateY(20px);
    animation: rtItemIn 0.6s ease forwards;
}

.rt-event:nth-child(1) { animation-delay: 0.1s; }
.rt-event:nth-child(2) { animation-delay: 0.2s; }
.rt-event:nth-child(3) { animation-delay: 0.3s; }
.rt-event:nth-child(4) { animation-delay: 0.4s; }
.rt-event:nth-child(5) { animation-delay: 0.5s; }
.rt-event:nth-child(6) { animation-delay: 0.6s; }

@keyframes rtItemIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 860px) {
    .rt-mobile li {
        opacity: 0;
        animation: rtMobileItemIn 0.55s ease forwards;
    }

    .rt-mobile li:nth-child(odd) {
        transform: translateX(-18px);
    }

    .rt-mobile li:nth-child(even) {
        transform: translateX(18px);
    }

    .rt-mobile li:nth-child(1) { animation-delay: 0.1s; }
    .rt-mobile li:nth-child(2) { animation-delay: 0.2s; }
    .rt-mobile li:nth-child(3) { animation-delay: 0.3s; }
    .rt-mobile li:nth-child(4) { animation-delay: 0.4s; }
    .rt-mobile li:nth-child(5) { animation-delay: 0.5s; }
    .rt-mobile li:nth-child(6) { animation-delay: 0.6s; }

    .rt-mobile li::before {
        transform: scale(0);
        animation: rtMobileDotIn 0.35s ease forwards;
    }

    .rt-mobile li:nth-child(1)::before { animation-delay: 0.15s; }
    .rt-mobile li:nth-child(2)::before { animation-delay: 0.25s; }
    .rt-mobile li:nth-child(3)::before { animation-delay: 0.35s; }
    .rt-mobile li:nth-child(4)::before { animation-delay: 0.45s; }
    .rt-mobile li:nth-child(5)::before { animation-delay: 0.55s; }
    .rt-mobile li:nth-child(6)::before { animation-delay: 0.65s; }
}

@keyframes rtMobileItemIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rtMobileDotIn {
    to {
        transform: scale(1);
    }
}
@media (prefers-reduced-motion: reduce) {
    .rt-points,
    .rt-event,
    .rt-event::before,
    .rt-mobile li,
    .rt-mobile li::before {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
.rt-mobile .rt-img {
    margin-top: 7px;
}

@media screen and (min-width:1300px) {
    .rt-event .rt-title {
        padding-right: 22%;
    }
}
.rt-event.top-48::before {top:48%}
.rt-event.top-49::before {top:49%}
.rt-event.top-51::before {top:51%}
.rt-event.top-52::before {top:52%}

.rt-stage,
.rt-intro
{
    width: min(100%, 1600px);
    margin-inline: auto;
}
@media (max-width: 860px) {
    .rt-mobile li:nth-child(odd)::before {
        right: -1px;
        left: auto;
        transform: none;
    }

    .rt-mobile li:nth-child(even)::before {
        left: -8px;
        right: auto;
        transform: none;
    }
    .rt-mobile li.right-minus-13::before {
        right: -13px;
    }
    .rt-mobile li.right-minus-6::before {
        right: -6px;
    }
    .rt-mobile li.left-minus-1::before{
        left: -1px;
    }
    .rt-mobile li.left-minus-16::before{
        left: -16px;
    }
}