* {box-sizing:border-box}

:root {
  --main-bg-color: #000066;
  --main-color: #000066;
  --outline: none;
}

/* Slideshow container */
.slideshow-container {
  width: 300px;
  height: 300px;
  margin: auto;
  cursor: zoom-in;
  outline: none;
}

/* Hide the images by default */
/* .mySlides {
  display: none;
} */

.mySlides {
  cursor: zoom-in;
  outline: none;
}

.controllers-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 600px;
  height: 50px;
  margin: auto;
  text-align: center;
  position: relative;
    /* Add this line to set a positioning context for its children */
}

/* Next & previous buttons */
.prev, .next {
  margin: 0 10px;
  padding: 0;  /* Removing padding */
  transition: 0.6s ease;
  user-select: none;
  background: none;/* No background */
  border: none;/* No border */
  outline: none;/* No outline */
  cursor: pointer;/* Change the cursor to a pointer on hover */
  position: absolute;/* The buttons will be positioned relative to .controllers-container */
  top: 50%;
  transform: translateY(-50%); /* Center the buttons vertically */
}

.slide-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 102, 0.8);
  padding: 5px 10px;
  border-radius: 15px;
  font-weight: bold;
  color: yellow;
}

.current-slide,
.total-slides {
  font-family: "Consolas", monospace;
  font-size: 18px;
  padding: 0 5px;
  width: 20px;
    /* or another suitable value */
  display: inline-block;
  text-align: center;
}

.prev {
  left: 0;/* Position the previous button to the far left */
  left: 20%;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
  right: 20%;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: transparent;
}

.prev img,
.next img {
  height: 85px;
  width: auto;
  /* This will maintain the image's aspect ratio */
}

.slide-divider {
  margin: 0 10px;
  /* Adjust this value to increase or decrease the space */
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.dot-cointainer {
  /* width: 250px; */
  text-align: center;
}

/* The dots/bullets/indicators */
.dot {
  /*cursor: pointer;*/
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

.opsluiten {
  object-fit: contain;
  width: 300px;
  height: 300px;
  outline: none;
}

/* .opsluiten img {
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
} */

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}