*{
    padding: 0;
    margin: 0;
}

.cm-carousel {
    position: relative;
    width: 100vw;
    height: 35vh;
    overflow-x: hidden;
}
.cm-carousel-container {
    display: flex;
    transition: all 0.5s;
    justify-content: space-between;
}

.cm-carousel-el {
    width: 35vh;
    height: 35vh;
    background-color: #295C32;
}

.cm-carousel-el img {
    width: inherit;
    height: inherit;
}


.cm-carousel-traverse {
    position: absolute;
    height: 35vh;
    width: 7.5vw;
    background-color: rgba(0,0,0,0.2);
    transition: background-color 0.5s;
}
.cm-carousel-traverse:hover {
    background-color: rgba(0,0,0,0.4);
}
.cm-carousel-traverse:active {
    background-color: rgba(0,0,0,0.2);
}

.right {
    right: 0;
    top: 0;
    background: linear-gradient(-90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%),url(../resources/arrowR.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.left {
    left: 0;
    top: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%),url(../resources/arrowL.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

/*Media Queries*/

/* Phones */

@media  screen and (max-width: 767px) {
    .cm-carousel{
        height: 100vw;
    }
    .cm-carousel-el {
        width: 100vw;
        height: 100vw;
    }
    .cm-carousel-container{
        justify-content: space-around;
    }
    .cm-carousel-traverse {
        height: inherit;
        width: 10vw;
    }
}

/* Tablet */

@media screen 
  and (min-width: 767px) 
  and (max-width: 1024px){
    .cm-carousel{
        height: 40vh;
    }
    .cm-carousel-container{
        height: inherit;
        justify-content: space-around;
    }
    .cm-carousel-el{
        height: inherit;
        width: 40vh;
    }

    .cm-carousel-traverse {
        height: inherit;
    }
  }