* {box-sizing: border-box;}
body {font-family: Verdana, Georgia, "Amatic SC", sans-serif}
.mySlides {display: none;}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Text zum Bild */
.text {
  display: none;
  color: #f2f2f2;
  /*background-color: rgba(66, 51, 3, 0.45);*/
  font-size: 15px;
  padding-top: 15px;
  padding-bottom: 10px;
  /*padding: 8px 12px;*/
  position: center;
  bottom: 8px;
  /*width: 100%;*/
  text-align: center;
}

.carousel_image{
  width:90%;  
  max-width: 1000px;  /* Maximale Breite */
  max-height: 600px;  /* Maximale Höhe */
  /*width: auto; */        /* Automatische Breite (Skalierung beibehalten) */
  /*height: auto;    */   /* Automatische Höhe (Skalierung beibehalten) */
  display: block; 
  margin: 0 auto;
  object-fit: contain;  /* Verhindert Verzerrungen */
}

/* Number text (1/3 etc) */
.numbertext {
  display: none;
  color: #f2f2f2;
  font-size: 12px;
  padding: 0px 0px;
  position: absolute;
  bottom: auto;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #c26a6a;
}

/* Fading animation 
.fade {
  animation-name: fade;
  animation-duration: 2s;
}
*/

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}