.swiper {
    width: 100%;
    height: 100%;
}

.mySwiper {
    overflow: hidden !important;
}

.swiper-slide {
    text-align: left;
    font-size: 18px;
    background: var(--secondary) !important;

    /* Center slide text vertically */
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.swiper-slide img {
    display: block;
    object-fit: fill;
    height: 100%;
    width: 100%;
    border-radius: 1px solid rgba(0, 0, 0, 0.4);
}


.slider_text_section {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 35px;
    flex-shrink: 1;
    max-width: 580px;
}

.slider_text_section .slider_title {
    color: #fff;
    font-weight: 400;
    font-size: 28px;
    line-height: 1.2;

}

.primary-slider-btn {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 4px 15px !important;
    margin-top: 8px;

}

.primary-slider-btn:hover {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 4px 15px !important;
    margin-top: 8px;

}


.slider_button {
    display: flex;
    width: 100%;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.4;
    z-index: 1;
}

.slider_subtitle {
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
    font-weight: 200;
    line-height: 1.5;
    color: #fff;
}

.slider_main_section {
    display: flex;
    border: 1px solid rgba(0, 0, 0, 0.4);
    width: 100%;
    margin-bottom: 5px;
}

.row_reverse {
    flex-direction: row-reverse;
}

.btn_section {
    margin-top: 10px;
}

.text_section {
    width: 300px;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


.description_section {
    font-size: 18px;
}

@media(max-width: 768px) {
    .text_section {
        padding: 20px 0;
    }

    .btn_section {
        margin-top: 8px;
    }

    .slider_main_section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px;
    }

    .description_section {
        font-size: 17px;
    }
}

@media(max-width: 400px) {
    .slider_text_section {
        left: 0;
    }

    .slider_text_section .slider_title {
        font-size: 25px;
    }

    .primary-slider-btn {
        margin-top: 8px;

    }

    .primary-slider-btn:hover {
        margin-top: 8px;
    }

    .slider_text_section .slider_title {
        font-size: 23px;
        margin-bottom: 4px;
    }

}

.image {
    position: relative !important;
}


.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    height: 40vh;
}

.loader svg {
    color: var(--primary);
}