.slider-container {
  position: relative;
  width: 100vw;
  height: 94vh;
  margin: 0rem auto 2rem auto;
  padding: 0;
  overflow: scroll;
  z-index: 0;
}

.slide {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.7s;
  background-color: rgb(121, 121, 121);
}

.slide.active {
  display: block;
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.7;
  
}

.img-position-left {
  object-position: left;
}

.img-position-center {
  object-position: center;
}

.img-position-right {
  object-position: right;
}

.slide-content {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(0,0,0,0.35);
  color: #fff;
  z-index: 0;
  padding: 1rem;
}
.slide-content h2 {
  font-size: 2.2rem;
  margin: 1rem 0;
  font-weight: bold;
  text-shadow: 0 2px 6px #0007;
}
.slide-content p {
  font-size: 1.1rem;
  margin: 1rem 0;
  text-shadow: 0 1px 3px #0007;
  text-align: justify;
}
.slider-nav {
  position: absolute;
  width: 100%;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 18px;
  z-index: 10;
}
.slider-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff7;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.2s;
}
.slider-dot.active {
  background-color: rgb(44, 15, 1);
}


/* Tablet (ab 601px) */
@media (min-width: 601px) and (max-width: 1024px) {
  .slide-content {
    position: absolute;
    padding: 20%;
  }
}


/* Desktop (ab 1025px) */
@media (min-width: 1025px) {
    .slider-container {
      position: relative;
      max-width: 100vw;
      height: 96vh;
      margin: 0rem auto 2rem auto;
      padding: 0;
      overflow: scroll;
      z-index: 0;
    }

    .slide {
      position: absolute;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 0.7s;
    }

    .slide-content h2 {
      font-size: 2.5rem;
      margin-bottom: 16px;
      font-weight: bold;
      text-shadow: 0 2px 6px #0007;
    }

    .slide-content p {
      font-size: 1.25rem;
      margin-bottom: 24px;
      text-shadow: 0 1px 3px #0007;
      text-align: justify;
      max-width: 50rem;
    }

    .slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center; 
      display: block;
      opacity: 0.7;
    }
}