@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "poppins", "sans-serif";  
}


#wrapper{
    height: 100vh;
    overflow-x: hidden;

    perspective: 10px;
}

.container{
    height: 100%;   
    transform-style: preserve-3d;
}

.background, .foreground{
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: -1;
    object-fit: cover;
}

.background{
    transform: translateZ(-40px) scale(5.1);
}

.foreground{
    transform: translateZ(-20px) scale(3);
}


h1{
    position: absolute;
    top: 3rem;
    left: 25%;
    font-size: 10rem;
    letter-spacing: 4px;
    color: white;
    text-shadow: 0 0 10px rgb(0,0,0,0.3);
}

section{
    position: relative;
    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-position: center;
    background-size: cover;   
    height: 480px;
}

.desc{
    position: absolute;
    background-color: #fff;
    padding: 0.5rem 2.5rem;
    top: 50%;
    left: 50%;
    color: #000;
    font-size: 3.5rem;
    font-weight: 600;
    transform: translate(-50%, -50%);
}

.bg1{
    background-image: url(./images/sport-1.jpg);
}

.bg2{
    background-image: url(./images/sport-2.jpg);
}

.bg3{
    background-image: url(./images/sport-3.jpg);
}
