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

}

#wrapper{
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;

    perspective: 10px;
}


.container{
    position: relative;    /*Do we need this or not ? Why ? Check after the completion of this project.*/
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    transform-style: preserve-3d;

    z-index: -1;   /*Do we need this? If yes, then why?*/
}

.background{
    transform: translateZ(-40px) scale(5) ;
}

.foreground{
    transform: translateZ(-20px) scale(3);
}

.background, .foreground{
    position: absolute;
    height: 100%;
    width: 100%;

    object-fit: cover;
    z-index: -1;
    
}

h1{
    /* Data will be given, you don't need to remember it. */
    position: absolute;
    top: 5rem;

    letter-spacing: 4px;
    font-size: 10rem;
    color: white;
    text-shadow: 0 0 10px rgba(0,0,0,0.3);

}


section{
    background-color: rgb(45,45,45);
    color: white;
    padding: 5rem 0;
}

.secHeading{
    font-size: 5rem;
    padding: 0 10rem;
}

.text{
    font-size: 1.5rem;
    padding: 0 10rem;
    margin: 5rem 0;
}

.bg{

    position: relative;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    height: 500px;
}

.desc{
    /* We have to do position as absolute because we will overlap this text on bg with required properties. */
    position: absolute;
    background-color: white;
    padding: 0.5rem 2.5rem;
    top: 50%;
    left: 55%;
    transform: translateX(-50%) translateX(-50%);
    color: black;
    font-size: 3.5rem;






}



/* HW : Why did we used background-image instead of <img> tag ? */

.bg1{
    background-image: url(sport-1.jpg);
}

.bg2{
    background-image: url(sport-2.jpg);
}

.bg3{
    background-image: url(sport-3.jpg);
}