/* ==================tiker tape=================== */

.scroller {
  width: 100%;
  font-family: "Poppins", sans-serif;
  overflow: hidden;
  margin: 0 auto;
  height: 40px;
  display: flex;
  flex-wrap: nowrap;
  border: none;
  /* background-color: #2c2c2c; */
  background-color: black;
  /* ظل داخلي تدريجي من فوق وتحت */
  box-shadow: inset 0 6px 8px -4px #83838366, inset 0 -6px 8px -4px #83838366;

  /* mask: linear-gradient(
    90deg,
    transparent,
    white 0.5%,
    white 99.5%,
    transparent
  );
  -webkit-mask: linear-gradient(
    90deg,
    transparent,
    white 0.5%,
    white 99.5%,
    transparent
  ); */
}

.scroller__inner {
  /*[important]don'tputpaddinginlinetonothasthelag*/
  padding: 4px 0;
  white-space: nowrap;
  width: max-content;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  cursor: default;
  border: none;
  animation: scroll_animation 150s infinite linear;
  -webkit-animation: scroll_animation 150s infinite linear;
}

.scroller:hover .scroller__inner {
  animation-play-state: paused;
}
.scroller__inner li {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  border-left: 1px solid #4d4d4d;
  padding: 0 10px;
  color: white;
  gap: 4px;
  font-size: 15px;
  font-weight: 300;
  /* direction: rtl; */
}
.scroller__inner li h5 {
  font-weight: normal;
  font-size: 14px;
  text-align: center;
  color: var(--MAIN-MASTARD);
}
.scroller__inner li .val {
  width: 90px;
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.scroller__inner li img {
  width: 25px;
  height: auto;
}

.red {
  animation: red_anim 1s linear;
  -webkit-animation: red_anim 1s linear;
}
.green {
  animation: green_anim 1s linear;
  -webkit-animation: green_anim 1s linear;
}

@keyframes scroll_animation {
  0% {
    transform: translateX(0);
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
  }
  100% {
    transform: translateX(-100.01%);
    -webkit-transform: translateX(-100.01%);
    -moz-transform: translateX(-100.01%);
    -ms-transform: translateX(-100.01%);
    -o-transform: translateX(-100.01%);
  }
}

@keyframes red_anim {
  0% {
    color: #ff4e4e;
  }
  99.999% {
    color: #ff4e4e;
  }
  100% {
    color: white;
  }
}
@keyframes green_anim {
  0% {
    color: #12976b;
  }
  99.999% {
    color: #12976b;
  }
  100% {
    color: white;
  }
}
/*===============================================*/
/*====================== media =========================*/
@media (max-width: 576px) {
  .header {
    margin-bottom: 5px;
  }
  .scroller {
    height: 30px;
  }
  .scroller__inner li {
    font-size: 14px;
  }
  .scroller__inner li img {
    width: 20px;
  }
}
