/* #B4D0E5 #EAF1F5 #577C93 #1E445B  */
:root {
  --color-mac: #38080a;
  --color-seoulmilk: #2d3939;
  --color-samapharm: #0d2858;
  --color-watchapedia: #ab052c;
  --bg-primary: #0a192f;      
  --bg-secondary: #112240;    
  --text-primary: #ffffff;    
  --text-secondary: #d1d2d4;  
  --heading-color: #ffffff;   
  --accent-color: hsl(0, 0%, 100%);    
  --card-bg: rgba(17, 34, 64, 0.7);  
  --border-color: rgba(100, 255, 218, 0.1);
  --highlight-text: #ffffff;
}
body, html {
  cursor: none;
}
#load {
  position: absolute;
  z-index: 999;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: 0.3s;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}
#load img {
  animation: rotate 5s linear infinite;
  width: 64px;
}

#cursor {
  pointer-events: none;
  position: fixed;
  top: -10%;
  left: -10%;
  transform: translate(-50%, -50%);
  z-index: 999;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: width 0.5s, height 0.5s;
  background: #ffffff;
  mix-blend-mode: soft-light;
}

#cursor.active {
  width: 30px;
  height: 30px;
  background: #ffffff;
  mix-blend-mode: soft-light;
}
#cursor.ani_on {
  animation: fadeIn 1.5s 3.5s both;
}
.section_bg {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background-position: bottom;
  animation: bgMove 100s linear infinite;
}
.section_bg.bg1 {
  background-image: linear-gradient(
    180deg,
    var(--bg-secondary) 0%,
    var(--bg-primary) 100%
  );
}
.section_bg.bg2 {
  background-image: url(../images/cloud_panorama1.png),
    url(../images/cloud_panorama2.png);
}

/* fp_side_nav */
#fp-nav ul li a.active span,
.fp-slidesNav ul li a.active span,
#fp-nav ul li:hover a.active span,
.fp-slidesNav ul li:hover a.active span {
  height: 16px;
  width: 16px;
  margin: -8px 0 0 -8px;
  background: 0;
  background-image: url(../images/icon_side_nav.svg);
  background-size: cover;
  filter: grayscale(1) brightness(2);
  animation: rotate 3s linear infinite;
}

/*
header
*/
header {
  position: fixed;
  z-index: 800;
  width: 100%;
  height: 60px;
  padding: 0 24px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-bottom: 1px solid #ffffff77;
  opacity: 0;
}
header.ani_on {
  animation: slideDown 1s 2.4s both, fadeIn 1s 2.4s both;
}
header a {
  color: #ffffff;
  text-shadow: 0px 2px 5px rgba(87, 124, 147, 0.3);
  font-family: 'Montserrat';
  white-space: nowrap;
  font-weight: 500;
}
header a .mobile_skip {
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
}
header h1 {
  transform: rotate(90deg) translateY(-100%);
  transform-origin: top left;
  position: absolute;
  top: 24px;
  left: 24px;
}
header h1 a {
  font-weight: 600;
  letter-spacing: 0.5em;
}
header h1 a:hover {
  opacity: 0.5;
}

/* nav */
header ul {
  height: 100%;
  display: flex;
  align-items: stretch; /* li 씠 100 李⑥?? stretch */
}
header ul li {
  position: relative;
  display: flex;
  align-items: center;
  transition: 0.3s;
}
header ul li a {
  letter-spacing: 0.02em;
  padding: 16px 20px;
}
header ul li .sub {
  background: #ffffffcc;
  width: 100%;
  height: 0;
  overflow: hidden;
  flex-flow: column nowrap;
  gap: 0;
  position: absolute;
  top: 100%;
  z-index: -1;
}
header ul li .sub li {
  width: 100%;
}
header ul li .sub li a {
  width: 100%;
  text-align: center;
  text-shadow: none;
  font-size: 0.875rem;
  color: #577c93;
  font-weight: 600;
  padding: 12px;
  transition: 0.3s;
}
/* nav mouseover, active */
header ul li.sub_on .sub {
  height: 152px; /* 38*4px */
}
header > ul > li:hover {
  background: #ffffffcc;
}
header > ul > li:hover > a {
  color: #577c93;
}
header > ul > li.active,
header > ul > li.subpage_on {
  background: #ffffff33;
}
header ul li .sub li a:hover {
  opacity: 1;
  background: #577c93;
  color: #fff;
}

/* 
section
*/
.section {
  position: relative;
  height: 100%;
  scroll-behavior: unset;
}
.section .layer {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 
intro
*/
#intro {
  overflow: hidden;
}
/* #intro .layer {
  -webkit-transform: translate3d(0, 0, 0);
} */
#intro .layer1 {
  background-image: url(../img/cloud_panorama1.png);
}
#intro .layer1.ani_on {
  animation: bgMove 150s linear infinite alternate;
}
#intro .layer2 {
  background-image: url(../images/02mountain_1920.png);
  opacity: 0;
}
#intro .layer2.ani_on {
  animation: fadeIn 0.6s 0.2s both, slideUp5 0.6s 0.2s both;
}
#intro .layer3 {
  background-image: url(../img/03grass_1920.png);
  opacity: 0;
  filter: brightness(0.8) contrast(1.1);
}
#intro .layer3.ani_on {
  animation: fadeIn 0.6s 0.4s both, slideUp5 0.6s 0.4s both;
}
#intro .layer4.ani_on {
  animation: fadeIn 0.6s 0.6s both, slideUp5 0.6s 0.6s both;
}
#intro .title {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  /* -webkit-transform: translate3d(0, 0, 0); */
}
#intro .title .title_container {
  position: absolute;
  top: 45%;
  left: 52%;
  transform: translate(-50%, -50%);
}
#intro .title .title_container h1 {
  text-align: center;
  font-weight: 300;
  color: #ffffff;
  text-shadow: 0 2px 10px #22405a33;
  transition: 0.5s;
}
#intro .title .title_container h1:nth-child(1) {
  display: flex;
  gap: 12px;
  align-items: center;
}
#intro .title .title_container h1:nth-child(2) {
  font-family: 'DM Serif Display', serif;
  font-size: 9.375rem;
  white-space: nowrap;
  opacity: 0;
}
#intro .title .title_container h1:nth-child(2) {
  opacity: 0;
}
#intro .title .title_container h1:nth-child(2).ani_on {
  animation: slideUp20 0.8s 1.2s both, fadeIn 1.2s 1.2s both;
}
#intro .title .title_container h1 span {
  white-space: nowrap;
  font-size: 1.5rem;
  font-weight: 300;
}
#intro .title .title_container h1 span strong {
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 10px #22405a55;
}
#intro .title .title_container h1 .line {
  display: block;
  width: 100%;
  height: 1px;
  position: relative;
}
#intro .title .title_container h1 span:nth-child(1) {
  opacity: 0;
}
#intro .title .title_container h1 span:nth-child(1).ani_on {
  animation: slideUp20 1s 2s both, fadeIn 1.2s 2s both;
}
#intro .title .title_container h1 .line::after {
  display: block;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #fff;
}
#intro .title .title_container h1 .line.ani_on::after {
  animation: wipe 1s 2.4s both;
}
#intro .title .title_container h1 span:nth-child(3) {
  opacity: 0;
}
#intro .title .title_container h1 span:nth-child(3).ani_on {
  animation: slideUp20 1s 3.4s both, fadeIn 1.2s 3.4s both;
}

#intro .bird.ani_on {
  animation: birdMoveV 1s cubic-bezier(0.27, 0.06, 0.65, 0.96) alternate
      infinite,
    birdMoveH 10s linear infinite;
}
#intro .scrolldown {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: #25271d33;
  border-radius: 50%;
  animation: fadeIn 1s 5s both;
}
#intro .scrolldown p {
  box-shadow: 0 0 10px #25271d;
}
#intro .scrolldown p.mouse_outline {
  width: 30px;
  height: 48px;
  border-radius: 12px;
  border: 2px solid #fff;
}
#intro .scrolldown p.mouse_wheel {
  width: 4px;
  height: 12px;
  border-radius: 2px;
  background: #fff;
  position: absolute;
  top: 8px;
  left: calc(50% - 2px);
  animation: slideUp50 1s linear reverse infinite;
}

/* 
about
*/
#about {
  z-index: 1;
}
.gretting-margin {
  margin-bottom: 50px;
  text-align: center;
}
.gretting {
  font-size: 30px;
  font-weight: bold;
  color: #ffffff;
}

.info u {
  color: var(--text-secondary);
}

#about .contents_wrap {
  margin: 0 auto;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-around;
  align-items: center;
  max-width: 1500px;
}

#about .contents_wrap .info-photo {
  width: 400px;
  justify-content: left;
  padding-bottom: 10%;
}

#about .contents_wrap .photo {
  background-size: cover;
  background-position: top;
  background-color: var(--card-bg);
  background-image: url(../img/about_me.jpg);
  /* inear-gradient(180deg,#ffffff77,#B4D0E5); */
  width: 300px;
  height: 400px;
  border-radius: 50%;
}

#about .info_all2 {
  display: flex;
  flex-direction: column;
  width: 1200px;
}

#about .contents_wrap .info_all2 .info {
  display: flex;
  flex-flow: column nowrap;
  gap: 16px;
  margin-bottom: 30px;
}

#about .contents_wrap .info_all2 .info-row {
  display: flex;
  flex-flow: row nowrap;
  gap: 16px;
}

#about .contents_wrap .info_all2 .info-row .info {
  margin-right: 200px;
}

#about .contents_wrap .info_all2 .info h2 {
  font-size: 1.25rem;
  color: #ffffff;
  font-family: 'Montserrat';
  font-weight: 600;
  text-decoration: underline;
}
#about .contents_wrap .info_all2 .info ul {
  display: flex;
  flex-flow: column nowrap;
  gap: 5px;
}
#about .contents_wrap .info_all2 .info ul li {
  color: #d1d2d4;
  display: flex;
  gap: 5px;
}
#about .contents_wrap .info_all2 .info p {
  line-height: 1.3;
  color: #d1d2d4;
  gap: 12px;
  font-size: 20px;
}

#about .contents_wrap .info_all2 .info pre {
  line-height: 1.3;
  color: #577c93;
  display: flex;
  gap: 12px;
  font-size: 20px;
}

#about .contents_wrap .info_all2 .info-row h2 {
  font-size: 1.25rem;
  color: #ffffff;
  font-family: 'Montserrat';
  font-weight: 600;
}
#about .contents_wrap .info_all2 .info-row ul {
  display: flex;
  flex-flow: column nowrap;
  gap: 5px;
}
#about .contents_wrap .info_all2 .info-row li {
  color: #d1d2d4;
  display: flex;
  gap: 5px;
}
#about .contents_wrap .info_all2 .info-row p {
  line-height: 1.3;
  color: #d1d2d4;
  display: flex;
  gap: 12px;
  font-size: 20px;
}

#about .contents_wrap .info_all2 .info ul li p.mail {
  word-break: break-all;
}
#about .contents_wrap .info_all2 .info p:nth-child(1) {
  font-weight: 600;
  font-family: 'Montserrat';
  font-style: normal;
  width: 60px;
  white-space: nowrap;
}

#about .contents_wrap .info_all2 .info p:nth-child(1) {
  width: 100px;
}
#about .contents_wrap .info_all2 .info.crt p:nth-child(1) {
  width: 70px;
}
#about .contents_wrap .info_all2 .info p:nth-child(2) {
  letter-spacing: -0.04em;
  font-weight: 500;
  opacity: 0.8;
  transform: translateY(-1px);
  /* width: 80%; */
}

.big-title {
  margin-bottom: 20px;
  text-align: center;

  font-size: 3rem;
  font-weight: bold;
  color: var(--heading-color);
  text-shadow: var(--accent-color) 1px 1px 1px,
              var(--bg-secondary) 2px 2px 0px;

  font-family: Montserrat;
}

#skill .skills {
  margin: 0 auto;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  width: 1200px;      /* 1500px에서 1200px로 변경 */
  gap: 15px;
  padding: 0;
}

#skill .skill-wrap {
  flex: 1;
  min-width: 0;
  width: 1200px;    /* 컨테이너 너비 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;  /* var(--card-bg)에서 none으로 변경 */
  border-radius: 20px;
  padding: 15px 0;
  border: none;      /* 1px solid var(--border-color)에서 none으로 변경 */
  margin: 0 auto;
}

#skill .skill-title {
  font-size: 2rem;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);

  color: var(--heading-color);
}

#skill .skill-wrap img {
  width: 100%;      /* 80%에서 100%로 변경 */
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

#skill .skill-col {
  display: flex;
  flex-direction: column;
}

#archiving .archivings {
  margin: 0 auto;
  display: flex;
  flex-flow: row;
  justify-content: space-around;
  align-items: center;
  max-width: 1400px;
}

#archiving #archiving-git {
  transition: 0.2s ease-in-out;
}
#archiving #archiving-git:hover {
  transform: translateY(20px);
}
#archiving #archiving-tistory {
  transition: 0.2s ease-in-out;
}
#archiving #archiving-tistory:hover {
  transform: translateY(20px);
}

#archiving .archiving-wrap {
  /* background-color: #fff; */
  background-color: var(--card-bg);
  border-radius: 20px;
  padding: 24px;
  margin: 20px;
  width: 500px;
}

#archiving .warp-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}

#archiving .archiving-title {
  font-size: 2rem;
  font-weight: 700;
  padding-bottom: 10px;

  color: var(--heading-color);
}

#archiving .archiving-wrap img {
  width: 50px;
  margin-right: 10px;
}

#archiving #archiving-url {
  margin-bottom: 1rem;
  color: #258ddb;
}

#archiving .archiving-content p {
  font-size: 20px;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

#archiving .archiving-content ul {
  margin-bottom: 1rem;
  list-style-type: disc;
}

#archiving .archiving-content li {
  font-size: 20px;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

/* web */

.web_section {
  --afterWidth: 110%;
  --afterHeight: 85%;
  --afterBg: rgba(40, 40, 40, 0.95);  /* 훨씬 더 어두운 색상으로 변경 */
}
.web_section::after {
  display: block;
  content: '';
  z-index: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s;
  width: var(--afterWidth);
  height: var(--afterHeight);
  background: var(--afterBg);
  backdrop-filter: brightness(0.7) contrast(1.1);  /* 더 어둡게 조정하고 대비 증가 */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);  /* 미세한 테두리 추가 */
}
.web_section .contents {
  /* background:firebrick; */
  width: min(100%, 1800px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;  /* mockup과 info 사이 간격 줄임 */
  margin: 0 auto;
  padding: 0 60px;
  z-index: 1;
}
.web_section .contents .mockup_all {
  transition: 0.5s;
  display: flex;
  width: 700px;  /* mockup 영역 확장 */
  position: relative;
  z-index: 1;
}
.web_section .contents .mockup_all.scrollOn {
  transform: scale(1);
}
.web_section .contents .mockup_all.desktop_only {
  margin-right: 0;
}

.web_section .contents .mockup_all .mockup.desktop {
  width: 100%;
}

.web_section .contents .mockup_all .mockup.mobile {
  position: absolute;
  width: 20%;
  right: -10%;
  bottom: 0;
  z-index: 1;
}
.web_section .contents .mockup_all .mockup::after {
  display: block;
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-size: contain;
}
.web_section .contents .mockup_all .mockup.desktop::after {
  background-image: url(../images/mockup_desktop_shadow.png);
  top: 84%; /* 100-16 */
  width: 80%;
  padding-bottom: 16%;
}
.web_section .contents .mockup_all .mockup.mobile::after {
  background-image: url(../images/mockup_mobile_shadow.png);
  top: 105%;
  width: 100%;
  padding-bottom: 12.5%;
  filter: blur(2px);
}

.web_section .contents .mockup_all .mockup .screenshot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
}
.web_section .contents .mockup_all .mockup.desktop .screenshot {
  width: 98%;
  height: 80%;
  border-radius: 2%;
  top: 2%;
}
.web_section .contents .mockup_all .mockup.mobile .screenshot {
  width: 88%;
  height: 98%;
  border-radius: 8%;
  top: 2%;
}
.web_section .contents .mockup_all .mockup .screenshot img {
  width: 100%;
}
.web_section .contents .mockup_all .mockup .frame {
  width: 100%;
  position: relative;
  z-index: 1;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.web_section .contents .mockup_all .mockup.desktop .frame {
  padding-bottom: 80%;
  background-image: url(../images/mockup_desktop.png);
}
.web_section .contents .mockup_all .mockup.mobile .frame {
  padding-bottom: 200%;
  background-image: url(../images/mockup_mobile.png);
}
.web_section .contents .info {
  transition: 0.5s;
  z-index: 1;
  opacity: 0;
  transform: translateY(20%);
  width: 600px;  /* info 영역 너비 줄임 */
  padding: 10px 0;
  color: #ffffff;  /* 기본 텍스트 색상 */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);  /* 모든 텍스트에 그림자 추가 */
}
.web_section .contents .info.scrollOn {
  opacity: 1;
  transform: translateY(0);
}

.web_section .contents .info .title {
  margin-bottom: 20px;  /* 제목 하단 여백 축소 */
}

.web_section .contents .info ul {
  margin: 15px 0;  /* 리스트 상하 여백 축소 */
}

.web_section .contents .info ul li {
  padding: 8px 0;  /* 항목 간 간격 줄임 */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);  /* 모든 구분선 통일 */
}

.web_section .contents .info ul li:last-child {
  border-bottom: none;  /* 마지막 항목 구분선 제거 */
}

.web_section .contents .info ul li span {
  margin-right: 20px;  /* 레이블과 내용 사이 간격 */
  line-height: 1.6;  /* 줄 간격 */
}

.web_section .contents .info .link {
  margin-top: 20px;  /* 버튼 영역 상단 여백 줄임 */
}

.web_section .contents .info .link a {
  padding: 10px 20px;  /* 버튼 내부 여백 */
  margin-right: 15px;  /* 버튼 사이 간격 */
}

.web_section .contents .info .link a i {
  margin-right: 8px;  /* 아이콘과 텍스트 사이 간격 */
  vertical-align: middle;  /* 아이콘 수직 정렬 */
}

.web_section .contents .info .title h1 {
  font-family: 'Montserrat';
  font-weight: 600;
  font-size: 1.75rem;
}
.web_section .contents .info .title .description {
  margin-top: 8px;
  font-weight: 500;
  opacity: 0.9;
}
.web_section .contents .info .title .description::after {
  display: block;
  content: '';
  width: 90%;
  height: 1px;
  margin-top: 20px;
  opacity: 0.3;
}
.web_section .contents .info ul {
  display: flex;
  flex-flow: column nowrap;
  gap: 6px;
  opacity: 0.7;
}
.web_section .contents .info ul li {
  display: flex;
  align-items: flex-start;
}
.web_section .contents .info ul li span:nth-child(1) {
  min-width: 140px;
  margin-right: 30px;
  font-weight: 600;
  font-family: 'Montserrat';
  letter-spacing: 0.02em;
}
.web_section .contents .info ul li span:nth-child(2) {
  flex: 1;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  font-weight: 500;
  word-break: keep-all;
  white-space: normal;
}
.web_section .contents .info .link {
  display: flex;
  gap: 10px;
}
.web_section .contents .info .link a {
  padding: 8px 16px;
  border-radius: 5px;
  font-family: 'Montserrat';
  font-size: 0.875rem;
  font-weight: 700;
  border: 2px solid;
  border-top-width: 1px;
  border-left-width: 1px;
  transition: 0.3s;
}
.web_section .contents .info .link a:hover {
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.web_section .bg_circle {
  position: absolute;
  top: 50%;
  left: 40%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-radius: 1500px;
  z-index: 0;
  transition: 1s ease-out;
  opacity: 0.8;
}
.web_section .bg_circle.active {
  border-radius: 0px;
  width: max(200vw, 200vh);
  height: max(200vw, 200vh);
  opacity: 0.95;
}

/*
web
*/
#mac {
  color: var(--color-mac);
  border-color: var(--color-mac);
}
#mac .description::after {
  background-color: var(--color-mac);
}
#mac .contents .info .link a:hover {
  background-color: var(--color-mac);
  border-color: var(--color-mac);
}
#mac .bg_circle {
  background-image: linear-gradient(150deg, rgb(80 5 5) 35%, rgb(0, 0, 0) 65%);
}
#seoulmilk {
  color: var(--color-seoulmilk);
}
#seoulmilk .description::after {
  background-color: var(--color-seoulmilk);
}
#seoulmilk .contents .info .link a:hover {
  background-color: var(--color-seoulmilk);
  border-color: var(--color-seoulmilk);
}
#seoulmilk .bg_circle {
  background-image: linear-gradient(150deg, rgb(45 57 47) 35%, rgb(70 70 70) 65%);
}
#samapharm {
  color: var(--color-samapharm);
}
#samapharm .description::after {
  background-color: var(--color-samapharm);
}
#samapharm .contents .info .link a:hover {
  background-color: var(--color-samapharm);
  border-color: var(--color-samapharm);
}
#samapharm .bg_circle {
  background-image: linear-gradient(150deg, rgb(7 29 49) 35%, rgb(0, 0, 0) 65%);
}
#watchapedia {
  color: var(--color-watchapedia);
}
#watchapedia .description::after {
  background-color: var(--color-watchapedia);
}
#watchapedia .contents .info .link a:hover {
  background-color: var(--color-watchapedia);
  border-color: var(--color-watchapedia);
}
#watchapedia .bg_circle {
  background-image: linear-gradient(150deg, rgb(120 5 30) 35%, rgb(0, 0, 0) 65%);
}
/* 
clone, graphic section
*/
.clone_graphic_section {
  background: #111;
}
.clone_graphic_section .contents {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  gap: 60px;
  width: 100%;
  max-width: 1400px;
  padding: 30px 40px 0;
  margin: 0 auto;
}
.clone_graphic_section .contents h1 {
  font-family: 'Montserrat';
  font-weight: 700;
  font-size: 2.5rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 2.5rem;
  color: #ffffff;
  width: min-content;
  white-space: nowrap;
}
.clone_graphic_section .contents .grid-container {
  display: grid;
  gap: 24px;
}
.clone_graphic_section .contents .grid-container .grid-item {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  transition: 0.3s;
}
.clone_graphic_section .contents .grid-container .grid-item:hover {
  transform: scale(1.03);
}

/*
clone
*/

#clone .contents .grid-container {
  grid-template-rows: repeat(2, 16vw);
  grid-template-columns: repeat(2, 28vw);
  grid-template-areas:
    'item1 item2'
    'item3 item4';
}
#clone .contents h2,
#clone .contents p {
  color: #fff;
}
#clone .contents a {
  color: #fff;
}
#clone .contents .grid-container .grid-item {
  position: relative;
  overflow: hidden;
}
#clone .contents .grid-container .grid-item::after {
  display: block;
  content: '';
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  transition: 0.3s;
}
#clone .contents .grid-container .grid-item:hover::after {
  backdrop-filter: grayscale(1) brightness(0.6);
}
#clone .contents .grid-container .grid-item .info {
  position: absolute;
  z-index: 1;
  bottom: 0;
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: flex-end;
  padding: 20px;
  transform: translateY(100%);
  transition: 0.4s;
}
#clone .contents .grid-container .grid-item:hover .info {
  transform: translateY(0);
}
#clone .contents .grid-container .grid-item .info .txt {
  color: #fff;
}
#clone .contents .grid-container .grid-item .info .txt h2 {
  font-size: 1.125rem;
  font-family: 'Montserrat';
  font-weight: 500;
}
#clone .contents .grid-container .grid-item .info .txt p {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 8px;
}
#clone .contents .grid-container .grid-item .info .link {
  display: flex;
  gap: 10px;
  align-items: center;
}
#clone .contents .grid-container .grid-item .info .link a {
  padding: 8px 12px;
  border-radius: 5px;
  font-family: 'Montserrat';
  font-size: 0.875rem;
  font-weight: 500;
  border: 2px solid;
  border-top-width: 1px;
  border-left-width: 1px;
  transition: 0.3s;
  color: #fff;
}
#clone .contents .grid-container .grid-item .info .link a:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 0, 0, 0.5);
}

#clone .contents .grid-container .grid-item.item1 {
  grid-area: item1;
  background-image: url(../images/clone_car_history_desktop.jpg);
}
#clone .contents .grid-container .grid-item.item2 {
  grid-area: item2;
  background-image: url(../images/clone_grand_hotel_desktop.jpg);
}
#clone .contents .grid-container .grid-item.item3 {
  grid-area: item3;
  background-image: url(../images/clone_coupang_desktop.jpg);
}
#clone .contents .grid-container .grid-item.item4 {
  grid-area: item4;
  background-image: url(../images/clone_parrot_desktop.jpg);
}
#clone .contents .grid-container .grid-item.item1 .info {
  background: #189bfa;
}
#clone .contents .grid-container .grid-item.item2 .info {
  background: #b29d95;
}
#clone .contents .grid-container .grid-item.item3 .info {
  background: #bd1c0a;
}
#clone .contents .grid-container .grid-item.item4 .info {
  background: #fa590f;
}

/*
graphic
*/

#graphic .contents .grid-container {
  grid-template-rows: repeat(2, 16vw);
  grid-template-columns: repeat(3, 16vw);
  grid-template-areas:
    'item1 item3 item4'
    'item2 item3 item4';
}
#graphic .contents .grid-container .grid-item {
  filter: grayscale(1) contrast(0.8);
}
#graphic .contents .grid-container .grid-item:hover {
  filter: grayscale(0) contrast(1);
}
#graphic .contents .grid-container .grid-item.item1 {
  grid-area: item1;
  background-image: url(../project/design/graphic01.jpg);
}
#graphic .contents .grid-container .grid-item.item2 {
  grid-area: item2;
  background-image: url(../project/design/graphic02.jpg);
}
#graphic .contents .grid-container .grid-item.item3 {
  grid-area: item3;
  background-image: url(../project/design/graphic03.jpg);
}
#graphic .contents .grid-container .grid-item.item4 {
  grid-area: item4;
  background-image: url(../project/design/graphic04.jpg);
}

/*
modal popup
*/
.modal_popup_bg {
  background: #000000dd;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 900;
  display: none;
}
.modal_popup_bg .container {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  top: 60px;
  height: calc(100% - 60px);
  display: flex;
  flex-flow: column nowrap;
  gap: 20px;
}
.modal_popup_bg .container .title_btn_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal_popup_bg .container .title_btn_container .title {
  color: #fff;
  font-size: 0.875rem;
  color: #ffffff77;
  display: flex;
  flex-flow: row wrap;
  gap: 8px;
}
.modal_popup_bg .container .title_btn_container .title span:nth-child(1) {
  font-weight: 500;
  font-size: 1rem;
  color: #ffffffaa;
}
.modal_popup_bg .container .title_btn_container .close_btn {
  padding: 12px;
  transition: 0.3s;
}
.modal_popup_bg .container .title_btn_container .close_btn:hover {
  transform: scale(1.3);
}
.modal_popup_bg .container .title_btn_container .close_btn img {
  filter: invert();
}
.modal_popup_bg .container .img_container {
  width: 100%;
  overflow-y: scroll;
}
.modal_popup_bg .container .img_container img {
  width: 100%;
}
/* scrollbar */
.modal_popup_bg .container .img_container::-webkit-scrollbar {
  width: 10px;
}
.modal_popup_bg .container .img_container::-webkit-scrollbar-track {
  background: #000000;
}
.modal_popup_bg .container .img_container::-webkit-scrollbar-thumb {
  background: #fff;
  border: 4px solid #000;
  border-top: 0;
  border-bottom: 0;
}
.modal_popup_bg .container .img_container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/*
modal popup
*/

/* graphic */
#graphic .modal_popup_bg .container1 {
  max-width: 750px;
}
#graphic .modal_popup_bg .container2 {
  max-width: 750px;
}
#graphic .modal_popup_bg .container3 {
  max-width: 1000px;
}
#graphic .modal_popup_bg .container4 {
  max-width: 900px;
}

/* web_section */
.web_section .modal_popup_bg .container {
  max-width: 1200px;
}
.web_section .modal_popup_bg .container .img_container {
  height: 100%;
  overflow: hidden;
}
.web_section .modal_popup_bg .container .img_container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

#about .contents_wrap .info_all2 .info.education ul {
  gap: 5px;
}

#about .contents_wrap .info_all2 .info.education ul li {
  gap: 40px;
}

#about .contents_wrap .info_all2 .info.education p:nth-child(1) {
  min-width: 160px;
}

/* 강조 텍스트 스타일 */
.highlight-text {
  color: var(--highlight-text);  /* 변수 사용 */
  font-weight: 700;
}

/* 추가적인 보장을 위한 직접 스타일 */
strong.highlight-text {
  color: #ffffff !important;  /* 다른 스타일을 덮어쓰기 위해 !important 사용 */
  font-weight: 700;
}

.star-field {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
}

/* 각 별마다 다른 애니메이션 타이밍 적용 */
.star:nth-child(1) { 
  top: 10%; left: 20%; 
  animation: twinkle 4s infinite ease-in-out 0s;
}
.star:nth-child(2) { 
  top: 30%; left: 40%; 
  animation: twinkle 4s infinite ease-in-out 1s;
}
.star:nth-child(3) { 
  top: 50%; left: 60%; 
  animation: twinkle 4s infinite ease-in-out 2s;
}
.star:nth-child(4) { 
  top: 70%; left: 80%; 
  animation: twinkle 4s infinite ease-in-out 3s;
}
.star:nth-child(5) { 
  top: 15%; left: 90%; 
  animation: twinkle 4s infinite ease-in-out 0.5s;
}
.star:nth-child(6) { 
  top: 35%; left: 15%; 
  animation: twinkle 4s infinite ease-in-out 1.5s;
}
.star:nth-child(7) { 
  top: 55%; left: 35%; 
  animation: twinkle 4s infinite ease-in-out 2.5s;
}
.star:nth-child(8) { 
  top: 75%; left: 55%; 
  animation: twinkle 4s infinite ease-in-out 3.5s;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 0.8;
    transform: scale(1);
  }
}

/* 반응형 미디어 쿼리 추가 */
@media screen and (max-width: 1200px) {
  #skill .skills {
    transform: scale(0.9);
  }
}

@media screen and (max-width: 900px) {
  #skill .skills {
    transform: scale(0.8);
  }
}

@media screen and (max-width: 600px) {
  #skill .skills {
    transform: scale(0.7);
  }
}

/* Detail View Modal Styles */
.detail-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 34, 64, 0.95);
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 90%;
  margin: 2% auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.close-modal {
  position: absolute;
  right: 20px;
  top: 20px;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 1002;
  transition: transform 0.3s ease;
}

.close-modal:hover {
  transform: translateY(-50%) scale(1.2);
}

.modal-body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  margin-bottom: 50px; /* 하단 네비게이션을 위한 여백 */
  position: relative;
}

.image-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.modal-image {
  width: auto;
  height: auto;
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
}

.navigation-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 15px 0;
}

.nav-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 10px 20px;
  transition: transform 0.3s ease;
  z-index: 2;
}

.nav-btn:hover {
  transform: scale(1.2);
}

.image-counter {
  color: #fff;
  font-family: 'Montserrat';
  font-size: 14px;
}

/* Detail View Button Style */
.detail-view-btn {
  background: none;
  border: 2px solid currentColor;
  border-radius: 5px;
  color: inherit;
  font-family: 'Montserrat';
  transition: 0.3s;
}

.detail-view-btn:hover {
  background-color: var(--color-seoulmilk);
  border-color: var(--color-seoulmilk);
  color: #fff !important;
}

/* 반응형 스타일 추가 */
@media screen and (max-width: 768px) {
  .modal-content {
    width: 95%;
    height: 95%;
    padding: 10px;
  }

  .nav-btn {
    padding: 10px;
    font-size: 20px;
  }

  .modal-image {
    max-width: 100%;
    max-height: 100%;
  }
}

