 <style>
    .top-content {
      text-align: center;
    }
  .thumbs {
    position: relative;
    /* padding-top: 47%; */
    /* perspective: 100px; */ /* is this necessary to make the buttons work?... */
    /* min-height: 100%; */
    height: 534px;
    width: 1000px;
    max-width: 100%;
    display: inline-block;
  }

  .thumbs::before,
  .thumbs::after,
  .thumb-prev,
  .thumb-next {
    position: absolute;
    top: 0;
    margin-top: 20%;
    width: 2rem;
    height: 2rem;
    transform: translateY(-50%);
    border-radius: 50%;
    font-size: 0;
    /* outline: 0; */
  }

  .thumbs::before,
  .thumb-prev {
    left: 0rem;
  }

  .thumbs::after,
  .thumb-next {
    right: 0rem;
  }

  .thumbs::before,
  .thumbs::after {
    content: '';
    z-index: 1;
    background-color: #821d7f;
    background-size: 1.5rem 1.5rem;
    background-repeat: no-repeat;
    background-position: center center;
    color: #fff;
    font-size: 2.5rem;
    line-height: 4rem;
    text-align: center;
    pointer-events: none;
  }
  .thumbs::before {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='0,50 80,100 80,0' fill='%23fff'/%3E%3C/svg%3E");
  }

  .thumbs::after {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='100,50 20,100 20,0' fill='%23fff'/%3E%3C/svg%3E");
  }

  .thumbs-wrapper {
    margin: 0;
    
    padding: 0;
    list-style-type: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    overflow: hidden;
    counter-reset: item;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    /* height: fit-content;
    min-height: 100%; */
  }

  .thumb-slide {
    position: relative;
    /* flex: 0 0 100%; */
    flex: 1 0 100%;
    padding-top: 30px;
    text-align: center;
  }

  .thumb-slide:before {
    /* content: counter(item); */
    position: absolute;
    top: 50%;
    left: 50%;
    /* transform: translate3d(-50%,-40%,70px); */
    /* color: #fff; */
    /* font-size: 2em; */
  }
  .thumb-slide img {
    /* width: 80%; */
    width: 750px;
    max-width: 80%;
    margin: 0 10%;
    text-align: center;
  }

  .thumb-buttons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* height: 100%; */
    scroll-snap-align: center;
  }

  #contentwrapper {
    text-align: justify;
  }

  @media (hover: hover) {
    .thumb-buttons {
      animation-name: tonext, snap;
      animation-timing-function: ease;
      animation-duration: 4s;
      animation-iteration-count: infinite;
    }

    .thumb-slide:last-child .thumb-buttons {
      animation-name: tostart, snap;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .thumb-buttons {
      animation-name: none;
    }
  }

  .thumbs:hover .thumb-buttons,
  .thumbs:focus-within .thumb-buttons {
    animation-name: none;
  }

  @media only screen and (max-width: 600px) {
    .thumbs {
      height: 230px;
      width: 500px;
      max-width: 100%;
    }
  }
  </style>
