.st {
  margin: 30px;
}

#slide ul, #slide li {
  list-style: none;
}

#slide {
  margin: auto;
  height: 450px;
  width: 900px;
  border-radius: 50px;
  border-width: 3px;
  border-color: gray;
  border-style: dotted;
  position: relative;
  overflow: hidden;
}

#slide ul {
  width: 400%;
  height: 100%;
  transition: 1s;
  margin-block-start: 0px;
  margin-block-end: 0px;
  padding-inline-start: 0px;
}

#slide ul:after{
  content: "";
  display: block;
  clear: both;
}

#slide li {
  float: left;
  width: 25%;
  height: 100%;
}

#slide li:nth-child(1) {
  background-image: url("../img/rre1.png");
}

#slide li:nth-child(2) {
  background-image: url("../img/rre2.png");
}

#slide li:nth-child(3) {
  background-image: url("../img/rre3.png");
}

#slide li:nth-child(4) {
  background-image: url("../img/rre4.png")
}

#slide input {
  display:none;
}

#slide label {
  display: inline-block;
  vertical-align: middle;
  width: 100px;
  height: 10px;
  border: 2px solid #666;
  background: #fff;
  transition: 0.3s;
  border-radius: 0%;
  cursor: pointer;
  autoplay: true,
  loop: true,
}

#slide .pos {
  text-align: center;
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 100%;
  text-align: center;
  margin-block-start: 0em;
  margin-block-end: 0em;
}

#pos1:checked~ul {
  margin-left: 0%;
}

#pos2:checked~ul {
  margin-left: -100%;
}

#pos3:checked~ul {
  margin-left: -200%;
}

#pos4:checked~ul {
  margin-left: -300%;
}

#pos1:checked~.pos>label:nth-child(1) {
  background: #666;
}

#pos2:checked~.pos>label:nth-child(2) {
  background: #666;
}

#pos3:checked~.pos>label:nth-child(3) {
  background: #666;
}

#pos4:checked~.pos>label:nth-child(4) {
  background: #666;
}

