* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  width: 100%;
  height: 100%;
  background-color: #000;
  overflow: hidden;
}

.slideshow {
  width: 100vw;
  height: 100vh;
  position: relative;
}

.slide-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  cursor: pointer;
  padding: 10px 20px;
  z-index: 2;
}

.nav.left {
  left: 10px;
}

.nav.right {
  right: 10px;
}

.nav:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* Versão MOBILE */
.gallery-mobile {
  display: none;
  flex-direction: column;
}

.gallery-mobile img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

/* Responsivo */
@media (max-width: 768px) {
  .slide-wrapper, .nav {
    display: none;
  }

  .gallery-mobile {
    display: flex;
    overflow-y: auto;
    height: 100vh;
  }

  html, body {
    overflow: auto;
  }

  .slideshow {
    height: auto;
  }
}