.carousel {
    position: relative;
    height: 200px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    overflow: hidden;
    margin-top: 150px;
}

@media (max-width: 420px) {
    .carousel {
        margin-top: 0;
        width: 280px;
        position: absolute;
        top: 190px;
        left: 0;
    }
}

.carousel div {
    position: absolute;
    -webkit-transition: -webkit-transform 1s, left 1s, opacity 1s, z-index 0s;
    transition: transform 1s, left 1s, opacity 1s, z-index 0s;
    opacity: 1;
}

.carousel div img {
    width: 200px;
    transition: width 1s;
    -webkit-transition: width 1s;
}

@media (max-width: 420px) {
    .carousel div img {
        width: 150px;
    }
}

.carousel div.hideLeft {
    left: 0;
    opacity: 0;
    -webkit-transform: translateY(50%) translateX(-50%);
    transform: translateY(50%) translateX(-50%);
}

.carousel div.hideLeft img {
    width: 100px;
}

@media (max-width: 420px) {
    .carousel div.hideLeft img {
        width: 75px;
    }
}

.carousel div.hideRight {
    left: 100%;
    opacity: 0;
    -webkit-transform: translateY(50%) translateX(-50%);
    transform: translateY(50%) translateX(-50%);
}

.carousel div.hideRight img {
    width: 100px;
}

@media (max-width: 420px) {
    .carousel div.hideRight img {
        width: 75px;
    }
}

.carousel div.prev {
    z-index: 5;
    left: 30%;
    -webkit-transform: translate3d(-50%, 25px, 0);
    transform: translateY(25px) translateX(-50%);
}

@media (max-width: 420px) {
    .carousel div.prev {
        left: 25%;
    }
}

.carousel div.prev img {
    width: 150px;
}

@media (max-width: 420px) {
    .carousel div.prev img {
        width: 100px;
    }
}

.carousel div.prevLeftSecond {
    z-index: 4;
    left: 15%;
    -webkit-transform: translate3d(-50%, 50%, 0);
    transform: translateY(50%) translateX(-50%);
    opacity: 0.7;
}

@media (max-width: 420px) {
    .carousel div.prevLeftSecond {
        left: 10%;
        -webkit-transform: translate3d(-50%, 45%, 0);
        transform: translateY(45%) translateX(-50%);
    }
}

.carousel div.prevLeftSecond img {
    width: 100px;
}

@media (max-width: 420px) {
    .carousel div.prevLeftSecond img {
        width: 75px;
    }
}

.carousel div.selected {
    z-index: 10;
    left: 50%;
    -webkit-transform: translate3d(-50%, 0px, 0);
    transform: translateY(0px) translateX(-50%);
}

.carousel div.next {
    z-index: 5;
    left: 70%;
    -webkit-transform: translate3d(-50%, 25px, 0);
    transform: translateY(25px) translateX(-50%);
}

@media (max-width: 420px) {
    .carousel div.next {
        left: 75%;
    }
}

.carousel div.next img {
    width: 150px;
}

@media (max-width: 420px) {
    .carousel div.next img {
        width: 100px;
    }
}

.carousel div.nextRightSecond {
    z-index: 4;
    left: 85%;
    -webkit-transform: translate3d(-50%, 50%, 0);
    transform: translateY(50%) translateX(-50%);
    opacity: 0.7;
}

@media (max-width: 420px) {
    .carousel div.nextRightSecond {
        left: 90%;
        -webkit-transform: translate3d(-50%, 45%, 0);
        transform: translateY(45%) translateX(-50%);
    }
}

.carousel div.nextRightSecond img {
    width: 100px;
}

@media (max-width: 420px) {
    .carousel div.nextRightSecond img {
        width: 75px;
    }
}

.side-description .card-gallery h1 {
    position: absolute;
    z-index: 10;
    left: 39%;
    top: -20px;
    letter-spacing: 7px;
}

@media (max-width: 420px) {
    .side-description .card-gallery h1 {
        top: -28px;
    }
}

.side-description .carousel {
    margin-top: 0;
    height: 350px;
    top: 80%;
}
