*{
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
    font-family: gilroy;
    color: #ffffff;
}
html,body{
    height: 100%;
    width: 100%;
}
#main{
    position: relative;
    overflow: hidden;
}
#page{
    position: relative;
    height: 100vh;
    width: 100vw;
    background-color: #000000;
    pointer-events: none;
}
#page1{
    position: relative;
    height: 100vh;
    width: 100vw;
    pointer-events: none;
    background-color: #000000;
}
#page2{
    position: relative;
    height: 100vh;
    width: 100vw;
    background-color: #000000;
    pointer-events: none;
}
#page3{
    pointer-events: auto;
    position: relative;
    height: 100vh;
    width: 100vw;
    background-color: #000000;
    z-index: 1;
}
canvas{
    position: relative;
    z-index: 9;
    max-width: 100vw;
    max-height: 100vh;
    pointer-events: none;
}
#loop{
    display: flex;
    position: absolute;
    top: 30%;
    height: 25%;
    width: 100%;
    font-size: 100px;
    white-space: nowrap;
    font-family: gilroy;
}
#loop>h1{
    font-weight: 400;
    animation-name: anim;
    animation-duration: 15s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
#loop>h1>span{
    -webkit-text-stroke: 1.2px #ffffff;
    color: transparent;
    font-weight: 500;
}
@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-family: gilroy;
    font-weight: 400;
    font-size: 22px;
}
#nav>button{
    padding: 10px 20px;
    border-radius: 50px;
    background-color: #000;
    color: #fff;
    border:#fff 1px solid;
}
#nav>button>a{
    text-decoration: none;
    color: #fff;
}
#page>h3{
    position: absolute;
    top: 55%;
    font-family: gilroy;
    font-weight: 400;
    color: #7c7c7c;
    left: 5%;
}
#page>h4{
    position: absolute;
    top: 62%;
    left: 25%;
    font-family: gilroy;
    font-weight: 500;
}
#page1>#right-text{
    position: absolute;
    top: 30%;
    left: 10%;
    pointer-events: auto;
}
#page1>#right-text>h3{
    font-weight: 400;
    color: #fcfbfb;
}
#page1>#right-text>h1{
    line-height: 1.5;
    font-size: 50px;
}
#page1>#left-text{
    position: absolute;
    top: 50%;
    right: 10%;
    text-align: end;
    pointer-events: auto;
}
#page1>#left-text>h1{
    font-size: 50px;
    line-height: 1.5;
}
#page1>#left-text>h3{
    color: #ffffff;
    font-weight: 400;
}
#page2>#text1{
    position: absolute;
    top: 30%;
    left: 10%;
    pointer-events: auto;
}
#page2>#text1>h3{
    color: #fffcfc;
    font-weight: 400;
}
#page2>#text1>h1{
    font-size: 60px;
    line-height: 1.5;
}
#page2>#text2{
    position: absolute;
    top: 55%;
    right: 10%;
    text-align: end;
    pointer-events: auto;
}
#page2>#text2>p{
    color: #7c7c7c;
    font-weight: 400;
}
#page3>#text3{
    position: absolute;
    top: 40%;
    right: 10%;
    text-align: end;
    pointer-events: auto;
}
#page3>#text3>h3{
    color: #7c7c7c;
    font-weight: 400;
}
#page3>#text3>h1{
    font-size: 70px;
}
#page3>#text4{
    height: 200px;
    width: 200px;
    position: absolute;
    top: 20%;
    left: 10%;
    z-index: 999;
    background-color: #ffffff;
    border-radius: 50%;
    pointer-events: auto;
}
#page3 #text4 a i {
    font-size: 170px;
    color: #000000;
    z-index: 999;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    line-height: 1.5;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    pointer-events: auto;
  }
  
  #page3 #text4 a i:hover {
    font-size: 210px;
  }
  
  #page3 #text4 a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1000;
    pointer-events: auto;
  }
  

/* Media Queries for Responsive Design */

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width: 1200px) {
    #loop {
        font-size: 80px;
    }
    #page1>#right-text>h1,
    #page1>#left-text>h1 {
        font-size: 40px;
    }
    #page2>#text1>h1 {
        font-size: 50px;
    }
    #page3>#text3>h1 {
        font-size: 60px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media only screen and (max-width: 992px) {
    #loop {
        font-size: 60px;
        top: 35%;
    }
    #nav>h3 {
        font-size: 18px;
    }
    #nav>button {
        padding: 8px 16px;
    }
    #page>h3,
    #page>h4,
    #page1>#right-text>h3,
    #page1>#left-text>h3,
    #page2>#text1>h3,
    #page2>#text2>p,
    #page3>#text3>h3 {
        font-size: 14px;
    }
    #page1>#right-text>h1,
    #page1>#left-text>h1 {
        font-size: 30px;
    }
    #page2>#text1>h1 {
        font-size: 40px;
    }
    #page3>#text3>h1 {
        font-size: 50px;
    }
    #page3>#text4 {
        height: 150px;
        width: 150px;
    }
    #page3>#text4>i {
        font-size: 120px;
    }
    #page3>#text4>i:hover {
        font-size: 150px;
    }
}

/* Small devices (phones, 600px and down) */
@media only screen and (max-width: 768px) {
    #loop {
        font-size: 40px;
        top: 40%;
        height: 20%;
    }
    #nav {
        padding: 0px 15px;
    }
    #nav>h3 {
        font-size: 16px;
    }
    #page>h3 {
        top: 60%;
        width: 90%;
    }
    #page>h4 {
        top: 65%;
        left: 5%;
        width: 90%;
    }
    #page1>#right-text,
    #page1>#left-text,
    #page2>#text1,
    #page2>#text2,
    #page3>#text3 {
        left: 5%;
        right: 5%;
        text-align: center;
    }
    #page1>#left-text {
        top: 60%;
    }
    #page2>#text1 {
        top: 25%;
    }
    #page2>#text2 {
        top: 60%;
    }
    #page3>#text3 {
        top: 35%;
    }
    #page3>#text4 {
        top: 6%;
        left: 10%;
        transform: translateX(-50%);
    }
    
      
}

/* Extra small devices (phones, 480px and down) */
@media only screen and (max-width: 480px) {
    #loop {
        font-size: 30px;
    }
    #nav>button {
        padding: 6px 12px;
        font-size: 12px;
    }
    #page1>#right-text>h1,
    #page1>#left-text>h1 {
        font-size: 24px;
    }
    #page2>#text1>h1 {
        font-size: 30px;
    }
    #page3>#text3>h1 {
        font-size: 36px;
    }
    #page3>#text4 {
        height: 120px;
        width: 120px;
    }
    #page3>#text4>i {
        font-size: 100px;
    }
    #page3>#text4>i:hover {
        font-size: 120px;
    }
}
