/* Slideshow container */

* {box-sizing: border-box;}
.mySlides {
  display: none;
}
img {vertical-align: middle;}

.slideshow-container {
  max-width: 100%;
  max-height: 672px;
  position: relative;
  margin: auto;
  overflow: hidden;
}
.slider-container {
  width: 100%;
  height: 360px;
  position: relative;
  overflow: hidden; /* Hides parts of the image that fall outside the box */
  display: flex;
}
.slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Scales the image and crops excess areas to fill the box */
  object-position: center; /* Adjusts which part of the image stays in focus */
}


/* Caption text */
.carousel-text {
  color: #f2f2f2;
  font-size: .8em;
  font-weight: normal;
  background: rgba(0, 0, 0, 1); /* Alpha value */
  padding: 8px 12px;
  /*position: absolute;*/
  bottom: 0px;
  width: 100%;
  text-align: left;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 0.9em;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* 3. The container wrapping your navigation dots */
.dots-container {
  position: relative; /* Pulls the dots out of normal flow to layer over the image */
  bottom: 50px;       /* Pushes them 20px up from the bottom edge of the image */
  
  left: 50%;          /* Moves the container to the horizontal center point */
  transform: translateX(-50%); /* Perfectly centers the dots across the X-axis */
  right: 50%;
  transform: translatey(-50%); /* Align the dots across the y-axis position */
  /* Layout alignment for the dots inside */
  display: flex;
  gap: 10px;          /* Even spacing between each dot */
  z-index: 10;        /* Ensures dots stay on top of the image layers */
}

/* The dots/bullets/indicators */
.dot {
  height: 11px;
  width: 11px;
  margin: 0 2px;
  /*background-color: #bbb;*/
  background-color: transparent; /* Makes the center clear */
  border: 2px solid #fff;     /* The visible outline */
  border-radius: 50%;
  /*display: inline-block;*/
  transition: background-color 0.6s ease;
  cursor: pointer;
  display: flex;
  margin-bottom: 10px; /* Space between dots and text */
}

.dot-active {
  background-color: #918e8e;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}




/*Drop the image when the screen is smaller than 600px */
/*
@media screen and (max-width: 700px) {
  .carousel {
    display: none;
  }
}
*/
/* On smaller screens, decrease text size */
/*@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}
*/
