/* body{
    background-color: red;
    overflow: hidden;
} */

.carousel-container{
    position: absolute;
    left:50%;
    top:50%;
    transform: translate(-50%,-50%);
    width:100%;
    height:100vh;
    background-color: #f5f5f5;
    box-shadow: 0 30px 50px #dbdbdb;
    overflow-x:hidden !important;
}

#slide{
    width:max-content;
    /*border:5px solid red;*/
    /*overflow-x: hidden;*/
    margin-top:50px;
}

.carousel-item{
    width:180px;
    height:250px;
    background-position: 50% 50%;
    display: inline-block;
    transition: 0.5s;
    background-size: cover;
    position: absolute;
    z-index: 1;
    top:60%;
    /* right:-10% !important; */
    transform: translate(0,-50%);
    border-radius: 20px;
    box-shadow:  0 30px 50px #505050;
}

.carousel-item:nth-child(1),
.carousel-item:nth-child(2){
    left:0;
    top:0;
    transform: translate(0,0);
    border-radius: 0;
    width:100%;
    height:100%;
    box-shadow: none;
}

.carousel-item:nth-child(3)
{
    left:50%;
}

.carousel-item:nth-child(4)
{
    left:calc(50% + 220px);
}

.carousel-item:nth-child(5)
{
    left:calc(50% + 440px);
}

.carousel-item:nth-child(n+6)
{
    left:calc(50% + 660px);
    opacity: 0;
}

.carousel-item .carousel-content{
    position: absolute;
    top:50%;
    left:100px;
    width:300px;
    text-align: left;
    padding:0;
    color:#eee;
    transform: translate(0,-50%);
    display: none;
    font-family: system-ui;
}

.carousel-item:nth-child(2) .carousel-content{
    display: block;
    z-index: 11111;
}

.carousel-item .carousel-name{
    font-size: 40px;
    font-weight: bold;
    opacity: 0;
    animation:showcontent 1s ease-in-out 1 forwards
}

.carousel-item .carousel-des{
    margin:20px 0;
    opacity: 0;
    animation:showcontent 1s ease-in-out 0.3s 1 forwards
}

.carousel-item button{
    padding:10px 20px;
    border:none;
    opacity: 0;
    animation:showcontent 1s ease-in-out 0.6s 1 forwards
}

@keyframes showcontent{
    from{
        opacity: 0;
        transform: translate(0,100px);
        filter:blur(33px);
    }
    to{
        opacity: 1;
        transform: translate(0,0);
        filter:blur(0);
    }
}

.carousel-buttons{
    position: absolute;
    bottom:30px;
    z-index: 222222;
    text-align: center;
    width:100%;
}

.carousel-buttons button{
    width:50px;
    height:50px;
    border-radius: 50%;
    border:1px solid #555;
    transition: 0.5s;
}

.carousel-buttons button:hover{
    background-color: #bac383;
}
  