.slideshow-container {
  display: flex;
  width: 100%;
  position: relative;
  margin: auto;
  overflow: hidden;
  height: 800px;
  max-height: calc(100vh - 150px);    
}

.mySlides {
  display: none;
  width: 100%;
  position: relative;
}

.zdjecie {
  width: 100%;
  height: 800px;
  max-height: calc(100vh - 150px);    
  object-fit: cover;
  margin: 0;
}

.prev, .next {
  cursor: pointer;
  font-size: 30px;
  color: white;
  font-weight: bold;
  transition: 0.3s ease;
  padding: 8px;
  border-radius: 50%;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.dot-container {
  position: absolute;
  bottom: 0;
  width: auto;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(51, 51, 51, 0.7);
  margin-bottom: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 10px 10px 10px 10px;
  gap: 10px;
}

.dot {
  height: 12px;
  width: 12px;
  background-color: #111111;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.dot.active {
  background-color: #fff;
  transform: scale(1.2);
}

#toggleButton {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #fff;
  background: #111111;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .20);
  transition:
          background .25s ease,
          transform .25s ease,
          box-shadow .25s ease;
}

#toggleButton:hover {
  background: #555555;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .28);
}

#toggleButton:active {
  transform: translateY(0);
}

/* Ikona pauzy */
.pause-icon {
  display: flex;
  gap: 4px;
  width: 10px;
  height: 14px;
}

.pause-icon::before,
.pause-icon::after {
  content: "";
  display: block;
  width: 3px;
  height: 14px;
  background: #fff;
  border-radius: 2px;
}

@media screen and (max-width: 768px) {
  .slideshow-container {
    width: 100%;
    height: auto;
  }

  .zdjecie {
    height: 350px;
  }

  .dot-container {
    padding: 8px;
    margin-bottom: 10px;
  }

  .dot {
    height: 10px;
    width: 10px;
  }

  #toggleButton {
    font-size: 10px;
    padding: 4px 8px;
  }
}
