*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}
#wrapper{
    height: 100vh;
    width: 100vw;
    overflow-y: auto;
    overflow-x: hidden;
    perspective: 10px;
}
.container{
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    z-index: -1;

}
.background,.foreground{
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -1;  
}
.background{
    transform: translateZ(-40px) scale(5);
}
.foreground{
    transform: translateZ(-20px) scale(3); 
}
h1{
    position: absolute;
    font-size: 10rem;
    color: white; 
    text-shadow: 0 0 10px rgba(0,0,0,0.3);
    top: 5rem;
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: 4px;
    font-family: "Gill Sans", sans-serif;
}
section{
    background-color: rgb(45,45,45);
    color: white; 
    padding: 5rem 0;
}
.bg1{
    background-image: url(https://codehelp-parallax-website.netlify.app/assets/sport-1.jpg);
}
.bg2{
    background-image: url(https://codehelp-parallax-website.netlify.app/assets/sport-2.jpg);
}
.bg3{
    background-image: url(https://codehelp-parallax-website.netlify.app/assets/sport-3.jpg);
}
.secheading{
    font-size: 5rem;
    padding: 0 10rem;
    font-family: "Gill Sans", sans-serif;
}
.text{
    font-size: 1.5rem;
    padding: 0 10rem;
    margin: 5rem 0;
    font-family: "poppins", sans-serif;
}
.bg{
    position: relative;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    height:500px; 
}
.desc{
    position: absolute;
    background-color: white;
    padding: 0.5rem 2.5rem;
    color: black;
    top:50%;
    left:50%;
    transform: translateX(-50%) translateY(-50%);
    font-size: 3.5rem ;
    font-family: "poppins", sans-serif;
}