/* GLOBAL STYLES
-------------------------------------------------- */

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 0;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 0;
  z-index: 10;
  background-color: rgb(255 51 0 /0.7);
  left:35px;
  max-width: 28%;
  border-radius: 15px 15px 0 0;
  padding: 13px 10px 5px 10px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;

}

.carousel-caption h2 {
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	opacity: 1;
	line-height: normal;
}

/* Declare heights because of positioning of img element */
#body1 #slider .carousel-item {
  height: 25rem;
}


#body1 #slider .carousel-item img {
	object-fit: cover;
	object-position: right;
	height: 100%;
}

#two-col .carousel-item {
  height: 21rem; 
} 


.carousel-indicators [data-bs-target] {
	height: 14px;
	width: 14px;
	border-radius: 50%;
	border: 2px solid #fff;
	margin-left: 6px;
	margin-right: 6px;
	opacity: 1;
}

.carousel-indicators .active {
	background: #ff3300;
}

/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
/* rtl:end:ignore */


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
/* rtl:begin:remove */
.featurette-heading {
  letter-spacing: -.05rem;
}

/* rtl:end:remove */

/* RESPONSIVE CSS
-------------------------------------------------- 

@media (min-width: 40em) {
	
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
  
  	.carousel-caption {
	max-width: 78%;
}

}

@media (max-width: 40em) {
	
	.carousel-caption {
		max-width: 80%;
	}
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
	.carousel-caption {
	max-width: 28%;
}

}

*/


/* Extra große Bildschirme (Desktops ab 1200px) */
@media (min-width: 1200px) and (max-width: 1399px) {
	.carousel-caption {
		max-width: 30%;
	}
	.carousel-caption h2 {
	font-size: 20px;
}


}

/* Große Bildschirme (Laptops ab 992px) */
@media (min-width: 992px) and (max-width: 1199px) {
	.carousel-caption {
		max-width: 33%;
	}
	.carousel-caption h2 {
	font-size: 18px;
}
}

/* Mittlere Bildschirme (Tablets ab 768px) */
@media (min-width: 768px) and (max-width: 991px) {
	.carousel-caption {
		max-width: 38%;
	}
	.carousel-caption h2 {
	font-size: 15px;
}
}

/* Kleine Bildschirme (Smartphones bis 767px) */
@media (max-width: 767px) {
	.carousel-caption {
		max-width: 34%;
	}
	.carousel-caption h2 {
	font-size: 10px;
	font-weight: normal;
}
}
