/* Reset */
*{margin:0;padding:0;}
 
/* Slider */
#slider{
  position:relative;
  /* width:65%; */
  width:100%; 
  height: 500px;
  overflow:hidden;
  /* border: 4px solid darkolivegreen; */
}
@keyframes load{
  from{left:-100%;}
  to{left:0;}
}
.slides{
  width:400%;
  height:100%;
  position:relative;
  -webkit-animation:slide 30s infinite;
  -moz-animation:slide 30s infinite;
  animation:slide 30s infinite;
}
.slider{
  width:25%;
  height:100%;
  float:left;
  position:relative;
  z-index:1;
  overflow:hidden;
}
.slide img{
  width:100%;
  height:100%;
}
.image{
  width:100%;
  height:100%;
}
.image img{
  width:100%;
  height:100%;
}

/* Contents */
.slideCaption{
  /* background-color: rgba(190, 50, 190,0.4); */
  width:100%;
  height:100%;
  background-color: #55445570;
  position:absolute;
  overflow:hidden;
}
.slideCaption-txt{
  width: 60%;
  /* width:100%; */
  height:160px;
  /* height:100%; */
  float:left;
  position:relative;
  top: 150px;
  -webkit-animation:content-s 7.5s infinite;
  -moz-animation:content-s 7.5s infinite;
  animation:content-s 7.5s infinite;
}
.slideCaption-txt h2{
  font-family:Arial;
  text-transform:uppercase;
  font-size:55px;
  font-weight:800;
  line-height: 1.2em;
  color:#fff;
  text-align:center;
  margin-left:30px;
  padding-bottom:0px;
}

/* Switch */
.switch{
  width:120px;
  height:10px;
  position:absolute;
  bottom:50px;
  z-index:99;
  left:30px;
}
.switch > ul{
  list-style:none;
}
.switch > ul > li{
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgb(234, 238, 241);
  float:left;
  margin-right:5px;
  cursor:pointer;
}
.switch ul{
  overflow:hidden;
}
.on{
  width:100%;
  height:100%;
  border-radius:50%;
  background:#e41ce4;
  position:relative;
  -webkit-animation:on 30s infinite;
  -moz-animation:on 30s infinite;
  animation:on 30s infinite;
  z-index: 3000;
}

/* Animation */
@-webkit-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%;
  }
}
@-moz-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 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%;
  }
}

@-webkit-keyframes content-s{
  0%{left:-900px;}
  10%{left:200px;}
  15%{left:200px;}
  30%{left:200px;}
  40%{left:200px;}
  50%{left:200px;}
  60%{left:200px;}
  70%{left:200px;}
  80%{left:-900px;}
  90%{left:-900px;}
  100%{left:-900px;}
}
@-moz-keyframes content-s{
  0%{left:-900px;}
  10%{left:200px;}
  15%{left:200px;}
  30%{left:200px;}
  40%{left:200px;}
  50%{left:200px;}
  60%{left:200px;}
  70%{left:200px;}
  80%{left:-900px;}
  90%{left:-900px;}
  100%{left:-900px;}
}
@keyframes content-s{
  0%{left:-900px;}
  10%{left:200px;}
  15%{left:200px;}
  30%{left:200px;}
  40%{left:200px;}
  50%{left:200px;}
  60%{left:200px;}
  70%{left:200px;}
  80%{left:-900px;}
  90%{left:-900px;}
  100%{left:-900px;}
}

@-webkit-keyframes on{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:15px;
  }
  46%{
    margin-left:15px;
  }
  50%{
    margin-left:30px;
  }
  71%{
    margin-left:30px;
  }
  75%{
    margin-left:45px;
  }
  96%{
    margin-left:45px;
  }
}

@-moz-keyframes on{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:15px;
  }
  46%{
    margin-left:15px;
  }
  50%{
    margin-left:30px;
  }
  71%{
    margin-left:30px;
  }
  75%{
    margin-left:45px;
  }
  96%{
    margin-left:45px;
  }
}

@keyframes on{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:15px;
  }
  46%{
    margin-left:15px;
  }
  50%{
    margin-left:30px;
  }
  71%{
    margin-left:30px;
  }
  75%{
    margin-left:45px;
  }
  96%{
    margin-left:45px;
  }
}

a{text-decoration:none; color:inherit;}

@media only screen and (max-width: 840px) {

  #slider{
    height: 350px;
  }
  .slideCaption-txt{
    width: 90%;
    height: 160px;
    top: 120px;
  }
  .slideCaption-txt h2{
    font-size: 45px;
    font-weight: 800;
    color:rgb(240, 163, 240);
  }
  .switch{
    bottom:20px;
    left:10px;
  }
  .slideCaption-txt h2{
    margin-left: 0;
  }
  @keyframes content-s{
    0%{left:-900px;}
    10%{left:40px;}
    15%{left:40px;}
    30%{left:50px;}
    40%{left:50px;}
    50%{left:40px;}
    60%{left:40px;}
    70%{left:50px;}
    80%{left:-900px;}
    90%{left:-900px;}
    100%{left:-900px;}
  }
}

@media only screen and (max-width: 500px) {

  #slider{
    height: 230px;
  }
  .slideCaption-txt{
    top: 80px;
  }
  .slideCaption-txt h2{
    font-size: 25px;
  }
  .switch{
    bottom:10px;
    left:5px;
  }
  .switch > ul > li{
    width: 10px;
    height: 7px;
    border-radius: 10px;
  }
  @keyframes content-s{
    0%{left:-900px;}
    10%{left:20px;}
    15%{left:20px;}
    30%{left:40px;}
    40%{left:40px;}
    50%{left:20px;}
    60%{left:20px;}
    70%{left:40px;}
    80%{left:-900px;}
    90%{left:-900px;}
    100%{left:-900px;}
  }
}