:root {
    /* --height: 8rem; */
    --speed: 30s;
}

body {
    width:100vw;
    overflow-x: hidden;
}

.ticker-tape {
    display: flex;
    width: 100vw;
    /* max-width: 1200px; */
    /* margin: 20px auto; */
    overflow: hidden;
    height: var(--height);
    background: white;
}

.ticker {
    display: flex;
    align-items: center;
    /* height: var(--height); */
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
}

.ticker-track {
    display: inline-block;
    /* padding-left: 20px; */
    will-change: transform;
}

.ticker-item {
    display: inline-block;
    width: 200px;
    /* padding: 0 2rem; */
    gap: 20px;
    font-size: 8rem;
    font-weight: 900;
    /* letter-spacing: 1rem; */
    color: rgba(0, 0, 0, 0.2);
}

.ticker-item img {
    width: 100%;
    margin-bottom:5px;
    /* border-radius:10px; */
}

.ticker-img:hover {
    cursor: pointer;
}

/* @keyframes ticker {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(var(--move-distance));
    }
} */

@keyframes ticker {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  








/* 
:root {
    --height: 150px;
    --speed: 30s;
}

* {
    margin: 0;
    padding: 0;
}

.ticker-tape {
    display: flex;
    width: 100%;
    overflow: hidden;
    height: var(--height);
    padding-left: 100%;
}

.ticker-tape .ticker {
    height: var(--height);
    line-height: var(--height);
    white-space: nowrap;
    padding-right: 100%;

    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -webkit-animation-name: ticker;
    -webkit-animation-duration: var(--speed);

    animation-iteration-count:infinite;
    animation-timing-function: linear;
    animation-name: ticker;
    animation-duration: var(--speed);


}

.ticker-tape .ticker-item {
    display: inline-block;
    padding: 0 2rem;
    font-size: 8rem;
    font-weight: 900;
    letter-spacing: 1.5rem;
    color: rgba(0,0,0,0.2);
}

@-webkit-keyframes ticker {
    0% {
        -webkit-transform: translateX(0);
        transform:translateX(0);
        visibility: visible;
    }
    100% {
        -webkit-transform:translateX(-100%);
        transform:translateX(-100%);
    }
}

@keyframes ticker {
    0% {
        -webkit-transform: translateX(0);
        transform:translateX(0);
        visibility: visible;
    }
    100% {
        -webkit-transform:translateX(-100%);
        transform:translateX(-100%);
    }
} */