/* Lighten overall page background */
/* body { */
    /* background-color: #5a5857; light grey */
/* } */
/* Carousel background images - different for each slide */
#myCarousel .carousel-item {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 32rem;
    position: relative;
}

#myCarousel .carousel-item:nth-child(1) {
    background-image: url("../images/AdobeStock_484890971.jpeg");
}

#myCarousel .carousel-item:nth-child(2) {
    background-image: url("../images/kolenefotyzestocka/AdobeStock_858231012.jpeg");
}

#myCarousel .carousel-item:nth-child(3) {
    background-image: url("../images/kolenefotyzestocka/AdobeStock_695546920.jpeg");
}

#myCarousel .carousel-item:nth-child(4) {
    background-image: url("../images/kolenefotyzestocka/AdobeStock_317294520.jpeg");
}

/* Dark overlay for text readability */
#myCarousel .carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

/* Ensure carousel caption stays above the overlay */
#myCarousel .carousel-caption {
    z-index: 10;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    color: #fff;
}

/*#myCarousel .carousel-item:nth-child(1) {*/
/*    background-image: url("../images/carousel0.jpg");*/
/*}*/

/*#myCarousel .carousel-item:nth-child(2) {*/
/*    background-image: url("../images/carousel1.jpg");*/
/*}*/

/*#myCarousel .carousel-item:nth-child(3) {*/
/*    background-image: url("../images/carousel2.jpg");*/
/*}*/

/* Make featurette images square and nicely cropped */
.featurette-image-square {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top;
}
/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-top: 3rem;
  padding-bottom: 3rem;
  color: rgb(var(--bs-tertiary-color-rgb));
}


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

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 32rem;
}


/* 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) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

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