.carousel
{
  height: 400px;
  width: 650px;
  overflow: hidden;
  text-align: center;
  position: relative;
  padding: 0;
  list-style: none;
}
.carousel__controls,
.carousel__activator 
{
  display: none;
}
.carousel__activator:nth-of-type(1):checked ~ .carousel__track 
{
  transform: translateX(0%);
}
.carousel__activator:nth-of-type(1):checked ~ .carousel__slide:nth-of-type(1) 
{
  transition: opacity 0.5s, transform 0.5s;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
  transform: scale(1);
}
.carousel__activator:nth-of-type(1):checked ~ .carousel__controls:nth-of-type(1) 
{
  display: block;
  opacity: 1;
}
.carousel__activator:nth-of-type(1):checked ~ .carousel__indicators .carousel__indicator:nth-of-type(1) 
{
  opacity: 1;
}
.carousel__activator:nth-of-type(2):checked ~ .carousel__track 
{
  transform: translateX(-100%);
}
.carousel__activator:nth-of-type(2):checked ~ .carousel__slide:nth-of-type(2) 
{
  transition: opacity 0.5s, transform 0.5s;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
  transform: scale(1);
}
.carousel__activator:nth-of-type(2):checked ~ .carousel__controls:nth-of-type(2) 
{
  display: block;
  opacity: 1;
}
.carousel__activator:nth-of-type(2):checked ~ .carousel__indicators .carousel__indicator:nth-of-type(2) 
{
  opacity: 1;
}
.carousel__activator:nth-of-type(3):checked ~ .carousel__track 
{
  transform: translateX(-200%);
}
.carousel__activator:nth-of-type(3):checked ~ .carousel__slide:nth-of-type(3) 
{
  transition: opacity 0.5s, transform 0.5s;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
  transform: scale(1);
}
.carousel__activator:nth-of-type(3):checked ~ .carousel__controls:nth-of-type(3) 
{
  display: block;
  opacity: 1;
}
.carousel__activator:nth-of-type(3):checked ~ .carousel__indicators .carousel__indicator:nth-of-type(3) 
{
  opacity: 1;
}
.carousel__activator:nth-of-type(4):checked ~ .carousel__track 
{
  transform: translateX(-300%);
}
.carousel__activator:nth-of-type(4):checked ~ .carousel__slide:nth-of-type(4) 
{
  transition: opacity 0.5s, transform 0.5s;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
  transform: scale(1);
}
.carousel__activator:nth-of-type(4):checked ~ .carousel__controls:nth-of-type(4) 
{
  display: block;
  opacity: 1;
}
.carousel__activator:nth-of-type(4):checked ~ .carousel__indicators .carousel__indicator:nth-of-type(4) 
{
  opacity: 1;
}
.carousel__activator:nth-of-type(5):checked ~ .carousel__track 
{
  transform: translateX(-400%);
}
.carousel__activator:nth-of-type(5):checked ~ .carousel__slide:nth-of-type(5) 
{
  transition: opacity 0.5s, transform 0.5s;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
  transform: scale(1);
}
.carousel__activator:nth-of-type(5):checked ~ .carousel__controls:nth-of-type(5) 
{
  display: block;
  opacity: 1;
}
.carousel__activator:nth-of-type(5):checked ~ .carousel__indicators .carousel__indicator:nth-of-type(5) 
{
  opacity: 1;
}

/* fleches */
.carousel__control 
{
  height: 40px;
  width: 40px;
  margin: -15px 10px 0 10px;
  top: 50%;
  position: absolute;
  display: block;
  cursor: pointer;
  transition: all 0.5s;
  border-width: 8px 8px 0 0;
  border-style: solid;
  border-color: rgb(241, 235, 235);
  opacity: 0.35;
  outline: 0;
  z-index: 3;
}
.carousel__control:hover 
{
    opacity: 1;
    height: 45px;
    width: 45px;
  }
.carousel__control--backward 
{
  left: 10px;
  transform: rotate(-135deg);
}
.carousel__control--forward 
{
  right: 10px;
  transform: rotate(45deg);
}

/* Points */
.carousel__indicators 
{
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
}
.carousel__indicator 
{
  height: 15px;
  width: 15px;
  border-radius: 100%;
  display: inline-block;
  z-index: 2;
  transition: all 0.5s;
  cursor: pointer;
  opacity: 0.35;
  margin: 0 2.5px 0 2.5px;
  background-color: rgb(241, 235, 235);
}
.carousel__indicator:hover 
{
  opacity: 0.75;
  transform: scale(1.2);
}
  
/**/
.carousel__track 
{
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0;
  margin: 0;
  transition: transform 0.5s ease 0s;
}
.carousel__track .carousel__slide 
{
  display: block;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
}
.carousel__track .carousel__slide:nth-of-type(1) 
{
  transform: translateX(0%);
}
.carousel__track .carousel__slide:nth-of-type(2) 
{
  transform: translateX(100%);
}
.carousel__track .carousel__slide:nth-of-type(3) 
{
  transform: translateX(200%);
}
.carousel__track .carousel__slide:nth-of-type(4) 
{
  transform: translateX(300%);
}
.carousel__track .carousel__slide:nth-of-type(5) 
{
  transform: translateX(400%);
}
.carousel--scale .carousel__slide 
{
  transform: scale(0);
}
.carousel__slide 
{
  height: 100%;
  position: absolute;
  overflow-y: auto;
  opacity: 0;
}
html,
.carousel-container 
{
  display: inline-block;
}
.my-carousel 
{
  border-radius: 5px;
  margin: 30px;
}
.carousel__slide 
{
  overflow: hidden;
}
.carousel--thumb .carousel__indicator 
{
  height: 30px;
  width: 30px;
}

/* Nom des sites */
.carousel-container li
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.carousel-container h1 
{
    font-size: 50px;
    line-height: 50px;
    color: #fafafa;
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    margin-top: -25px;
}

/* images */
.carousel__slide:nth-of-type(1),
.carousel--thumb .carousel__indicators .carousel__indicator:nth-of-type(1) 
{
  background-image: url(./../images/creation/wattisthequestion.webp);
  background-size: cover;
  background-position: center;
}
.carousel__slide:nth-of-type(2),
.carousel--thumb .carousel__indicators .carousel__indicator:nth-of-type(2) 
{
  background-image: url(./../images/creation/NightCall.webp);
  background-size: cover;
  background-position: center;
}
.carousel__slide:nth-of-type(3),
.carousel--thumb .carousel__indicators .carousel__indicator:nth-of-type(3) 
{
  background-image: url(./../images/creation/baf.webp);
  background-size: cover;
  background-position: center;
}
.carousel__slide:nth-of-type(4),
.carousel--thumb .carousel__indicators .carousel__indicator:nth-of-type(4) 
{
  background-image: url(./../images/creation/Angouleme.webp);
  background-size: cover;
  background-position: center;
}
.carousel__slide:nth-of-type(5),
.carousel--thumb .carousel__indicators .carousel__indicator:nth-of-type(5) 
{
  background-image: url(./../images/creation/Univ.webp);
  background-position: center;
}