* {box-sizing:border-box}

.container {
  padding: 0;
  margin: 0;
  margin-bottom: clamp(100px, 8rem, 200px);
}

.carousel-container{
  width: 100%;
  max-width: 70vw;
  position: relative;
  margin: auto;
  margin-top: 5vh;
  margin-bottom: 0;
}

.carousel {
  width: 100%;
  display: none;
  position: relative;
  aspect-ratio: 16 / 8;
  overflow: hidden;
}

.carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.carousel video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  color: rgb(228, 83, 47);
  font-weight: bold;
  font-size: 2.5vw;
  font-style: normal;
  transition: 0.5s ease;
  user-select: none;
}

.prev {
  left: 0;
  border-radius: 10% 0 0 10%;
}

.next {
  right: 0;
  border-radius: 0 10% 10% 0;
}

.prev:hover, .next:hover {
  color: black;
}

.prev:active, .next:active {
  color: rgb(228, 83, 47);
}

.carousel-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  z-index: 2;
  text-align: center;
  font-style: normal;
  font-weight: 600;
  color: white;
  font-size: 2.2rem;
  padding: 8px 12px;
}

.dot {
  cursor: pointer;
  height: 1vw;
  width: 1vw;
  margin: 1.5vw 1vw;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.5s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

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

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