﻿/* Carousel */

.carousel {
    /*margin-top: -110px;*/
    /* z-index: 1;*/
    background-color: #f8f3ef;
    /*margin-bottom: 30px;*/
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    /*position: absolute;
    z-index: 1;
    left: 0;
    right: unset;
    top: 0;
    padding-top: 35%;*/
    /*padding-bottom: 20px;*/
    /*padding-left: 10%;
    text-align: left;
    content: '\A';
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    opacity: 1;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;*/

    display: grid;
    align-items: end;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(0,0,0,0.2);
    opacity: 1;*/
    /*padding-top: 18%;*/
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 5%;
}

    .carousel-caption h5 {
        /*
        margin-left: 20px;
        margin-right: 20px;
        color: white;
        font-size: 70px;
        font-weight: bold;
        font-family: Oxygen;*/
        color: white;
        font-size: 60px;
        font-weight: 300;
    }

    .carousel-caption p {
        /*margin-top: 20px;
        margin-left: 20px;
        margin-right: 20px;
        font-weight: bold;
        color: white;
        */
        font-size: 36px;
        color: white;
        font-weight: 300;
        /* background: rgba(0,0,0,0.3);*/
    }

/* Declare heights because of positioning of img element */
.carousel-item {
    /*height: 800px;*/
}

    .carousel-item > img {
        /*position: absolute;
        top: 0;
        left: 0;
        min-width: 100%;
        height: 100%;*/
        /*--image-filter: grayscale(30%);
        background: rgba(0,0,0,0.3);*/
        /*height: 32rem;*/
    }

.carousel-indicators {
    /*position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-bottom: 1rem;
    margin-left: 15%;*/
    /*background-color: #fff;*/
    /*padding: 5px;*/
}

    .carousel-indicators [data-bs-target] {
        /*box-sizing: content-box;
        flex: 0 1 auto;
        width: 15px;
        height: 15px;
        padding: 0;
        margin-right: 3px;
        margin-left: 3px;
        text-indent: -999px;
        cursor: pointer;
        background-color: #fff;
        background-clip: padding-box;
        border: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;*/
        /*opacity: 1;*/
        /*transition: opacity .6s ease*/
    }

/* Responsive */

/* Large desktops and laptops */
@media (max-width: 1200px) {

    .carousel-item {
        /*height: 700px;*/
    }

    .carousel-caption {
        padding-top: 20%;
    }

        .carousel-caption h5 {
            font-size: 45px;
        }

        .carousel-caption p {
            font-size: 20px;
        }
}

/* Portrait tablets and small desktops */
@media (max-width: 992px) {

    .carousel-item {
        /*height: 500px;*/
    }

    .carousel-caption h5 {
        font-size: 32px;
    }

    .carousel-caption p {
        font-size: 20px;
    }
}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {

    .carousel-item {
        /*height: 400px;*/
    }

    .carousel-caption h5 {
        font-size: 24px;
    }

    .carousel-caption p {
        font-size: 14px;
    }

    .carousel-indicators {
        display: none;
    }

    /* Portrait phones and smaller */
    @media (max-width: 576px) {

        .carousel-item {
            /*height: 250px;*/
        }

            .carousel-item > img {
                /*height: 250px;*/
            }

        .carousel-caption h5 {
            font-size: 20px;
        }

        .carousel-caption p {
            /*font-size: 14px;*/
            display: none;
        }
    }
