/* Roller */
.roller-wrap {
  width: 100%;
  background: var(--green);
  color: var(--purple);
  margin: 0 0 2rem 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.roller-innerwrap {
  width: calc(100% - 6rem);
  margin: 0 auto;
  text-align: left;
  display: flex;
  align-items: center;
}

.roller-innerwrap p {
  margin: 1rem 0;
}

.roller-static {
  display: inline-block;
}

.roller {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  height: 1.5em;       /* exactly one line of text */
  line-height: 1.5em;  /* aligns text exactly in that 1em */
}

.roller p,
.roller ul {
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translateY(0);
}

.roller li {
  height: 1.5em;       /* each list item also 1em tall */
}

.roller span {
  background: var(--green);
  color: var(--purple);
}

.roller-controls {
  margin-left: auto;
}

#pause-btn,
#play-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background-color: var(--purple);
  color: var(--green);
  border: none;
  cursor: pointer;
  transition: background-color .2s;
  padding: 0;
}

#pause-btn:hover,
#play-btn:hover {
  background-color: var(--purple);
}

#pause-btn:focus,
#play-btn:focus {
  outline: 3px solid var(--darkblue);
  outline-offset: 2px;
}

/* Optional: wenn du die SVG-Icons verkleinern oder vergrößern willst */
#pause-btn svg,
#play-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor; /* übernimmt die color-Eigenschaft des Buttons */
}


@media (prefers-reduced-motion: reduce) {
  .roller ul {
    transition: none !important;
  }
}

@media screen and (min-width: 1800px) {
  .roller-wrap {
    font-size: 2.2rem;
    margin: 0 0 3rem 0;
  }
  .roller-innerwrap {
    width: calc(100% - 10rem);
    font-size: 2.2rem;
  }
}

@media screen and (min-width: 601px) and (max-width: 900px) {
  .roller-wrap {
    font-size: 1rem;
    margin: 1rem 0;
  }
  .roller-innerwrap {
    width: calc(100% - 3rem);
    font-size: 1rem;
  }
}

@media screen and (max-width: 600px) {
  .roller-wrap {
    font-size: 1.2rem;
    line-height: 1.5;
    margin: 1rem 0;
  }
  
  .roller-innerwrap {
    width: calc(100% - 2rem);
    font-size: 1.2rem;
    line-height: 1.5;
  }

  .roller {
    height: 1.5em;       /* exactly one line of text */
    line-height: 1.5em;  /* aligns text exactly in that 1.5em */
    line-height: 1.5;
  }

  .roller li {
    height: 1.5em;       /* each list item also 1.5em tall */
    line-height: 1.5;
  }
}