@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Display:ital,wght@0,100..900;1,100..900&family=Syne:wght@400..800&display=swap');

.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0 70px;
} 

.image-column {
    width: 220px;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.image-track {
    display: flex;
    flex-direction: column;
    gap: 35px;

    animation: scrollUp 20s linear infinite;

    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.image-track.reverse {
    animation: scrollDown 20s linear infinite;
}

/* Fixed image sizes */
.image-track img {
    display: block;
    object-fit: cover;
    flex-shrink: 0;
   
}

/* Large Images */
.image-track img:nth-child(6n + 1),
.image-track img:nth-child(6n + 3),
.image-track img:nth-child(6n + 5) {
    width: 268px;
    height: 254px;
}

/* Small Images */
.image-track img:nth-child(6n + 2),
.image-track img:nth-child(6n + 4),
.image-track img:nth-child(6n + 6) {
    width: 190px;
    height: 434px;
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 650px;
    text-align: center;
    z-index: 100;
}

.content h1 {
    font-size: 34px;
    /*line-height: 1.2;*/
    margin-bottom: 25px;
    color: #000000;
    font-weight: 600;
    font-family: "Noto Serif Display", serif;
}

.content p {
    color: #6B6666;
    font-size: 18px;
    margin-bottom: 30px;
    font-family: "Syne", sans-serif;
    font-weight: 400;
}

.content a {
    text-decoration: none;
    color: #000000 !important;
    font-weight: bold;
    font-size: 16px;
    font-family: "Syne", sans-serif;
}
.content a:hover {
    padding: 12px;
    background: #E0E0E0;
    
}

/* Continuous Animation */
@keyframes scrollUp {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}

@keyframes scrollDown {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}

/* Responsive */
@media (max-width: 900px) {

    .hero {
        padding: 0 20px;
    }

    .image-column {
        width: 140px;
    }

    .image-track img:nth-child(6n + 1),
    .image-track img:nth-child(6n + 3),
    .image-track img:nth-child(6n + 5) {
        width: 140px;
        height: 180px;
    }

    .image-track img:nth-child(6n + 2),
    .image-track img:nth-child(6n + 4),
    .image-track img:nth-child(6n + 6) {
        width: 140px;
        height: 240px;
    }

    .content {
        width: 90%;
    }

    .content h1 {
        font-size: 32px;
    }

    .content p {
        font-size: 16px;
    }
}