@import url("https://fonts.googleapis.com/css?family=Lato:400,400i,700");

/* Some resets, not essencial for this example to work */

/* Base styles for this example */

.wrapper {
  width: 100vw; /* unfortunately width has to be set to some hard value */
  display: flex;
}

.slide {
  width: 0;
}

.content {
  width: 100vw;
  height: 100%; /* this is optional if you want every slide to have same height as the highest one */
}

/* Additional styling */

.testslider {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center; 
  background-color: #000;
  height: 100%;
  
}
.switch{
  display: none;
  visibility: hidden;
}

.wrapper {
  margin: 0 auto;
  background-color: #000;
  box-shadow: 3px 3px 20px #000;
}

span {
  background-color: white;
  text-align: center;
  line-height: 4rem;
  width: 4rem;
  border-radius: 8rem;
  color: #616161;
  font-size: 2rem;
}

.content {
  padding: 450px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s;
  max-height: 90vh;
  overflow-y: auto;
}

/*.content2,
.content5,
.content6
{
  display: flex;
  justify-content: center;
  align-items: center;  
  background-color: #E0E0E0;
}*/


.content1 {
  background: url(../img/senior_team.jpg);
  background-size: cover;
  background-position: center;

}

.content2 {
  background: url(../img/RegistreCV.jpg);
  background-size: cover;
  background-position: center;

}


.content3 {
  background: url(../img/slide1.jpg) ;
  background-size: cover;
  background-position: center;
  /*background-image: url(https://images.unsplash.com/photo-1507473885765-e6ed057f782c?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=800&fit=max&ixid=eyJhcHBfaWQiOjE0NTg5fQ);
 */
}
#i_1:checked ~ .wrapper .content1,
#i_2:checked ~ .wrapper .content2,
#i_3:checked ~ .wrapper .content3
{
  opacity: 1;
  pointer-events: auto;
}

label {
  color: #847F7F;
  transition-duration: .6s;
  cursor: pointer;
}

#i_1:checked ~ .controls label[for="i_1"],
#i_2:checked ~ .controls label[for="i_2"],
#i_3:checked ~ .controls label[for="i_3"]
{
  color: #424242;
}