.metric-container {
  .metric-info {
    font-size: 16px;
    color: #fff;
    //margin: 2em 0 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;

    span {
      font-size: 12px;
    }

    span:last-child {
      font-size: 20px;
    }
  }

  .metric-bar {
    width: 100%;
    height: 24px;
    margin: 4px 0;
    background: linear-gradient(270deg, #1E8102 0%, #FF9900 43.38%, #CA3112 100%);
    position: relative;
    --animation: infinite;
    --left: 0;

    .metric-bar-line {
      animation: move-bar-line linear var(--animation) 3s;
      position: absolute;
      left: var(--left);
      top: 0;
      height: 24px;

      .metric-position-line {
        width: 2px;
        position: absolute;
        left: 0;
        height: 24px;
        background: #fff;
      }

      .metric-position-icon {
        position: relative;
        left: -4px;
        bottom: -20px;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-bottom: 8px solid #fff;
      }
    }
  }

  .percent-markers {
    width: 100%;
    display: flex;
    justify-content: space-between;

    span {
      font-size: 10px;
      color: #fff;
      opacity: 0.6;
    }
  }
}

@keyframes move-bar-line {
  0% {
    left: 0;
  }
  50% {
    left: 100%
  }
  100% {
    left: 0;
  }
}
