/* make padding within widths rather calculating with total width? */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Custom Properties */

:root {
  --ff-primary: "Source Sans 3", sans-serif;
  --ff-secondary: "Source Code Pro", monospace;

  --fw-reg: 300;
  --fw-bold: 900;

  --clr-intro : #28282b;
  --clr-light: #fffdfa;
  --clr-dark: #28282b;
  --clr-dark2: #3d3d3f;
  --clr-dark3: #28282b;
  --clr-accent: #1d7972;
  --clr-accent2: #0bc4b7;
  --clr-hover: #b1b4b4;
  
  --fs-h1: 3rem;
  --fs-h2: 2.25rem;
  --fs-h3: 1.25rem;
  --fs-body: 1rem;

  --bs: 0.25em 0.25em 0.75em rgba(0, 0, 0, 0.25),
    0.125em 0.125em 0.25em rgba(0, 0, 0, 0.15);
}

/* With wider screens use differnt/bigger numbers */
@media (min-width: 800px) {
  :root {
    --fs-h1: 4.5rem;
    --fs-h2: 3rem;
    --fs-h3: 1.5rem;
    --fs-body: 1.125rem;
  }
}

/* General Styles */

html {
  scroll-behavior: smooth;
}

body {
  background: var(--clr-dark);
  color: var(--clr-light);
  margin: 0;
  font-family: var(--ff-primary);
  font-size: var(--fs-body);
  line-height: 1.6;
}

section {
  padding: 5em 2em;
}

img {
  display: block;
  max-width: 100%;
}

strong {
  font-weight: var(--fw-bold);
}

:focus {
  outline: 3px solid var(--clr-accent);
  outline-offset: 3px;
}

.btn {
  display: inline-block;
  padding: 0.5em 2.5em;
  background: var(--clr-accent);
  color: var(--clr-dark);
  text-decoration: none;
  cursor: pointer;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: var(--fw-bold);
  transition: transform 200ms ease-in-out;
}

.btn:hover {
  transform: scale(1.1);
}

/* Typography */

h1,
h2,
h3 {
  line-height: 1;
  margin: 0;
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

.section__title {
  margin-bottom: 2rem;
  font-size: 3rem; /* 원하는 크기로 조정 */
}



.section__title--intro {
  font-weight: var(--fw-reg);
}

.section__title--intro strong {
  display: block;
}

.section__subtitle {
  margin: 0;
  font-size: var(--fs-h3);
}

.section__subtitle--intro,
.section__subtitle--about {
  background: var(--clr-accent);
  padding: 0.25em 1em;
  font-family: var(--ff-secondary);
  margin-bottom: 1em;
}

.section__subtitle--projects {
  color: var(--clr-accent);
  font-weight: var(--fw-bold);
  margin-bottom: 1em;
}

/* header */
/* header {
  display: flex;
  justify-content: space-between;
  padding: 1em;
} */
.logo {
  max-width: 528px;
}

.nav {
  position: fixed;
  background: var(--clr-dark);
  color: var(--clr-light);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;

  transform: translateX(100%);
  transition: transform 250ms cubic-bezier(0.5, 0, 0.5, 1);
}

.nav__list {
  list-style: none;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav__link {
  color: inherit;
  font-weight: var(--fw-bold);
  font-size: var(--fs-h2);
  text-decoration: none;
}

.nav__link:hover {
  color: var(--clr-accent);
}



.nav-open .nav {
  transform: translateX(0);
}

.nav-open .nav-toggle {
  position: fixed;
}

.nav-open .hamburger {
  transform: rotate(0.625turn);
}

.nav-open .hamburger::before {
  transform: rotate(90deg) translateX(-6px);
}

.nav-open .hamburger::after {
  opacity: 0;
}

.hamburger {
  display: block;
  position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  background: var(--clr-accent);
  width: 2em;
  height: 3px;
  border-radius: 1em;
  transition: transform 250ms ease-in-out;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}

.hamburger::before {
  top: 6px;
}
.hamburger::after {
  bottom: 6px;
}

/* Intro Section */
.intro {
  position: relative;
  z-index: 2;
}

.intro-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2;
}

.intro-bg iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
}

.intro__img {
  box-shadow: var(--bs);
}

.section__subtitle--intro {
  display: inline-block;
}



/* 고정된 반투명 네비게이션 바 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  background: rgba(0, 0, 0, 0.5); /* 반투명 배경 */
  backdrop-filter: blur(10px); /* 블러 효과 */
  color: var(--clr-light); /*로고 글자 컬러러*/
  font-size: 1rem;
  z-index: 1000; /* 다른 요소 위에 위치 */
}

/* 네비게이션 로고 */
.navbar-logo {
  font-weight: bold;
}

/* 네비게이션 메뉴 */
.navbar-menu {
  display: flex;
  gap: 20px;
}

/* 네비게이션 링크 스타일 */
.navbar-menu a {
  color: var(--clr-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-menu a:hover {
  color: var(--clr-accent);
}


  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */

  .container {
    position: relative;
    text-align: center;
  }

  .background-text {
    font-size: 8rem;
    font-weight: 900;
    color: rgba(0, 209, 209, 0.15); /* 흐린 흰색 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    z-index: 0;
  }

  .foreground-text {
    font-size: 2rem;
    font-weight: 400;
    color: #000;
    z-index: 1;
    position: relative;
  }

  .foreground-text strong {
    font-weight: 800;
  }


  @media (min-width: 0px) {
    .intro {
      background-color: var(--clr-intro);
      display: flex;             /* Flexbox로 중앙 정렬 */
      justify-content: center;
      align-items: center;
      height: 100vh;             /* 화면 전체 높이 */
      margin: 0;
      padding: 0;
    }
  }
  
   @media (min-width: 0px) {
.intro_main {
  position: relative;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.intro_main .bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.intro_main .bg-video__media {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 화면 꽉 채우기 */
}

.intro_main .intro-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.35));
}

.intro_main .foreground-text {
  color: var(--clr-light);
}

.intro_main .background-text {
  color: rgba(255,255,255,0.18);
}

  }
  

  /* 조명 효과 컨테이너 */
  .spotlight_container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
  }
  
  /* 텍스트 스타일 - 배경 그라데이션을 텍스트 클리핑으로 효과 적용 */
  .spotlight_text {
    font-size: clamp(2rem, 10vw, 5rem); /* 최소 2rem, 최대 5rem까지 화면 크기에 따라 자동 조절 */
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap; /* 줄바꿈 방지 */
    background: radial-gradient(
        circle at var(--light-x, 50%) var(--light-y, 50%),
        white 40%, 
        white 20%, 
        var(--clr-dark) 60%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background 0.2s ease-in-out;
  }

  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
 
  .section__title--about {
    text-align: center; 
    /* 혹은 상위 요소에 text-align: center; 적용 */
    
  }
  .about-me {
    background-color: var(--clr-dark);
    color: var(--clr-light);
    text-align: center;
  }
  
  .profile-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  }

  .profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .button-container {
    text-align: center;
    margin-bottom: 40px;
  }

  .button-container button {
    background-color: var(--clr-light);;
    color: var(--clr-dark);
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .button-container button:hover {
    background-color:     var(--clr-hover);
  }
  .resume-button {
    display: inline-block;
    padding: 0.5em 2em;
    background-color: #fff;
    color: #000;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s;
  }
  
  .resume-button:hover {
    background-color: var(--clr-hover);
  }
  .section {
    background-color: var(--clr-dark2);
    padding: 20px 2em;
    max-width: 960px;     /* 박스 최대 너비 제한 */
    margin-left: auto;
    margin-right: auto;   /* 양 옆 여백 생기고 가운데 정렬 */
    border-radius: 16px;
    margin-bottom: 20px;
    text-align: left;  /* ← 가운데 정렬에서 좌측 정렬로 변경 */
    align-items: flex-start; /* 버튼 등도 왼쪽으로 붙음 */
  }

  .section h2 {
    font-size: 1.2em;
    color: var(--clr-accent2);
    
    margin-bottom: 10px;
  }

  .section p {
    font-size: 0.95em;
  }


  



  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */

  /* Portfolio / My projects */

  .filter-buttons {
    display: inline-flex;            /* 버튼들을 가로로 나란히 */
    justify-content: center;         /* 가운데 정렬 */
    align-items: center;
    background-color: var(--clr-light);          /* 흰색 배경 */
    padding: 0.5em 0.1em;              /* 안쪽 여백 */
    border-radius: 8px;              /* 둥근 모서리 */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* 살짝 그림자 */
    margin: 0 auto 2em auto;         /* 가운데 정렬 + 하단 여백 */
    /* width: fit-content;           / 필요하면 너비를 내용물에 맞출 수도 있음 */
  }
.filter-btn {
  display: inline-block;
  margin: 0 0.4em;
  padding: 0.5em 1em;
  background-color: var(--clr-light);
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
  overflow: hidden;  /* 둥근 모서리 안에서 이미지가 잘리도록 함 */
  border-radius: 6px; /* 원하는 둥근 값 (ex: 8px, 10px 등) */
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--clr-accent2);
  color: var(--clr-light);
  overflow: hidden;  /* 둥근 모서리 안에서 이미지가 잘리도록 함 */
  border-radius: 6px; /* 원하는 둥근 값 (ex: 8px, 10px 등) */
}


.portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, 220px); /* 각 아이템 크기를 고정 */
  justify-content: center; /* 가운데 정렬 */
  align-items: center;
  gap: 2rem;
  padding: 3em 2em;
  max-width: 100%;
  margin: 0 auto;
}

.portfolio__item {
  flex: 100 100 200px;       /* 가로 고정 너비 */

  padding-top: 150%;     /* 세로 비율 유지 */
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
/* 숨길 때 사용될 클래스 (JS에서 토글) */
.hidden {
  display: none !important;
}


.my-projects {
  background-color: var(--clr-dark);
  color: var(--clr-light);
  text-align: center;
}

.portfolio-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 220px;
  gap: 0.5em;
}

.project-caption {
  margin-top: 0.5em;
  font-size: 0.9rem;
  color: #ccc;
  text-align: center;
}
.portfolio__item {
  position: relative;
  width: 100%;
  /* 2:3 비율 → 세로가 가로의 1.5배이므로 padding-top: 150% */
  padding-top: 150%;
  overflow: hidden;
}

.portfolio__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

}
.portfolio__item:focus {
  position: relative;
  z-index: 2;
}

.portfolio__img:hover,
.portfolio__item:focus .portfolio__img {
  transform: scale(1.2);
  opacity: 0.75;
}

/* === Portfolio Hover Overlay 스타일 추가 === */
.portfolio__item {
  position: relative;
  width: 100%;
  padding-top: 150%;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.portfolio__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
  z-index: 1;
}

.portfolio__item:hover .portfolio__img {
  transform: scale(1.1);
  filter: blur(2px) brightness(0.6);
}

.portfolio__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  text-align: center;
  padding: 1em;
  box-sizing: border-box;
}

.portfolio__item:hover .portfolio__overlay {
  opacity: 1;
}

.portfolio__overlay h4 {
  color: var(--clr-light);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  font-weight: bold;
}

.portfolio__overlay p {
  color: var(--clr-light);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.portfolio__overlay .btn-details {
  padding: 0.4em 1.2em;
  border: 1px solid var(--clr-light);
  border-radius: 6px;
  background: transparent;
  color: var(--clr-light);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.portfolio__overlay .btn-details:hover {
  background-color: var(--clr-light);
  color: var(--clr-dark);
}




  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */

/* my skills section */
html, body {
  
  width: 100%;
  height: 100%;
  font-family: sans-serif;
  background: #1e1e1e; /* 어두운 배경 */
  color: var(--clr-light);         /* 텍스트 흰색 */
}

/* 전체 스킬 섹션 */
.skills-section {
  /* min-height: 100vh;  -> 필요 없다면 제거 */
  /* height: 100vh;      -> 제거 */
  background-color: var(--clr-dark3);
  padding: 8rem;
  text-align: center;
}

/* 상단 타이틀 스타일 */
.section-title {
  font-size: 3.0rem;
  margin-bottom: 3rem;
}

/* 세 개 섹션(Programming / Rendering & Engines / Tools & Workflow)을 묶는 컨테이너 */
.tech-sections {
  display: flex; /* 가로로 배치, 지우면 세로됨 */
  justify-content: center; /* 가로로 분산 */
  flex-wrap: wrap;               /* 화면이 좁아지면 줄바꿈 */
  gap: 1rem;
}

/* 각 섹션 */
.tech-category {
  flex: 0.2;           /* 가로 공간을 균등 분배 */
  min-width: 250px;  /* 너무 작아지지 않도록 최소 너비 설정 */
}

/* 섹션 타이틀 (예: "Programming") */
.category-title {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* 아이콘들을 가로로 배치 */
.icons-row {
  display: flex;
  flex-wrap: wrap; /* 아이콘이 많으면 자동 줄바꿈 */
  gap: 1rem;       /* 아이콘 간격 */
  justify-content: center;
}

.dimmed-icon {
  filter: brightness(7.6) contrast(1.3);
}

.dimmed-icon2 {
  filter: invert(1); /* 흑백 반전 */
}

/* 아이콘 박스(카드) */
.icon-card {
  position: relative;     /* 툴팁 위치 조정을 위해 relative */
  width: 64px;
  height: 64px;
  background: var(--clr-accent);  /* 어두운 박스 배경 */
  border-radius: 12px;    /* 라운드 처리 */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  cursor: pointer;
}

/* 호버 시 약간 확대 */
.icon-card:hover {
  transform: scale(1.05);
}

/* 아이콘 이미지 */
.icon-card img {
  max-width: 36px;
  max-height: 36px;
}

/* 툴팁 (CSS만으로 구현) */
.icon-card::after {
  /* data-tooltip 속성 값이 컨텐츠로 들어감 */
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px); /* 아이콘 카드 위에 툴팁이 위치하도록 */
  left: 50%;
  transform: translateX(-50%) scale(0);
  background-color: rgba(0, 0, 0, 0.8);
  color: var(--clr-light);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  white-space: nowrap;  /* 텍스트가 줄바꿈되지 않도록 */
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* 툴팁의 작은 화살표 부분 */
.icon-card::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* 호버 시 툴팁 표시 */
.icon-card:hover::after {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

.icon-card:hover::before {
  opacity: 1;
}


  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */



/* EDUCATION */

.my-education{
  background-color: var(--clr-dark3);
}


/* 2단 레이아웃을 위한 컨테이너 */
.resume-container {
  display: flex;
  flex-wrap: wrap;           /* 화면이 좁아지면 자동 줄바꿈 */
  justify-content: space-between;
  max-width: 1200px;         /* 필요 시 최대 너비 설정 */
  margin: 0 auto;            /* 수평 중앙 정렬 */
  padding: 2rem 1rem;        /* 여백 */
}

/* 공통: Education / Experience 컬럼 */
.column {
  width: 48%;                /* 2단 분할 (약 50%씩) */
  position: relative;        /* 타임라인 position 계산을 위해 relative */
  margin-bottom: 2rem;       /* 하단 여백 */
}

/* 반응형: 화면이 작아지면 세로 정렬 */
@media (max-width: 768px) {
  .column {
    width: 100%;
  }
}

/* 컬럼 제목 스타일 */
.column-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* 타임라인 전체를 감싸는 컨테이너 */
.timeline {
  position: relative;
  padding-left: 2rem; /* 왼쪽 공간 확보 (수직선, 아이콘) */
}

/* 타임라인 수직선 (하나의 큰 줄) */
.timeline::before {
  content: "";
  position: absolute;
  left: 20px;      /* 아이콘과 수직선 정렬 */
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ccc;
}

/* 타임라인 아이템 */
.timeline-item {
  position: relative;
  margin-bottom: 20px; /* 각 항목 간 간격 */
}

/* 아이템 왼쪽의 원형 아이콘 */
.timeline-icon {
  position: absolute;
  left: -20px;         /* 수직선 중앙에 맞춤 */
  width: 18px;
  height: 18px;
  background: #fff;   /* 아이콘 배경 */
  border: 2px solid #000; 
  border-radius: 50%;
  z-index: 1;         /* 수직선보다 위에 위치 */
}

/* 아이템 내용 */
.timeline-content {
  margin-left: 2rem;  /* 아이콘 오른쪽에 내용 */
}

/* 항목 제목 예: 학교명, 회사명 */
.timeline-content h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

/* 이탤릭체(학교·회사명), 굵은 날짜 */
.timeline-content em {
  font-style: italic;
}
.timeline-content strong {
  font-weight: bold;
}

/* 일반 설명 */
.timeline-content p {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}





  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */


/*--------------------------------------------------------------
# Contact ME Section
--------------------------------------------------------------*/

body, html {
  width: 100%;
  height: 100%;
  font-family: sans-serif;
  background: #000; /* 혹시 그라디언트가 깨질 때 대비한 기본색 */
}

/* 섹션 래퍼 */
.hero-section {
  min-height: 100vh; /* 화면 전체 높이 채움 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* 상단은 검정(#000)에 가깝게, 하단은 보라색 계열(#4B0082) */
  background: linear-gradient(to bottom, var(--clr-dark), var(--clr-accent)  );
  color: var(--clr-light);
  text-align: center;
  padding: 2rem;
}

/* 상단 큰 문구 */
.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* 하단 문구 */
.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* 소셜 아이콘 컨테이너 */
.social-icons {
  display: flex;
  gap: 1rem; /* 아이콘 간격 */
  margin-bottom: 2rem;
}

/* 원형 아이콘 공통 스타일 */
.social-icon {
  width: 50px;
  height: 50px;
  border: 2px solid var(--clr-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none; /* 링크 밑줄 제거 */
  color: var(--clr-light);
  transition: all 0.3s ease;
}

/* 호버 시 애니메이션 */
.social-icon:hover {
  background-color: var(--clr-light);/* 배경을 흰색으로 */
  color: var(--clr-accent);         /* 아이콘 색을 보라색 계열로 */
  transform: scale(1.1);  /* 약간 확대 */
}

/* 아바타 이미지 컨테이너 */
.avatar-container {
  margin-top: 2rem;
}

/* 아바타 이미지 */
.avatar-img {
  max-width: 200px; /* 필요 시 크기 조절 */
  border-radius: 50%; /* 둥근 형태(선택 사항) */
}

/* 반응형 처리: 화면이 600px 이하로 좁아질 때 */
@media (max-width: 600px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  .social-icon {
    width: 40px;
    height: 40px;
  }
}



  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */

/* Footer */

.footer {
  background: var(--clr-dark);
  color: var(--clr-accent);
  text-align: center;
  padding: 1.5em 0;
  font-size: var(--fs-h3);
  font-size: 1rem;
}

.footer a {
  color: inherit;
  text-decoration: none;
}

.footer__link {
  font-weight: var(--fw-bold);
}

.footer__link:hover,
.social-list__link:hover {
  opacity: 0.7;
}

.footer__link:hover {
  text-decoration: underline;
}

.social-list {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 2em 0 0;
  padding: 0;
}

.social-list__item {
  margin: 0 0.5em;
}

.social-list__link {
  padding: 0.5em;
}

/* individual portfolio item styles */

.portfolio-item-individual {
  background-color: var(--clr-intro);
  padding: 0 2em 2em;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-item-individual p,
.portfolio-item-individual ul {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-item-individual iframe {
  box-shadow: var(--bs);
  display: block;
  max-width: 1200px;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3; /* Maintain aspect ratio */
  margin: 0 auto; /* Centering */
  border: none;
}













  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */
  /*============================================================================================================================= */



/* 상단 고정 영상 섹션 (header) */
.video-hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;   /* 화면 전체 높이 */
  
  overflow: hidden;
  z-index: -1;     /* 메인 콘텐츠가 위로 스크롤되어 올라오도록 음수 z-index */
}

/* 영상 자체 */
.video-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 가로세로 비율 유지하면서 꽉 채우기 */
}

/* 영상 위에 겹쳐질 오버레이 */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 텍스트나 아이콘을 중앙 배치 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--clr-light); /* 텍스트 색상 */
  text-align: center;
  padding: 1rem;
}

.game-title {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.game-subtitle {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* 소셜 아이콘 컨테이너 */
.social-icons a {
  margin: 0 0.5rem;
  color: var(--clr-light);
  text-decoration: none;
  font-weight: bold;
}

/* 메인 콘텐츠 (영상 아래로 스크롤) */
.main-content {
  position: relative;
  z-index: 1;            /* 영상보다 위에 위치 */
  margin-top: 100vh;     /* 영상 높이만큼 아래로 내용이 시작되게 함 */
  background: #090909;      /* 필요 시 배경색 변경 */
}

/* 큰 배경 섹션 */
.main-background-section {
  min-height: 100vh;     /* 화면을 가득 채우는 효과 */
  padding: 0;            /* 패딩 없음 */
  background: #0e0e12;   /* 예시: 연한 색, 또는 background-image 사용 */
}

/* About Vigor / Features 섹션 */
.info-section {
  display: flex;
  flex-wrap: wrap;       /* 반응형: 화면이 좁아지면 줄바꿈 */
  max-width: 1200px;
  margin: 0 auto;        /* 중앙 정렬 */
  padding: 2rem;
  gap: 2rem;
}

/* 왼쪽 캐릭터 이미지 */
.left-image {
  flex: 1;
  margin-top: -120px; /* 원하는 만큼 위로 뺄 수 있음 (값 조절) */
  min-width: 300px; /* 너무 작아지지 않도록 최소 너비 설정 */
  display: flex;
  bottom: 0;    /* 섹션의 바닥에 맞춰 붙임 */
  justify-content: center;
  align-items: center;
}
.left-image img {
  max-width: 60%; /* 부모 너비의 50% 정도로 제한 */
  height: auto;   /* 비율 유지 */
}

/* 오른쪽 About / Features */
.right-text {
  flex: 1;
  min-width: 300px;
}

.right-text h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.right-text ul {
  list-style: disc;
  margin-left: 1.5rem;
}

/* 둥근 모서리 섹션 */
.rounded-section {
  width: 90%;           /* 화면이 작으면 90% 폭, 크면 1200px 고정 */
  background: var(--clr-dark2);
  border-radius: 16px;    /* 둥근 모서리 */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin: 0 auto;
  max-width: 1200px;
  padding: 4rem;
  flex-wrap: wrap;        /* 반응형 줄바꿈 */
  gap: 2rem;
}



.ai-highlight {
  background: var(--clr-dark2);
  border-left: 4px solid var(--clr-accent2);
  padding: 1rem;
  margin: 2rem 0;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--clr-light);
}

.video-caption {
  text-align: left;
  margin-bottom: 1rem;
}
.video-caption h3 {
  margin: 0 0 0.3rem 0;
}
.video-caption span {
  font-size: 0.9rem;
  color: #aaa;
}


.experience-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.experience-section h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.timeline-item2 {
  position: relative;
  margin-bottom: 2rem;
}

/* 수직선 (타임라인) */
.timeline-item2::before {
  content: "";
  position: absolute;
  left: 10px;        /* 아이콘 위치에 맞춰 조정 */
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ccc;
}

/* 원형 아이콘 */
.timeline-icon2 {
  position: absolute;
  left: 0;           
  width: 20px;
  height: 20px;
  background: #fff;
  border: 2px solid  var(--clr-accent);;
  border-radius: 50%;
  z-index: 1;        /* 수직선보다 위 */
}

/* 콘텐츠 박스 */
.timeline-content2 {
  margin-left: 40px; /* 아이콘 오른쪽으로 여백 */
  background:  var(--clr-dark);
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.timeline-content2 h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.timeline-content2 p {
  margin: 0;
}







.highlighted-title {
  color: var(--clr-light); /* 원하는 색상 코드 */
}

.Contributions {
  margin-top: 2rem; /* 섹션 간격 예시 */
}

/* 큰 섹션 제목 (h3) */
.Contributions h3 {
  font-size: 1.8rem; /* 폰트 크기 조정 */
  font-weight: bold;
  margin-bottom: 1rem;
}

/* 중간 섹션 제목 (h4) - Rendering & Optimization, Graphics & Art 등 */
.Contributions h4 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 1.5rem;  /* 위쪽 간격 */
  margin-bottom: 0.5rem;
}

/* 더 작은 섹션 제목 (h5) - Rendering System, Game Art 등 */
.Contributions h5 {
  font-size: 1rem;
  font-weight: bold;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

/* 불릿 목록 */
.Contributions ul {
  list-style: disc;
  margin-left: 1.5rem; /* 들여쓰기 */
  margin-bottom: 1rem;
}
.Contributions li {
  line-height: 1.4;
  margin-bottom: 0.5rem;
}



/* gallery gallery gallery gallery gallery gallery gallery gallery gallery gallery gallery gallery gallery  */
.gallery {
  flex: 1;
  gap: 2rem;
}

.gallery h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
  
}

/* 갤러리 그리드 예시 */
.gallery-grid {
  display: grid;
  
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}
.gallery-grid img {
  width: 100%;
  display: block;
  
  border-radius: 4px; /* 미묘하게 둥근 모서리 */
}



/* details details details details details details details details details details details details details details*/
.project-details {
  text-align: center;
}
.project-details h3 {
  font-size: 1.2rem;
  font-weight: bold;
}




/* source source source source source source source source source source source source source source source */
.source-section {
  text-align: center;

}

.source-section h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.source-section p {
  font-size: 1rem;
  color: var(--clr-light);
}

.source-section a {
  color: var(--clr-accent2);   /* 링크 색상 */
  text-decoration: none;
}

.source-section a:hover {
  text-decoration: underline; /* 호버 시 밑줄 */
}





.return-button {
  position: fixed;
  bottom: 1rem;       /* 화면 하단에서 1rem */
  left: 1rem;         /* 화면 왼쪽에서 1rem */
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;        /* 아이콘과 텍스트 사이 간격 */

  background-color: var(--clr-light);
  color: var(--clr-dark2);
  border: none;
  border-radius: 9999px; /* 둥근 형태 */
  padding: 0.5rem 1rem;  /* 버튼 안쪽 여백 */
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  font-size: 1rem;
  cursor: pointer;

  /* 부드러운 배경/그림자 전환 */
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.return-button:hover {
  background-color:     var(--clr-hover);
}

/* 화살표 아이콘 (←) 크기 */
.arrow-icon {
  font-size: 1.2rem;
}

/* 모바일 환경에서 작은 원형 버튼 + 텍스트 숨김 */
@media (max-width: 600px) {
  .return-button {
    width: 40px;
    height: 40px;
    padding: 0;               /* 내부 여백 제거 */
    justify-content: center;  /* 아이콘만 중앙에 배치 */
  }
  .return-button .button-text {
    display: none;            /* 텍스트 숨김 */
  }
  .return-button .arrow-icon {
    margin: 0;
    font-size: 1.2rem;
  }
}


/* =============================================== */
/* =============================================== */
/* =============================================== */
/* ==============BIRDSTRIKE!!!!!!================= */
/* =============================================== */
/* =============================================== */
/* =============================================== */

.bird-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;   /* 이미지를 비율 유지하며 꽉 채움 */
  object-position: center; /* 중앙 정렬 */
  z-index: -1;         /* 텍스트보다 아래 */
}

.game-title-bird,
.game-subtitle-bird {
  color: black;
}

.responsive-video {
  width: 100%;
  aspect-ratio: 16 / 9;   /* 원하는 비율 고정 */
  object-fit: cover;      /* 잘라도 꽉 차게 */
  border-radius: 8px;
  display: block;
}

.bottom-text {
  padding: 0 2rem; /* 좌우 여백 추가 */
  max-width: 1200px; /* 너무 넓어지지 않도록 제한 (선택 사항) */
  margin: 0 auto;    /* 가운데 정렬 */
}





.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.gallery img {
  width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.lightbox img {
  display: block;
  max-width: 90%;
  max-height: 80%;
  margin: 5% auto;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255,255,255,0.4);
}

.lightbox:target {
  display: block;
}