.slide-content-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
}

.slide .slider-overlay {
    cursor: pointer;
}

.slide .slider-img {
    width: 100%;
    height: 100%;
    position: absolute;
}

.slide .slider-text {
    width: 100%;
}

.slide:hover .slider-overlay {
    background: rgba(0,0,0,0.4);
    transition: background 0.3s ease;
}

.slide .slider-overlay {
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 2;
    transition: all 250ms cubic-bezier(0, 0, 0, 1);
}
.slide.open .slider-overlay {
    background: rgba(0, 0, 0, 0.0);
    height: 100%;
    cursor: pointer;
    z-index: 3;
    transition: all 250ms cubic-bezier(0, 0, 0, 1);
}

.slide.open .slider-overlay {
    cursor: pointer;
}

.slide .slider-redirect {
    width: 100%;
    height: 100%;
    position: absolute;
    cursor: pointer;
    z-index: 0;
}

.slide.open .slider-redirect {
    z-index: 4;
}

.slide-content .slide-text {
    display: flex;
    margin-bottom: 23px;
    font-size: 26px;
    line-height: 32px;
    letter-spacing: 0.3px;
    font-family: empikProBold;
    cursor: pointer;
    width: 75%;
    z-index: 2;
    position: relative;
    flex-direction: column;
}

.slide.open .slide-content .slide-text {
    height: 13%;
}

.slide.open .slide-content .slide-card .slide-text {
    height: 100%;
}

.slide-content .slide-text h2 {
    margin-left: 23px;
    font-size: 26px;
}

.slide.open .slide-content .slide-text h2{
    display: none;
}

.slide.open .slide-content .slide-text .slide-card h2{
    display: flex;
}

.slide-content {
    height: 100%;
    display: flex;
    color: white;
    align-items: center;
}

.slide.open .slide-content {
    cursor: default;
}

.slide .slide-card {
    max-width: 36px;
    max-height: 36px;
    min-height: 36px;
    min-width: 36px;
    display: flex;
    justify-content: center;
    margin: 0;
    align-items: center;
    border-radius: 32px;
    position: absolute;
    z-index: 2;
    bottom: -36px;
    left: 24px;
    cursor: pointer;
    transition: all cubic-bezier( 0, 0, 0.30, 1 ) 300ms;
}

.slide:hover .slide-card {
    max-width: 40px;
    max-height: 40px;
    transition: all 300ms ease;
}

.slide.open .slide-card{
    width: 100%;
    max-width: 412px;
    max-height: 300px;
    min-height: 300px;
    border-radius: 8px;
    color: white;
    padding: 42px;
    bottom: -130px;
    left: 13%;
    transition: all cubic-bezier( 0, 0, 0.30, 1 ) 300ms;
    display: flex;
    cursor: default;
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
}

.slide-card img {
    position: absolute;
}

.slide.open .slide-card img {
    display: none;
}

.slide-card .slide-text {
    visibility: hidden;
    opacity: 0;
    margin-top: 20px;
    cursor: default;
    transition: visibility, opacity, margin-top cubic-bezier( 0, 0, 0.30, 1 ) 300ms;
}

.slide-card .btn-wrapper {
    visibility: hidden;
    opacity: 0;
    margin-top: 0;
}

.slide.open .slide-card .slide-text {
    font-size: 32px;
    font-family: empikProBold;
    letter-spacing: 0.2px;
    line-height: 40px;
    width: 100%;
    margin-bottom: 34px;
    display: flex;
    visibility: visible;
    flex-direction: column;
    opacity:1;
    position: relative;
    top: 0;
    margin-top: 0;
    transition: visibility, opacity, margin-top cubic-bezier( 0, 0, 0.30, 1 ) 300ms;
    transition-delay: 200ms;
}
.slide.open .slide-card .slide-text h2{
    margin: 0;
    margin-bottom: 24px;
    font-size: 32px;
    padding: 0;
}
.slide.open .slide-card .slide-text .slide-text-special {
    font-size: 56px;

    letter-spacing: 0.2px;
}
.slide.open .slide-card .btn-wrapper {
    visibility: visible;
    opacity: 1;
    transition: visibility, opacity cubic-bezier( 0, 0, 0.30, 1 ) 300ms;
    transition-delay: 200ms;
}

.slider-container {
    width: 100%;
    min-height: 504px;
    height: auto;
}

.slider-box {
    position: absolute;
    width: 100%;
    left: 0;
    height: 504px;
    display: flex;
    justify-content: center;
}

.slider-wrapper{
    width: 100%;
    display: flex;
    max-width: 1600px;
}
.slide {
    width: 16.5%;
    min-width: 16.5%;
    height: 504px;
    position: relative;
    z-index: 0;
    transition: width 300ms cubic-bezier(0, 0, 0.30, 1);
}
.slide:hover .slider-img-overlay {
    background: rgba(0,0,0,0.4);
    transition: background 0.3s ease;
}

.slide.open {
    max-width: 70%;
    width: 100%;
    z-index: 0;
    transition: width 300ms cubic-bezier(0, 0, 0.30, 1);
}
.slide.open .slider-img-overlay{
    max-width: 966px;
    width: 100%;
    background: none;
}

.open-slide-content .slide-text {
    font-size: 32px;
    font-family: empikProBold;
    letter-spacing: 0.2px;
    line-height: 40px;
    width: 100%;
    max-width: 280px;
    margin-bottom: 34px;
    display: flex;
    flex-direction: column;
}
.open-slide-content .slide-text h2 {
    margin: 0;
    margin-bottom: 24px;
}
.open-slide-content .slide-text-special {
    font-size: 56px;
    letter-spacing: 0.2px;
}
.btn-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 24px;
}
.slide-btn {
    background: #000000;
    border-radius: 37px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: empikProBold;
    width: 133px;
    font-size: 14px;
    z-index: 1;
    height: 40px;
    color: white;
    cursor: pointer;
}
.slide-btn:hover {
    color: white;
}
.slide-small-text {
    font-family: empikProBold;
    font-size: 14px;
    margin-left: 24px;
}

.slide .slider-img-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    background: rgba(0, 0, 0, 0.5);
    transition: background 0.3s;
}

.close-slide img {
    width: 100%;
    max-width: 16px;
    height: auto !important;
}

.close-slide .slide-text {
    margin-bottom: 23px;
    font-size: 26px;
    line-height: 32px;
    letter-spacing: 0.3px;
    font-family: empikProBold;
}

@media screen and (max-width: 1110px) {

    .slide-content .slide-text {
        font-size: 20px;
    }
}

@media screen and (max-width: 945px) {

    .slide {
        width: 17%;
        max-width: 17%;
    }
    .slide.open {
        width: 66%;
        max-width: 66%;
    }
    .slide-content .slide-text {
        font-size: 20px;
    }
}

@media screen and (max-width: 800px){
    .slider-container {
        min-height: 550px;
    }

    .slide.open .slide-text-wrapper {
        display: flex;
        flex-direction: column;
    }
    .slide .slider-img {
        max-height: 100px;
        min-height: 100px;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0px;
        z-index: 1;
        transition: all 250ms cubic-bezier(0, 0, 0, 1);
    }
    .slide.open .slider-img {
        max-height: 208px;
        transition: all 250ms cubic-bezier(0, 0, 0, 1);
    }
    .slide .slider-text {
        height: 100px;
        width: 100%;
        transition: height 250ms cubic-bezier(0, 0, 0, 1);
        bottom: 0;
        position: absolute;
    }

    .slide.open .slider-text {
        height: 142px;
    }
    .slide .slider-overlay {
        background: rgba(0, 0, 0, 0.5);
        height: 100px;
        position: absolute;
        width: 100%;
        z-index: 2;
        transition: all 250ms cubic-bezier(0, 0, 0, 1);
    }
    .slide.open .slider-overlay {
        background: rgba(0, 0, 0, 0.0);
        height: 208px;
        transition: all 250ms cubic-bezier(0, 0, 0, 1);
    }

    .slide {
        width: 100%;
        max-width: 100%;
        max-height: 100px;
        min-height: 100px;
        height: auto;
        transition: min-height 250ms cubic-bezier(0, 0, 0.30, 1);
    }
    .slide.open {
        width: 100%;
        max-width: 100%;
        max-height: 350px;
        min-height: 350px;
        display: flex;
        height: auto;
        transition: min-height 250ms cubic-bezier(0, 0, 0.30, 1);
    }
    .slide .slide-card {
        right: 0;
        margin-right: 34px;
        bottom: auto;
        left: auto;
        padding: 20px;
        max-width: 36px;
        transition: none;
    }

    .slide-card .slide-text {
        margin-top: 0;
    }

    .slide-card .btn-wrapper {
        display: none;
    }

    .slide .open-slide {
        position: initial;
    }

    .slide-content {
        justify-content: space-between;
    }


    .slide.open .slide-content {
        align-items: flex-end;
    }

    .slide-content .slide-text {
        top: 0;
        margin-bottom: 0;
        display: flex;
        align-items: center;
        height: 100%;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }

    .slide-content .slide-text h2 {
        margin-left: 20px;
        font-size: 20px;
        max-width: 80%;
    }

    .slide.open .slide-card {
        bottom: 0;
        max-width: 100%;
        right: 0;
        height: 142px;
        min-height: auto;
        margin: 0;
        margin-right: 34px;
        overflow: hidden;
        padding: 20px;
        left: 0;
        position: absolute;
        border-radius: 0;
        transition: max-height cubic-bezier( 0, 0, 0.30, 1 ) 250ms;
    }

    .slide.open .slide-card .slide-text h2 {
        margin-bottom: 14px;
    }

    .slide.open .slide-content .slide-text {
        margin-bottom: 0;
        flex-direction: row;
        align-items: flex-start;
    }

    .slider-wrapper {
        flex-direction: column;
    }

    .slide.open .slide-card .slide-text h2 {
        order: 1;
        margin-left: 12px;
        font-size: 20px;
        line-height: 24px;
    }

    .slide .slide-text-wrapper {
        display: flex;
        height: 100%;
        flex-direction: column;
        margin-top: -250px;
        opacity: 0;
        transition: all cubic-bezier(0,0,0,1) 250ms;
    }

    .slide.open .slide-text-wrapper {
        margin-top: 0;
        opacity: 1;
        transition: all cubic-bezier(0,0,0,1) 250ms;
    }

    .slide.open .slide-card .btn-wrapper {
        display: flex;
    }

    .slide.open .slide-card .slide-text .slide-text-special {
        font-size: 38px;
    }

    .close-slide .slide-text {
        margin: 0;
    }
    .close-slide .slide-text h2 {
        margin: 0;
    }
    .btn-wrapper {
        margin-top: 12px;
    }
}