#products-slider {
    transform: rotate(2deg);
    -webkit-transform: rotate(2deg);
    -moz-transform: rotate(2deg);
    -ms-transform: rotate(2deg);
    -o-transform: rotate(2deg);

    .slider-wrapper{
        display: flex;
        width: fit-content;
        gap: 34px;
    }

    .slider-element {
        width: 750px;
        height: 525px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        border-radius: 24px;
        -webkit-border-radius: 24px;
        -moz-border-radius: 24px;
        -ms-border-radius: 24px;
        -o-border-radius: 24px;
        background-position: center;
        background-size: cover;
        position: relative;

        a {
            height: 100%;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 0;
        }

        &:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.2);
            z-index: 0;
            border-radius: 24px;
            -webkit-border-radius: 24px;
            -moz-border-radius: 24px;
            -ms-border-radius: 24px;
            -o-border-radius: 24px;
        }

        .image {
            line-height: 0;
            height: 100%;
            width: auto;
            transition: all .5s ease-in-out;
            -webkit-transition: all .5s ease-in-out;
            -moz-transition: all .5s ease-in-out;
            -ms-transition: all .5s ease-in-out;
            -o-transition: all .5s ease-in-out;
            z-index: 1;

            img {
                height: 100%;
                width: auto;
            }
        }

        .content {
            position: absolute;
            opacity: 0;
            width: 50%;
            top: 100%;
            left: 74px;
            transform-origin: top left;
            transform: rotate(-2deg) scale(1.2);
            -webkit-transform: rotate(-2deg) scale(1.2);
            -moz-transform: rotate(-2deg) scale(1.2);
            -ms-transform: rotate(-2deg) scale(1.2);
            -o-transform: rotate(-2deg) scale(1.2);
            transition: all .5s ease-in-out;
            -webkit-transition: all .5s ease-in-out;
            -moz-transition: all .5s ease-in-out;
            -ms-transition: all .5s ease-in-out;
            -o-transition: all .5s ease-in-out;
            z-index: 2;
        }

        &:hover {
            .image {
                transform: scale(1.1);
                -webkit-transform: scale(1.1);
                -moz-transform: scale(1.1);
                -ms-transform: scale(1.1);
                -o-transform: scale(1.1);
            }

            .content {
                opacity: 1;
                transform: rotate(-2deg) scale(1) translateY(-50px);
                -webkit-transform: rotate(-2deg) scale(1) translateY(-50px);
                -moz-transform: rotate(-2deg) scale(1) translateY(-50px);
                -ms-transform: rotate(-2deg) scale(1) translateY(-50px);
                -o-transform: rotate(-2deg) scale(1) translateY(-50px);
            }
        }
    }
}

/*********************************\
    RESPONSIVE
\*********************************/
@media(max-width: 1280px){

    #products-slider {
        .slider-element {
            width: 650px;
            height: 425px; 
        }
    }
}
@media(max-width: 959px){
    #products-slider {
        .slider-element {
            width: 450px;
            height: 325px;
                
            .content{
                width: 80%;
                left: 42px;
            }
        }
    }
    
}