@font-face {
    font-family: "SpaceGroteskRegular";
    src: url(/font/Space_Grotesk/static/SpaceGrotesk-Regular.ttf) format("truetype");
}

@font-face {
    font-family: "SpaceGroteskLight";
    src: url(/font/Space_Grotesk/static/SpaceGrotesk-Light.ttf) format("truetype");
}

@font-face {
    font-family: "SpaceGroteskMedium";
    src: url(/font/Space_Grotesk/static/SpaceGrotesk-Medium.ttf) format("truetype");
}

@font-face {
    font-family: "DMSansLight";
    src: url(/font/DM_Sans/static/DMSans-Light.ttf) format("truetype");
}

@font-face {
    font-family: "DMSansRegular";
    src: url(/font/DM_Sans/static/DMSans-Regular.ttf) format("truetype");
}

@font-face {
    font-family: "LogoFont";
    src: url(/font/font-logo/Acidrop-Demo.ttf) format("truetype");
}

@font-face {
    font-family: "LogoFont1";
    src: url(/font/mckloud/MCKLSH-black.ttf) format("truetype");
}


@font-face {
    font-family: "LogoFont2";
    src: url(/font/jellyka_saint_andrew_s_queen/Saint-Andrews-Queen.ttf) format("truetype");
}

@font-face {
    font-family: "LogoFont3";
    src: url(/font/new_romantics/ROMANTIC.TTF) format("truetype");
}

@font-face {
    font-family: "LogoFont4";
    src: url(/font/australia_custom/Australia-Custom.ttf) format("truetype");
}

/* ========================================================================================================================================= */
/* normal screen 1920x1080 screen styles */


body {
    margin: 0;
    padding: 0;
    background-color: #070610;
    height: 100vh;
    overflow: hidden;
    position: relative;
    font-family: "FahkwangRegular", sans-serif;
    opacity: 1;
    filter: blur(0px);
    transition: opacity 150ms ease, filter 150ms ease;
}

body.preload {
    opacity: 1;
    filter: blur(14px);
}

body.page-transition {
    opacity: 1;
    filter: blur(20px);
}

#logo-page {
    font-family: "LogoFont2", sans-serif;
    position: absolute;
    top: 20px;
    left: 60px;
    color: white;
    font-size: 62px;
}

/* Sidebar styles */
.sidebar {
    position: absolute;
    inset: 0 auto 0;
    left: 0;
    top: 0;
    width: 315px;
    height: 100%;
    background: linear-gradient(180deg, rgba(175, 156, 240, 1) 0%, rgb(61, 0, 197) 100%);
    z-index: 1;
}


/* root-color variable */
.bg-root {
    position: relative;
    height: 100vh;
    background: #7467c8;
    overflow: hidden;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Top blur effect */
.blur-top {
    position: absolute;
    width: 566px;
    height: 811px;
    background: #9877BE;
    filter: blur(220px) brightness(1.5);
    transform: rotate(230deg);
    left: 228px;
    top: -520.46px;
    z-index: 999;
    rotate: 90deg;
    border-radius: 150%;
    pointer-events: none; /* allow clicks to pass through to elements below */
    box-shadow: 0 0 200px rgba(152, 119, 190, 0.3);
}



/* Bottom blur effect */
.blur-bottom-left {
    position: absolute;
    width: 625px;
    height: 800px;
    background: linear-gradient(180deg, #7F739F 0%, #2E2939 100%);
    filter: blur(220px) brightness(1.2);
    left: 32px;
    top: 740px;
    z-index: 999;
    pointer-events: none; /* allow clicks to pass through to elements below */
}

/* Additional glow layer */
.blur-bottom-left::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    background: radial-gradient(circle at center, rgba(184, 177, 229, 0.4) 0%, transparent 60%);
    filter: blur(100px) brightness(1.6);
    border-radius: 50%;
}

/* Bottom right blur effect */
.blur-bottom-right {
    position: absolute;
    width: 280px;
    height: 770px;
    background: radial-gradient(ellipse at center, rgba(127, 115, 159, 0.9) 0%, rgba(127, 115, 159, 0.5) 40%, rgba(46, 41, 57, 0.3) 100%);
    filter: blur(220px) brightness(1.2);
    left: 1333px;
    top: 538.14px;
    rotate: 303deg;
    z-index: 999;
    border-radius: 50%;
    pointer-events: none; /* allow clicks to pass through to elements below */
    box-shadow: 0 0 150px rgba(127, 115, 159, 0.4);

}

/* Additional atmospheric layer */
.blur-bottom-right::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: radial-gradient(circle at center, rgba(158, 100, 248, 0.3) 0%, transparent 70%);
    filter: blur(80px) brightness(1.4);
    border-radius: 50%;
}




/*logo styles*/
.logo {
    position: absolute;
    top: -9px;
    left: 30px;
    height: auto;
    z-index: 3; /* Above sidebar and blur effects */
}

.logo-icon {
    position: absolute;
    bottom: 50px;
    left: 30px;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 3; /* Above sidebar and blur effects */
}

/* Make sure anchor links and their images inside the logo bar are clickable
   even if there are blurred overlay elements nearby */
.logo-icon a,
.logo-icon a img,
.logo-icon img {
    pointer-events: auto;
    z-index: 3;
}

/* Project list in the sidebar: stack project images vertically under the logo */
#project-list,
.project-links {
    position: absolute;
    top: 222px; /* sits below the .logo element */
    left: 55px; /* align with the logo */
    display: flex;
    flex-direction: column;
    gap: 66px;
    z-index: 3;
}

#project-list img,
.project-links img {
    width: 15px; /* reasonable thumbnail size for sidebar */
    height: auto;
    display: block;
    cursor: pointer;
}

.project-item {
    text-decoration: none;
    color: #53B9EA;
    font-family: "SpaceGroteskRegular", monospace;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 39px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-item:hover {
    opacity: 0.8;
    transform: translateX(5px);
}

.project-item.active {
    color: #3e3e3e;
    font-weight: bold;
}

/* Content animation transitions */
#project-header,
#desc-box,
#code-project,
#project-date-published {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/*project header styles*/
#project-header {
    width: 385px;
    position: absolute;
    top: 125px;
    left: 400px;
    z-index: 1001; /* Above sidebar and blur effects */
}

#project-header h1 {
    font-family: "SpaceGroteskRegular", serif;
    font-size: 50px;
    letter-spacing: 8px;
    color: #f5f5f5;
    margin: 0 0 -11px 0;
    font-weight: lighter;
    width: 750px;
}

#project-header p {
    font-family: "SpaceGroteskRegular", serif;
    font-size: 16px;
    color: #FFFFFF;
}

.project-skills {
    margin-top: 10px;
    font-family: "DMMonoMedium", serif;
    font-size: 15px;
    color: #B1AFCD;
}

.skills-label {
    margin-bottom: 10px;
    font-family: "SpaceGroteskMedium", serif;
    font-size: 15px;
    color: #B1AFCD;
}

.skills-scroll-container {
    width: 120px;
    height: 40px;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    background: linear-gradient(135deg, #5B9BD5 0%, #1100d3 100%);
    box-shadow: 0 2px 10px rgba(91, 155, 213, 0.4);
    cursor: pointer;
}

.skills-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 1, 1);
    will-change: transform;
}

.skill-tag {
    min-width: 120px;
    width: 120px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: "SpaceGroteskLight", sans-serif;
    font-size: 12px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    user-select: none;
}

.skill {
    margin-left: 15px;
    display: flex;
    align-items: center;
    font-family: "DMMonoMedium", serif;
}
/* Navbar styles */
.navbar-collapse {
    position: absolute;
    top: 50px;
    left: 400px;
    z-index: 1001; /* Above sidebar and blur effects */
}

.navbar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 50px;
}

.navbar-nav li {
    margin: 0;
}

.navbar-nav a {
    color: white;
    text-decoration: none;
    font-family: "SpaceGroteskRegular", serif;
    font-size: 19px;
    transition: color 0.3s ease;
}

.navbar-nav a:hover {
    color: #9877BE;
}

.navbar-nav .active a {
    color: #9877BE;
    font-weight: bold;
}

/* Project intro content styles */
.project-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.intro-content {
    position: absolute;
    top: 200px;
    left: 250px;
     z-index: 1001; /* Above sidebar and blur effects */
    color: #f5f5f5;
}

.intro-content h1 {
    font-family: "SpaceGroteskRegular", sans-serif;
    font-size: 66px;
    letter-spacing: 8px;
    margin: 0 0 100px 0;
    font-weight: lighter;
    color: #f5f5f5;
}

.intro-content p {
    font-family: "FahkwangLight", sans-serif;
    font-size: 26px;
    margin: 0;
    line-height: 1.9;
}

/* xbutton button styles (from Figma specs) */
.xbutton-wrapper {
    position: absolute;
    /* Figma coordinates — adjust later as needed */
    left: 250px;
    top: 600px;
    z-index: 3;
}

.x-button {
    width: 290px;   /* Figma W263 */
    height: 80px;   /* Figma H68 */
    background: #B8B1E5;
    border: none;
    clip-path: polygon(15% 0, 100% 0, 100% 15%, 100% 60%, 85% 100%, 20% 100%, 0 100%, 0 40%);
    border-radius: 4px;
    font-family: "SpaceGroteskRegular", serif;
    font-size: 35px;
    color: #f5f5f5; /* dark text for contrast */
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.x-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.16);
    filter: brightness(1.1);
}



.about-button {
    width: 162px;   /* Adjusted width */
    height: 50px;   /* Adjusted height */
    background: transparent;
    border: none;
    border-radius: 4px;
    font-family: "SpaceGroteskRegular", serif;
    font-size: 33px;
    color: #B8B1E5; /* light text for contrast */
    cursor: pointer;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 51px; /* space between buttons */
}

/* The tiny play triangle */
.play-icon {
    left: 33px;
    width: 9px;               /* triangle size */
    height: 9px;
    background: #B8B1E5;       /* triangle color */
    clip-path: polygon(0 0, 100% 50%, 0 100%);  /* ► */
    display: inline-block;
    transform: translateY(2px); /* tiny vertical nudge */
    position: relative;
}

.about-button:hover .play-icon {
    transform: translate(2px, 2px);
}

.ellipse-top {
    position: absolute;
    width: 1234px;
    height: 1234px;
    background-color: transparent;
    border: 0.1px solid #3f3f3f;
    top: -555px;
    right: -175px;
    z-index: 998;
    border-radius: 50% 50%;
    pointer-events: none; /* allow clicks to pass through to elements below */
}

.ellipse-bottom {
    position: absolute;
    width: 1345px;
    height: 1345px;
    background-color: transparent;
    border: 0.1px solid #3f3f3f;
    bottom: -666px;
    right: -50px;
    z-index: 998;
    border-radius: 50% 50%;
    pointer-events: none; /* allow clicks to pass through to elements below */
}

.big-star {
    position: absolute; 
    top: 60px;
    right: 955px;
    z-index: 999;
    filter: drop-shadow(0 0 10px rgba(184, 177, 229, 0.4));
}

.big-star img {
    width: 99px; /* Adjust size as needed */
    height: auto;
    pointer-events: none; /* allow clicks to pass through to elements below */
}

.small-star {
    position: absolute;
    top: 65px;
    right: -9px;
    filter: drop-shadow(0 0 8px rgba(158, 100, 248, 0.5));
}

.small-star img {
    width: 39px; /* Adjust size as needed */
    height: auto;
    pointer-events: none; /* allow clicks to pass through to elements below */
}

.sakura-pic {
    position: absolute;
    bottom: 269px;
    right: 290px;
    z-index: 1001; /* Above blur effects but below content */
}

.sakura-pic img {
    width: 450px; /* Adjust size as needed */
    height: auto;
    pointer-events: none; /* allow clicks to pass through to elements below */
}

.des-box {
    position: absolute;
    bottom: 60px;
    right: 210px;
    width: 450px;
    height: 270px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    clip-path: polygon(50% 0%, 100% 0, 100% 75%, 90% 100%, 0 100%, 0 0);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    padding: 20px;
    z-index: 998; 
}

.description {
    position: absolute;
    font-size: 39px;
    letter-spacing: 2px;
    color: #f5f5f5;
    font-family: "SpaceGroteskRegular", sans-serif;
    line-height: 1.6;
    z-index: 1000;
    top: 115px;
    margin-left: 22px;
    font-weight: lighter;
}

.star-img {
    position: absolute; 
    bottom: 177px;
    right: 55px;
    z-index: 999;
}

.star-img img {
    width: 50px; /* Adjust size as needed */
    height: auto;
    pointer-events: none; /* allow clicks to pass through to elements below */
}

.resume-but {
    position: absolute;
    top: 39px;
    right: 222px;
    z-index: 1001; /* Above blur effects but below content */
    width: 130px;   /* Figma W263 */
    height: 39px;   /* Figma H68 */
    background: #9E64F8;
    border: none;
    clip-path: polygon(15% 0, 100% 0, 100% 15%, 100% 60%, 85% 100%, 20% 100%, 0 100%, 0 40%);
    border-radius: 4px;
    color: #f5f5f5; /* dark text for contrast */
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.resume-button {
    text-decoration: none;
    color: #f5f5f5;
    background-color: transparent;
    border: none;
    width: 100%;
    height: 100%;
    font-size: 20px;
    font-family: "SpaceGroteskRegular", serif;
}

.resume-but:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.16);
}

.display-skill {
    position: absolute;
    bottom: 100px;
    left: 250px;
    z-index: 1001; /* Above blur effects but below content */
    border: none;
    border-radius: 4px;
    color: #f5f5f5; /* dark text for contrast */
    cursor: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.skill-list {
    font-size: 36px;
    line-height: 1.5;
    font-family: "NeueMachinaLight", serif;
}

.skill-item {
    margin-right: 33px;
}

/* Container for project images side by side */
.project-images-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
}

#nootopad img{ /* for project 1 nootopad */
    width: 850px;
    height: auto;
}

/* Generic styling for dynamically created project images */
.project-images-container img {
    width: 850px;
    height: auto;
}

/* Indigo box with gradient */
.desc-box {
    position: absolute;
    top: 105px;
    left: 1255px;
    width: 600px;
    height: 715px;
    background: rgb(129 119 217 / 20%);
    border-radius: 24px; /* Rounded corners */
    flex-shrink: 0;
    box-shadow: inset 0 0 25px rgba(252, 252, 252, 0.05), 0 0 5px rgba(158, 114, 179, 0.1), 0 0 25px rgba(101, 59, 107, 0.2), 0 0 50px rgba(37, 17, 37, 0.1);
}

.desc-box h1 {
    font-family: "SpaceGroteskRegular", sans-serif;
    color: #ffffff;
    font-size: 29px;
    margin-left: 55px;
    margin-top: 45px;
}

.desc-box p {
    font-family: "DMSansLight", sans-serif;
    color: #ffffff;
    margin-left: 55px;
    margin-right: 55px;
    letter-spacing: 2px;
    font-size: 15px;
}

.code-project h1 {
    position: absolute;
    top: 815px;
    left: 345px;
    font-family: "SpaceGroteskRegular", serif;
    color: #B1AFCD;
    font-size: 20px;
    margin-left: 55px;
    margin-top: 45px;
}

.code-project img {
    position: absolute;
    top: 905px;
    left: 400px;
    width: 100px;
    height: auto;
    z-index: 1002;
    opacity: 90%;
}

#github-image {
    position: absolute;
    top: 905px;
    left: 400px;
    width: 100px;
    height: auto;
    z-index: 1002;
    opacity: 90%;

}

#linkedin-image {
    position: absolute;
    top: 905px;
    left: 720px;
    width: 100px;
    height: auto;
    z-index: 1002;
    opacity: 90%;
}

#linkedin-h1 {
    position: absolute;
    top: 815px;
    left: 665px;
}

.project-date-published h1 {
    width: 100%;
    position: absolute;
    top: 815px;
    left: 995px;
    font-family: "SpaceGroteskRegular", serif;
    color: #B1AFCD;
    font-size: 22px;
    margin-left: 55px;
    margin-top: 45px;
}

.date-text {
    width: 100px;
    position: absolute;
    top: 865px;
    left: 995px;
    font-family: "SpaceGroteskRegular", serif;
    color: #B1AFCD;
    font-size: 16px;
    margin-left: 55px;
    margin-top: 45px;
}

#postgre-sql {
    position: absolute;
    top: 265px;
    left: 700px;
    width: 30px;
    height: auto;
    z-index: 1002;
    opacity: 90%;
}

#html-icon {
    position: absolute;
    top: 265px;
    left: 760px;
    width: 30px;
    height: auto;
    z-index: 1002;
    opacity: 90%;
}

#css-icon {
    position: absolute;
    top: 265px;
    left: 820px;
    width: 30px;
    height: auto;
    z-index: 1002;
    opacity: 90%;
}

#python-icon {
    position: absolute;
    top: 265px;
    left: 880px;
    width: 30px;
    height: auto;
    z-index: 1002;
    opacity: 90%;
}

#js-icon {
    position: absolute;
    top: 265px;
    left: 940px;
    width: 30px;
    height: auto;
    z-index: 1002;
    opacity: 90%;
}

#jupy-icon {
    position: absolute;
    top: 265px;
    left: 700px;
    width: 30px;
    height: auto;
    z-index: 1002;
    opacity: 90%;
}

#project-3-image.project3-image {
    position: absolute;
    top: 175px;
    left: -35px;
    height: auto;
    z-index: 1002;
    opacity: 90%;
}

#project-3-image.project3-image img{
    width: 600px;
}



#project-4-image.project4-image {
    position: absolute;
    top: 220px;
    left: -15px;
    height: auto;
    z-index: 1002;
    opacity: 90%;
}

#project-4-image.project4-image img{
    width: 520px;
}

#project-5-image.project5-image {
    position: absolute;
    top: 155px;
    left: -25px;
    height: auto;
    z-index: 1002;
    opacity: 90%;
}

#project-5-image.project5-image img{
    width: 600px;
}


/* ========================================================================================================================================= */
/* for bigger screens */
@media (min-width: 2560px) {
    .sidebar {
        width: 333px;
        background-color: (180deg, rgba(175, 156, 240, 1) 0%, rgb(61, 0, 197) 100%);
    }

    .logo {
        left: 30px;
        top: 5px;
    }

    .logo img {
        width: 250px;
    }

    .logo-icon {
        left: 35px;
    }

    #project-list {
        top: 311px;
        left: 55px;
    }

    .project-item {
        gap: 50px;
    }

    .blur-bottom-left {
        top: 1010px;
    }


    .blur-bottom-right {
        width: 369px;
        height: 835px;
        left: 2069.98px;
        top: 768.14px;
        rotate: 309deg;

    }

    .navbar-nav {
        gap: 50px;

    }

    .navbar-nav a {
        font-size: 26px;
        color: #b4b4b4
    }

    .navbar-collapse {
        top: 69px;
        left: 411px;
    }


    #project-header {
        left: 411px;
    }

    #project-header h1 {
        font-size: 45px;
        margin: 15px 0 -11px 0;
    }

    #project-header p {
        font-size: 18px;
    }

    .project-skills {
        margin-top: 15px;
        font-size: 18px;
    }

    .skills-label {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .skills-scroll-container {
        width: 140px;
        height: 45px;
    }

    .skill-tag {
        min-width: 140px;
        height: 45px;
        font-size: 18px;
    }

    .intro-content {
        top: 250px;
        left: 290px;
    }

    .intro-content h1{
        font-size: 88px;
        letter-spacing: 9px;
    }

    .intro-content p {
        font-size: 36px;
    }

    .xbutton-wrapper {
        top: 777px;
        left: 290px;
    }

    .x-button {
        width: 400px;
        height: 100px;
        font-size: 45px;
    }

    .about-button {
        width: 180px;
        font-size: 39px;
        margin-left: 75px;
    }

    .display-skill {
        left: 290px;
    }

    .ellipse-top {
        width: 1500px;
        height: 1500px;
    }

    .ellipse-bottom {
        width: 1600px;
        height: 1600px;
    }

    .big-star {
        right: 1205px;
        top: 105px;
    }

    .big-star img {
        width: 110px;
    }

    .small-star img {
        width: 50px;
    }

    .resume-but {
        top: 48px;
        right: 222px;
        width: 160px;
        height: 45px;
    }

    .resume-button {
        font-size: 22px;
        font-family: "SpaceGroteskRegular", serif;
    }

    .sakura-pic {
        bottom: 365px;
        right: 370px;
    }

    .sakura-pic img {
        width: 595px;
    }

    .des-box {
        width: 565px;
        bottom: 135px;
        right: 290px;
    }

    .description {
        font-size: 52px;
    }

    .star-img img {
        width: 65px;
    }

    .pic-center {
        bottom: 350px;
        right: 290px;
        z-index: 1001; /* Above blur effects but below content */
    }

    .skill-list {
        font-size: 45px;
    }

    .ellipse-top {
        width: 1500px;
        height: 1500px;
    }

    .ellipse-bottom {
        width: 1865px;
        height: 1865px;
        bottom: -937px;
        right: -55px;
    }

    #nootopad img {
        width: 1176px;
        height: auto;
    }

    .desc-box {
    position: absolute;
    top: 120px;
    left: 1600px;
    width: 840px;
    height: 935px;

    }

    .desc-box h1 {
        font-size: 36px;
        letter-spacing: 2px;
    }

    .desc-box p {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .code-project h1 {
        top: 1035px;
    }

    .code-project img {
        top: 1125px;
    }

    .project-date-published h1 {
        top: 1035px;
        left: 1775px;
    }

    .date-text {
        top: 1075px;
        left: 1775px;
        font-size: 21px;
    }

    #github-image {
        position: absolute;
        top: 1135px;
        left: 400px;
        width: 100px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    .code-project h1 {
        left: 370px;
    }

    #linkedin-image {
        position: absolute;
        top: 1135px;
        left: 930px;
        width: 100px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #linkedin-h1 {
        left: 895px;
        top: 1035px;
    }

    .project-date-published h1 {
        top: 1035px;
        left: 1375px;
    }

    .date-text {
        left: 1395px;
    }

    #postgre-sql {
        position: absolute;
        top: 275px;
        left: 840px;
        width: 50px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #html-icon {
        position: absolute;
        top: 275px;
        left: 980px;
        width: 50px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #css-icon {
        position: absolute;
        top: 275px;
        left: 1050px;
        width: 50px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #python-icon {
        position: absolute;
        top: 275px;
        left: 910px;
        width: 50px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #js-icon {
        position: absolute;
        top: 275px;
        left: 1120px;
        width: 50px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #jupy-icon {
        position: absolute;
        top: 275px;
        left: 840px;
        width: 50px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #project-2-image.project2-image img {
        width: 1240px;
    }

    #project-3-image.project3-image img {
        width: 850px;
    }

    #project-4-image.project4-image img {
        width: 670px;
    }

    #project-4-image.project4-image {
        position: absolute;
        top: 305px;
        left: -5px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #project-5-image.project5-image img {
        width: 800px;
    }


}



/* ========================================================================================================================================= */
/* for mac screens 1680x1050 */
@media (max-width: 1680px) {
    .sidebar {
        position: absolute;
        inset: 0 auto 0;
        left: 0;
        top: 0;
        width: 255px;
        height: 100%;
        background: linear-gradient(180deg, rgba(175, 156, 240, 1) 0%, rgb(61, 0, 197) 100%);
        z-index: 1;
    }

    .logo img {
        width: 190px;
    }

    #logo-page {
        font-family: "LogoFont2", sans-serif;
        position: absolute;
        top: 20px;
        left: 50px;
        color: white;
        font-size: 52px;
        }

    .project-item {
        text-decoration: none;
        color: #53B9EA;
        font-family: "SpaceGroteskRegular", monospace;
        display: flex;
        align-items: center;
        flex-direction: row;
        gap: 39px;
        transition: all 0.3s ease;
        cursor: pointer;
        font-size: 15px;
    }

    #project-header {
        width: 385px;
        position: absolute;
        top: 125px;
        left: 330px;
        z-index: 1001;
    }

    .navbar-collapse {
        position: absolute;
        top: 50px;
        left: 330px;
        z-index: 1001;
    }

    #nootopad img {
        width: 690px;
        height: auto;
    }

    .desc-box {
        position: absolute;
        top: 105px;
        left: 1060px;
        width: 600px;
        height: 765px;
        background: rgb(129 119 217 / 20%);
        border-radius: 24px;
        flex-shrink: 0;
        box-shadow: inset 0 0 25px rgba(252, 252, 252, 0.05), 0 0 5px rgba(158, 114, 179, 0.1), 0 0 25px rgba(101, 59, 107, 0.2), 0 0 50px rgba(37, 17, 37, 0.1);
    }

    .desc-box p {
        font-family: "DMSansLight", sans-serif;
        color: #ffffff;
        margin-left: 55px;
        margin-right: 55px;
        letter-spacing: 2px;
        font-size: 16px;
    }

    .code-project h1 {
        position: absolute;
        top: 765px;
        left: 275px;
        font-family: "SpaceGroteskRegular", serif;
        color: #B1AFCD;
        font-size: 18px;
        margin-left: 55px;
        margin-top: 45px;
    }

    #github-image {
        position: absolute;
        top: 875px;
        left: 330px;
        width: 100px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #linkedin-h1 {
        position: absolute;
        top: 765px;
        left: 585px;
    }

    #linkedin-image {
        position: absolute;
        top: 875px;
        left: 630px;
        width: 100px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    .project-date-published h1 {
        width: 100%;
        position: absolute;
        top: 765px;
        left: 815px;
        font-family: "SpaceGroteskRegular", serif;
        color: #B1AFCD;
        font-size: 18px;
        margin-left: 55px;
        margin-top: 45px;
    }


    .date-text {
        width: 100px;
        position: absolute;
        top: 815px;
        left: 815px;
        font-family: "SpaceGroteskRegular", serif;
        color: #B1AFCD;
        font-size: 16px;
        margin-left: 55px;
        margin-top: 45px;
    }

    #project-3-image.project3-image {
        position: absolute;
        top: 155px;
        left: -35px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #project-4-image.project4-image img {
        width: 450px;
    }

    #project-4-image.project4-image {
        position: absolute;
        top: 255px;
        left: -5px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }


    #project-5-image.project5-image {
        position: absolute;
        top: 115px;
        left: -25px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }


}


/* ========================================================================================================================================= */
/* for 15.3' laptop screens */
@media (max-width: 1664px) {

    .navbar-collapse {
        position: absolute;
        top: 50px;
        left: 360px;
        z-index: 1001; 
    }

    #project-header {
        width: 385px;
        position: absolute;
        top: 100px;
        left: 360px;
        z-index: 1001;
    }

    #nootopad img {
        width: 730px;
        height: auto;
    }

    .desc-box {
        position: absolute;
        top: 105px;
        left: 1095px;
        width: 490px;
        height: 625px;
    }

    .desc-box p {
        font-family: "SpaceGroteskRegular", sans-serif;
        color: #ffffff;
        margin-left: 55px;
        margin-right: 55px;
        letter-spacing: 0px;
        font-size: 13px;
    }

    .desc-box h1 {
    margin-top: 30px;
    }

    .code-project img {
        width: 120px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #github-image {
        position: absolute;
        top: 825px;
        left: 400px;
    }

    #linkedin-image {
        position: absolute;
        top: 825px;
        left: 650px;
    }

    #github-h1 {
        position: absolute;
        top: 725px;
        left: 345px;
        font-family: "SpaceGroteskRegular", serif;
        color: #B1AFCD;
        font-size: 22px;
        margin-left: 55px;
        margin-top: 45px;
    }

    #linkedin-h1 {
        position: absolute;
        top: 725px;
        left: 600px;
        font-family: "SpaceGroteskRegular", serif;
        color: #B1AFCD;
        font-size: 22px;
        margin-left: 55px;
        margin-top: 45px;
    }

    .project-date-published h1 {
        width: 100%;
        position: absolute;
        top: 725px;
        left: 855px;
    }

    .date-text {
        width: 100px;
        position: absolute;
        top: 775px;
        left: 855px;
        font-family: "SpaceGroteskRegular", serif;
        color: #B1AFCD;
        font-size: 20px;
        margin-left: 55px;
        margin-top: 45px;
    }

    .sidebar {
        position: absolute;
        inset: 0 auto 0;
        left: 0;
        top: 0;
        width: 265px;
        height: 100%;
        background: linear-gradient(180deg, rgba(175, 156, 240, 1) 0%, rgb(61, 0, 197) 100%);
        z-index: 1;
    }

    .logo img {
        width: 200px;
    }

    .project-item {
        font-size: 15px;
    }

    .linkedin-icon {
        position: absolute;
        top: 599px;
        
    }


}



/* ========================================================================================================================================= */
/* for 14' laptop screens */
@media (max-width: 1536px) {
    .sidebar {
        width: 182px;
        background-color: (180deg, rgba(175, 156, 240, 1) 0%, rgb(61, 0, 197) 100%);
    }

    .logo {
        position: absolute;
        top: 11px;
        left: 25px;
    }

    .logo img {
        width: 139px;
    }

    #logo-page {
    font-family: "LogoFont2", sans-serif;
    position: absolute;
    top: 20px;
    left: 10px;
    color: white;
    font-size: 52px;
}

    #project-list, .project-links {
    position: absolute;
    top: 200px;
    left: 35px;
    }

    .project-item {
        font-size: 11px;
    }

    .navbar-collapse {
    position: absolute;
    top: 50px;
    left: 250px;
    z-index: 1001;
    }

    #project-header {
    left: 250px;
    top: 120px;
    }

    #project-header h1{
        font-size: 39px;
        letter-spacing: 6px;
    }

    #project-header p {
        font-size: 14px;
    }

    .skills-label {
        font-size: 13px;
    }

    .skill-tag {
        font-size: 11px;
        height: 30px;
    }

    .skills-scroll-container {
        width: 100px;
        height: 29px;
        position: absolute;
        top: 75px;
        left: 210px;
        background: linear-gradient(135deg, #5B9BD5 0%, rgba(152, 119, 190, 1) 100%);
    }

    #nootopad img {
        width: 666px;
        height: auto;
    }

    .desc-box {
        position: absolute;
        top: 105px;
        left: 924px;
        width: 590px;
        height: 540px;
    }

    .desc-box p {
        font-family: "DMSansLight", sans-serif;
        color: #ffffff;
        margin-left: 55px;
        margin-right: 55px;
        letter-spacing: 0px;
        font-size: 14px;
    }

    .code-project h1 {
        position: absolute;
        top: 545px;
        left: 265px;
        font-size: 18px;
    }

    .code-project img {
        position: absolute;
        top: 625px;
        left: 320px;
        width: 90px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    .project-date-published h1 {
        width: 100%;
        position: absolute;
        top: 545px;
        left: 625px;
        font-family: "SpaceGroteskRegular", serif;
        color: #B1AFCD;
        font-size: 18px;
        margin-left: 55px;
        margin-top: 45px;
    }

    .date-text {
        width: 100px;
        position: absolute;
        top: 575px;
        left: 645px;
        font-family: "SpaceGroteskRegular", serif;
        color: #B1AFCD;
        font-size: 16px;
        margin-left: 55px;
        margin-top: 45px;
    }

    .navbar-nav a {
        font-size: 20px;
    }

    #postgre-sql {
        position: absolute;
        top: 205px;
        left: 660px;
        width: 20px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #html-icon {
        position: absolute;
        top: 205px;
        left: 710px;
        width: 20px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #css-icon {
        position: absolute;
        top: 205px;
        left: 760px;
        width: 20px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #python-icon {
        position: absolute;
        top: 205px;
        left: 810px;
        width: 20px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #js-icon {
        position: absolute;
        top: 205px;
        left: 860px;
        width: 20px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #jupy-icon {
        position: absolute;
        top: 205px;
        left: 660px;
        width: 20px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #github-h1 {
        position: absolute;
        top: 655px;
        left: 195px;
        font-size: 18px;
    }

    #github-image {
        width: 70px;
        position: absolute;
        top: 745px;
        left: 240px;
    }

    #linkedin-h1 {
        position: absolute;
        top: 655px;
        left: 490px;
        font-size: 18px;
    }

    #linkedin-image {
        position: absolute;
        top: 745px;
        left: 540px;
        width: 70px;
    }

    .project-date-published h1 {
        width: 100%;
        position: absolute;
        top: 655px;
        left: 715px;
        font-family: "SpaceGroteskRegular", serif;
        color: #B1AFCD;
        font-size: 18px;
        margin-left: 55px;
        margin-top: 45px;
    }

    .date-text {
        width: 100px;
        position: absolute;
        top: 705px;
        left: 715px;
        font-family: "SpaceGroteskRegular", serif;
        color: #B1AFCD;
        font-size: 16px;
        margin-left: 55px;
        margin-top: 45px;
    }

    #project-3-image.project3-image img {
        width: 550px;
    }

    #project-3-image.project3-image {
        position: absolute;
        top: 85px;
        left: -35px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #project-4-image.project4-image {
        position: absolute;
        top: 135px;
        left: -5px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #project-5-image.project5-image img {
        width: 550px;
    }

    #project-5-image.project5-image {
        position: absolute;
        top: 55px;
        left: -25px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }


}

/* ========================================================================================================================================= */
/* Responsive rules for desktop screens - fills gaps between breakpoints */
/* For screens between 1556px and 1664px */
@media (min-width: 1557px) and (max-width: 1664px) {
    .sidebar {
        width: calc(182px + (255px - 182px) * ((100vw - 1557px) / (1664px - 1557px)));
        max-width: 255px;
    }

    .logo img {
        width: calc(139px + (190px - 139px) * ((100vw - 1557px) / (1664px - 1557px)));
        max-width: 190px;
    }

    #logo-page {
        font-size: calc(52px + (62px - 52px) * ((100vw - 1557px) / (1664px - 1557px)));
    }

    .navbar-collapse {
        left: calc(250px + (360px - 250px) * ((100vw - 1557px) / (1664px - 1557px)));
        max-width: calc(100vw - 250px - 20px);
    }

    #project-header {
        left: calc(250px + (360px - 250px) * ((100vw - 1557px) / (1664px - 1557px)));
        width: calc(385px + (385px - 385px) * ((100vw - 1557px) / (1664px - 1557px)));
        max-width: calc(100vw - 250px - 50px);
    }

    #nootopad img {
        width: calc(666px + (730px - 666px) * ((100vw - 1557px) / (1664px - 1557px)));
        max-width: calc(100vw - 250px - 50px);
    }

    .desc-box {
        left: calc(924px + (1095px - 924px) * ((100vw - 1557px) / (1664px - 1557px)));
        width: calc(590px + (490px - 590px) * ((100vw - 1557px) / (1664px - 1557px)));
        max-width: calc(100vw - 924px - 20px);
    }
}

/* For screens between 1665px and 1680px */
@media (min-width: 1665px) and (max-width: 1680px) {
    .sidebar {
        width: calc(255px + (255px - 255px) * ((100vw - 1665px) / (1680px - 1665px)));
        max-width: 255px;
    }

    .navbar-collapse {
        left: calc(360px + (330px - 360px) * ((100vw - 1665px) / (1680px - 1665px)));
        max-width: calc(100vw - 330px - 20px);
    }

    #project-header {
        left: calc(360px + (330px - 360px) * ((100vw - 1665px) / (1680px - 1665px)));
        max-width: calc(100vw - 330px - 50px);
    }

    #nootopad img {
        width: calc(730px + (690px - 730px) * ((100vw - 1665px) / (1680px - 1665px)));
        max-width: calc(100vw - 330px - 50px);
    }

    .desc-box {
        left: calc(1095px + (1060px - 1095px) * ((100vw - 1665px) / (1680px - 1665px)));
        width: calc(490px + (600px - 490px) * ((100vw - 1665px) / (1680px - 1665px)));
        max-width: calc(100vw - 1060px - 20px);
    }
}

/* For screens between 1681px and 1890px - scale down from base 1920px */
@media (min-width: 1681px) and (max-width: 1890px) {
    .sidebar {
        width: calc(255px + (315px - 255px) * ((100vw - 1681px) / (1890px - 1681px)));
        max-width: 315px;
    }

    .logo img {
        width: calc(190px + (220px - 190px) * ((100vw - 1681px) / (1890px - 1681px)));
        max-width: 220px;
    }


    #logo-page {
    font-family: "LogoFont2", sans-serif;
    position: absolute;
    top: 20px;
    left: 30px;
    color: white;
    font-size: calc(52px + (62px - 52px) * ((100vw - 1681px) / (1890px - 1681px)));
    }

    .navbar-collapse {
        left: calc(330px + (400px - 330px) * ((100vw - 1681px) / (1890px - 1681px)));
        max-width: calc(100vw - 330px - 20px);
    }

    #project-header {
        left: calc(330px + (400px - 330px) * ((100vw - 1681px) / (1890px - 1681px)));
        width: calc(385px + (385px - 385px) * ((100vw - 1681px) / (1890px - 1681px)));
        max-width: calc(100vw - 330px - 50px);
    }

    #nootopad img {
        width: calc(690px + (750px - 690px) * ((100vw - 1681px) / (1890px - 1681px)));
        max-width: calc(100vw - 330px - 50px);
    }

    .desc-box {
        left: calc(1060px + (1120px - 1060px) * ((100vw - 1681px) / (1890px - 1681px)));
        width: calc(600px + (600px - 600px) * ((100vw - 1681px) / (1890px - 1681px)));
        max-width: calc(100vw - 1060px - 20px);
    }
}

/* For screens below 1556px - scale down proportionally */
@media (min-width: 1400px) and (max-width: 1525px) {
    .sidebar {
        width: calc(182px * (100vw / 1525px));
        max-width: 182px;
    }

    .logo img {
        width: calc(139px * (100vw / 1525px));
        max-width: 139px;
    }

    #logo-page {
        font-size: calc(52px * (100vw / 1525px));
        left: calc(10px * (100vw / 1525px));
        max-width: 100px;
    }

    .navbar-collapse {
        left: calc(250px * (100vw / 1525px));
        max-width: calc(100vw - 250px * (100vw / 1525px) - 20px);
    }

    #project-header {
        left: calc(250px * (100vw / 1525px));
        width: calc(385px * (100vw / 1525px));
        max-width: calc(100vw - 250px * (100vw / 1525px) - 50px);
    }

    #project-header h1 {
        font-size: calc(39px * (100vw / 1525px));
        max-width: 100%;
    }

    #nootopad img {
        width: calc(666px * (100vw / 1525px));
        max-width: calc(100vw - 250px * (100vw / 1525px) - 50px);
    }

    .desc-box {
        left: calc(924px * (100vw / 1525px));
        width: calc(590px * (100vw / 1525px));
        height: calc(540px * (100vw / 1525px));
        max-width: calc(100vw - 924px * (100vw / 1525px) - 20px);
    }

    .desc-box p {
        font-size: calc(14px * (100vw / 1525px));
    }

    .code-project {
        left: calc(265px * (100vw / 1525px));
        max-width: calc(100vw - 265px * (100vw / 1525px) - 20px);
    }

    .project-date-published {
        left: calc(715px * (100vw / 1525px));
        max-width: calc(100vw - 715px * (100vw / 1525px) - 20px);
    }
}

/* Hide navigation arrows on desktop and tablet */
@media (min-width: 481px) {
    .project-nav-arrow {
        display: none !important;
    }
}

/* ========================================================================================================================================= */
/* for iPad screens */
@media (max-width: 820px) {
    .navbar-collapse {
        top: 30px;
        left: 129px;
    }

    .intro-content {
        top: 150px;
        left: 150px;
    }

    .intro-content h1 {
        margin: 0 0 0 0;
        letter-spacing: 6px;
    }

    .intro-content p {
        font-size: 20px;
    }

    .xbutton-wrapper {
        top: 395px;
        left: 150px;
    }

    .x-button {
        width: 250px;
        height: 70px;
        font-size: 28px;
    }

    .about-button {
        width: 140px;
        font-size: 25px;
        margin-left: 50px;
    }

    .resume-but {
        top: 22px;
        right: 36px;
    }

    .sakura-pic {
        bottom: 285px;
        right: 240px;
    }

    .sakura-pic img {
        width: 300px;
    }

    .des-box {
        bottom: 170px;
        right: 195px;
        width: 275px;
        height: 150px;
    }

    .description {
        font-size: 24px;
        top: 85px;

    }

    .star-img {
        bottom: 95px;
        right: 15px;
    }

    .star-img img {
        width: 29px;
    }

    .display-skill {
        left: 265px;
        bottom: 50px;
    }

    .skill-list {
        font-size: 29px;
    }

}

/* ========================================================================================================================================= */
/* for mobile screens */
@media (max-width: 480px) {
    body {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .bg-root {
        min-height: 100vh;
        height: auto;
    }

    .sidebar {
        background: none;
        width: 100%;
        height: auto;
        position: relative;
        padding: 10px 0;
        z-index: 1003;
        background: linear-gradient(180deg, rgba(175, 156, 240, 1) 0%, rgb(61, 0, 197) 100%);
    }

    .logo {
        top: 10px;
        left: 10px;
        z-index: 1004;
    }

    #logo-page {
        font-family: "LogoFont2", sans-serif;
        position: absolute;
        top: -5px;
        left: 0px;
        color: white;
        font-size: 20px;
        z-index: 1004;
    }

    /* Project List Carousel Container */
    .sidebar {
        position: relative;
        background: linear-gradient(180deg, rgba(175, 156, 240, 1) 0%, rgb(61, 0, 197) 100%);
    }

    /* Project List Carousel */
    #project-list,
    .project-links {
        position: relative;
        top: auto;
        left: auto;
        display: flex;
        flex-direction: row;
        gap: 15px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 15px 45px;
        margin: 60px auto 20px;
        max-width: 100%;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }

    #project-list::-webkit-scrollbar,
    .project-links::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    /* Navigation Arrows - Show on mobile */
    .project-nav-arrow {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.5);
        color: white;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 24px;
        font-weight: bold;
        z-index: 1005;
        transition: all 0.3s ease;
        user-select: none;
        padding: 0;
        margin: 0;
    }

    .project-nav-arrow:hover {
        background: rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.8);
        transform: translateY(-50%) scale(1.1);
    }

    .project-nav-arrow:active {
        transform: translateY(-50%) scale(0.95);
    }

    .project-nav-arrow.prev {
        left: 5px;
    }

    .project-nav-arrow.next {
        right: 5px;
    }

    .project-nav-arrow.disabled {
        opacity: 0.3;
        cursor: not-allowed;
        pointer-events: none;
    }

    .project-item {
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 10px;
        min-width: 80px;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .project-item:hover {
        transform: scale(1.05);
    }

    .project-item.active {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
    }

    #project-list img,
    .project-links img {
        width: 10px;
        height: auto;
    }

    .project-name {
        font-size: 11px;
        color: white;
        text-align: center;
        font-family: "SpaceGroteskRegular", monospace;
    }

    /* Navbar - Keep horizontal */
    .navbar-collapse {
        top: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 380px;
        z-index: 1004;
    }

    .navbar-nav {
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .navbar-nav a {
        font-size: 13px;
        padding: 4px 6px;
    }

    /* Project Header */
    #project-header {
        position: relative;
        top: auto;
        left: auto;
        width: 90%;
        max-width: 380px;
        margin: 20px auto;
        padding: 0 20px;
        z-index: 1000;
    }

    #project-header h1 {
        font-size: 24px;
        letter-spacing: 3px;
        width: 100%;
        margin: 0 0 10px 0;
        line-height: 1.2;
    }

    #project-header p {
        font-size: 13px;
        line-height: 1.5;
        margin: 0 0 15px 0;
    }

    .project-skills {
        margin-top: 15px;
    }

    .skills-label {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .skills-scroll-container {
        width: 100px;
        height: 20px;
    }

    .skill-tag {
        min-width: 100px;
        width: 100px;
        height: 20px;
        font-size: 10px;
    }

    /* Project Images */
    .project-images-container {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
        width: 100%;
        align-items: center;
    }

    #nootopad img,
    .project-images-container img {
        width: 100%;
        max-width: 380px;
        height: auto;
    }

    /* Skill Icons Container - Position between images and description */
    /* On mobile, JavaScript moves it to be after project-images-container */
    #skill-icons-container {
        display: flex !important;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
        align-items: center;
        width: 90%;
        max-width: 380px;
        margin: 20px auto;
        padding: 15px 0;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
    }
    
    /* Ensure skill-icons-container is visible when moved to project-header */
    #project-header #skill-icons-container {
        display: flex !important;
    }

    #postgre-sql,
    #html-icon,
    #css-icon,
    #python-icon,
    #js-icon,
    #jupy-icon {
        position: relative;
        top: auto;
        left: auto;
        width: 30px;
        height: 30px;
        margin: 0;
        object-fit: contain;
    }

    /* Description Box */
    .desc-box {
        position: relative;
        top: auto;
        left: auto;
        width: 90%;
        max-width: 380px;
        height: auto;
        min-height: 400px;
        margin: 20px auto;
        padding: 20px;
    }

    .desc-box h1 {
        font-size: 20px;
        margin-left: 0;
        margin-top: 0;
    }

    .desc-box p {
        font-size: 13px;
        margin-left: 0;
        margin-right: 0;
        line-height: 1.6;
    }

    /* Code Project Section */
    .code-project {
        position: relative;
        width: 90%;
        max-width: 380px;
        margin: 20px auto;
        padding: 20px 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 10px 20px;
        align-items: start;
        justify-items: center;
    }

    /* Code text - top left */
    #github-h1 {
        grid-column: 1;
        grid-row: 1;
        position: relative;
        top: auto;
        left: auto;
        font-size: 16px;
        margin: 0;
        text-align: center;
    }

    /* GitHub icon - below Code */
    #github-icon {
        grid-column: 1;
        grid-row: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* Profile text - top right */
    #linkedin-h1 {
        grid-column: 2;
        grid-row: 1;
        position: relative;
        top: auto;
        left: auto;
        font-size: 16px;
        margin: 0;
        text-align: center;
    }

    /* LinkedIn icon - below Profile */
    #linkedin-icon {
        grid-column: 2;
        grid-row: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #github-image,
    #linkedin-image {
        position: relative;
        top: auto;
        left: auto;
        width: 60px;
        height: auto;
        margin: 0;
        display: block;
    }

    /* Hide skill-icons-container in code-project on mobile - it's moved above */
    .code-project #skill-icons-container {
        display: none !important;
    }

    /* Date Published */
    .project-date-published {
        position: relative;
        width: 90%;
        max-width: 380px;
        margin: 20px auto;
        padding: 0;
    }

    .project-date-published h1 {
        position: relative;
        top: auto;
        left: auto;
        font-size: 18px;
        margin: 0 0 10px 0;
    }

    .date-text {
        position: relative;
        top: auto;
        left: auto;
        font-size: 14px;
        margin: 0;
    }

    /* Hide decorative elements on mobile */
    .blur-top,
    .blur-bottom-left,
    .blur-bottom-right {
        display: none;
    }

    /* Project 2-5 images */
    #project-2-image.project2-image,
    #project-3-image.project3-image,
    #project-4-image.project4-image,
    #project-5-image.project5-image {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }

    #project-2-image.project2-image img,
    #project-3-image.project3-image img,
    #project-4-image.project4-image img,
    #project-5-image.project5-image img {
        width: 100%;
        max-width: 380px;
        height: auto;
    }
}





/* ========================================================================================================================================= */
/* for mobile screens */
@media (max-width: 375px) {

    .navbar-nav {
        gap: 11px;
    }

    .intro-content p {
        font-size: 13px;
    }

    .resume-but {
        width: 60px;
        height: 20px;
    }

    .resume-button {
        font-size: 13px;
    }

    .sakura-pic {
        bottom: 140px;
    }

    .sakura-pic img {
        width: 150px;
    }

    .xbutton-wrapper {
        top: 275px;
    }

    .x-button {
        width: 100px;
        height: 30px;
        font-size: 12px;
    }

    .about-button {
        margin-left: 0px;
    }

    .des-box {
        width: 115px;
        height: 70px;
        bottom: 85px;
    }

    .display-skill {
        left: 105px;
        bottom: 15px;
    }

    .description {
        margin-left: -12px;
        font-size: 12px;
        top: 60px;
    }

    .star-img {
        bottom: 45px;
        right: 1px;
    }

    .star-img img {
        width: 15px;
    }

    .logo-icon img {
        width: 29px;
    }
}


/* =========================================================================================================================================== */
/* for mac screens 2800x1864 */
@media (min-width: 2600px) and (max-width: 2999px) {
    .logo img {
        width: 331px;
    }

    .logo {
        left: 0px;
        top: 25px;
    }

    #logo-page {
        font-family: "LogoFont2", sans-serif;
        position: absolute;
        top: 10px;
        left: 90px;
        color: white;
        font-size: 82px;
    }


    .sidebar {
        position: absolute;
        inset: 0 auto 0;
        left: 0;
        top: 0;
        width: 350px;
        background: linear-gradient(180deg, rgba(175, 156, 240, 1) 0%, rgb(61, 0, 197) 100%);
    }

    .project-item {
        gap: 50px;
        font-size: 32px;
    }

    #project-list {
        top: 400px;
        left: 45px;
    }

    .navbar-nav a {
        font-size: 46px;
    }

    .navbar-collapse {
        top: 110px;
        left: 500px;
    }

    #project-header {
        left: 500px;
        top: 225px;
    }

    #project-header h1 {
        font-size: 90px;
        margin: 15px 0 -11px 0;
        width: 1500px;
    }

    #project-header p {
        font-size: 30px;
        width: 700px;
    }

    .skills-label {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .skill-tag {
        min-width: 150px;
        height: 55px;
        font-size: 22px;
    }

    .skills-scroll-container {
        width: 160px;
        height: 55px;
    }

    #nootopad img {
        width: 1286px;
        height: auto;
    }

    .project1-nootopad {
        position: absolute;
        top: 395px;
    }

    .skills-scroll-container {
        width: 160px;
        height: 55px;
        margin-top: 32px;
    }

    #postgre-sql {
        position: absolute;
        top: 525px;
        left: 940px;
        width: 60px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #html-icon {
        position: absolute;
        top: 525px;
        left: 1030px;
        width: 60px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #css-icon {
        position: absolute;
        top: 525px;
        left: 1120px;
        width: 60px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #python-icon {
        position: absolute;
        top: 525px;
        left: 1210px;
        width: 60px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #js-icon {
        position: absolute;
        top: 525px;
        left: 1300px;
        width: 60px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #jupy-icon {
        position: absolute;
        top: 525px;
        left: 940px;
        width: 60px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    .desc-box {
        position: absolute;
        top: 280px;
        left: 1840px;
        width: 910px;
        height: 1265px;
    }

    .desc-box h1 {
        font-size: 56px;
        letter-spacing: 2px;
    }

    .desc-box p {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .code-project h1 {
        top: 1445px;
        left: 450px;
        font-size: 42px;
    }

    #linkedin-h1 {
        left: 985px;
        top: 1445px;
    }

    .project-date-published h1 {
        top: 1445px;
        left: 1445px;
        font-size: 42px;
    }

    #github-image {
        position: absolute;
        top: 1595px;
        left: 500px;
        width: 150px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #linkedin-image {
        position: absolute;
        top: 1595px;
        left: 1030px;
        width: 150px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    .date-text {
        left: 1445px;
        top: 1535px;
        font-size: 41px;
    }

    #project-2-image.project2-image img {
        width: 1400px;
    }

    #project-3-image.project3-image img {
        width: 1100px;
    }

    #project-3-image.project3-image {
        position: absolute;
        top: 305px;
        left: -35px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #project-4-image.project4-image img {
        width: 900px;
    }

    #project-4-image.project4-image {
        position: absolute;
        top: 425px;
        left: -5px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #project-5-image.project5-image {
        position: absolute;
        top: 235px;
        left: -25px;
        height: auto;
        z-index: 1002;
        opacity: 90%;
    }

    #project-5-image.project5-image img {
        width: 1100px;
    }
    

}
