@media screen and (min-device-width: 901px){
    .reviews {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .reviews__button {
        width: 5rem;
        height: 5rem;
        border: none;
        background-color: transparent;
        cursor: pointer;
        flex-shrink: 0;
    }
    .reviews__button::before{
        border-left: 0.5rem solid gray;
        border-top: 0.5rem solid gray;
        width: 3rem;
        height: 3rem;
        content: "";
        position: absolute;
        left: 1rem;
        top: 1rem;
        box-sizing: border-box;
        transition-duration: .5s;
    }
    .reviews__button:first-of-type::before{
        rotate: -45deg;
    }
    .reviews__button:last-of-type::before{
        rotate: 135deg;
    }
    .reviews__content-window {
        width: 100%;
        /* padding: 1rem 3rem; */
        padding: 1rem 0;
        height: 52rem;
        overflow-x: hidden;
    }
    .content-window {
        /* border: 2px solid black; */
    
    }
    .content-window__ribbon {
        width: 200%;
        display: flex;
        justify-content: start;
        height: 100%;
        /* padding-left: calc(16.66666666666667% + 0); */
        margin-left: -33.333333%;
    }
    .content__window-slide {
    }
    .slide {
        border-radius: 2rem;
        background-color: white;
        padding: 3rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 1.5rem;
        width: calc((100% / 6) - 3rem);
        gap: 3rem;
        
    }
    
    .move-forward{
        animation-duration: 1s;
        animation-fill-mode: forwards;
        animation-name: forward;
        overflow-x: hidden;
    }
    @keyframes forward {
        from{
            padding: 3rem;
            margin: 0 1.5rem;
            width: calc((100% / 6) - 3rem);
        }
        to{
            width: 0;
            padding: 0;
            margin: 0;        
        }
    }
    .move-back{
        animation-duration: 1s;
        animation-fill-mode: forwards;
        animation-name: back;
        overflow-x: hidden;
        width: 0;
        padding: 0;
        margin: 0;
        animation-play-state: paused;    
    }
    .move-back-run{
        animation-play-state: running;
    }
    @keyframes back {
        to{
            padding: 3rem;
            margin: 0 1.5rem;
            width: calc((100% / 6) - 3rem);       
        }
    }
    .slide__user-avatar {
        width: 20rem;
        height: 20rem;
        border-radius: 2rem;
    }
    .slide__user-name {
        color: rgb(30, 30, 30);
        font-size: 2rem;
        font-weight: 500;
        line-height: 2.4rem;
    }
    .slide__comment-text {
        color: rgb(136, 136, 136);
        font-size: 1.6rem;
        font-weight: 400;
        line-height: 2rem;
    }
}

@media screen and (min-device-width: 320px) and (max-device-width: 900px)  {
    .reviews {
        width: 100%;
    }
    .reviews__button {
        position: absolute;
        width: 5rem;
        height: 5rem;
        border: none;
        background-color: transparent;
        cursor: pointer;
        z-index: 1;
        top: calc(50% - 2.5rem);
    }
    .reviews__button:first-of-type{
        left: 0;
    }
    .reviews__button:last-of-type{
        right: 0;
    }
    .reviews__button::before{
        border-left: 0.5rem solid gray;
        border-top: 0.5rem solid gray;
        width: 3rem;
        height: 3rem;
        content: "";
        position: absolute;
        left: 1rem;
        top: 1rem;
        box-sizing: border-box;
        transition-duration: .5s;
    }
    .reviews__button:first-of-type::before{
        rotate: -45deg;
    }
    .reviews__button:last-of-type::before{
        rotate: 135deg;
    }
    .reviews__content-window {
        width: 100%;
        /* padding: 1rem; */
        height: 55rem;
        overflow-x: hidden;
    }
    .content-window {
    }
    .content-window__ribbon {
        width: 600%;
        display: flex;
        justify-content: space-between;
        height: 100%;
    }
    .content__window-slide {
    }
    .slide {
        border-radius: 2rem;
        background-color: white;
        padding: 3rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: calc(100% / 6);
        gap: 3rem;
    }
    .slide__user-avatar {
        width: 20rem;
        height: 20rem;
    }
    .slide__user-name {
        color: rgb(30, 30, 30);
        font-size: 2rem;
        font-weight: 500;
        line-height: 2.4rem;
    }
    .slide__comment-text {
        color: rgb(136, 136, 136);
        font-size: 1.6rem;
        font-weight: 400;
        line-height: 2rem;
    }
}