*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,body {
 background-color: white;  
 width: 100%;
 height: 100%;
 position: relative;
 overflow-x:hidden ;
 
}
#main{
    overflow: hidden;
}
.container{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 90%;
    height: 90%;
  
    
    
}

.item{
    
    position: absolute;
    top: 35%;
    transform: translate(0,-50%);
   
   border-top-right-radius: 50px;
   border-bottom-left-radius: 50px;
    background-size: cover;
    display: inline-block;
    transition: 0.7s ease;

 
}
.slide .item:nth-child(1),
.slide .item:nth-child(2){
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 3px 50px rgba(0, 0, 0, 0.808);
    
}


.slide .item:nth-child(3){
    left: 55%;
    
}
.slide .item:nth-child(4){
    left: calc(55% + 245px);
}
.slide .item:nth-child(5){
    left: calc(55% + 490px);
}

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

.item .content{
    position: absolute;
    top: 85%;
    left: 20px;
    max-width: 600px;
    text-align: left;
    color: #eee;
    transform: translate(0, -50%);
    font-family: system-ui;
    
    display: none;
    backdrop-filter: blur(1px) saturate(180%);
    -webkit-backdrop-filter: blur(1px) saturate(180%);
    background-color: rgba(27, 34, 48, 0.75);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.125);
    padding: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
}
.item:nth-child(2) .content{
    display: block;
}


.content .name{
    font-size: 30px;
    text-transform: uppercase;
    font-weight: bold;
    white-space: nowrap;
    margin-bottom: 15px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.2s 1 forwards;
}
.content .desc{
    width: 90%;
    opacity: 0;
    animation: animate 1s ease-in-out 0.4s 1 forwards;
}
.content>button{
    padding: 10px 20px;
    margin-top: 25px;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}

@keyframes animate{
    from {
        opacity: 0;
        
        filter: blur(5px);
    }
    to {
        opacity: 1;
        
        filter: blur(0px);
    }
}
.button{
    width: 100%;
    text-align: end;
    position: absolute;
    bottom: 30px;
    right: 3%;
}
.button button{
    padding: 13px 30px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    margin: 0px 5px;
   
}
.button button i {
    font-size: 25px;
    
}