.historic-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    background-color: #606060;
    margin: 8px 0;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
  }

  .historic-item * {
    z-index: 20;
  }

  .historic-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    opacity: 0.3;
    z-index: 0;
    background-image: var(--bg-img);
    background-size: 45%;
    background-repeat: no-repeat;
    background-position: 100% 10%;
  }

  .historic-title {
    color: #fff;
    font-weight: 700;

    display: block;
    padding: 8px;
    width: 100%;
  }

  .historic-price {
    background: linear-gradient(90deg, rgba(75,159,248,1) 0%, rgba(21,105,195,1) 100%);
    color: #000;

    font-weight: 700;
    /* border: 1px solid #e4c150; */
    color: #fff;
    text-align: center;
    width: 30%;
    font-size: 14px;
    padding: 6px;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  .historic-increment {
    background: linear-gradient(90deg, rgba(107,157,114,1) 0%, rgba(120,161,93,1) 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px;
    display: flex;
    justify-content: space-between;
    height: 100%;
    margin-left: 1px;
}

  .historic-decrement {
    background: linear-gradient(90deg, rgba(233,76,86,1) 0%, rgba(210,2,35,1) 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px;
    display: flex;
    justify-content: space-between;
    height: 100%;
    margin-left: 2px;
  }

  .historic-chart {
    width: 100%;
    align-self: flex-end;
  }

  .historic-increment-decrement {
    width: 70%;
    display: flex;
    flex-direction: column;
  }

  #historic-item-1 {
    --bg-img: url("src/assets/img/gambarnasional/beras.html");
  }

  #historic-item-2 {
    --bg-img: url("src/assets/img/gambarnasional/caberawit.html");
  }
