#splash-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
}


@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

:root {
    font-size: 16px;
    font-family: 'Open Sans';
    --text-primary: #b6b6b6;
    --text-secondary: #ececec;
    --bg-primary: #000000;
    --bg-secondary: #242427;
    --transition-speed: 600ms;
}



main {
    margin-left: 5rem;
    padding: 1rem;
}

.navbar {
    position: fixed;
    background-color: var(--bg-primary);
    transition: width 600ms ease;
    overflow: hidden;
}



.navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.nav-item {
    width: 100%;
}



.nav-link {
    display: flex;
    align-items: center;
    height: 5rem;
    color: var(--text-primary);
    text-decoration: none;
    filter: grayscale(100%) opacity(0.7);
    transition: var(--transition-speed);
}

.nav-link:hover {
    filter: grayscale(0%) opacity(1);
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

.nav-icon {
    width: 2rem;
    height: 2rem;
    margin: 0 1.5rem;
    filter: var(--icon-filter, brightness(0) invert(1));
    /* Default white */
    transition: filter 0.3s ease-in-out;
}

.nav-link:hover .nav-icon {
    filter: brightness(0) invert(45%) sepia(100%) saturate(500%) hue-rotate(300deg);
    /* Red effect on hover */
}

.link-text {
    display: none;
    margin-left: 1rem;
}

.nav-link svg {
    width: 2rem;
    min-width: 2rem;
    margin: 0 1.5rem;
}

.fa-primary {
    color: #ff7eee;
}

.fa-secondary {
    color: #df49a6;
}

.fa-primary,
.fa-secondary {
    transition: var(--transition-speed);
}

.logo {
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    font-size: 1.5rem;
    letter-spacing: 0.3ch;
    width: 100%;
}

.logo .nav-icon {
    transform: rotate(0deg);
    transition: var(--transition-speed);
}

.navbar:hover .logo .nav-icon {
    margin-left: 11rem;
}

.logo-text {
    display: inline;
    position: absolute;
    left: -999px;
    transition: var(--transition-speed);
}

.navbar:hover .logo .nav-icon {
    transform: rotate(-180deg);
}


@media only screen and (max-width: 600px) {
    .navbar {
        bottom: 0;
        width: 100vw;
        height: 5rem;
    }

    .logo {
        display: none;
    }

    .navbar-nav {
        flex-direction: row;
    }

    .nav-link {
        justify-content: center;
    }

    main {
        margin: 0;
    }
}

@media only screen and (min-width: 600px) {
    .navbar {
        top: 0;
        width: 5rem;
        height: 100vh;
    }

    .navbar:hover {
        width: 16rem;
    }

    .navbar:hover .link-text {
        display: inline;
    }

    .navbar:hover .logo svg {
        margin-left: 11rem;
    }

    .navbar:hover .logo-text {
        left: 0px;
    }
}




#home-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}


#dotsCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}



body {
    overflow: hidden;
}

html,
body {
    height: 100vh;
    margin: 0;
    overflow: hidden;
}


@media (hover: hover) {

    .project-card {
        background-color: transparent !important;

        border: 2px solid rgba(255, 255, 255, 0.2);

        border-radius: 10px;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .project-card::before {
        content: "";
        position: absolute;
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        border: 2px solid transparent;
        border-radius: inherit;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
        pointer-events: none;

    }

    .project-card:hover {
        background-color: transparent !important;
        border-color: rgba(255, 255, 255, 0.8);

        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }

    .project-card:hover::before {
        border-color: rgba(255, 255, 255, 0.8);
        animation: glow 1.5s infinite alternate;
    }

    @keyframes glow {
        from {
            box-shadow: 0 0 5px #ffffff;
        }

        to {
            box-shadow: 0 0 20px #ffffff;
        }
    }
}


@media (hover: none) {

    .project-card {
        background-color: transparent !important;

        border: 2px solid rgba(255, 255, 255, 0.2);

        border-radius: 10px;

        box-shadow: none !important;
    }

    .project-card::before {
        border: none !important;
        box-shadow: none !important;
        animation: none !important;
    }
}

.skill-badge {
    background-color: rgba(248, 0, 0, 0.3);
    color: white;
    padding: 4px 10px;
    font-size: 0.9rem;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.skill-badge:hover {
    background-color: rgba(178, 0, 248, 0.788);
    transform: scale(1.1);
}

#project-list {
    max-height: 90vh;

    max-width: 50vh;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 30px;
    overflow-x: hidden;

    overflow-y: auto;


}



#project-list::-webkit-scrollbar {
    width: 8px;
}

#project-list::-webkit-scrollbar-thumb {
    background-color: #3f3f3f;
    border-radius: 10px;
}

#project-list::-webkit-scrollbar-track {
    background-color: #222;
    border-radius: 10px;
}

#project-fulldesc::-webkit-scrollbar {
    width: 8px;
}

#project-fulldesc::-webkit-scrollbar-thumb {
    background-color: #3f3f3f;
    border-radius: 10px;
}

#project-fulldesc::-webkit-scrollbar-track {
    background-color: #222;
    border-radius: 10px;
}

#me-desc::-webkit-scrollbar {
    width: 8px;
}

#me-desc::-webkit-scrollbar-thumb {
    background-color: #3f3f3f;
    border-radius: 10px;
}

#me-desc::-webkit-scrollbar-track {
    background-color: #222;
    border-radius: 10px;
}


@media (min-width: 1024px) {
    .project-list-container {
        max-width: 60vh;
        margin-left: 2rem;
    }

    .scroll-arrow {
        display: block;
        position: fixed;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        animation: flash 1s infinite alternate;
        cursor: pointer;
        z-index: 200;
    }
}


@media (max-width: 1023px) {


    #project-list {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100%;
        padding: 20px;
    }


    .project-card {
        width: 100%;
    }


    .scroll-arrow {
        display: none;
    }
}


.project-card {
    width: 100%;

    box-sizing: border-box;

}

.preview-card {
    background-color: rgba(0, 0, 0, 0.4) !important;

    border: 2px solid rgba(255, 255, 255, 0.2);

    border-radius: 10px;
    padding: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.preview-card:hover {
    border-color: rgba(255, 255, 255, 0.8);

    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}