﻿/* Carousel */

.Portrait {
    width: auto;
    height: 800px;
    background-color: transparent;
    object-position: center center;
    object-fit: contain;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.Landscape {
    width: 100%;
    height: 800px;
    background-color: transparent;
    object-position: center center;
    object-fit: cover;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.Square {
    width: 100%;
    height: 800px;
    background-color: transparent;
    object-position: center center;
    object-fit: cover;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

/* Since positioning the image, we need to help out the caption */

.carousel {
    /*margin-top: -110px;*/
    /* z-index: 1;*/
}

.carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 1rem;
    left: 15%;
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: #fff;
    text-align: center;
}

    .carousel-caption h5 {
        text-shadow: 2px 2px 5px var(--color-gray-700);
        color: white;
        font-size: 16px;
    }

    .carousel-caption p {
        font-size: 32px;
        color: var(--color-gray-700);
    }

.carousel-control-next, .carousel-control-prev {
    position: absolute;
    top: unset;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: unset;
    padding: 0;
    color: #fff;
    text-align: center;
    background: 0 0;
    border: 0;
    opacity: .5;
    transition: opacity .15s ease
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23555'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23555'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")
}

.carousel-indicators {
    margin-top: 30px;
    position: unset;
    right: unset;
    bottom: unset;
    left: unset;
    z-index: unset;
    display: flow;
    text-align: center;
    justify-content: unset;
    padding: 0;
    margin-right: 5%;
    margin-bottom: unset;
    margin-left: 5%;
}

    .carousel-indicators [data-bs-target] {
        box-sizing: content-box;
        flex: 0 1 auto;
        width: 90px;
        height: 75px;
        padding: 0;
        margin-right: 5px;
        margin-left: 5px;
        margin-bottom: 7px;
        text-indent: -999px;
        cursor: pointer;
        background-color: white;
        background-clip: padding-box;
        border: 0;
        border-top: unset;
        border-bottom: unset;
        opacity: .5;
        transition: opacity .6s ease;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
        border-radius: 5px;
    }

    .carousel-indicators .active {
        opacity: 1
    }

/* Responsive */

/* Large desktops and laptops */
@media (max-width: 1200px) {


    .Portrait {
        width: auto;
        height: 600px;
        object-fit: contain;
        /*box-shadow: unset;
        border-radius: unset;*/
    }

    .Landscape {
        width: 100%;
        height: 600px;
        object-fit: cover;
        /*box-shadow: unset;
        border-radius: unset;*/
    }

    .Square {
        width: 100%;
        height: 600px;
        object-fit: cover;
        /*box-shadow: unset;
        border-radius: unset;*/
    }

    .carousel-caption h5 {
        font-size: 16px;
    }

    .carousel-caption p {
        font-size: 14px;
    }
}

/* Portrait tablets and small desktops */
@media (max-width: 992px) {


    .Portrait {
        width: auto;
        height: 500px;
        object-fit: contain;
        /*box-shadow: unset;
        border-radius: unset;*/
    }

    .Landscape {
        width: 100%;
        height: 500px;
        object-fit: cover;
        /*box-shadow: unset;
        border-radius: unset;*/
    }

    .Square {
        width: 100%;
        height: 500px;
        object-fit: cover;
        /*box-shadow: unset;
        border-radius: unset;*/
    }

    .carousel-caption h5 {
        font-size: 16px;
    }

    .carousel-caption p {
        font-size: 20px;
    }
}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {

    .Portrait {
        width: auto;
        height: 500px;
        object-fit: contain;
        /*box-shadow: unset;
        border-radius: unset;*/
    }

    .Landscape {
        width: 100%;
        height: 500px;
        object-fit: contain;
        /*box-shadow: unset;
        border-radius: unset;*/
        background-color: black;
    }

    .Square {
        width: 100%;
        height: 500px;
        object-fit: contain;
        /*box-shadow: unset;
        border-radius: unset;*/
        background-color: black;
    }

    .carousel-caption h5 {
        font-size: 16px;
    }

    .carousel-caption p {
        font-size: 14px;
    }
}

/* Portrait phones and smaller */
@media (max-width: 576px) {

    .Portrait {
        width: 100%;
        height: 500px;
        object-fit: cover;
        /*box-shadow: unset;
        border-radius: unset;*/
    }

    .Landscape {
        width: 100%;
        height: 500px;
        object-fit: contain;
        /*box-shadow: unset;
        border-radius: unset;*/
        background-color: black;
    }

    .Square {
        width: 100%;
        height: 500px;
        object-fit: contain;
        /*box-shadow: unset;
        border-radius: unset;*/
        background-color: black;
    }

    .carousel-caption h5 {
        /*background-color: yellow;*/
        font-size: 16px;
    }

    .carousel-caption p {
        font-size: 14px;
    }
}
