* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: -webkit-fill-available;
  }
  
@font-face {
    font-family: 'Amiri Quran';
    src: url('./fonts/AmiriQuran-Regular.woff2') format('woff2'),
        url('./fonts/AmiriQuran-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Serif';
    src: url('./fonts/NotoSerif-Regular.woff2') format('woff2'),
        url('./fonts/NotoSerif-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}




body {
    
    background-color: #0B1017;
    color: #EBF0FF;
    font-family: "Amiri Quran", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2vh;
    margin-left: 10vw;
    margin-right: 10vw;

  }

header {
    display: flex;
    justify-content: space-between;
    width: 80%;
    position: fixed;
    top: 0;
    background-color: #0B1017;
    border-color: #EBF0FF;
    border-width: .3vh;
    border-style:solid;
    border-left-width: 0;
    border-right-width: 0;
    border-top-width: 0;
    z-index: 1000;
  }

header a {
    margin-left: 3vw;
    margin-right: 3vw;
    text-decoration: none;
    color: inherit; 
    text-decoration: none; 
    
    cursor: pointer; 
}
.header-wrapper {
    display: flex;
    z-index: 1000;
    
  }

.landing {
    

}

.landing-content {
    margin-top: 8vh;
    padding: 3vw;
    margin-bottom: 4vh;
    display: flex;
    height: 70vh;

}

.main-text {
    position: absolute;
    z-index: 10;
    font-family: "Fustat", light;
    font-weight: 300;
    font-size: 13vh;
    
    transition: opacity 0.5s ease;
}



.main-text.show {
    opacity: 1;
    transform: translateY(0);
}

.p1 {
    position: relative;
    left: 4vw;
    top: 6vh;
}



.p2 {
    position: relative;
    font-family: "Noto Serif", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: italic;
    font-size: 20vh;
    left: 5vw;
    transform: translateY(-20px); 
    transition: opacity 0.5s ease, transform 0.6s ease;
}
.p2.show {
    opacity: 1;
    transform: translateY(0);
}

.p3 {
    position: relative;
    top: -3vh;
    left: 13vw;
    transform: translateY(-20px); 
    transition: opacity 0.5s ease, transform 0.8s ease;
    z-index: 1;
}
.p3.show {
    opacity: 1;
    transform: translateY(0);
}
.parallax-container {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-repeat: no-repeat;
    transform: translate(0, 0);
    
}

.layer-back {
    background-image: url(assets/code.png); /* Replace with your background image */
    z-index: 1;
    position: relative;
    height: 55vh;
    width: 25vw;
    left: 45vw;
    top: 4vh;
}


.layer-middle {
    z-index: 3;
}

.layer-front {
    background-image: url(assets/glassbreak.png); /* Replace with your foreground image */
    z-index: 2;
    height: 130vh;
    width: 130vw;
    top: -20vh;
    left: 3vw;
}
.images {
    position: absolute;
    display: flex;
    justify-content: space-between;
    gap: 14vw;
    
    
    

    

}

.rotate {
    transform-style: preserve-3d;
    transform: perspective(5000px) rotateY(var(--rotateX)) rotateX(var(--rotateY));
    
}



.cta-button {
    padding: 2vh;
    padding-left: 3vh;
    padding-right: 3vh;
    text-decoration: none;
    width: fit-content;
    height: 12vh;
    border-radius: 10vh;
    font-size: 4vh;
    line-height: 6vh;
    border-width: .4vh;
    border-style: solid;
    color: white;
    background-color: #ebf0ff00;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: stretch;
    justify-content: center;
}


.cta-hover{
    width: fit-content;
    height: fit-content;
    position: relative;
    text-decoration: none;
    margin-top: 2vh;
    padding: 5vh;
    left: 22vw;
    top: -37vh;
    z-index: 10;
}

.cta-hover:hover{
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateY(var(--rotateX)) rotateX(var(--rotateY));

}


.cta-button:hover {
    color: rgb(255, 255, 255);
    background-color: #3148DB;
    cursor: pointer;
}

footer{
    display: flex;
    justify-content: space-between;
    border-width: 0;
    border-style: solid;
    border-bottom-width: .3vh;
    padding: 3vw;
    padding-bottom: 5vh;
    margin: 0;
    margin-top: -40vh;
    text-align: center;
    
}

footer p {
    width: 11vw;
    line-height: 2.2vh;
    position: relative;
    z-index: 5;
}






.whoami {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    gap: 10vw;
    margin-top: 10vh;
    align-items: center;
    padding-bottom: 9vh;
    border-width: 0;
    border-style: solid;
    border-bottom-width: .3vh;

}

#fibonacci-spiral {
    background-image: url(assets/spiral.png);
    background-position: top;
    background-size: cover;
    stroke: white;
    stroke-width: .5;
    width: auto;
    height: 60vh;

}

#selfie {
    background-image: url(assets/Screenshot_20241111-135333.png);
}

#spiral-path {
    stroke: white;
    stroke-width: .5;
    filter: drop-shadow(0 0 3px rgb(255, 255, 255));
    transition: stroke-dashoffset 0.3s linear; 
}

.text-wrapper {
    width: 26%;
    position:absolute;
}

.whoami h2 {
    font-family: "Inter", light;
    font-weight: 300;
    font-size: 14vh;
    min-width: 40vw;
    position: absolute;
    top: -6vh;
    left: 20vh;
}

.whoami p {
    position: absolute;
    bottom: 14vh;
    left: 19vw;
    width: 30%;
}


.hobbies {
    background-image: url(assets/bghobbies.png);
    background-size: cover;
    background-position: center;
}

.hobbies h3 {
    font-family: "Inter", light;
    font-weight: 300;
    font-style: normal;
    font-size: 10vh;
}

.hobbies h2 {
    font-family: "Noto Serif", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: italic;
    font-size: 20vh;
}

.music-article {
    display: flex;
}
.music-text {
    margin-left: 20vw;
    width: 35vw;
    margin-bottom: 20vh;
}

.blender-article {
    display: flex;
}

.blender-text {
    width: 40vw;
    
}

#piano {
    position: absolute;
    right: 10vw;
    width: 26vw;
}

#flstudio {
    position: absolute;
    width: 30vw;
}

#blendercube {
    position:relative;
    width: 20vw;   
    right: -20vw;
}

#render {
    height: 30vh;
    position: relative;
    right: -10vw;
}

.tools {
    padding-top: 10vh;
    padding: 3vh;
    display: flex;
    border-style:solid;
    border-left-width: 0;
    border-right-width: 0;
    margin-bottom: 40vh;
    

}

.tools h1 {
    font-family: "Inter", light;
    font-weight: 300;
    font-size: 10vh;
    border-style:solid;
    border-left-width: 0;
    margin-right: 5vw;
    border-top-width: 0;
    border-bottom-width: 0;
    transform: translateX(-80px); 
    transition: opacity 0.5s ease, transform 0.5s ease;

}

.tools h1.show {
    opacity: 1;
    transform: translateX(0);
}

.tools-text {
    width: 50vw;
    display: flex;
    flex-direction: column;
    text-align: left;
}