#slider { 
  position: relative;
  text-align: center;
  top: 10px;
}

#slider{ 
  margin: 0 auto;
}

#slides article{ 
  width: 20%;
  float: left;
}

#slides .image{ 
  width: 500%;
  line-height: 0;
}

#overflow{ 
  width: 100%;
  overflow: hidden;
}

article img{ 
  width: 100%;
}

#desktop:checked ~ #slider{ 
  max-width: 960px; 
}

#switch1:checked ~ #controls label:nth-child(3), 
#switch2:checked ~ #controls label:nth-child(1),
#switch3:checked ~ #controls label:nth-child(2){
  background: url('/images/arrow.png') no-repeat; 
  position: absolute;
  margin: 0 0 0 -84px; 
  display: block;
  height: 68px;
  width: 68px;
}

#switch1:checked ~ #controls label:nth-child(2), 
#switch2:checked ~ #controls label:nth-child(3),
#switch3:checked ~ #controls label:nth-child(1){
  background: url('/images/arrow.png') no-repeat; 
  transform: rotate(180deg);
  position: absolute;
  right: 0;
  margin: 0 -84px 0 0; 
  display: block;
  height: 68px;
  width: 68px;
}

label, a{ 
  cursor: pointer;
}

.slider input{ 
  display: none;
}

#switch1:checked ~ #slides .image{
  margin-left: 0;
}

#switch2:checked ~ #slides .image{
  margin-left: -100%;
}

#switch3:checked ~ #slides .image{
  margin-left: -200%;
}

#controls{ 
  margin: -25% 0 0 0;
  width: 100%;
  height: 50px;
}

#active label{ 
  border-radius: 10px; 
  display: inline-block; 
  width: 44px;
  height: 6px;
  background: #283036;
}

#active{ 
  margin: 23% 0 0;
  text-align: center;
}

#active label:hover{ 
  background: #ff6e3061;
  border-color: #777 !important; 
}


#switch1:checked ~ #active label:nth-child(1),
#switch2:checked ~ #active label:nth-child(2),
#switch3:checked ~ #active label:nth-child(3){
  background: #FF6E30;
  border-color: #FF6E30 !important;
  height: 6px;
}

#slides .image{ 
  transition: all 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000);
}

#controls label:hover{ 
  opacity: 0.6;
}

#controls label{ 
  transition: opacity 0.2s ease-out;
}