:root {
    /* 🎨 Core Colors */
    --color-primary: #09c067e5;
    --color-secondary: #00C2FF;

    /* 🖤 Backgrounds */
    --color-bg: #0A0A0A;
    --color-surface: #111111;
    --color-surface-light: #2c2c2c5d;

    /* ✍️ Text */
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #0a0a0a;
    --color-text-muted: #a19c9c;

    /* ✨ Effects */
    --color-glow: rgba(0, 255, 136, 0.6);
    --color-glow-soft: rgba(0, 255, 136, 0.2);

    /* 🔲 Borders */
    --color-border: rgba(84, 84, 84, 0.19);
}

/* Scrollbar width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track (background) */
::-webkit-scrollbar-track {
    background: var(--color-bg);
    /* dark black */
}

/* Handle (the moving part) */
::-webkit-scrollbar-thumb {
    background: var(--color-surface-light);
    /* dark grey */
    border-radius: 1px;
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    /* your green accent */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::selection {
    background-color: var(--color-glow-soft);

}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    overflow-x: hidden;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

header {
    width: 100vw;
    height: 10vh;
    background-color: var(--color-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 2em 1em 5em;
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(5px);
}

header h1 {
    color: var(--color-text-primary);
    font-family: "Jaro", sans-serif;
    font-weight: 900;
    font-style: normal;
    letter-spacing: 2px;
}

header nav ul {
    height: inherit;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
}

header nav a {
    padding: 0.3em;
    text-decoration: none;
    color: var(--color-text-primary);
    border: 2px solid var(--color-border);
    border-radius: 10px;
    font-family: "JetBrains Mono", monospace;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
    letter-spacing: 1px;
}

header nav a:hover {
    transform: scale(2em);
    box-shadow: 0px 0px 10px 10px var(--color-glow);
    font-weight: bolder;
    transition: all ease-out 0.25s;
}


#drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 60vw;
    background-color: var(--color-primary);
    z-index: 20;
    padding: 3em;
    transition: all ease 0.5s;
}

#drawer>ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 2em;
}

#drawer>ul a {
    text-decoration: none;
    font-family: "JetBrains Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    color: var(--color-text-primary);
    font-size: x-large;
}

#menu{
    position: fixed;
    top: 2vh;
    right: 1vw;
    z-index: 25;
}

.hide{
    transform: translateX(60vw);
}

.show{
    transform: translateX(-0vw);
}

section {
    min-height: 75vh;
    width: 80vw;
    background-color: var(--color-surface-light);
    margin: 10vh auto;
    border: 1px solid var(--color-surface);
    border-radius: 0.5em;
    scroll-margin-top: 20vh;
    backdrop-filter: blur(5px);
    box-shadow: 0px 0px 5px 0px var(--color-glow);
    padding: 5em;
}

#home {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#home h4 {
    display: inline;
    word-spacing: 0.15em;
}

#home #name {
    display: inline;
}


#introduction {
    color: var(--color-text-primary);
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 1.85em;
}

#cursor {
    display: inline-block;
    margin-left: 5px;
    color: var(--color-glow);
    animation: blink 0.8s infinite;
}

@keyframes blink {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0;
    }
}

.home-buttons {
    margin-top: 25px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5em;
}

.btn {
    padding: 1em;
    border-radius: 10px;
    font-size: 15px;
    text-decoration: none;
    transition: 0.3s ease;
    position: relative;
    word-spacing: 0.15em;
    letter-spacing: 0.05em;
    color: var(--color-text-primary);
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.primary {
    background: var(--color-primary);
    color: var(--color-text-secondary);
}

.primary:hover {
    box-shadow: 0 0 20px var(--color-primary);
    transform: translateY(-2px);
}

.secondary {
    padding: 2em;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

.secondary:hover {
    background: var(--color-bg);
    box-shadow: 0 0 10px var(--color-primary);
}

.cv {
    color: var(--color-text-primary);
    font-size: 0.5em;
    padding: 1em;
}

.cv:hover {
    color: var(--color-primary);
}

#profile-photo img {
    height: 65vh;
    filter: drop-shadow(0px 0px 50px var(--color-secondary));
}

section h1 {
    font-family: "Source Code Pro", monospace;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    color: var(--color-text-primary);
}

section p {
    margin: 0.75em 0 2em;
    color: var(--color-text-primary);
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: x-large;
    letter-spacing: 0.1em;
    word-spacing: 0.2em;
    line-height: 1.35em;
}

#project-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 1em;
    row-gap: 1em;
}

.project {
    text-decoration: none;
    height: 50vh;
    width: 20vw;
    background-color: var(--color-glow-soft);
    border-radius: 0.5em;
    padding: 1em;
    color: var(--color-text-secondary);
}

.project-image {
    height: 30vh;
    width: 18vw;
    object-fit: contain;
}

.project-name {
    color: var(--color-text-primary);
    font-family: "JetBrains Mono", monospace;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: large;
    font-weight: bolder;
}

.project-description {
    color: var(--color-text-muted);
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    margin-top: 0.5em;
}

#skills {
    min-height: max-content;
}

#skills-sections {
    margin-top: 2em;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em 1em;
    place-items: center;
}

.skill-section {
    height: 23vh;
    width: 20vw;
    background-color: var(--color-glow-soft);
    border-radius: 0.25em;
    padding: 1em;
}

.skill-heading {
    font-family: "JetBrains Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: var(--color-text-primary);
}

.skill-names {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 1em auto;
    row-gap: 0.5em;
    place-items: center;
}

.skill-name {
    padding: 0.25em 0.5em;
    border-radius: 10em;
    height: max-content;
    width: max-content;
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    color: var(--color-text-secondary);
    background-color: var(--color-text-muted);
    font-size: small;
    letter-spacing: 0.1em;
    border: 3px solid var(--color-glow);
}

#education {
    min-height: max-content;
}

#educations {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin: 2em 0;
}

.degree {
    background-color: var(--color-glow-soft);
    border-radius: 0.25em;
    padding: 1em;

}

.degree-name,
.time-span {
    display: inline;
    color: var(--color-text-primary);
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: x-large;
}

.institution-name {
    color: var(--color-text-muted);
    font-family: "JetBrains Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    margin-top: 0.5em;
}

.certificate-description {
    font-weight: 300;
    font-style: italic;
}


#contact {
    min-height: max-content;
}

#contact-section {
    display: flex;
    justify-content: space-evenly;
    margin-top: 2em;
}

.contact-links {
    background-color: var(--color-glow-soft);
    backdrop-filter: blur(10px);
    width: 10vw;
    height: 3vw;
    color: var(--color-text-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75em;
    border-radius: 0.25em;
    cursor: pointer;
    text-decoration: none;
    font-family: "Source Code Pro", monospace;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.contact-links:hover * {
    transform: scale(1.1) rotate(1deg);
    transition: all ease 0.25s;
}

.contact-icon img {
    height: 25px;
    width: 25px;
    filter: brightness(0) invert(1);
    font-weight: bolder;
}

hr {
    border: none;
    height: 3px;
    width: 75vw;
    margin: 1em auto;
    background: linear-gradient(to right, transparent, var(--color-glow), transparent);
}

footer {
    color: var(--color-text-primary);
    font-family: "JetBrains Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    display: flex;
    justify-content: space-around;
    margin-bottom: 1em;
}

#copyright-logo {
    font-size: xx-small;
}

#heart {
    color: rgb(255, 0, 0);
}