/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
    padding-top: 5rem;
    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;
}

/* Base styles for carousel */
.carousel-item {
    height: 42rem;
}

.carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Large desktop (≥1200px) */
@media (min-width: 1200px) {
    .carousel-item {
        height: 42rem;
    }
}

/* Desktop (≥992px and <1200px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .carousel-item {
        height: 38rem;
    }
}

/* Tablet (≥768px and <992px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .carousel-item {
        height: 32rem;
    }

    .carousel-caption {
        padding-bottom: 1.5rem;
    }

    .carousel-caption h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .carousel-caption p {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .carousel-caption .btn {
        padding: 0.6rem 1.2rem;
        font-size: 1.1rem;
    }
}

/* Small tablet (≥576px and <768px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .carousel-item {
        height: 28rem;
    }

    .carousel-caption {
        padding-bottom: 1.25rem;
    }

    .carousel-caption h1 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .carousel-caption p {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .carousel-caption .btn {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}

/* Mobile (<576px) */
@media (max-width: 575.98px) {
    .carousel-item {
        height: 20rem;
    }

    .carousel-caption {
        padding-bottom: 1rem;
    }

    .carousel-caption h1 {
        font-size: 1.5rem;
        margin-bottom: 0.4rem;
    }

    .carousel-caption p {
        font-size: 0.875rem;
        margin-bottom: 0.4rem;
    }

    .carousel-caption .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
}

/* 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;
    }
}