.carousel {
    margin: 0 auto;
    max-width: 700px;
    width: 100%;
    overflow: hidden;
    display: flex;
    position: relative;
    
    > * {
      flex: 0 0 100%;
    }
    
    &::before,
    &::after {
      content: "";
      position: absolute;
      top: 0;
      height: 100%;
      width: 100px;
      z-index: 2;
      pointer-events: none;
    }
    
    &::before {
      left: 0;
      background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    }
    
    &::after {
      right: 0;
      background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    }
  }

/* Hide carousel on medium screens and above */
@media (min-width: 768px) {
  .carousel {
    display: none;
  }
}

.card {
    width: 100%;
    padding: 0 12px;
    font-size: xx-large;
    display: flex;
    justify-content: center;
    align-items: center;

    > * {
scale: 0.75;
      }
  }

.card-group {
    display: flex;
    gap: 0px;
    /* Add padding to the right to create a gap between the last and first card. */
    padding-right: 20px;
    will-change: transform; /* We should be nice to the browser - let it know what we're going to animate. */
    animation: scrolling 40s linear infinite;
  }

  @keyframes scrolling {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }

  