
 #main{
    position: relative;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -1; /* Ensures content appears over the video */
}


#page, #page1, #page2,#page3 {
    position: relative;
    height: 100vh;
    width: 100vw;

}


canvas{
    position: relative;
    z-index: 5;
    max-width: 100vw;
    max-height: 100vh;
}
#loop{
    display: flex;
    position: absolute;
    top: 66%;
    height: 25%;
    width: 100%;
    font-size: 100px;
    white-space: nowrap;
}
#loop>h1{
    font-weight: 500;
    animation-name: anim;
    animation-duration: 15s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    font-size: 140px;
}
#loop>h1>span{
    -webkit-text-stroke: 1.2px #ffffff;
    color: #fff;
    font-weight: 700;
}
@keyframes anim{
    0%{
        transform: translateX(0%);
    }
    100%{
        transform: translateX(-100%);
    }
}
#nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 7%;
    width: 100%;
    position: fixed;
    z-index: 99;
    padding: 0px 30px;
}
#nav>h3{
    
    font-weight: 400;
    font-size: 22px;
}
#nav>button{
    padding: 10px 20px;
    border-radius: 50px;
    background-color: #ffffff;
    color: #111;
    border: none;
}
#page>h3{
    position: absolute;
    top: 55%;
    font-weight: 400;
    color: #1E1E1E;
    left: 5%;
    width: 30vw;
    display: none;
}

#page>h3 b{font-weight: 700;}


#page>h4{
    position: absolute;
    top: 62%;
    left: 25%;
    
    font-weight: 500;
}
#page1>#right-text{
    position: absolute;
    top: 30%;
    left: 5%;
    display: none;
}
#page1>#right-text>h3{
    font-weight: 400;
   color: #1E1E1E;
}

#page1>#left-text{
    position: absolute;
    top: 50%;
    right: 5%;
    text-align: end;
    display: none;
}
 
#page1>#left-text>h3{
   color: #1E1E1E;
    font-weight: 400;
}
#page2>#text1{
    position: absolute;
    top: 16%;
    left: 5%;
    display: none;
}
#page2>#text1>h3{
   color: #1E1E1E;
    font-weight: 400;
}

#page2>#text2{
    position: absolute;
    top: 55%;
    right: 5%;
    text-align: end;
    width: 30vw;
    display: none;
}
#page2>#text2>p{
   color: #1E1E1E;
    font-weight: 400;
}
#page3>#text3{
    position: absolute;
    top: 50%;
    right: 5%;
    text-align: end;
}
#page3>#text3>h3{
   color: #1E1E1E;
    font-weight: 400;
}



#page2 h1,
#page3>#text3>h1,
#page1 h1{
    line-height: 53px;
    font-size: 42px;

}


@media (max-width: 1280px) {

    #page>h3{
    font-size: 22px;
    line-height: 27px;
    top: 60%;
}

#page1>#right-text{left: 5%;}

h3 {
    font-size: 22px; line-height: 28px;
}

#page2 h1,
#page3>#text3>h1,
#page1 h1{
    font-size: 32px;
    line-height: 40px;
}


}


@media screen and (max-width: 1025px) {
        .pin-spacer{/* margin-top: 0px !important; */}
 canvas{/* padding: 5% !important; *//* left: 2.5% !important; */}

    
#page>h3{width:90%;top: 57%;}

 

#page>h3{width:90%;top: 69%;font-size: 22px;}

#page, #page1, #page2, #page3{
    min-height: 100vh;
}
 
#loop{
    /* top: 68%; */
}
#loop>h1{font-size: 80px;}

#page1>#left-text>h3,
#page1 > #right-text > h3 {font-size: 24px;}

#page2>#text1,

#page1>#right-text{position: relative;left: 5%;width: 90%;text-align: start;top: 30%;}

#page1>#left-text,
#page2>#text2{
    top: 41%;
}

#page3>#text3 {
    top: 58%;
}

#page3>#text3>h1,
#page2 h1, #page1 h1{font-size: 32px;line-height: 35px;}

#text2,
#left-text{margin-top: 35px;}


.pt-120 {
    padding-top: 30px;
}
.pb-50{padding-bottom: 30px;}


.mb-m-0{margin-bottom: 0;}

.mb-40,
.mb-50,
.mb-60{margin-bottom: 30px;}



}




@media (max-width: 768px) {


    .pin-spacer{/* margin-top: 0px !important; */}
        canvas {
        /* padding: 5% !important; */
    }

    
#page>h3{width:90%;top: 57%;}

 

#page>h3{width:90%;top: 66%;font-size: 18px;}

#page, #page1, #page2, #page3{
    min-height: 100vh;
}

.hide-mob{display: none;}

#loop{
    /* top: 54%; */
    height: 10%;
}
#loop>h1{font-size: 60px;}

#page1>#left-text>h3,
#page1 > #right-text > h3 {font-size: 20px;}

#page2>#text1,
#page1>#left-text,
#page2>#text2,
#page3>#text3,
#page1>#right-text{position: relative;left: 5%;width: 90%;text-align: start;top: 55%;}


#page3>#text3>h1,
#page2 h1, #page1 h1{font-size: 28px;line-height: 33px;}

h1 br{display: none;}

#page2>#text2,
#page2>#text1,
#page3>#text3{text-align: right;}

#text2,
#left-text{margin-top: 35px;}


.pt-120 {
    padding-top: 30px;
}
.pb-50{padding-bottom: 30px;}


.mb-m-0{margin-bottom: 0;}

.mb-40,
.mb-50,
.mb-60{margin-bottom: 30px;}



}



