﻿
button {
    transition: all ease-in 0.2s;
    opacity: 0.6;
}

    button:hover {
        opacity: 1;
    }

.owl-carousel .owl-nav {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    position: absolute;
    top: 20%;
    transform: translateY(-20%);
    right: 0;
    left: 0;
    margin: auto;
    font-size: 30px;
    color: #fff;
}

    .owl-carousel .owl-nav button.owl-prev,
    .owl-carousel .owl-nav button.owl-next {
        padding: 10px 15px !important;
        border: 2px solid rgb(255, 253, 253) !important;
        border-radius: 50%;
        transform: rotateZ(-180deg);
    }

        .owl-carousel .owl-nav button.owl-prev *,
        .owl-carousel .owl-nav button.owl-next * {
            vertical-align: text-bottom;
        }

.slider {
    overflow: hidden;
    width: 100%;
    position: relative;
}

    .slider .text-slider-content {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

        .slider .text-slider-content .text-carousel .slide-elem {
            font-family: Impact;
            font-size: 140px;
            z-index: -1;
        }

        .slider .text-slider-content .text-carousel span {
            transition: all ease-out 0.5s;
            color: lightgray;
        }

        .slider .text-slider-content .text-carousel .center span {
            color: #000;
        }

    .slider .character-carousel {
        position: relative;
    }

        .slider .character-carousel .slide-elem {
            text-align: center;
        }

            .slider .character-carousel .slide-elem img {
                width: 100% !important;
                max-width: 100%;
                max-height: 69vh;
                pointer-events: none;
                vertical-align: middle;
            }

.author {
    background: #fff;
    position: absolute;
    text-align: center;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    padding: 30px 0;
    z-index: 1;
}

    .author span {
        color: red;
    }

    .author a {
        display: inline-block;
        color: red;
    }

        .author a:focus,
        .author a:hover {
            opacity: 0.8;
        }

.owl-nav .owl-next {
    margin-right: 10px;
}

.owl-nav .owl-prev {
    margin-left: 10px;
}

.owl-carousel .owl-dot,
.owl-carousel .owl-nav .owl-next,
.owl-carousel .owl-nav .owl-prev {
    margin-top: 100px !important;
    text-transform: uppercase !important;
    font-size: 20px;
    background: #100101a6;
}

.quote {
    text-align: center;
    background: linear-gradient(349deg, #ec1f24 50%, #2d3192 50%);
    color: #fff;
}

.headercard {
    background-image: url('images/new.jpg');
    background-size: 280px;
}

@media (max-width: 768px) {


    .slider .character-carousel .slide-elem img {
        /* width: auto !important; */
        max-width: 100%;
        height: 175px;
        pointer-events: none;
        vertical-align: middle;
    }

    .py-5 {
        padding-top: 1rem !important;
        padding-bottom: 3rem !important;
    }


    .owl-carousel .owl-dot,
    .owl-carousel .owl-nav .owl-next,
    .owl-carousel .owl-nav .owl-prev {
        margin-top: 30px !important;
        text-transform: uppercase !important;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .content-section .col-xl-6 {
        order: 1;
        /* Middle section appears first */
    }

    .headercard {
        background-image: url('images/new.jpg');
        background-size: 320px;
    }

    .content-section .col-xl-3:nth-child(1) {
        order: 2;
        /* Left section appears second */
    }

    .content-section .col-xl-3:nth-child(3) {
        order: 3;
        /* Right section appears last */
    }

    #top {
        width: 400px !important;
        position: relative;
        left: -70px !important;
    }

    .post-img {
        height: 25vh !important;
    }
}
