*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#wrapper{
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;      /* hide kr dega x axis me over flow */
 
    perspective: 10px;  /*perspective property determines the distance 
                          between the user and a 3D-positioned object's 
                          z=0 plane, which gives the element some perspective*/
}

.container{
    position:relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    z-index: -1;    /* isko use kia hai kuki section wala contant iske upr ana chahiye */
}

.background{
      transform: translateZ(-40px) scale(5);     /* this is use for 3D effect*/
}

.foreground{
    transform: translateZ(-20px) scale(3);       /* this is use for 3D effect*/
}

.background , .foreground {
    position: absolute;           /* position relative to position ancesteor */
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -1;               /* this is use for "taaki main heading upr aa jaye" */       
}

h1{
    position: absolute;
    top: 6rem;
    font-size: 9rem;
    letter-spacing: 4px;
    font-family: sans-serif;
    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;
    font-family: sans-serif;
    font-weight: 600;
}

.text{
    font-size: 1.5rem;
    padding: 0 10rem;
    margin: 5rem 0;
    font-family: sans-serif;
    line-height: 2rem;
}

.bg{
    position: relative;
    width: 100%;
    background-attachment: fixed;   /* this is use for fixing image 
                                      and all content are scrolled upr of the image*/
    background-position: center;   /* background image centered align */
    background-size: cover;
    height: 500px;
}

.desc{
    position: absolute;
    background-color: white;
    color: black;
    font-family: sans-serif;
    padding: 1rem 2.5rem;
    top: 40%;
    left: 50%;
    transform: translateX(-30%) translateX(-30%);
    font-size: 3.5rem;
    font-weight: 600;
}

.bg1{
    background-image: url(biking.jpg);
}

.bg2{
    background-image: url(paragliding.webp);
}

.bg3{
    background-image: url(surfing.jpg);
}