 
/* RESET RULES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
:root {
    --chart-thickness: 4px;
    --border: 1px solid rgba(211, 211, 211, 0.6);
  }
  
/*  * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  ul {
    list-style: none;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  body {
    font-family: "Montserrat", sans-serif;
  }*/
  
  
  .wrapper {
    display: flex;
    gap: 20px;
  }
  
  /* CHART LABELS
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .chart-labels {
    border-collapse: collapse;
    border: var(--border);
    text-align: center;
    flex: 1;
  }
  
  .chart-labels caption {
    margin-bottom: 20px;
  }
  
  .chart-labels th,
  .chart-labels td {
    padding: 16px 12px;
  }
  
  .chart-labels tbody tr:nth-child(odd) {
    background: rgba(211, 211, 211, 0.4);
  }
  
  /* CHART WRAPPER
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  
  .chart-wrapper {
    display: flex;
    gap: 20px;
    padding: 20px;
    height: 200px;
    flex: 2;
  }
  
  /* CHART-Y
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .chart-wrapper .chart-y li {
    padding: 0 15px;
  }
  
  .chart-wrapper .chart-y li + li {
    margin-top: 40px;
  }
  
  /* CHART-X
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .chart-wrapper .chart-x {
    display: flex;
    flex-grow: 1;
  }
  
  .chart-wrapper .chart-x li {
    position: relative;
    display: flex;
    align-items: flex-end;
    flex: 1;
  }
  
  .chart-wrapper .chart-x li::before,
  .chart-wrapper .chart-x li::after {
    content: "";
    position: absolute;
    left: 0;
    background: var(--chart-color);
  }
  
  .chart-wrapper .chart-x li::before {
    top: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(
      0 calc(100% - var(--start)),
      0 calc(100% - var(--start)),
      0 calc(100% - var(--start)),
      0 calc(100% - var(--start))
    );
    transition: clip-path 0.5s calc(var(--delay, 0) * 0.5s);
  }
  
  /* .chart-wrapper .chart-x li::after {
    top: calc(100% - var(--start));
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transform: translateY(-50%);
  } */
  
  .loaded .chart-wrapper .chart-x li::before {
    clip-path: polygon(
      0 calc(100% - var(--start)),
      100% calc(100% - var(--end)),
      100% calc(calc(100% - var(--end)) + var(--chart-thickness)),
      0 calc(calc(100% - var(--start)) + var(--chart-thickness))
    );
  }
  
  /* MQ
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  @media (max-width: 700px) {
    .wrapper {
      /*flex-direction: column;*/
    }
  
    .chart-wrapper {
      order: -1;
    }
  }
  
  @media (max-width: 500px) {
    .chart-wrapper {
      padding: 10px;
    }
  }