
  #slider-container {
    position: relative;
    width: 80%;
    height: auto;
    margin: auto;
    margin-bottom: 50px;
    overflow: hidden;
  }

  #slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

  .slide {
    min-width: 100%;
    box-sizing: border-box;
    border: none;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .slide img {
    width: 75%;
    height: auto;

  }
    
  .arrow {
    position: absolute;
    top: 50%;
    font-size: 30px;
    cursor: pointer;
    color: black;
    z-index: 1; /* Dodane najwyższe z-index */
  }

  #prevArrow {
    left: 10px;
  }

  #nextArrow {
    right: 10px;
  }



  @media screen and (max-width: 768px) {
    body{
      flex-direction: column;
    }

    #description-container {
      width: 85%; /* Ustaw szerokość na 100% dla ekranów medium */
      height: 40%;
      margin-top: 10px; /* Zeruj margines */
      order: -1; /* Zmień kolejność, aby opis był nad slider-container */
      padding: 10px;
      border-radius: 40px;
    }

    #slider-container {
      width: 100%; /* Zmniejsz szerokość slider-container na ekranach medium */
      margin-top: 10px;
      margin-bottom: 20px;

    }
    .thumbnail-container {
      display: none;
    } 
    .slide {
      margin-bottom: 100px;
    } 
    .slide img {
    width: 70%;
    height: auto;
    cursor: pointer;
  }

  }
  @media screen and (max-width: 320px) {
    body{
      flex-direction: column;
    }

    #description-container {
      display: none;
    }

    #slider-container {
      width: 100%; /* Zmniejsz szerokość slider-container na ekranach medium */
    }
    .thumbnail-container {
      display: none;
    } 

    .slide img {
    width: 80%;
    height: auto;
    cursor: pointer;
  }

  }