/* (A) FIXED WRAPPER */
.hwrap {
  overflow: hidden; /* HIDE SCROLL BAR */
  background: #eee;
}
 
/* (B) MOVING TICKER WRAPPER */
.hmove { display: flex; }

/* (C) ITEMS - INTO A LONG HORIZONTAL ROW */
.hitem {
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  text-align: center;
}
 
/* (D) ANIMATION - MOVE ITEMS FROM RIGHT TO LEFT */
/* 4 ITEMS -400%, CHANGE THIS IF YOU ADD/REMOVE ITEMS */
@keyframes tickerh {
  0% { transform: translate3d(100%, 0, 0); }
  100% { transform: translate3d(-400%, 0, 0); }
}
.hmove { animation: tickerh linear 7.9s infinite; }
.hmove:hover { animation-play-state: paused; }

/* 

.hwrap This is the “outer container” that will stay fixed on the screen. The only important part here is overflow: hidden to hide the scrollbars.
.hmove This is the “inside container” that we will use CSS animation to move from right to left.
.hitem The individual items. We use flex-shrink: 0 to lay all of the items out in a long horizontal row, and set width: 100% to give all items a uniform width.
The ticker magic happens here by using CSS animation.
@keyframes tickerh should be pretty self-explanatory. We are basically just moving the entire .hmove wrapper from right to left using translate3d.
.hmove { animation: tickerh } attach the keyframes to the wrapper.
Lastly, .hmove:hover { animation-play-state: paused; } is a small touch to pause the slides on mouse hover.


*/