/* Custom Style Sheet */

body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
}



.slider {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
}

.slide img,
.slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 24px;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  z-index: 2;

  border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }

.dots {
  text-align: center;
  position: absolute;
  bottom: 15px;
  width: 100%;
  z-index: 2;
  -webkit-touch-callout: none;
  user-select: none;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 5px;
  display: inline-block;
  background: #bbb;
  border-radius: 50%;
  cursor: pointer;
}

.active {
  background: #fff;
}

/* Tablet */
@media (max-width: 1024px) {
  .slider {
    height: 450px; /* height: 300px; */
  }
}

/* Mobile */
@media (max-width: 768px) {
  .slider {
    height: 330px; /* height: 220px; */
  }

  .prev, .next {
    font-size: 22px;
    padding: 8px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .slider {
    height: 270px; /* height: 180px; */
  }
}

.slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* 🔥 fills and centers */
  object-position: center; /* 🔥 ensures center focus */
  display: block;
  object-fit: contain;
  background: black;
}

.gif-slider {
  position: relative;
  width: 100%;
}

/* stack all slides */
.gif-slide {
  position: absolute;
  inset: 0;

  opacity: 0;
  transition: opacity 1s ease;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* active slide */
.gif-slide.active {
  opacity: 1;
  position: relative;
}

/* image styling */
.gif-slide img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
