*{
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
    font-family: gilroy;
}
html,body{
    height: 100%;
    width: 100%;
}
#main{
    position: relative;
    overflow: hidden;
}
#page{
    position: relative;
    height: 100vh;
    width: 100vw;
    background-color: #f1f1f1;
}
#page1{
    position: relative;
    height: 100vh;
    width: 100vw;
    background-color: #f1f1f1;
}
#page2{
    position: relative;
    height: 100vh;
    width: 100vw;
    background-color: #f1f1f1;
}
#page3{
    position: relative;
    height: 100vh;
    width: 100vw;
    background-color: #f1f1f1;
}
canvas{
    position: relative;
    z-index: 9;
    max-width: 100vw;
    max-height: 100vh;
}
#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 #000;
    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: none;
}
#page>h3{
    position: absolute;
    top: 60%;
    font-family: gilroy;
    font-weight: 400;
    color: #7c7c7c;
    left: 5%;
}
#page>h4{
    position: absolute;
    top: 67%;
    left: 25%;
    font-family: gilroy;
    font-weight: 500;
}
#page1>#right-text{
    position: absolute;
    top: 30%;
    left: 10%;
}
#page1>#right-text>h3{
    font-weight: 400;
    color: #7c7c7c;
}
#page1>#right-text>h1{
    line-height: 1.5;
    font-size: 50px;
}
#page1>#left-text{
    position: absolute;
    top: 50%;
    right: 10%;
    text-align: end;
}
#page1>#left-text>h1{
    font-size: 50px;
    line-height: 1.5;
}
#page1>#left-text>h3{
    color: #7c7c7c;
    font-weight: 400;
}
#page2>#text1{
    position: absolute;
    top: 30%;
    left: 15%;
}
#page2>#text1>h3{
    color: #7c7c7c;
    font-weight: 400;
}
#page2>#text1>h1{
    font-size: 60px;
    line-height: 1.5;
}
#page2>#text2{
    position: absolute;
    top: 55%;
    right: 5%;
    text-align: end;
}
#page2>#text2>p{
    color: #7c7c7c;
    font-weight: 400;
}
#page3>#text3{
    position: absolute;
    top: 10%;
    right: 10%;
    text-align: end;
}
#page3>#text3>h3{
    color: #7c7c7c;
    font-weight: 400;
}
#page3>#text3>h1{
    font-size: 50px;
    line-height: 1.2;
}
#project-left{
    position: absolute;
    top: 40%;
    left: 5%;
    width: 35%;
}
#project-right{
    position: absolute;
    top: 40%;
    right: 5%;
    width: 35%;
}
.project-box{
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}
.project-box h4{
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}
.project-box p{
    color: #7c7c7c;
    font-size: 14px;
    margin-bottom: 15px;
}
.project-box iframe{
    border-radius: 8px;
    margin-bottom: 15px;
    width: 100%;
}
.project-preview{
    margin-bottom: 15px;
}
.preview-placeholder{
    background: #f8f9fa;
    border: 1px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.preview-placeholder h5{
    color: #333;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}
.preview-placeholder ul{
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 250px;
    margin: 0 auto;
}
.preview-placeholder li{
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.4;
}
.screenshot-preview{
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}
.browser-header{
    background: #f5f5f5;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}
.browser-dots{
    display: flex;
    gap: 4px;
    margin-right: 12px;
}
.browser-dots span{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
}
.browser-dots span:nth-child(1){ background: #ff5f56; }
.browser-dots span:nth-child(2){ background: #ffbd2e; }
.browser-dots span:nth-child(3){ background: #27ca3f; }
.browser-url{
    font-size: 12px;
    color: #666;
    font-family: monospace;
}
.screenshot-content{
    padding: 0;
    background: #fff;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.website-screenshot{
    width: 100%;
    height: 280px;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
    display: block;
}
.screenshot-placeholder{
    background: rgba(255,255,255,0.95);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    max-width: 280px;
    backdrop-filter: blur(10px);
}
.screenshot-placeholder h5{
    color: #333;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}
.feature-list{
    margin-bottom: 20px;
}
.feature-item{
    color: #555;
    font-size: 13px;
    margin-bottom: 6px;
    line-height: 1.4;
    text-align: left;
}
.screenshot-stats{
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
}
.stat{
    background: #f0f0f0;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 11px;
    color: #666;
    font-weight: 500;
}
.project-box a{
    color: #333;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
}
.project-box a:hover{
    color: #000;
}
#contact-section{
    position: absolute;
    bottom: 10%;
    right: 10%;
    text-align: right;
}
#contact-section h3{
    color: #7c7c7c;
    font-weight: 400;
    margin-bottom: 10px;
}
#contact-section h1{
    font-size: 40px;
    line-height: 1.2;
}
#project-previews{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}
.project-embed{
    text-align: right;
}
.project-embed h4{
    color: #7c7c7c;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 400;
}
.project-embed iframe{
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
/* Mobile Responsive Design */
@media (max-width: 768px) {
    #page3>#text3{
        position: relative;
        top: auto;
        right: auto;
        width: 90%;
        margin: 5% auto;
        text-align: center;
    }
    #page3>#text3>h1{
        font-size: 36px;
        line-height: 1.2;
    }
    #project-left, #project-right{
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        width: 90%;
        margin: 20px auto;
    }
    .project-box{
        padding: 15px;
        margin-bottom: 20px;
    }
    .project-box h4{
        font-size: 16px;
        margin-bottom: 5px;
    }
    .project-box p{
        font-size: 12px;
        margin-bottom: 10px;
    }
    .screenshot-preview{
        max-width: 100%;
    }
    .browser-header{
        padding: 6px 10px;
    }
    .browser-dots span{
        width: 6px;
        height: 6px;
    }
    .browser-url{
        font-size: 10px;
    }
    .screenshot-content{
        padding: 10px;
        min-height: 200px;
    }
    .website-screenshot{
        max-height: 200px;
    }
    .project-box iframe{
        max-height: 200px;
    }
    #contact-section{
        position: relative;
        bottom: auto;
        right: auto;
        width: 90%;
        margin: 20px auto;
        text-align: center;
    }
    #contact-section h1{
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    #page3>#text3>h1{
        font-size: 28px;
    }
    .project-box{
        padding: 12px;
    }
    .project-box h4{
        font-size: 14px;
    }
    .project-box p{
        font-size: 11px;
    }
    .screenshot-content{
        padding: 8px;
        min-height: 180px;
    }
    .website-screenshot{
        max-height: 180px;
    }
    .project-box iframe{
        max-height: 180px;
    }
    #contact-section h1{
        font-size: 24px;
    }
}