.carousel {
  width: 60%;
  margin: 16px auto;
}

.container {
  width: 100%;
  height: 100%;
  /* overflow: hidden; */
  position: relative;
  outline:0px solid rgb(127, 102, 225);
 
}

ul {
  list-style: none;
  margin: 0,100px;
  padding: 0,50px;
  height: 100%;
  display: flex;
  transition: transform 1.3s;
}

li {
  height: 100%;
  min-width: 70%;
}

li img {
  width: 80%;
  height: 100%;
  object-fit: cover;
}

#prev,
#next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 1.0);
  color: #fff;
  font-size: 40px;
  padding: 0 8px 4px;
  cursor: pointer;
}

#prev:hover,
#next:hover {
  opacity: .8;
}

#prev {
  left: -10px;
}

#next {
  right: 230px;
}

.hidden {
  display: none;
}

nav {
  margin-top: -20px;
  text-align: center;
}

nav button + button {
  margin-left: 12px;
}

nav button {
  /* border: none; */
  width: 20px;
  height: 20px;
  background: rgb(238, 217, 217);
  border-radius: 50%;
  cursor: pointer;
}

nav .current {
  background: rgb(238, 17, 17);
}