@import url('https://fonts.googleapis.com/css2?family=Playwrite+GB+S:ital,wght@0,100..400;1,100..400&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&family=Playwrite+GB+S:ital,wght@0,100..400;1,100..400&display=swap');

/* poppins below */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');









*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    overflow-x: hidden;
} 

.main-container{
    position: relative;
    height: 776.7px;
    width: 1700px; 
    background-color: #0A1828; 
    /* overflow: hidden;  */
   
} 



h1{
    font-family: "Playwrite GB S";
    font-size: 5rem;
    color: #BFA181; 
    animation-name: slideInLeft;
    animation-duration: 1s;
    animation-timing-function: ease;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: none; 
    
} 
h2{
    font-family: "Libre Baskerville";
    font-size: 2rem;
    position: absolute;
    left: 20%;
    color: #BFA181; 
    animation-name: slideInRight;
    animation-duration: 1s;
    animation-timing-function: ease;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: none;
   

}

.container{
    
   position: absolute;
   left: 175px;
   top: 280px;
  
} 
/* .scroll{
    position: fixed;
    height: 105px;
    width: 5px;     
    top: 86%;
    left: 44px;
} 


.shine{
    background-color: #BFA181;
    box-shadow: 0 0 5px #BFA181, 0 0 5px #BFA181;
    animation: scrollindicator 1s infinite;
    animation-delay: 0.1s;
    height: 15px;
    width: 5px;
    position: absolute; 

} */

   


@keyframes scrollindicator{ 
     0%{
        top: -101px ;
     } 
     100%{
        top: calc(100% + 101px);
     }
} 




@keyframes slideInLeft{
    from{
        transform: translateX(-1100px);
    } 
    to{
        transform: translateX(0px); 
    }
} 
@keyframes slideInRight{
    from{
        transform: translateX(990px); 
    } 
    to{
        transform: translateX(0px);  
    }
}


.bubbles{
    position: relative;
    display: flex;
   
  
    
  } 
  
  .bubbles span:nth-child(even){
      background: #ff2d75;
      box-shadow: 0 0 0 10px #ff2d7544, 
      0 0 50px #ff2d75, 
      0 0 100px #ff2d75;
      
      
  
  }
  .bubbles span{
      position: relative;
      width: 29px;
      height: 29px;
      background-color: #4fc3dc;
      margin: 0 4px;
      border-radius: 50%;
      box-shadow: 0 0 0 10px #4fc3dc44, 
      0 0 50px #4fc3dc, 
      0 0 100px #4fc3dc;
      animation: animate 120s linear infinite;
      animation-duration: calc(135s /  var(--i));
      
  }  
 
  
  @keyframes animate{
      0%{
          transform: translateY(540px); 
      }
      100%{
          transform: translateY(-776px) scale(1); 
      }  
  } 


.mid-container{
   min-height: 700px;
    width: 1500px;
    /* border: 5px solid red; */
    position: absolute;
    left: 1%;
    /* overflow: hidden; */
    background-color: #FAFDFF;
    animation: scrollFromBottom ease-in-out both;
    animation-timeline: view(); 
    animation-range: entry 30% cover 50%; 
    animation-delay: 1s;


    
} 
.mid-left-container{
    position: absolute;
    left:2%;
    top: 10%;
    width: 640px;
    height: 600px;
    /* border: 5px solid blue; */
   
}
.mid-left-container p{
    font-family: "Poppins";
    font-weight: 500;
    font-size: 2rem;
    display: flex;
    justify-content: center; 
} 
.mid-left-container h3{
     line-height: 1.3;
     font-family: "Poppins";
     font-weight: 410;
     font-size: 20px;
     
}
 

.right-mid-container{
    position: absolute;
    right: 4%; 
    top: 10%;
    width: 640px;
    height: 600px;
    /* border: 5px solid blue;  */
  
} 
.right-mid-container p{
    font-family: "Poppins";
    font-weight: 500;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    position: relative;

} 
.right-mid-container h3{
    line-height: 1.3;
     font-family: "Poppins";
     font-weight: 410;
     position: absolute;
     top: 11%;
     font-size: 20px;
     
}




@keyframes scrollFromBottom{
   0%{
        opacity: 0;
        transform: translateY(100px);
    } 
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
}


.left-line{
    position: absolute;
    height: 2px;
    width: 440px;
    background-color: #cecece;
    left: 16%;
}
.right-container{
    position: absolute;
    height: 2px;
    width: 205px;
    background-color: #cecece;
    left: 33%;
}

.card-section{
    position: absolute;
    top: 1570px;
    left: 55px;
    /* border: 4px solid blue; */
   min-height: 405px;
    width: 1450px;
    mask-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    rgb(255, 252, 252) 5%, /* Start the solid section earlier */
    rgb(255, 246, 246) 95%, /* End the solid section later */
    rgba(255, 255, 255, 0)
);
    
   
    
}
.upper-card-section{
    position: absolute;
    top: 14px;
    left: 30px;
    background-color: black;
    height: 300px;
    width: 300px; 
    border-radius: 40px;
    transition: 0.5s ease;

}
.card-section h4{
    position: absolute;
    top: 5%;
    left: 36.9%;
    font-family: "Libre Baskerville"; 
    font-size: 50px;
    
}
.upper-card-section p{
    color: #FAFDFF;
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-family: "Libre Baskerville"; 
    font-size: 32px;
    
} 
.upper-card-section:hover p{
    display: none;
   
}
.upper-card-section .intro{
    position: absolute;
    color: #FAFDFF;
    top: 10%;
    left: 6%;  
    font-family: "Libre Baskerville"; 
    font-size: 30px;
    display: none;
    animation: slideIn 0.5s ease forwards; 
}
.upper-card-section:hover .intro{
    display: block;
}
.upper-card-section .text{
    position: absolute;
    color: #FAFDFF;
    top: 24%; 
    font-family: "Libre Baskerville"; 
    display: none;
}
.upper-card-section:hover{
      width: 530px;
      height: 380px;
      border: 2px solid white;
} 

.upper-card-section:hover .text{
    position: absolute;
    left: 10px;
    display: block;
    opacity: 1;
    animation: slideIn 0.5s ease forwards;

}
@keyframes slideIn{
    0%{
        opacity: 0;
        transform: translateX(100%);
    } 
    100%{
        opacity: 1;
        transform: translateX(0);  
    }
}
.upper-card-section .btn1{
    position: absolute;
    top: 289px; 
    left: 17px;
    border-radius: 10px;
    padding: 14px;
    width: 90px;
    outline: none;
    border: #FAFDFF;
    color: #FAFDFF;
    display: none;
}
.upper-card-section:hover .btn1{
    display: block;
    animation: slideIn 0.5s ease forwards;
    background-color: white;
    color: #BFA181;
    border: none;
} 

.upper-card-section{
    animation-duration: 30s;
    animation-name: scrollleft;   
    animation-timing-function: linear;
    animation-iteration-count: infinite; 
    position: absolute;
    left: 100%;
} 
.item1 {
    animation-delay: 0s; /* Start immediately */
}
.item2 {
    animation-delay: -5.9s; /* Slightly reduced delay */
}
.item3 {
    animation-delay: -11.8s;
}
.item4 {
    animation-delay: -17.7s;
}
.item5 {
    animation-delay: -23.6s;
} 
 
.card-section:hover .upper-card-section{
    animation-play-state: paused !important;
} 

.card-section:hover .upper-card-section:not(:hover){
    filter: blur(5px); 
}



@keyframes scrollleft{  

    to{   
        /* -300px se gap aa aayega items ke bich  */
        /* 200px width hai so -200px kiya hai */
        left: calc(-300px - 500px);  
    }
} 


.footer{
    /* background-color: red; */
    position: relative;
    top: 1200px;
    height: 150px;
    width: 98%;
    left: 10px;
}
.footer p{
    color: black;
    font-family: "Libre Baskerville"; 
    font-size: 30px;
    position: absolute;
    left: 43%;
    top: 60px;
    

}

.footer #hori-line{
    position: absolute; 
    top: 76px;
    left: 320px;
    height: 2px;
    width: 300px;
    background-color: #bbbbbb;
}  

.footer #right-line{
    position: absolute; 
    top: 76px;
    right: 285px;
    height: 2px;
    width: 300px;
    background-color: #bbbbbb;
}