#slider{
  width:100%;
  height:300px;
  position:relative;
  overflow:hidden;
}
@keyframes load{
  from{left:-100%;}
  to{left:0;}
}
.slides{
  width:400%;
  height:100%;
  position:relative;
  animation:slide 30s infinite;
}
.slider{
  width:25%;
  height:100%;
  float:left;
  position:relative;
  z-index:1;
  overflow:hidden;
}


/* Contents */
.content{
  width:100%;
  height:100%;
  position:absolute;
  overflow:hidden;
}
.content-txt{
  width:80%;
  height:160px;
  padding-left:20px;
  float:left;
  position:relative;
  top:120px;color:#fd8;
  animation:content-s 7.5s infinite;
}
.content-txt h1{
  font-size:24px;
  color:#fd8;
  text-align:left;
  margin-left:3px;
  padding-bottom:10px;
}
.content-txt h2{
  font-size:16px;
  color:#fd8;
  text-align:left;
  margin-left:30px;
}

/* Switch */
.switch{
  width:120px;
  height:10px;
  position:absolute;
  bottom:50px;
  z-index:99;
  left:30px;
}
.switch > ul{ list-style:none;}
.switch > ul > li{
  width:20px;
  height:20px;
  border-radius:50%;
  background:#fff;
  float:left;
  margin-right:5px;
  cursor:pointer;
}
.switch ul{overflow:hidden; }
.on{
  width:100%;
  height:100%;
  border-radius:50%;
  background:#0f0;
  position:relative;
  animation:on 30s infinite;
}

/* Animation */
@keyframes slide{
  0%,100%{margin-left:0%; }
  21%{ margin-left:0%;    }
  25%{ margin-left:-100%; }
  46%{ margin-left:-100%; }
  50%{ margin-left:-200%; }
  71%{ margin-left:-200%; }
  75%{ margin-left:-300%; }
  96%{ margin-left:-300%; }
}


@keyframes content-s{
  0%{left:-520px;}
  10%{left:20px;}
  15%{left:0px;}
  30%{left:0px;}
  40%{left:0px;}
  50%{left:0px;}
  60%{left:0px;}
  70%{left:0;}
  80%{left:-520px;}
  90%{left:-520px;}
  100%{left:-520px;}
}

@keyframes on{
  0%,100%{ margin-left:0%; }
  21%{ margin-left:0%; }
  25%{ margin-left:25px; }
  46%{ margin-left:25px; }
  50%{ margin-left:50px; }
  71%{ margin-left:50px; }
  75%{ margin-left:75px; }
  96%{ margin-left:75px; }
}
