.ele-container-post{
    width: 100%;
    height: 600px;
}

.ele-container-post .ele-slide-post .ele-item-post{
    width: 200px;
    height: 300px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 20px;
    box-shadow: 0 30px 50px #505050;
    background-position: 50% 50%;
    background-size: cover;
    display: inline-block;
    transition: 0.5s;
}

.ele-slide-post .ele-item-post:nth-child(1),
.ele-slide-post .ele-item-post:nth-child(2){
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
}


.ele-slide-post .ele-item-post:nth-child(3){
    left: 50%;
}
.ele-slide-post .ele-item-post:nth-child(4){
    left: calc(50% + 220px);
}
.ele-slide-post .ele-item-post:nth-child(5){
    left: calc(50% + 440px);
}

/* here n = 0, 1, 2, 3,... */
.ele-slide-post .ele-item-post:nth-child(n + 6){
    left: calc(50% + 660px);
    opacity: 0;
}



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

    .ele-content-post button:hover {
        color: #FFFFFF; /* White */
        background-color: #FF8C00; /* Dark orange */
    }




.ele-slide-post .ele-item-post:nth-child(2) .ele-content-post{
    display: block;
}


.ele-content-post .ele-name-post{
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
}

.ele-content-post .ele-des-post{
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.ele-content-post button{
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}


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

    to{
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}



.button{
    width: -webkit-fill-available;
    text-align: center;
    position: absolute;
    display: inline-flex;
    left: 20px;
}

.button button{
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin: 5px;
    background: #000;
    border: 1px solid #000;
    transition: 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button button i {
    color: #fff;
    font-size: 16px;
}
.button button:hover{
    background: #ababab;
    color: #fff;
}
.ele-container-post .ele-slide-post {
    overflow: hidden;
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
}
.ele-container-post.ele-arrow-position-right .button{
    left: auto;
    right: 20px;
    justify-content: flex-end;
}

.ele-container-post.ele-arrow-position-center .button{
    justify-content: center;
}
@media (max-width: 767px) {
.ele-item-post .ele-content-post {
    left: 10px;
}

.ele-slide-post .ele-item-post:nth-child(3) {
    width: 100px;
    height: 100px;
    left: auto;
    right: 0;
}
}