.carousel {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    font-family: Arial;
}

.carousel-bg{
    background-image: url(../images/emoji-effect.svg);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-position: center;
    background-position-y: -38px;
    background-repeat: no-repeat;
}

.carousel__list {
    display: flex;
    list-style: none;
    position: relative;
    width: 100%;
    height: 200px;
    justify-content: center;
    perspective: 300px;
}

.carousel__item {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0px;
    width: fit-content;
    height: fit-content;
    border-radius: 12px;
    /* box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.5); */
    position: absolute;
    transition: all 0.3s ease-in;
    .emoji-bg {
        height: 75px;
        width: 75px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #F2F2F2;
        border-radius: 50%;
        cursor: pointer;
    }
}

.carousel__item:nth-child(1) {
    /* background: linear-gradient(45deg, #2D35EB 0%, #904ED4 100%); */
    img{
        height: 50px;
        width: 50px;
        object-fit: contain;
    }
}

.carousel__item:nth-child(2) {
    /* background: linear-gradient(45deg, #2D35EB 0%, #fdbb2d 100%); */
    img{
        height: 50px;
        width: 50px;
        object-fit: contain;
    }
}

.carousel__item:nth-child(3) {
    /* background: linear-gradient(45deg, #2D35EB 0%, #22c1c3 100%); */
    img{
        height: 50px;
        width: 50px;
        object-fit: contain;
    }
}

.carousel__item:nth-child(4) {
    /* background: linear-gradient(45deg, #fdbb2d 0%, #904ED4 100%); */
    img{
        height: 50px;
        width: 50px;
        object-fit: contain;
    }
}

.carousel__item:nth-child(5) {
    /* background: linear-gradient(45deg, #22c1c3 0%, #904ED4 100%); */
    img{
        height: 50px;
        width: 50px;
        object-fit: contain;
    }
}

.carousel__item[data-pos="0"] {
    z-index: 5;

    .emoji-bg {
        height: 95px;
        width: 95px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(180deg, #FBDA5E 0%, #76E5B0 100%);
        border-radius: 50%;

        /* transition: width 0.5s; */
        img {
            height: 60px;
            width: 60px;
        }
    }
}

.carousel__item[data-pos="-1"],
.carousel__item[data-pos="1"] {
    opacity: 1;
    /* filter: blur(1px) grayscale(10%); */
}

.carousel__item[data-pos="-1"] {
    transform: translateX(-140%) scale(0.9);
    z-index: 4;
}

.carousel__item[data-pos="1"] {
    transform: translateX(140%) scale(0.9);
    z-index: 4;
}

.carousel__item[data-pos="-2"],
.carousel__item[data-pos="2"] {
    opacity: 1;
    /* filter: blur(3px) grayscale(20%); */
}

.carousel__item[data-pos="-2"] {
    transform: translateX(-250%) scale(0.8);
    z-index: 3;
}

.carousel__item[data-pos="2"] {
    transform: translateX(250%) scale(0.8);
    z-index: 3;
}

@media (max-width: 500px){
    .carousel__item[data-pos="1"] {
        transform: translateX(115%) scale(0.9);
        z-index: 4;
    }
    .carousel__item[data-pos="2"] {
        transform: translateX(210%) scale(0.8);
        z-index: 3;
    }
    .carousel__item[data-pos="-1"] {
        transform: translateX(-115%) scale(0.9);
        z-index: 4;
    }
    .carousel__item[data-pos="-2"] {
        transform: translateX(-210%) scale(0.8);
        z-index: 3;
    }
    .carousel__item{
        .emoji-bg {
            height: 65px;
            width: 65px;
            img {
                height: 45px;
                width: 45px;
            }
        }
    }
    .carousel__item[data-pos="0"] {
        .emoji-bg {
            height: 80px;
            width: 80px;
            img {
                height: 50px;
                width: 50px;
            }
        }
    }    
}