.mySlides {display: none}
img {vertical-align: middle;}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: 50%;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  color: white;
  font-weight: 100!important;
  user-select: none;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 0.4em;
  background-color: white;
  border-radius: 50%;
  display: inline-block;
  transition: all 0.6s ease;
}

.dot:hover {
  background-color: var(--primary-color);
}

.dot.active {
  background-color: var(--primary-color);
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

.slide-nav {
  position: absolute;
  bottom: 5em;
  left: 50%;
  right: 0;
  padding: 1em;
  padding-left: 2em;
  padding-right: 2em;
  justify-content: center;
  z-index: 3;
  display: flex;
  align-items: center;
}

.mySlides .content-uvod {
    position: absolute;
    width: 100%;
    height: max-content;
    z-index: 2;
    margin: auto;
    left: 0;
    bottom: 8em;
    background-color: white;
}

.nav-arrow {
  position: absolute;
  z-index: 2;
  top: 42%;
  display: none;
  justify-content: space-between;
  width: 95%;
  margin: auto;
  left: 0;
  right: 0;
}

.nav-arrow a {
  font-size: 4rem;
}

.slideshow-container img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
  object-fit: cover;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

.full-section {
  min-height: 500px;
}

.full-section .mySlides .content-uvod {
  width: 60%;
  margin: auto;
  left: 0;
  right: 0;
}

.full-section .slide-nav {
  left: 0;
}

.full-section .slideshow-container {
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

@media only screen and (max-width: 991px) {
  .slider-wrapper {
    position: relative;
    height: 400px;
}

.slideshow-container {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.slide-nav {
  left: 0; 
  bottom: 4%!important;
}

.mySlides .content-uvod {
  width: 100%!important;
  margin: auto;
  left: 0;
  right: 0;
  bottom: 15%!important;
}
}
/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}