.slideshow {
    width: 600px;
    height: 400px;
    overflow: hidden;
    position: relative;
  }
  
  .slide {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transition: opacity 1s ease-out;
  }
  
  .slide.active {
    opacity: 1;
  }
  
  .counter {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: white;
  }
  
  button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    font-size: 16px;
    padding: 10px 20px;
    cursor: pointer;
  }
  
  button.prev {
    left: 0;
  }
  
  button.next {
    right: 0;
  }