﻿/* --- Carousel --- */

#home section h2 {
    font-size: 200%;
    line-height: 100%;
}

header {
    background-color: #f8f9fa;
}

.carousel {
    /*    clip-path: polygon(0 0, 100% 0, 100% 80%, 0% 100%);*/
    /* left top, right top, right bottom, left bottom */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10vw), 0 100%);
}

    .carousel button {
        background-color: unset;
        font-size: 3rem;
        color: #fff;
    }

        .carousel button.slick-prev-custom {
            position: absolute;
            z-index: 2;
            height: 100%;
            opacity: 0;
        }

        .carousel button.slick-next-custom {
            position: absolute;
            top: 0;
            right: 0;
            z-index: 2;
            height: 100%;
            opacity: 0;
        }

        .carousel button.slick-prev-custom .chevron.left:before {
            top: -30px;
            left: 0.4rem;
        }

        .carousel button.slick-next-custom .chevron.right:before {
            top: -30px;
            left: -0.25rem;
        }

        .carousel button.slick-prev-custom:hover,
        .carousel button.slick-next-custom:hover {
            opacity: 0.75;
        }

    .carousel ul.slick-dots {
        position: absolute;
        bottom: 3%;
        left: 50%;
        padding: 0;
        list-style: none;
        transform: translateX(-50%);
    }

        .carousel ul.slick-dots li {
            display: inline-block;
            margin: 0.5rem;
            padding: 0.25rem;
            background-color: black;
            border: 2px solid #fff;
            border-radius: 100%;
            width: 15px;
            height: 15px;
            cursor: pointer;
            transition: .3s ease-in-out;
            opacity: 0.5;
        }

            .carousel ul.slick-dots li:hover {
                background-color: #fff;
            }

            .carousel ul.slick-dots li button {
                background-color: transparent;
                font-size: 1rem;
                display: none;
            }

    .carousel .slick-track {
        height: 300px;
        height: auto;
    }

    .carousel img {
        display: inline-block;
        width: 100%;
        height: 60vh;
        object-fit: cover;
        object-position: center;
    }

        .carousel img.mobile-hidden,
        .carousel img.desktop-solo {
            /*            height: 60vh;*/
        }

@media screen and (min-width: 576px) {
    .carousel {
        background-color: unset;
    }

        .carousel ul.slick-dots {
            bottom: 6%;
        }
}

@media screen and (min-width: 577px) {
    header {
        background-color: #ffffff;
    }
}

@media screen and (min-width: 768px) {
    .carousel .slick-track {
        height: auto;
    }

    .carousel ul.slick-dots {
        bottom: 8%;
    }
}

@media screen and (min-width: 1100px) {
    .carousel img.desktop-hidden {
        display: none;
    }

    .carousel ul.slick-dots {
        bottom: 17%;
    }
}

/* --- end Carousel --- */
