main {
  width: 95%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  position: relative;
  display: flex;
  align-items: center;
  width: 40rem;
  height: 30rem;
}

#carousel-img {
  height: auto;
  width: 100%;
  object-fit: fill;
}

.container .btn {
  position: absolute;
  width: 1.5rem;
  height: 2rem;
  background-color: transparent;
  border: none;
  color: white;
  font-size: large;
  font-weight: 600;
  font-family: cursive;
}

#back {
  left: 0;
}

#next {
  right: 0;
}
.btn:hover {
  background-color: grey;
}

.dots {
  position: absolute;
  bottom: -30px;
  left: 40%;
  width: 10rem;
  height: 5rem;
  display: flex;
  align-items: center;
}

.dot {
  margin-right: 15px;
  width: 15px;
  height: 15px;
  border-radius: 100%;
  background-color: lightgrey;
}

.dot:last-child {
  margin-right: 0;
}

.active {
  background-color: grey;
}
