*{
    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-image: url("index.jpg");
    background-size: cover;
    background-position: center;
}
#page1{
    position: relative;
    height: 100vh;
    width: 100vw;
    background-color: #d5dce0;
}
#page2{
    position: relative;
    height: 100vh;
    width: 100vw;
    background-color: #f1f1f1;
}
#page3{
    position: relative;
    height: 100vh;
    width: 100vw;
    background-color: #adcee8;
}
canvas{
    position: relative;
    z-index: 9;
    max-width: 200vw;
    max-height: 200vh;
}
#fixed-image{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 700px;
    height: 900px;
    max-height: 95vh;
    pointer-events: none;
}
#fixed-image img{
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0px;
    box-shadow: none;
}
#loop{
    display: flex;
    position: absolute;
    top: 10%;
    height: 15%;
    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: 10px 30px;
    backdrop-filter: blur(10px);
}
#nav>h3{
    font-family: gilroy;
    font-weight: 400;
    font-size: 26px;
}
#nav>a {
    display: flex;
    text-decoration: none;
    color: #000;
    font-family: gilroy;
    font-weight: 500;
    font-size: 22px;
    gap: 30px;
    margin-left: auto;
    margin-right: 20px;
}
.nav-links {
    display: flex;
    gap: 30px;
    margin-left: auto;
    margin-right: 20px;
}
.nav-links a {
    text-decoration: none;
    color: #000;
    font-family: gilroy;
    font-weight: 500;
    font-size: 22px;
}
#nav>button{
    padding: 9px 15px;
    border-radius: 50px;
    background-color: #000;
    color: #fff;
    border: none;
    font-size: 19px;
}
#page>h3{
    position: absolute;
    top: 55%;
    font-family: gilroy;
    font-weight: 400;
    color: #f7f2f4;
    left: 3%;
    font-size: 22px;
}
#page>h4{
    position: absolute;
    top: 80%;
    left: 25%;
    font-family: gilroy;
    font-weight: 500;
}
#page1>#right-text{
    position: absolute;
    top: 30%;
    left: 3%;
}
#page1>#right-text>h3{
    font-weight: 400;
    color: #7c7c7c;
}
#page1>#right-text>h1{
    line-height: 1.5;
    font-size: 40px;
    color: #00000097;
}
#page1>#left-text{
    position: absolute;
    top: 40%;
    right: 5%;
    text-align: end;
}
#page1>#left-text>h1{
    font-size: 40px;
    line-height: 1.5;
    color: #00000097;
}
#page2>#text1{
    position: absolute;
    top: 30%;
    left: 10%;
}
#page2>#text1>h2{
    color: #585555;
    font-weight: 400;
}
#page2>#text1>h1{
    font-size: 60px;
    line-height: 1.1;
}
#page2>#text2{
    position: absolute;
    top: 25%;
    right: 5%;
    text-align: end;
}
#page2>#text2>h3{
    color: #555557;
    font-weight: 400;
    font-size: 30px;
}
#page3>#text3{
    position: absolute;
    top: 40%;
    right: 10%;
    text-align: end;
}
#page3>#text3>h3{
    color: #565454;
    font-weight: 400;
}
#page3>#text3>h1{
    font-size: 60px;
    color: #152a59;
}

#social-icons-left {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 20;
}

.social-vertical {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    color: #333;
    font-size: 28px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
    transform: scale(1.15) translateX(10px);
    background-color: #000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}


.social-icon:hover i.fa-instagram {
    color: #E4405F;
}
.social-icon:hover i.fa-github {
    color: #fff;
}
.social-icon:hover i.fa-envelope {
    color: #EA4335;
}
.social-icon:hover i.fa-snapchat-ghost {
    color: #FFFC00;
}
.social-icon:hover i.fa-telegram {
    color: #26A5E4;
}
.social-icon:hover i.fa-linkedin {
    color: #0A66C2;
}
.social-icon:hover i.fa-file-alt {
    color: #4285F4;
}

.social-icon {
    position: relative;
}

.social-icon::after {
    content: attr(title);
    position: absolute;
    left: 85px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #000;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-family: gilroy;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 100;
}

.social-icon:hover::after {
    opacity: 1;
    visibility: visible;
    left: 90px;
}

#page3>#text3 {
    position: absolute;
    top: 40%;
    right: 5%;
    text-align: end;
}

@media (max-width: 1100px) {
    .social-vertical {
        padding: 20px 15px;
        gap: 10px;
    }
    
    .social-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    #social-icons-left {
        left: 3%;
    }
}

@media (max-width: 768px) {
    #social-icons-left {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-top: 30px;
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .social-vertical {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 90%;
        padding: 20px;
        gap: 15px;
    }
    
    .social-icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
    
    .social-icon:hover {
        transform: scale(1.1);
    }
    
    .social-icon::after {
        display: none; 
    }
    
    #page3>#text3 {
        position: relative;
        top: auto;
        right: auto;
        text-align: center;
        margin-bottom: 30px;
    }
}
.nav-links {
    display: flex;
    gap: 30px;
    margin-left: auto;
    margin-right: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-family: gilroy;
    font-weight: 500;
    font-size: 22px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #4a6fa5;
}

.nav-links a.active {
    color: #4a6fa5;
    border-bottom: 2px solid #4a6fa5;

}
