﻿.swiper {
    width: 80%;
    height:300px;
    position: relative;
}

.shadow {
    position: absolute;
    width: 15%;
    height: 100%;
    z-index: 3;
}

.left {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), transparent);
}

.right {
    background: linear-gradient(to left, rgba(255, 255, 255, 1), transparent);
    right: 0;
}

.swiper-wrapper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    color: #fff;
    width: 100%;
    height: 100%;
    border-radius: 2rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
    }

.swiper-slide--content {
    width: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2rem;
    background-color:red;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
}

    .swiper-slide--content button {
        background: rgba(27, 152, 224, 1);
        border: none;
        padding: 7px 10px !important;
        color: #fff;
        cursor: pointer;
        border-radius: 8px;
        font-size: large;
        margin-left: 30px;
    }

        .swiper-slide--content button:active {
            transform: scale(0.95);
        }

    .swiper-slide--content p {
        max-width: 400px;
        font-weight:500;
        font-size: large;
        cursor: default;
    }

.overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
}

.swiper-pagination {
    margin-bottom: -7.5rem !important;
}

.swiper-pagination-bullet {
    border: 2px solid rgba(27, 152, 224, 1);
    background: transparent;
}

.swiper-pagination-bullet-active {
    background: rgba(27, 152, 224, 1);
}

.swiper-button-prev {
    left: 5%;
}

.swiper-button-next {
    right: 5%;
}

.swiper-button-prev,
.swiper-button-next {
    color: #121212;
}

@media screen and (max-width: 1200px) {
    .shadow {
        display:none
    }
    .swiper-slide--content {
        padding: 2rem 4rem;
    }
}




@media screen and (max-width: 650px) {
    .swiper {
        width: 95%;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .swiper-slide--content button {
        display: none;
    }
}
