*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#wrapper{
    height: 100vh;
    /* kyuki image x axis me bahar ja rha tha */
    overflow-x: hidden;
    overflow-y: auto;
    /* 3d effect k liye perspective on */
    perspective: 10px;
}
.container{
    position: relative;
    display: flex;
    
    height: 100%;
    justify-content: center;
    align-items: center;
    /* perspective k liye 3 d effect  */
    transform-style: preserve-3d;
    /* overlapping k liye */
    z-index:-1;
}
.background{
    /* image ko duur leke jana hai -40px */
    transform: translateZ(-20px) scale(4);
}
.foreground{
    transform: translateZ(-10px) scale(2);
}
.background,.foreground{
    position:absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index:-1;
    

}
/* <--------------------parallex effect-----------------> */
h1{
    position: absolute;
    top: 5rem;
    color: white;
    text-shadow: 0 0 10px rgb(1, 39, 39);
    font-size: 10rem;
    font-family: 'Times New Roman', Times, serif;
}



/*------------------------------------- SECTION */

section{
    background-color:rgb(45,45,45);
    color:black;
    padding: 5rem 0;
}
/* ----------------------heading of --------------------------*/
.secHead{
    font-size:3.5rem;
    padding: 0 10rem;
}
/* ----------------------firuska textt------------------------ */
.text{
    font-size: 1.5rem;
    padding: 0 10rem;
    margin: 5rem 0 ;
}
/*------ab text jo image k andar text scroll hoga uska config---- */
.bg{
    position: relative;
    width: 100%;
    height: 350px;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}
/* ---------------ab heading set karna hai with respective to parent jo ki center me hoga---- */
.desc{
    position: absolute;
    /* we dont use flex kyuki flex box ka use nahi kiya hia */
    /* display: flex;
    justify-content: center;
    align-items: center; */
    color: black;
    background-color: white;
    font-size: 2.5rem;
    top: 50%;
    left: 50%;
    transform: translateX(-50px) translateX(-50px);
    font-weight: 600;
    padding:  0.5rem 2.5rem;
    
}
/*-------------------- set karde rha hu background image----------------------- */
.bg1{
    background-image: url(sport-1.jpg);
}
.bg2{
    background-image: url(sport-2.jpg);
}
.bg3{
    background-image: url(sport-3.jpg);
}