.ad-row.cycle {
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.window {
    height: 45vw;
    width: 96vw;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.ad-row.cycle .ad.img {
    display: none;
    width: 32vw;
    transition: box-shadow 0.5s, transform 2s;
    position: absolute;
    top: 50%;

    /* xxx */
    left: 50%;
    display: flex;
}

.ad.img.next {
    z-index: 7;
    /* left: 0; */
    transform: translateX(-100%) translateY(-50%);

    /* xxx */
    transform: translateX(-250%) translateY(-50%);
    height: 0;
    z-index: 1;
    transition: transform 2.5s;
}

.ad.img.left {
    display: flex;
    /* left: 0; */
    /* transform: translateY(-50%); */

    /* xxx */
    transform: translateX(-150%) translateY(-50%);
    z-index: 2;
}

.ad.img.right {
    display: flex;
    /* right: 0; */
    transform: translateY(-50%);

    /* xxx */
    transform: translateX(50%) translateY(-50%);
    z-index: 2;
}

.ad.img.top {
    z-index: 3;
    display: block;
    left: 50%;
    transform: translateX(-50%) translateY(-50%) scale(1.2);
    box-shadow: 2vh .5vh 2vh .5vh rgba(0, 0, 0, 0.2), -2vh .5vh 2vh .5vh rgba(0, 0, 0, 0.2);
}

.ad.img.hidden {
    transform: translateX(155%) translateY(-50%);
    z-index: 0;
}

.rotera {
    width: 10vw;
    height: 5vh;
    background-color: blue;
    color: white;
    text-align: center;
    font-size: 2vw;
    padding: 1vh;
    cursor: pointer;
}

