@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root{
    scroll-behavior: smooth;
    --bg: #0e1014;
    --panel: #151821;
    --panel-strong: #1c202b;
    --text: #f5f7fb;
    --muted: #b8c2d1;
    --accent: #8ef0c0;
    --border: rgba(255,255,255,0.08);
    --shadow: 0 0.75rem 2.5rem rgba(0,0,0,0.35);
}

*{ box-sizing: border-box; }

html, body {
    overflow-x: hidden;
    width: 100%;
}

html {
    background: radial-gradient(circle at 18% 20%, rgba(142, 240, 192, 0.08), transparent 24%),
                radial-gradient(circle at 80% 0%, rgba(140, 180, 255, 0.06), transparent 26%),
                var(--bg);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    margin: 0 auto;
    padding: 0 1.125rem 4.5rem;
    width: 90%;
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
    justify-content: center;
    max-width: 73.75rem; 
    grid-template-areas:
        "header header"
        "main main"
        "achievements achievements"
        "timeline timeline"
        "projects aside";
    gap: 1.75rem;
    min-height: 100vh;
}

.skip-link{
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus{
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: 0.5rem 0.75rem;
    background: var(--panel);
    color: var(--text);
    border: 0.0625rem solid var(--accent);
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    z-index: 20;
}

@keyframes loadAnimDown {
    0% { transform: translateY(3.125rem); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes loadAnimUp {
    0% { transform: translateY(-3.125rem); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes headerSlideDown {
    from { transform: translateY(-0.75rem); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes loadAnimLeft {
    0% { transform: translateX(3.125rem); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes loadAnimRight {
    0% { transform: translateX(-3.125rem); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

/*Navigation*/

header {
    grid-area: header;
    position: fixed;
    left: 0;
    right: 0;
    margin: 0.875rem auto 0;
    width: min(calc(100% - 1.5rem), 40rem);
    transform: none;
    z-index: 10;
    backdrop-filter: blur(1.25rem) saturate(180%);
    background: linear-gradient(180deg, rgba(21,24,33,0.96) 0%, rgba(21,24,33,0.88) 100%);
    border: 0.0625rem solid rgba(255,255,255,0.12);
    box-shadow: 0 0.5rem 2rem rgba(0,0,0,0.4), 0 0.125rem 0.5rem rgba(0,0,0,0.2);
    padding: 0.625rem 0.875rem;
    border-radius: 62.4375rem;
    animation: headerSlideDown 0.35s ease both;
}

nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    gap: 3rem;
}

header .navbar {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-switch{
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.1875rem;
    border-radius: 62.4375rem;
    background: rgba(255,255,255,0.08);
    border: 0.0625rem solid rgba(255,255,255,0.1);
}

.lang-btn{
    border: none;
    background: transparent;
    color: var(--muted);
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 0.75rem;
    padding: 0.45rem 0.6rem;
    border-radius: 62.4375rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn:hover{
    color: var(--text);
    background: rgba(142, 240, 192, 0.12);
}

.lang-btn:focus-visible{
    outline: 0.125rem solid var(--accent);
    outline-offset: 0.0625rem;
}

.lang-btn.active{
    background: rgba(142, 240, 192, 0.2);
    color: var(--accent);
}

main .navbar {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    background: rgba(255,255,255,0.06);
    padding: 0.25rem;
    border-radius: 62.4375rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

a {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    text-decoration: none;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.005em;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

a i{
    color: var(--text);
    transition: color 0.2s ease;
}

header .navbar a{
    padding: 0.5rem 0.875rem;
    border-radius: 62.4375rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

header .navbar a:hover{
    background: rgba(142, 240, 192, 0.1);
    color: var(--accent);
    transform: scale(1.02);
}

header .navbar a:active{
    transform: scale(0.98);
}

main .navbar a{
    padding: 0.625rem 1.125rem;
    border-radius: 62.4375rem;
    position: relative;
    overflow: hidden;
}

header a:hover i, main a:hover i{
    color: var(--accent);
}

main a:hover{
    color: var(--accent);
    text-decoration: none;
    transform: translateY(-0.0625rem);
}

header a:focus, main a:focus{
    outline: 0.125rem solid var(--accent);
    outline-offset: 0.125rem;
    color: var(--accent);
}

header a:focus-visible, main a:focus-visible{
    outline: 0.125rem solid var(--accent);
    outline-offset: 0.125rem;
    border-radius: 62.4375rem;
}

hr {
    border: none;
    height: 0.0625rem;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 0.75rem 0 1.25rem;
    width: 100%;
}

header hr{ display: none; }

/*Main*/

main{
    grid-area: main;
    padding-top: 10rem;
}

main, .achievements-section, .timeline-section, .projects-section, aside {
    width: 100%;
}

h1{
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    letter-spacing: 0.02em;
    line-height: 1.15;
    margin: 0 0 0.625rem;
    animation: loadAnimDown 0.5s;
}

.phone-name{
    transition: color 0.3s ease;
}

.phone-name:hover{
    color: var(--accent);
}

h3{
    font-size: clamp(1rem, 2.6vw, 1.2rem);
    color: var(--muted);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    animation: loadAnimDown 0.6s;
    margin: 0 0 1.125rem;
}

main .navbar{
    gap: 0.75rem;
    margin-top: 0.875rem;
    animation: loadAnimDown 0.7s;
    font-size: clamp(0.95rem, 1.8vw, 1rem);
}

.about{
    letter-spacing: 0.02em;
    display: flex;
    animation: loadAnimDown 0.7s;
    font-size: clamp(0.95rem, 1.8vw, 1rem);
    gap: 1rem;
    color: var(--muted);
}

.about i{
    padding: 0;
    color: var(--accent);
}

.navbar i{
    padding-right: 0.25rem;
}

/*Projects*/

.projects-section{
    grid-area: projects;
    animation: loadAnimLeft 0.8s ease;
}

.achievements-section{
    grid-area: achievements;
    animation: loadAnimDown 0.75s ease;
}

.timeline-section{
    grid-area: timeline;
    animation: loadAnimDown 0.82s ease;
}

h2{
    font-size: clamp(1.3rem, 2.6vw, 1.7rem);
    margin: 0 0 0.75rem;
}

#prj-holder{
    width: 100%;
    height: fit-content;
    padding-top: 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.projects-more{
    appearance: none;
    border: 0.0625rem solid rgba(142, 240, 192, 0.3);
    background: linear-gradient(180deg, rgba(142, 240, 192, 0.16) 0%, rgba(142, 240, 192, 0.08) 100%);
    color: var(--text);
    font: inherit;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 0.9rem 1.1rem;
    border-radius: 0.875rem;
    box-shadow: var(--shadow);
    cursor: pointer;
    width: 100%;
    margin-top: 0.25rem;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.projects-more:hover{
    transform: translateY(-0.125rem);
    border-color: var(--accent);
    color: var(--accent);
    background: linear-gradient(180deg, rgba(142, 240, 192, 0.22) 0%, rgba(142, 240, 192, 0.12) 100%);
}

.projects-more:focus-visible{
    outline: 0.125rem solid var(--accent);
    outline-offset: 0.125rem;
}

.projects-more[hidden]{
    display: none;
}

.projects-modal{
    border: none;
    padding: 0;
    background: transparent;
    width: min(62rem, calc(100vw - 1.5rem));
    max-width: 62rem;
    max-height: min(85vh, 52rem);
}

.projects-modal::backdrop{
    background: rgba(6, 8, 12, 0.78);
    backdrop-filter: blur(0.35rem);
}

.image-viewer{
    border: none;
    padding: 0;
    background: transparent;
    width: min(74rem, calc(100vw - 1.5rem));
    max-width: 74rem;
}

.image-viewer::backdrop{
    background: rgba(6, 8, 12, 0.85);
    backdrop-filter: blur(0.35rem);
}

.image-viewer__panel{
    position: relative;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(21,24,33,0.98) 0%, rgba(18,20,28,0.98) 100%);
    border: 0.0625rem solid rgba(255,255,255,0.12);
    border-radius: 1rem;
    padding: 2.75rem 1rem 1rem;
    box-shadow: 0 1.5rem 4rem rgba(0,0,0,0.5);
}

.image-viewer__title{
    position: absolute;
    top: 0.75rem;
    left: 1rem;
    right: 10rem;
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted);
    letter-spacing: 0.02em;
}

.image-viewer__close{
    position: absolute;
    top: 0.6rem;
    right: 0.75rem;
    appearance: none;
    border: 0.0625rem solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: var(--text);
    font: inherit;
    font-weight: 700;
    padding: 0.45rem 0.75rem;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.image-viewer__close:hover{
    transform: translateY(-0.0625rem);
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(142, 240, 192, 0.1);
}

.image-viewer__close:focus-visible{
    outline: 0.125rem solid var(--accent);
    outline-offset: 0.125rem;
}

.image-viewer__img{
    margin-top: 1rem;
    max-width: 100%;
    max-height: min(82vh, 52rem);
    object-fit: contain;
    border-radius: 0.75rem;
}

.projects-modal__panel{
    background: linear-gradient(180deg, rgba(21,24,33,0.98) 0%, rgba(18,20,28,0.98) 100%);
    border: 0.0625rem solid rgba(255,255,255,0.1);
    border-radius: 1.125rem;
    box-shadow: 0 1.5rem 4rem rgba(0,0,0,0.5);
    padding: 1.2rem;
    max-height: calc(85vh - 1.5rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--text);
}

.projects-modal__panel *{
    color: var(--text);
}

.projects-modal__header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.projects-modal__close{
    appearance: none;
    border: 0.0625rem solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: var(--text);
    font: inherit;
    font-weight: 700;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.projects-modal__close:hover{
    transform: translateY(-0.0625rem);
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(142, 240, 192, 0.1);
}

.projects-modal__close:focus-visible{
    outline: 0.125rem solid var(--accent);
    outline-offset: 0.125rem;
}

.projects-modal__content{
    overflow: auto;
    padding-right: 0.25rem;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.projects-modal .prj-content{
    margin-bottom: 0;
}

.prj-content--featured{
    height: auto;
    max-height: max-content;
    grid-template-columns: 12rem 1fr;
}

.prj-content--featured .prj-image{
    height: 9rem;
}

.prj-content--featured .prj-desc{
    max-height: none;
    display: -webkit-box;
    line-clamp: 4;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.prj-content--featured .stack-holder{
    margin-top: 0.75rem;
}

#ach-holder{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 0.875rem;
    padding-top: 0.25rem;
}

.ach-content{
    background: var(--panel);
    border: 0.0625rem solid var(--border);
    border-radius: 0.875rem;
    box-shadow: var(--shadow);
    padding: 1rem;
    min-height: 8.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ach-content:hover{
    border-color: var(--accent);
    transform: translateY(-0.1875rem);
}

.ach-top{
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.ach-icon{
    width: 2.1rem;
    height: 2.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(142, 240, 192, 0.1);
    border: 0.0625rem solid rgba(142, 240, 192, 0.35);
    color: var(--accent);
    flex: 0 0 auto;
}

.ach-icon i{
    padding-right: 0;
    font-size: 0.95rem;
    line-height: 1;
}

.ach-title{
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.25;
}

.ach-meta{
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

.ach-desc{
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
    font-size: 0.95rem;
}

.timeline-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.timeline-column{
    background: rgba(255,255,255,0.02);
    border: 0.0625rem solid var(--border);
    border-radius: 0.875rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.timeline-subtitle{
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--text);
}

#school-holder,
#job-holder{
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    flex: 1;
}

.timeline-item{
    background: var(--panel);
    border: 0.0625rem solid var(--border);
    border-radius: 0.75rem;
    padding: 0.875rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    text-align: left;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.timeline-item:hover{
    border-color: var(--accent);
    transform: translateY(-0.125rem);
}

.timeline-icon{
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(142, 240, 192, 0.1);
    border: 0.0625rem solid rgba(142, 240, 192, 0.35);
    color: var(--accent);
    flex: 0 0 auto;
}

.timeline-icon i{
    padding-right: 0;
    line-height: 1;
}

.timeline-item h4{
    margin: 0;
    font-size: 1rem;
}

.timeline-meta{
    margin: 0.2rem 0 0.35rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.timeline-desc{
    margin: 0;
    color: var(--muted);
    line-height: 1.4;
    font-size: 0.92rem;
}

.timeline-empty{
    margin: 0;
    background: var(--panel);
    border: 0.0625rem dashed var(--border);
    border-radius: 0.75rem;
    padding: 0.875rem;
    color: var(--muted);
    text-align: center;
    font-size: 0.92rem;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prj-content{
    background: var(--panel);
    border: 0.0625rem solid var(--border);
    height: auto;
    max-height: max-content;
    padding: 1.125rem;
    margin-bottom: 1.125rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    animation: loadAnimLeft 1s ease;
    border-radius: 0.875rem;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 8.75rem 1fr;
    gap: 1rem;
    align-items: stretch;
    text-align: left;
    cursor: pointer;
}

.prj-content:hover{
    border-color: var(--accent);
    color : var(--accent);
    transform: translateY(-0.25rem);
}

.prj-content:focus{
    outline: 0.1875rem solid var(--accent);
    outline-offset: 0.125rem;
    border-color: var(--accent);
}

.prj-content:focus-visible{
    outline: 0.1875rem solid var(--accent);
    outline-offset: 0.125rem;
}

.prj-desc{
    overflow: hidden;
    max-height: 4.5rem;
    color: var(--muted);
    line-height: 1.45;
}

.prj-image{
    width: 100%;
    height: 9rem;
    object-fit: cover;
    border-radius: 0.625rem;
    cursor: zoom-in;
}

.prj-content > div{
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

h4{
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    line-height: 1.25;
    margin: 0;
}

.prj-demo{
    display: flex;
    gap: 0.75rem;
    align-items: center;
    min-height: 2.25rem;
    position: relative;
}

.prj-wrapper{
    margin-left: auto;
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.prj-content p{
    font-size: 0.98rem;
    margin: 0.375rem 0;
}

.stack-holder{
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-top: auto;
    width: 100%;
}

.stack-content{
    background-color: var(--panel-strong);
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    border: 0.0625rem solid var(--border);
    transition: all 0.2s ease;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    line-height: 1.2;
}

.stack-content i{
    color: var(--text) !important;
    align-items: center;
}

.stack-content:hover i{
    color: var(--accent) !important;
    transition: color 0.2s ease;
}

.stack-content:hover{
    transform: translateY(-0.1875rem);
    border-color: var(--accent);
    color: var(--accent);
}

.stack-content:focus{
    outline: 0.125rem solid var(--accent);
    outline-offset: 0.125rem;
}

.stack-content:focus-visible{
    outline: 0.125rem solid var(--accent);
    outline-offset: 0.125rem;
}

i{
    padding-right: 0.375rem;
}

/*Repos*/

aside{
    grid-area: aside;
    animation: loadAnimRight 0.8s ease;
}

#results{
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    animation: loadAnimRight 1s ease;
    padding-top: 0.25rem;
}

.repo{
    background-color: var(--panel);
    border: 0.0625rem solid var(--border);
    padding: 1rem;
    margin-bottom: 0.775rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    gap: 0.875rem;
    text-align: start;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    align-items: center;
    cursor: pointer;
    line-break: anywhere;
}

.repo:hover{
    border-color: var(--accent);
    color : var(--accent);
    transform: translateY(-0.1875rem);
}

.repo:focus{
    outline: 0.1875rem solid var(--accent);
    outline-offset: 0.125rem;
    border-color: var(--accent);
}

.repo:focus-visible{
    outline: 0.1875rem solid var(--accent);
    outline-offset: 0.125rem;
}

.repo-img{
    width: 4.375rem;
    height: 4.375rem;
    border-radius: 0.625rem;
    object-fit: cover;
}

.repo-name{
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    padding-bottom: 0.375rem;
}

.commit-msg{
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.4;
}


/*Responsive*/

@media (min-width: 390px) and (max-width: 56.25rem){
  .prj-content h4 {
    font-size: clamp(0.9rem, 0.40rem + 3vw, 1.4rem);
  }
}

@media (max-width: 390px){
    .prj-content h4{ font-size: clamp(0.9rem, 0.20rem + 3vw, 1.4rem); }
}

@media (max-width: 56.25rem) {
    body{
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "main"
            "achievements"
            "timeline"
            "projects"
            "aside";
        max-width: 48.75rem;
    }

    header{ 
        display: flex;
        justify-content: center;
        align-items: center;
        width: calc(100% - 1.5rem); 
        max-width: 36rem; 
        margin-top: 1.25rem;
        padding: 0.625rem 0.75rem;
        backdrop-filter: blur(1.5rem) saturate(200%);
        background: linear-gradient(180deg, rgba(21,24,33,0.98) 0%, rgba(21,24,33,0.92) 100%);
        border: 0.0625rem solid rgba(255,255,255,0.15);
        box-shadow: 0 0.625rem 2.5rem rgba(0,0,0,0.5), 0 0.1875rem 0.625rem rgba(0,0,0,0.25);
    }

    nav{ 
        width: auto;
        justify-content: center; 
        flex-wrap: nowrap;
        gap: 3rem;
    }
    
    header .navbar{
        gap: 0.5rem;
        background: rgba(255,255,255,0.08);
        padding: 0.1875rem;
        border-radius: 62.4375rem;
    }
    
    header .navbar a{
        padding: 0.5rem 0.875rem;
    }

    .lang-switch{
        padding: 0.15rem;
    }

    .lang-btn{
        padding: 0.45rem 0.55rem;
        font-size: 0.72rem;
    }

    a {
        font-size: 0.8rem;
    }
    
    main{ 
        text-align: center; 
        padding-top: 6.5rem;
        padding-bottom: 5rem;
    }
    h1{ line-height: 1.2; }
    h3{ letter-spacing: 0.16em; }
    h2{ font-size: clamp(1.6rem, 7vw, 2rem); }
    .about{ justify-content: center; }
    main .navbar{ justify-content: center; flex-wrap: wrap; }

    .achievements-section, .timeline-section, .projects-section, aside{ text-align: center; }
    #prj-holder{ grid-template-columns: 1fr; }
    .prj-content{ grid-template-columns: 1fr; }
    .prj-image{ height: 9rem; }
    .prj-wrapper{ justify-content: center; gap: 0.2rem;}
    .prj-demo h4 { text-align: center; }
    .prj-wrapper a { padding: 7.5px; }
    .stack-holder{ justify-content: center; }
    .ach-top{ justify-content: center; }
    .timeline-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 37.5rem){
    body{ padding: 0 0.75rem 3.75rem; }
    
    header{ 
        padding: 0.5rem 0.625rem;
        max-width: 32rem;
        margin-top: 1.5rem;
    }
    
    nav{ 
        gap: 1rem;
    }
    
    nav a{ font-size: 0.75rem; }

    main .navbar {
        gap: 0;
    }

    main .navbar a {
        padding: 0.75rem;
    }

    .lang-btn{
        padding: 0.375rem 0.5rem;
        font-size: 0.68rem;
    }
    
    .prj-content{ padding: 0.875rem; }
    .repo{ padding: 0.875rem; }
    .commit-msg {line-break: anywhere;}
}

/*Scrollbar*/

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

::-webkit-scrollbar {
    width: 0.5rem;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #666;
    border-radius: 0.625rem;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #888;
}

::-webkit-scrollbar-button {
    background-color: transparent;
}