body {
  font-family: monospace;
}
.slider {
  width: 100%;
  position: relative;
  overflow: hidden;
  height: 0;
  padding-top: 40%;
}
@media screen and (max-width: 768px) {
  .slider {
    padding-top: 30%;
  }
}
.slider .list {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  width: max-content;
  transition: 1s;
}
.slider .list .item {
  width: 100vw;
  height: fit-content;
  align-self: center;
}
.slider .list img {
  width: 100vw;
  object-fit: cover;
}
.slider .buttons {
  position: absolute;
  top: 45%;
  left: 5%;
  width: 90%;
  display: flex;
  justify-content: space-between;
}
.slider .buttons button {
  width: 50px;
  height: 50px;
  border-radius: 505;
  background-color: #fff5;
  color: #fff;
  border: none;
  font-family: monospace;
  font-weight: bold;
}
.slider .dots {
  position: absolute;
  bottom: 10px;
  color: #fff;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  transition: 1s;
}
.slider .dots li {
  list-style: none;
  width: 10px;
  height: 10px;
  background-color: #fff;
  margin: 20px;
  border-radius: 20px;
}
.slider .dots li.active {
  width: 30px;
}
