* {
  box-sizing: border-box;
}

#slides {
  width: 100%;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
}

.image {
  width: 100%;
  height: 100%;
  vertical-align: middle;
  object-fit: cover;
}

.slideshow-container {
  width: 100%;
  margin: auto;
}

.setas {
  width: 100%;
  display: flex;
  position: relative;
  height: 5rem;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.prev,
.next {
  cursor: pointer;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  pointer-events: all;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.dot-container {
  width: 100%;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  z-index: 999;
  position: relative;
}

.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: var(--kfc-gray);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dot-ativo,
.dot:hover {
  width: 30px;
  height: 10px;
  border-radius: 6px;
  background-color: var(--kfc-black);
}

.slide.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@media (min-width: 767px) {
  .slideshow-container {
    height: 30rem;
  }

  .setas {
    bottom: 60%;
  }
}

@media (max-width: 767px) {
  .slideshow-container {
    height: 11.5rem;
  }

  .setas {
    bottom: 80%;
  }
}
