@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

#labelforsetting {
    background-repeat: no-repeat;
    background-position: center
}

#preloader {
    filter: invert(1)
}

#preloader,
noscript {
    width: 100%;
    height: 100%
}

body,
noscript {
    background-color: var(--color-dark-mode)
}

.main,
body {
    overflow-x: hidden
}

#backtotopbutton span,
:root {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif
}

.image-div,
.logo,
.navbar,
.project-box,
footer {
    overflow: hidden
}

.cta,
.navbar-tabs-ul a {
    text-decoration: none
}

#EmailLogo {
    fill: white
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent
}

::selection {
    background-color: transparent
}

::-moz-selection {
    background: transparent
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased
}

:root {
    cursor: default;
    --color-white: #f1f1f5;
    --color-black: #000;
    --color-dark-mode: #0b0b14;
    --color-light-mode: #ece7e1;
    --color-ddd-color: #a1a1b5;
    --color-gray: #6b6b80;
    --color-purple: #8b5cf6;
    --color-light-purple: #a78bfa;
    --color-light-blue: #38bdf8;
    --color-navbarBorder-dark: rgba(255, 255, 255, 0.07);
    --color-shadowDark: rgba(0, 0, 0, 0.5);
    --static-heading-gradient-blue: #7dd3fc;
    --static-heading-gradient-pink: #d946ef;
    --tech-stack-box-first-color: #111120;
    --tech-stack-box-second-color: rgba(17, 17, 32, 0);
    --tech-stack-box-border-color: rgba(255, 255, 255, 0.07);

    /* Fira Code 에는 한글 글리프가 없다. 뒤에 한글 폰트를 두지 않으면
       Hangul 이 generic monospace(Windows: 굴림체) 로 떨어져 비트맵 글리프처럼
       계단현상이 생긴다. 본문과 같은 한글 폰트로 이어받게 한다. */
    --font-mono: 'Fira Code', 'Malgun Gothic', 'Apple SD Gothic Neo', monospace
}

#hello-friend,
.footer-bottom article,
.navbar-tabs-ul li,
.two-words article {
    font-family: var(--font-mono)
}

/* build.js 가 모든 <img> 에 width/height 속성을 넣는다.
   CSS 가 한 축만 지정한 이미지는 나머지 축이 속성값(원본 픽셀)으로 고정돼 비율이 깨지므로,
   기본값을 auto 로 못박아 지정하지 않은 축이 항상 비율을 따르게 한다. */
img {
    width: auto;
    height: auto
}

::-webkit-scrollbar {
    width: 4px
}

::-webkit-scrollbar-track {
    background: #06060e
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-light-blue), var(--color-light-purple));
    border-radius: 2px
}

/* Grain texture overlay */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.022;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px
}

.cursor-inner {
    width: 7px;
    height: 7px;
    background-color: var(--color-light-blue)
}

.cursor-outer {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.45)
}

.cursor-inner,
.cursor-outer {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none
}

.cursor-inner.hover {
    width: 22px;
    height: 22px;
    transition: .15s;
    mix-blend-mode: difference
}

.cursor-outer.hover {
    width: 46px;
    height: 46px;
    transition: .15s
}

.activeThistab:before,
.navbar-tabs-ul li:hover:before {
    background-color: var(--color-light-purple);
    height: 5px;
    width: 5px;
    left: -16px
}

.light-mode {
    --color-dark-mode: #ece7e1;
    --color-black: #fff;
    --color-white: #111;
    --color-ddd-color: rgb(31, 31, 31);
    --color-navbarBorder-dark: #d1d6eb;
    --static-heading-gradient-blue: #0f7878;
    --static-heading-gradient-pink: #c026d3;
    --color-shadowDark: #e2ddd7;
    --tech-stack-box-first-color: #e7e2db;
    --tech-stack-box-second-color: #ece7e100;
    --tech-stack-box-border-color: #dad5cf
}

.hamburger,
.mobiletogglemenu {
    display: none
}

#preloader {
    display: flex;
    align-items: center;
    background-repeat: no-repeat;
    background-position: center
}

header {
    width: 100%;
    height: 115px;
    display: flex;
    align-items: flex-end;
    justify-content: center
}

#preloader {
    background-color: #fff;
    position: fixed;
    z-index: 99999;
    justify-content: center;
    overflow-y: hidden;
    background-image: url(src/svg/Pulse-0.4s-200px.svg);
    background-size: 10%
}

.navbar,
noscript {
    display: flex;
    align-items: center;
    position: fixed
}

#name {
    background: -webkit-linear-gradient(135deg, var(--color-light-blue), var(--color-light-purple), var(--color-light-blue), var(--color-light-purple));
    -webkit-text-fill-color: transparent
}

noscript {
    justify-content: center;
    font-size: 4rem;
    color: #fff;
    z-index: 999999
}

/* === NAVBAR === */
.navbar {
    background: rgba(11, 11, 20, 0.65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    height: 72px;
    width: 78%;
    padding: 0 24px;
    justify-content: space-between;
    z-index: 999;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.05) inset
}

/* Top shimmer line */
.navbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.35), rgba(56, 189, 248, 0.35), transparent);
    pointer-events: none
}

.navbar-tabs,
.navbar-tabs-ul {
    height: 100%;
    align-items: center
}

.logo,
.navbar-tabs-ul li {
    position: relative;
    display: flex
}

.navbar-tabs {
    display: flex;
    width: 80%
}

.navbar-tabs-ul {
    width: 100%;
    display: flex;
    list-style: none;
    justify-content: flex-end;
    gap: 60px;
    color: var(--color-white)
}

.navbar-tabs-ul li {
    width: fit-content;
    height: 30px;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    letter-spacing: 0.02em
}

.navbar-tabs-ul li:hover:before {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: -1
}

.navbar-tabs-ul a {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    transition: color .2s
}

.navbar-tabs-ul a:hover {
    color: var(--color-white)
}

.activeThistab > a {
    color: var(--color-white)
}

/* === LOGO === */
.logo {
    width: 10%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    -webkit-user-select: none;
    user-select: none
}

.logo-top {
    width: 100%;
    align-items: center;
    display: flex
}

#hello-friend,
#work,
.about-info p,
.activeThistab {
    color: var(--color-white)
}

@keyframes pop-up {
    from { bottom: -50px; left: 50px; opacity: 1 }
    to { opacity: 0 }
}

.logo-top {
    height: 100%;
    justify-content: center;
    transform-origin: bottom;
    position: relative
}

.activeThistab:before {
    content: "";
    position: absolute
}

.logo-top img {
    height: 80%;
    z-index: 2
}

.activeThistab:before {
    border-radius: 50%;
    z-index: -1
}

.main {
    width: 100%;
    height: fit-content;
    position: relative
}

@keyframes breath {
    from { opacity: .12; transform: scale(1) translateY(0) }
    to { opacity: .22; transform: scale(1.08) translateY(-20px) }
}

/* === HERO / LANDING === */
.landing-page-container {
    width: 100%;
    height: calc(100vh - 115px);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: relative;
    /* 배경 레이어의 z-index:-1 이 섹션 밖(body 배경)까지 새어나가지 않도록 가둔다 */
    isolation: isolate
}

/* === HERO 배경 영상 ===
   첫 화면 전체를 덮는다. header(115px) 만큼 위로 늘려 네비게이션 뒤까지 올라가고,
   아래쪽은 페이지 배경색으로 녹여 다음 섹션과 이음매가 보이지 않게 한다.
   레이어 높이는 .landing-page-container 를 따라가므로, 그 섹션을 화면보다
   낮게 만드는 오버라이드가 생기면 영상 아래쪽에 잘린 경계가 그대로 드러난다. */
.hero-video {
    position: absolute;
    top: -115px;
    left: 0;
    width: 100%;
    height: calc(100% + 115px);
    /* 섹션이 화면보다 짧게 잡히는 브레이크포인트에서도 첫 화면은 반드시 다 덮는다 */
    min-height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* blur 는 가장자리를 흐리게 비우므로 살짝 확대해 여백이 보이지 않게 한다 */
    transform: scale(1.08);
    filter: blur(7px) saturate(0.8) brightness(0.5) contrast(1.05);
    opacity: 0;
    transition: opacity 1.4s ease
}

/* 첫 프레임이 디코딩된 뒤에만 드러난다 -> 파일이 없으면 아무 변화도 없다 */
.hero-video.is-ready video {
    opacity: 1
}

/* 팔레트에 맞춘 틴트 + 위아래 그라데이션 (텍스트 대비 확보) */
.hero-video::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 90% at 18% 25%, rgba(56, 189, 248, 0.10), transparent 60%),
        radial-gradient(110% 90% at 85% 75%, rgba(139, 92, 246, 0.13), transparent 60%),
        linear-gradient(180deg, rgba(11, 11, 20, 0.85) 0%, rgba(11, 11, 20, 0.55) 35%, rgba(11, 11, 20, 0.72) 78%, var(--color-dark-mode) 100%)
}

.text-content {
    display: flex;
    flex-direction: column;
    width: 80%;
    max-width: 960px;
    height: 100%;
    align-items: flex-start;
    justify-content: center
}

#hello-friend {
    font-size: 2.8rem;
    font-weight: 500;
    width: fit-content;
    display: flex;
    align-items: flex-end;
    opacity: 0.65;
    letter-spacing: 0.02em
}

#name,
#work {
    font-size: 8rem;
    width: fit-content
}

#name,
#work {
    display: flex;
    font-weight: 700
}

@keyframes vibrate-1 {
    0%, 100% { -webkit-transform: translate(0); transform: translate(0) }
    20% { -webkit-transform: translate(-2px, 2px); transform: translate(-2px, 2px) }
    40% { -webkit-transform: translate(-2px, -2px); transform: translate(-2px, -2px) }
    60% { -webkit-transform: translate(2px, 2px); transform: translate(2px, 2px) }
    80% { -webkit-transform: translate(2px, -2px); transform: translate(2px, -2px) }
}

#name {
    display: flex;
    align-items: flex-start;
    background: linear-gradient(-45deg, var(--color-light-blue), var(--color-light-purple), var(--color-light-blue), var(--color-light-purple));
    background-clip: text;
    -webkit-background-clip: text;
    background-size: 400% 400%;
    -webkit-animation: 4s infinite gradient;
    animation: 4s infinite gradient;
    letter-spacing: -0.02em
}

@keyframes gradient {
    0%, 100% { background-position: 0 50% }
    50% { background-position: 100% 50% }
}

#work {
    align-items: flex-start;
    flex-wrap: wrap;
    letter-spacing: -0.02em;
    line-height: 1
}

#info-para,
.about-info p {
    font-weight: 400;
    font-size: 1.9rem
}

#work div {
    display: flex;
    margin: 0 12px 0 0
}

.jello:hover {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-color: var(--color-light-blue);
    -webkit-animation: .9s both jello-vertical;
    animation: .9s both jello-vertical
}

#backtotopbutton {
    background-color: transparent
}

@keyframes jello-vertical {
    0%, 100% { -webkit-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1) }
    30% { -webkit-transform: scale3d(.75, 1.25, 1); transform: scale3d(.75, 1.25, 1) }
    40% { -webkit-transform: scale3d(1.25, .75, 1); transform: scale3d(1.25, .75, 1) }
    50% { -webkit-transform: scale3d(.85, 1.15, 1); transform: scale3d(.85, 1.15, 1) }
    65% { -webkit-transform: scale3d(1.05, .95, 1); transform: scale3d(1.05, .95, 1) }
    75% { -webkit-transform: scale3d(.95, 1.05, 1); transform: scale3d(.95, 1.05, 1) }
}

#info-para {
    width: 100%;
    padding-top: 28px;
    color: var(--color-ddd-color);
    line-height: 1.75;
    letter-spacing: 0.01em
}

.contact-btn-div {
    width: 100%;
    padding-top: 50px;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: flex-start
}

.cta:hover span,
.text,
.tooltip {
    color: #fff
}

/* 화면에는 보이지 않지만 스크린리더와 검색엔진에는 노출되는 텍스트 */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0
}

.section-heading-article,
.sectionHeadingP {
    background-image: -webkit-linear-gradient(left, var(--static-heading-gradient-blue), var(--static-heading-gradient-pink))
}

.text {
    position: absolute
}

.text {
    right: 0;
    width: 0;
    opacity: 0;
    font-size: 1em;
    font-weight: 600;
    transition-duration: .3s
}

/* === ABOUT === */
.about-section-container {
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 180px
}

.about-section,
.projects-section-div,
.skills-section {
    width: 80%;
    max-width: 960px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.section-heading,
.skills-heading {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px
}

.section-heading-article {
    font-size: 2.8rem;
    font-family: var(--font-mono);
    font-weight: 600;
    background-image: linear-gradient(90deg, var(--static-heading-gradient-blue), var(--static-heading-gradient-pink));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.01em
}

.sectionHeadingP {
    flex: 1;
    height: 1px;
    background-image: linear-gradient(90deg, var(--static-heading-gradient-blue), transparent)
}

.info-dp-section {
    width: 100%;
    display: flex;
    margin-top: 36px
}

.about-info {
    display: flex;
    flex-direction: column
}

.about-info p {
    line-height: 1.85;
    letter-spacing: 0.01em
}

/* === SKILLS === */
.skills-section-container {
    padding-top: 160px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center
}

.tech-stack-wrapper {
    width: 100%;
    display: flex;
    align-items: center
}

.frontend-dev-section {
    width: 100%;
    margin-top: 50px
}

.frontend-dev-heading {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    font-weight: 700;
    height: 90px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background-image: linear-gradient(90deg, var(--static-heading-gradient-blue), var(--static-heading-gradient-pink));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

.tech-stack-wrapper {
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 40px
}

/* === TECH STACK BOXES === */
.project-box,
.tech-stack-box {
    background-image: linear-gradient(135deg, var(--tech-stack-box-first-color), var(--tech-stack-box-second-color))
}

.tech-stack-box,
.tooltip {
    align-items: center;
    display: flex
}

.tech-stack-box {
    width: 150px;
    height: 150px;
    justify-content: center;
    border-radius: 28px;
    border: 1px solid var(--tech-stack-box-border-color);
    position: relative;
    transition: all .25s ease
}

.tech-stack-box:hover {
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 0 22px rgba(139, 92, 246, 0.15), 0 8px 28px rgba(0, 0, 0, 0.35);
    transform: translateY(-5px)
}

.tech-stack-box img {
    width: 68%
}

.tech-stack-box:hover .tooltip {
    opacity: 1;
    transform: translateY(0);
    transition-duration: .2s
}

.tooltip {
    position: absolute;
    top: -34px;
    opacity: 0;
    background: rgba(17, 17, 32, 0.95);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 4px 10px;
    border-radius: 7px;
    justify-content: center;
    transition: all .15s ease;
    transform: translateY(5px);
    pointer-events: none;
    letter-spacing: .05em;
    font-size: 1.4rem;
    backdrop-filter: blur(8px);
    font-weight: 500;
    white-space: nowrap
}

/* === CTA / ARROW BUTTON === */
.cta,
.cta span,
.cta svg,
.project-box,
footer {
    position: relative
}

.projects-section-container {
    padding: 150px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%
}

.project-boxes-div {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
    padding: 44px 0
}

.cta:hover:before,
.project-box-wrapper {
    width: 100%
}

/* === PROJECT BOXES === */
.project-box {
    width: 100%;
    height: 380px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    transition: all .3s ease;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.07)
}

.project-box:hover {
    border-color: rgba(139, 92, 246, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(139, 92, 246, 0.07);
    transform: translateY(-4px)
}

.info-div {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    padding: 0 44px;
    z-index: 1
}

.image-div {
    width: 50%;
    height: 100%;
    position: relative
}

/* Left-side gradient fade for image blending */
.image-div::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--color-dark-mode) 0%, rgba(11, 11, 20, 0.15) 18%, transparent 35%);
    pointer-events: none;
    z-index: 1
}

.image-div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .5s ease
}

.project-box:hover .image-div img {
    transform: scale(1.04)
}

.ProjectHeading {
    color: var(--color-white);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1
}

.ProjectDescription {
    color: var(--color-gray);
    font-size: 1.65rem;
    font-weight: 400;
    line-height: 1.7
}

.project-buttons {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px
}

.cta {
    padding: 10px 18px;
    transition: .2s;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start
}

.cta::before {
    content: "";
    position: absolute;
    left: 0;
    display: block;
    border-radius: 50px;
    background: rgba(56, 189, 248, 0.1);
    width: 42px;
    height: 42px;
    transition: .3s
}

.cta span {
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: .03em;
    color: var(--color-light-blue)
}

.cta svg {
    top: 0;
    margin-left: 10px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: var(--color-light-blue);
    stroke-width: 2;
    transform: translateX(-5px);
    transition: .3s
}

.cta:hover::before {
    width: 100%;
    background: rgba(56, 189, 248, 0.1)
}

.cta:hover svg {
    stroke: white;
    transform: translateX(0)
}

.cta:active { transform: scale(.96) }

/* === BACK TO TOP === */
#backtotopbutton {
    position: fixed;
    right: 10px;
    bottom: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
    width: 3rem;
    height: 15rem;
    z-index: 101;
    text-align: center;
    transition: .4s;
    display: none
}

#backtotopbutton span {
    font-size: 1.4rem;
    color: var(--color-white);
    font-weight: 400;
    writing-mode: vertical-rl;
    mix-blend-mode: difference;
    letter-spacing: 0.06em
}

#backtotopbutton:hover {
    transform: translate(0, -20px);
    text-decoration: line-through var(--color-white)
}

/* === FOOTER === */
footer {
    width: 100%;
    height: fit-content;
    border-top: 1px solid rgba(255, 255, 255, 0.05)
}

.footer-background {
    width: 100%;
    height: 50vh;
    background-color: #07070f;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1
}

.footer-foreground {
    position: absolute;
    top: 0;
    width: 100%;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(14px)
}

.footercontainer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end
}

.two-words {
    color: rgba(255, 255, 255, 0.4);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px
}

.logos {
    height: 80px;
    width: 100%;
    display: flex
}

.two-words article {
    font-size: 3rem
}

.social-media-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%
}

.social-media-container a {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    box-shadow: 0 0 0 var(--color-purple) inset;
    transition: all .3s ease;
    background: rgba(255, 255, 255, 0.02)
}

.footer-bottom article {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.25)
}

.logos {
    gap: 24px;
    justify-content: center;
    align-items: center
}

.SocialHandle {
    fill: rgba(255, 255, 255, 0.65);
    width: 55%;
    transition: fill .3s
}

#EmailLogo {
    height: 65%
}

.social-media-container a:hover {
    border-color: var(--color-purple);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-3px);
    transition-duration: .3s
}

.social-media-container a:hover .SocialHandle {
    fill: #fff
}

.social-media-container a::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    border-radius: 50%;
    transform: scale(0);
    background-color: transparent;
    transition-duration: .3s;
    z-index: -1
}

.social-media-container a:hover::before {
    transform: scale(1);
    transition-duration: .3s
}

.footer-bottom {
    background-color: #07070f;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    z-index: 3
}

/* === RESPONSIVE === */
@media screen and (max-width:1920px) {
    html { font-size: 60% }
}

@media screen and (max-width:1400px) {
    html { font-size: 60% }
}

@media screen and (max-width:1300px) {
    html { font-size: 60% }

    #hamburger-button,
    .hamburger {
        background-color: transparent
    }

    .mobile-navbar-tabs-ul a,
    .mobiletogglemenu {
        text-decoration: none
    }

    .activeThismobiletab,
    .mobile-navbar-tabs-ul a {
        color: var(--color-white)
    }

    .navbar-tabs-ul {
        display: none
    }

    .stopscrolling {
        overflow: hidden
    }

    .hamburger {
        position: fixed;
        top: 0;
        width: 100vw;
        height: 115px;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        z-index: 9998
    }

    .activeThismobiletab:before,
    .burger-bar,
    .hamburger-animation1,
    .hamburger-animation2,
    .hamburger-animation3 {
        background-color: var(--color-white)
    }

    .hamburgerbase {
        width: 78%;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding-right: 24px
    }

    #hamburger-button {
        font-size: 3rem;
        font-weight: 800;
        width: 4.5rem;
        height: 3.5rem;
        border: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between
    }

    #burger-bar1,
    #burger-bar2,
    #burger-bar3 {
        height: 3px;
        border-radius: 0;
        transition-duration: .3s
    }

    #burger-bar1,
    #burger-bar3 {
        width: 60%
    }

    #burger-bar2 {
        width: 100%
    }

    .hamburger-animation1 {
        transform: rotate(45deg) scaleX(1.7);
        transition-duration: .3s;
        transform-origin: left
    }

    .hamburger-animation2 {
        transform: scaleX(0)
    }

    .hamburger-animation3 {
        transform: rotateZ(-45deg) scaleX(1.7);
        transform-origin: left;
        transition-duration: .3s
    }

    .mobiletogglemenu {
        background-color: transparent;
        z-index: 9990;
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        right: 0;
        list-style: none;
        font-size: 2rem;
        cursor: pointer;
        display: flex;
        transform: translateX(100%);
        transition-duration: 1s
    }

    .show-toggle-menu {
        transform: translate(0);
        transition-duration: .6s
    }

    .mobile-navbar-tabs-ul {
        background-color: var(--color-dark-mode);
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 70px;
        box-shadow: 0 0 30px rgba(0, 0, 0, .176)
    }

    .mobile-navbar-tabs-li {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        font-weight: 600;
        position: relative;
        cursor: pointer;
        font-family: var(--font-mono);
        height: 30px;
        width: fit-content
    }

    .activeThismobiletab:before {
        content: "";
        position: absolute;
        height: 8px;
        width: 8px;
        left: -18px;
        border-radius: 50%
    }
}

@media screen and (max-width:1150px) {
    html { font-size: 60% }
}

@media screen and (max-width:998px) {
    html { font-size: 55% }

    .cursor-inner,
.cursor-outer {
        display: none
    }

    .about-info,
.info-dp-section {
        width: 100%;
        display: flex
    }

    .info-dp-section {
        flex-direction: column;
        margin-top: 30px;
        gap: 30px
    }

    .about-info {
        flex-direction: column
    }

    .project-box {
        flex-direction: column;
        height: auto
    }

    .image-div,
    .info-div {
        width: 100%;
        height: auto
    }

    .info-div {
        height: auto;
        padding: 28px 32px
    }

    .image-div {
        height: 220px
    }

    .image-div::after {
        background: linear-gradient(180deg, transparent 60%, var(--color-dark-mode) 100%)
    }
}

@media screen and (max-width:768px) {
    html { font-size: 50% }

    .text-content {
        padding-left: 0
    }

    #hello-friend {
        height: 100px;
        font-size: 3rem
    }

    #name,
    #work {
        font-size: 5.5rem
    }

    #info-para {
        width: 100%
    }

    .contact-btn-div {
        height: 140px;
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 20px
    }

    .logo {
        width: 18%;
        overflow: visible
    }

    .project-boxes-div {
        padding: 30px 0
    }
}

@media screen and (max-width:500px) {
    html { font-size: 45% }

    .hamburgerbase,
    .navbar {
        height: 70px
    }

    #hamburger {
        margin-right: 20px;
        height: 115px;
        align-items: flex-end
    }

    #hello-friend,
    .two-words article {
        font-size: 2.5rem
    }

    .text-content {
        justify-content: flex-start
    }

    .project-box {
        height: auto
    }

    .info-div {
        height: auto;
        padding: 24px
    }

    .image-div {
        height: 190px
    }

    .tech-stack-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px
    }

    .tech-stack-box {
        width: 100%;
        height: calc(76vw/2)
    }

    .certs-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px
    }

    .cert-card {
        width: 100%
    }
}

@media screen and (max-width:430px) {
    html { font-size: 45% }

    .info-div {
        padding: 24px
    }

    .two-words article {
        font-size: 2.2rem
    }
}

@media screen and (max-width:375px) {
    html { font-size: 42% }

    .two-words {
        height: 50px
    }

    .two-words article {
        font-size: 2rem
    }

    .footer-bottom article {
        font-size: 1.3rem
    }

    .logos {
        gap: 18px
    }
}

@media screen and (max-width:300px) {
    html { font-size: 42% }

    .two-words {
        align-items: flex-end;
        height: 50px
    }

    .two-words article {
        font-size: 1.5rem
    }

    .footer-bottom article {
        font-size: 1rem
    }

    .social-media-container a {
        width: 46px;
        height: 46px
    }

    .logos {
        gap: 16px
    }
}

@media only screen and (max-width: 1300px) and (max-height: 730px) {
    /* 화면이 낮으면 내용이 넘칠 수 있어 늘어나게 두되, 최소한 첫 화면 높이는 지킨다.
       margin 이 아니라 padding 이어야 배경 영상 레이어가 그 여백까지 함께 덮는다. */
    .landing-page-container {
        height: fit-content;
        min-height: calc(100vh - 115px);
        padding-top: 100px
    }
}

/* === LANGUAGE TOGGLE === */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 3px 5px;
    margin-left: 20px;
    flex-shrink: 0
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.38);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.08em;
    padding: 3px 9px;
    border-radius: 14px;
    transition: all .2s;
    font-family: var(--font-mono);
    line-height: 1
}

.lang-btn.lang-active {
    color: var(--color-dark-mode);
    background: var(--color-white)
}

.lang-btn:hover:not(.lang-active) {
    color: rgba(255, 255, 255, 0.65)
}

.lang-toggle-mobile {
    display: none
}

@media screen and (max-width: 1300px) {
    .lang-toggle {
        display: none
    }

    .lang-toggle-mobile {
        display: flex;
        margin: 0
    }

    .mobile-lang-li {
        cursor: default
    }

    .mobile-lang-li .lang-btn {
        font-size: 1.5rem;
        padding: 5px 14px
    }
}

/* === PROJECT TAGS === */
.project-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px
}

.project-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    width: fit-content
}

.project-tag svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0
}

.tag-solo {
    background: rgba(56, 189, 248, 0.07);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: var(--color-light-blue)
}

.tag-team {
    background: rgba(167, 139, 250, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.28);
    color: var(--color-light-purple)
}

.tag-year {
    background: var(--tech-stack-box-first-color);
    border: 1px solid var(--tech-stack-box-border-color);
    color: var(--color-ddd-color);
    font-family: var(--font-mono);
    font-weight: 700
}

/* === IM-GROUP / NAME FIX === */
#name {
    align-items: flex-start
}

.im-group {
    display: flex;
    font-size: 4.8rem;
    font-weight: 600;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.55);
    color: rgba(255, 255, 255, 0.55);
    margin-right: 10px;
    line-height: 1
}

/* === CERTS === */
.certs-section-container {
    padding-top: 160px;
    width: 100%;
    display: flex;
    justify-content: center
}

.certs-section {
    width: 80%;
    max-width: 960px;
    display: flex;
    flex-direction: column;
    align-items: center
}

.certs-grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 50px
}

.cert-card {
    background-image: linear-gradient(135deg, var(--tech-stack-box-first-color), var(--tech-stack-box-second-color));
    border: 1px solid var(--tech-stack-box-border-color);
    border-radius: 20px;
    padding: 32px 28px;
    width: 300px;
    display: flex;
    flex-direction: column;
    transition: all .25s ease;
    position: relative
}

.cert-card:hover {
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 0 22px rgba(139, 92, 246, 0.15), 0 8px 28px rgba(0, 0, 0, 0.35);
    transform: translateY(-5px)
}

.cert-type-badge {
    display: inline-block;
    font-size: 1.1rem;
    font-family: var(--font-mono);
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 4px 14px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 18px
}

.cert-badge-license {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.35);
    color: var(--color-light-purple)
}

.cert-badge-course {
    background: rgba(107, 197, 248, 0.12);
    border: 1px solid rgba(107, 197, 248, 0.3);
    color: var(--color-light-blue)
}

.cert-name {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.4
}

.cert-issuer {
    font-size: 1.4rem;
    color: var(--color-gray);
    margin-top: 8px;
    line-height: 1.5
}

.cert-date {
    font-size: 1.3rem;
    color: var(--color-light-blue);
    font-family: var(--font-mono);
    font-weight: 700;
    margin-top: auto;
    padding-top: 18px
}

/* === TIMELINE === */
.timeline-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 150px
}

.timeline-container {
    width: 80%;
    max-width: 960px;
    position: relative
}

.timeline-section-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%
}

.timeline-container::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50px;
    width: 1px;
    height: calc(100% - 50px);
    background: linear-gradient(180deg,
        var(--color-light-blue) 0%,
        var(--color-light-purple) 100%
    );
    opacity: 0.35
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 30px 36px
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right
}

.timeline-item:nth-child(even) {
    left: 50%
}

.timeline-dot {
    position: absolute;
    top: 36px;
    width: 11px;
    height: 11px;
    background: var(--color-light-purple);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-light-purple), 0 0 5px rgba(167, 139, 250, 0.5)
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -5.5px
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -5.5px
}

.timeline-content {
    background: rgba(17, 17, 32, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px 22px;
    border-radius: 16px;
    backdrop-filter: blur(12px);
    transition: border-color .25s, box-shadow .25s
}

.timeline-content:hover {
    border-color: rgba(139, 92, 246, 0.22);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35)
}

.timeline-year {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-light-blue);
    letter-spacing: 0.06em;
    font-family: var(--font-mono)
}

.timeline-content h3 {
    font-size: 1.75rem;
    margin-top: 5px;
    color: var(--color-white);
    font-weight: 600;
    line-height: 1.35
}

.timeline-content p {
    font-size: 1.45rem;
    margin-top: 6px;
    color: var(--color-gray);
    line-height: 1.65
}

@media (max-width: 768px) {
    .timeline-container::before {
        left: 18px
    }

    .timeline-item {
        width: 100%;
        padding-left: 54px;
        padding-right: 10px;
        text-align: left
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left
    }

    .timeline-dot {
        left: 12px
    }

    .timeline-item:nth-child(odd) .timeline-dot {
        right: auto
    }

    .timeline-item:nth-child(even) .timeline-dot {
        left: 12px
    }

    .timeline-content {
        margin-bottom: 16px
    }
}
