/* List */
ul.list {
  counter-reset: index; 
  /*max-width: 60%;*/

   /*column-count: 2;*/     /* Anzahl der Spalten */
  /*column-gap: 2rem;*/    /* Abstand zwischen den Spalten */
  list-style-position: inside; /* optional, für saubere Aufzählungen */
}

/* List element */
.list li {
  counter-increment: index; 
  display: flex;
  align-items: center;
  padding: 5px 0px 5px 45px;
  box-sizing: border-box;
  backdrop-filter: blur(5px);
  /*box-shadow: 0px 0px 15px rgb(26 26 26 / 10%);*/
  transition: all .35s;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  font-weight: bold;
  font-size: 1.2rem;
  color:var(--color-list);
}

.list li.right {
    text-align: left;
}
.list li.left {
    text-align: right;
}

.list li div {
    width: 100%;
}
.list li:not(:first-child) {
     margin-top: 15px;
}
.list li:hover {
    scale: 1.05;
}
.list li .headline {
    font-weight: bold;
}
.list li div span {
    font-size: 1.3rem;
    font-weight: bold;
}


/* Element counter */
.list li::after {
  content: counters(index, ".", decimal-leading-zero);
  position: absolute;
  /*bottom: -50px;*/
  left: 0;
  font-size: 2rem;
  text-align: right;
  font-weight: bold;
  
  padding-right: 12px;
  margin-top: -10px;
  font-variant-numeric: tabular-nums;
  align-self: flex-start;
  background-image: var(--bg-list-li);
  background-attachment: fixed;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: -1;
  opacity: 0.4;
}

.list li.right::after {
     right: 0;
}
.list li.left::after {
     left: 0;
}
/*
.list li::after {
     content: counters(index, ".", decimal-leading-zero);
      font-size: 6rem;
      position: absolute;
      right: 0;
      bottom: -60px;
      opacity: 0.05;
      font-weight: bold;
}
      */


/* Element separation */
.list li + li {
  /*border-top: 1px solid rgba(255,255,255,0.2);*/
}

@use postcss-preset-env {
  stage: 0;
  autoprefixer: {
    grid: true;
  }
  browsers: last 2 versions
}
