* {box-sizing:border-box; font-family: 'Roboto', sans-serif;}

.main-container {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* Slideshow container */
.slideshow-container {
  min-width: 800px;
/* original: 450 ; Collège vidéo: 1024*768 */
/*   position: relative; */
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}


/* Next & previous buttons */
.controls {
  position: relative;
  cursor: pointer;
  margin: 4px 2px;
  padding: 10px 20px;
  background-color: #6C63FF;
  color: white;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 16px;
  text-decoration: none;
  border: none;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
}

/* On hover, add a black background color with a little bit see-through */
.controls:hover {
  background-color: #3F3D56;
}

/* Hide Chrome default focus outline when a button is pressed */
.controls:focus {
  outline: none;
}

.controls:focus-visible {
  outline:outline: 3px solid black;
}


/* Caption text */
.text {
  color: black;
  font-size: 18px;
  margin-bottom: 12px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

#myProgress {
  width: 100%;
  background-color: #3F3D56;
}

#myBar {
  width: 0%;
  height: 3px;
  background-color: #6C63FF;
}


.slider-controls {
  width: 100%;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
