section.slider .block_background_image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

section:first-of-type .slide {
    padding-top: 100px;
}

section.slider {
    padding-top: 0;
}

section.slider .fade_content p {
    max-width: 80%;
}

section .slide {
    width: 100%;
    min-height: 100vh;
    display: flex;
    background-color: #fff;
    transition: background-color 0.3s ease-in;
    position: relative;
}

section.slider h1,
section.slider p,
section.slider li,
section.slider a {
    color: #000;
}

html.dark section.slider h1,
html.dark section.slider p,
html.dark section.slider li,
html.dark section.slider a {
    color: #fff;
}
section.slider a.btn {
    background-color: #000;
    color: #fff;
}
section.slider a.btn:hover {
    background-color: #fff;
    color: #000;
}
html.dark section.slider a.btn {
    background-color: #fff !important;
    color: #000 !important;
}
html.dark section.slider a.btn:hover {
    background-color: #000 !important;
    color: #fff !important;
}
section.slider .flickity-viewport {
    width: 100%;
}
html.dark section .slide {
    background-color: #212529;
}

@media screen and (max-width: 1025px) {
    section:first-of-type .slide {
        padding-top: 92px;
    }
    section.slider {
        min-height: auto;
        margin-bottom: 4rem;
    }
    section .slide {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        min-height: auto;
    }
    section .slide .block_background_image {
        position: relative;
        height: 50%;
        width: 100%;
        top: 0;
        left: 0;
    }

    section .slide .container {
        position: relative;
        height: 50%;
        width: 100%;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0 30px;
    }
}
