section.hero {
    height: 100dvh;

    display: flex;
    flex-direction: column;

    justify-content: flex-start;
    align-items: flex-start;

    padding-top: 150px !important;
}

section .intro {
    width: min-content;

    display: flex;
    flex-direction: column;

    justify-content: flex-start;
    align-items: flex-start;
}

section.hero .intro h1 {
    width: max-content;
    font-size: clamp(60px, 10vw, 100px);
    
    line-height: .8;
    z-index: 1;

    margin-bottom: 15px;

}

section.hero .intro em {
    font-weight: bold;
    color: var(--accent-light) !important;
}

section.hero .intro p {
    line-height: 1;

    z-index: 2;
    font-size: clamp(10px, 18px, 30px);

    color: var(--text-secondary);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}


section.hero .intro .actions {
    margin-top: 10px;
    position: relative;
    
    display: flex;
    flex-direction: row;

    justify-content: flex-start;
    align-items: flex-start;

    flex-wrap: wrap;
    gap: 10px;
}

section.hero .intro .actions .about {
    padding: 10px;
    border-radius: 3px;

    background: var(--accent);
    border: 1px solid var(--accent);

    font-weight: bold;
    color: #ffffff;

    transition: .3s ease-out;
    overflow: hidden;

}

section.hero .intro .actions .about:hover {
    background: oklch(from var(--accent) calc(l + .2) c h);
    color: var(--accent-dark);

    scale: 1.05;
}

section.hero .intro .actions .contact {
    padding: 10px;
    border-radius: 3px;

    background: transparent;
    transition: .3s ease-out;

    border: 2px solid var(--accent);
    color: var(--accent);

    font-weight: bold;

}

section.hero .intro .actions .contact:hover {
    scale: 1.05;
}

/**/
section.hero img.pfp {
    position: absolute;
    z-index: -1;

    bottom: 0;
    right: clamp(5px, 10vw, 400px);

    animation: fadeUp 0.7s ease both;
    animation-delay: 0.1s;
}

@media screen and (max-width: 520px) {
    section.hero img.pfp {
        right: unset;
        left: 50%;

        animation: pfpFadeUp 0.7s ease both;
        transform: translateX(-50%);
    }
}


/* ---------- My Tech Stack ---------- */
section.tech-stack {
    display: flex;
    flex-direction: column;

    justify-content: flex-start;
    align-items: flex-start;

}

section.tech-stack h2 {
    font-size: 45px;
}
section.tech-stack p {
    width: 100%;
    max-width: 1200px;
    font-size: 18px;
    opacity: .8;
}

section.tech-stack .stack {
    margin-top: 20px;
    width: 100%;
    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
}

section.tech-stack .stack .lang {
    --lang-color: black;

    display: flex;
    flex-direction: row;

    justify-content: flex-start;
    align-items: flex-start;

    background: #1a1a1a;
    border-radius: 5px;

    padding: 10px;
    gap: 10px;

    transition: .3s ease-out;
    pointer-events: auto;
}

section.tech-stack .stack .lang:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4) !important;
    background: #262626 !important;
}

section.tech-stack .stack:hover .lang:not(:hover) {
    opacity: .4;
}

section.tech-stack .stack .lang .logo {
    min-width: max-content;
    flex-shrink: 0;

    width: 60px !important;
    height: 60px !important;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 5px;
    background: oklch(from var(--lang-color) l c h / .1);
}

section.tech-stack .stack .lang .logo img {
    min-width: 45px;
    width: 45px;

}

section.tech-stack .stack .lang .content {
    display: flex;
    flex-direction: column;

    justify-content: flex-start;
    align-items: flex-start;

    padding: 5px;
}

section.tech-stack .stack .lang .content h3 {
    font-size: 18px;

}

section.tech-stack .stack .lang .content p {
    font-size: 14px;
    opacity: .6;
}




/* ---------- Projects ---------- */
section.projects {
    display: flex;
    flex-direction: column;

    justify-content: flex-start;
    align-items: flex-start;

    padding-top: 50px !important;

}

section.projects h2 {
    position: absolute;
    z-index: -1;

    top: 0;
    left: 50%;

    transform: translateX(-50%);

    font-size: clamp(50px, 15vw, 150px);
    text-transform: uppercase;

    line-height: .9;
    opacity: .4;

}

@media (max-width: 550px) {
    section.projects h2 {
        transform: translateX(-50%) translateY(20px);
    }
}

section.projects .container {
    width: 100%;
    height: auto;

    background: oklch(from #2a2a2a l c h / .2);
    border-radius: 10px;

    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);

    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);

    padding: clamp(80px, 15vh, 130px) clamp(10px, 5vw, 50px) clamp(60px, 10vh, 100px) clamp(10px, 5vw, 50px);
    display: flex;
}

section.projects .container .project {
    pointer-events: auto;

    display: flex;
    flex-direction: column;

    justify-content: flex-start;
    align-items: center;

    flex-grow: 1;
    max-width: 500px;

    border-radius: 5px;
    border: 2px solid #0f1b30;

    padding-bottom: 25px;
}

section.projects .container .project h3 {
    padding-left: 15px;
    font-size: 25px;
}

section.projects .container .project p {
    padding-left: 15px;
    font-size: 20px;
    opacity: .6;
}

section.projects .container .project img {
    max-width: 100%;
    margin-bottom: 15px;
}

section.projects .container .project a {
    margin-top: 10px;
    width: max-content;

    padding: 10px 15px;
    border-radius: 5px;

    font-size: 18px;
    background: var(--c-knighterlab);

    transition: .3s ease-out;
}

section.projects .container .project a:hover {
    background: oklch(from var(--c-knighterlab) calc(l + 0.2) c h);
}




























