@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
html, body {
/* scroll-snap-type: y mandatory; */
overscroll-behavior: none;
}
section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
body{
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  color: #333;
  scroll-behavior: smooth !important;
  position: relative;
  transition: background-color 0.5s ease, color 0.5s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
#index, #resume, #project, #contact{
  scroll-snap-align: start;
/*   min-height: 100vh; */
  width: 100%;
}
a{
  text-decoration: none;
  color: #333;
}
:root{
  --base_color: #333;
  --text_14:14px;
  --text_20:20px;
  --text_48:48px;
}
.mobile_btn, .mobile_btn2{
  display: none;
}

/* header */
.h_wrap{
  width: 100%;
  height: 70px;
  line-height: 70px;
  position: fixed;
  top: 0;
  transition: background-color 0.5s ease;
  z-index: 1001;
  background-color: #fff;
}

/* h_wrap 그림자 */
.h_wrap.scrolled{
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
/* 다크모드 그림자 */
body.dark_mode .h_wrap.scrolled{
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

.h_con_wrap{
  width: 1400px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}
.h_con_wrap nav ul{
  width: 700px;
  display: flex;
  justify-content: space-evenly;
}
.h_con_wrap nav ul li{
  cursor: pointer;
}

/* 메인 텍스트 컨텐츠 */
.main_text_wrap{
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(-45deg, #e0bbf9, #cba4f1, #d5c2ff, #cba4f1);
  background-size: 400% 400%;
  animation: gradientFlow 5s ease infinite;
}
body.dark_mode .main_text_wrap {
  background: #121212;
}
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.main_text_wrap::after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 100%);
  pointer-events: none;
  z-index: 1;
}
body.dark_mode .main_text_wrap::after {
  background: linear-gradient(to bottom, rgba(18, 18, 18, 0) 0%, #121212 100%);
}

.main_text{
  font-size: var(--text_48);
  width: 100%;
  text-align: center;
}
.main_text p{
  font-size: 40px;
  font-weight: bold;
  color: #8e44ad;
  text-align: center;
}
.glow-finish{
  animation: glow 2s infinite alternate;
}
@keyframes glow{
  from{
    text-shadow: 0 0 5px #8e44ad, 0 0 10px #8e44ad;
  }
  to{
    text-shadow: 0 0 20px #c77fff, 0 0 30px #c77fff;
  }
}
.console_style {
  font-family: 'Courier New', monospace;
  font-size: 28px;
  color: #00ff8c; 
  font-weight: bold;
}


/* 스크롤 다운 애니메이션  */
.scroll-down {
  position: absolute;
  bottom: 10%; 
  left: 50%;
  transform: translateX(-50%);
  color: var(--base_color); 
  font-size: 24px;
  cursor: pointer;
  opacity: 0.7;
}

.scroll-down i {
  animation: blinkScroll 1s infinite;
}

@keyframes blinkScroll {
  0%, 100% { opacity: 0.7; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(10px); }
}

body.dark_mode .scroll-down {
  color: #e0e0e0;
}

/* cursor 애니메이션 */
.cursor{
  display: inline-block;
  width: 2px;
  height: 1em;
  background-color: var(--base_color);
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 0.9s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* 다크모드 */
#index a img{
  transition: 0.3s;
}
#toggle_dark_mode{
  position: fixed;
  bottom: 10%;
  right: 2.8%;
  z-index: 1000;
  background: none;
  border: none;
  cursor: pointer;
}
#toggle_dark_mode p{
  color: var(--base_color);
  font-family: "Inter", sans-serif;
  margin: 5px;
  transition: color 0.5s ease;
}
#toggle_dark_mode img{
  transition: opacity 0.3s ease, transform 0.3s ease;
}

body.dark_mode{
  background-color: #121212;
  color: #e0e0e0;
}
body.dark_mode .h_wrap{
  background-color: #121212;
  color: #e0e0e0;
}
body.dark_mode header{
  background-color: #1e1e1e;
}
body.dark_mode .cursor {
  background-color: #e0e0e0;
}
body.dark_mode a{
  color: #e0e0e0;
}
body.dark_mode #toggle_dark_mode p{
  color: #e0e0e0;
}

/* 탑버튼 */
#top_btn{
  position: fixed;
  bottom: 3%;
  right: 3%;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
#top_btn.show{
  opacity: 1;
}
.title{
  padding-bottom: 150px;
  font-size: 48px;
}

/* resume */
#resume{
  width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
/* resume_left */
.resume_left{
  width: 50%;
}
.resume_left > div img{
  width: 200px;
  border-radius: 15px;
}
.resume_left > div{
  display: flex;
  align-items: center;
  gap: 100px;
  margin-bottom: 150px;
}
.info{
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 20px;
}
.info_name, .wording{
  font-weight: bold;
}
.info_detail{ 
  font-weight: 300;
}
.wording{
  font-size: 18px;
  font-weight: 500;
}
.wording_bold{
  font-weight: bold;
}
/* resume_right */
.resume_right{
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.resume_right_title{
  font-size: 20px;
  font-weight: bold;
}
.resume_right_detail{
  margin-top: 20px;
  display: flex;
}
.resume_data, .resume_data2{
  font-size: 16px;
  color: #808080;
  font-weight: 300;
  width: 80px;
}
.resume_data2{
  width: 150px;
}
.skill {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
  gap: 20px; 
  list-style: none; 
}
.skill .resume_right_title {
  grid-column: 1 / -1; 
  margin-bottom: 5px;
  text-align: left;
}
.skill .resume_right_detail {
  display: flex;
  justify-content: flex-start;
  align-items: center; 
  margin-top: 0; 
}
.resume_right .skill img{
  width: 40px;
}

/* project */
#project1, #project2, #project3{
  width: 100%;
}
.ex_title{
  color: #808080;
  font-weight: 400;
  display: inline-block;
  width: 100px;
  line-height: 2;
}
.project_info{
  font-weight: bold;
}
.brand_ex{
  font-weight: 500;
  margin-bottom: 10px;
}
.brand_name{
  font-size: 60px;
  font-weight: bold;
}
.bg_title{
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.bg_title h3{
  font-size: 80px;
  font-weight: bold;
}
.bg_title a{
  display: inline-block;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 10px;
  padding: 10px 15px;
  margin-top: 30px;
}
.stack_badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge {
  display: inline-block;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  border-radius: 20px;
}

.badge.html { background-color: #e44d26; }
.badge.css { background-color: #2965f1; }
.badge.js { background-color: #f7df1e; color: #000; }
.badge.figma { background-color: #a259ff; }
.badge.react { background-color: #61dafb; color: #000; }
.badge.jquery { background-color: #0769ad; }
.badge.php { background-color: #8892be; }
.badge.mysql { background-color: #00758f; }
.badge.dothome{background-color: rgb(98, 98, 211);}
.badge.github{background-color: #333; color: #fff;}
.badge.cloudtype{background-color: #fff; color: #333;}
.review{
  width: 82%;
  line-height: 2;
}
.planner{
  background-color: #fff;
}
.lotte_planner{
  border: 1px solid #333;
}
.lotte_planner a{
  color: #333;
}

/* 스와이퍼 슬라이드 */
.swiper{
  width: 100%;
  max-width: 500px;
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
}
.swiper-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* project1 */
#project1{
  display: flex;
  justify-content: space-around;
  gap: 80px;
  background-color: #bd0013;
  color: #fff;
}
.project1_left{
  width: 60%;
  position: relative;
  overflow: hidden;
}
.project1_bg img{
  width: 100%;
  filter: brightness(0.7);
  transition: 0.3s ease;
}
.project1_bg img:hover{
  filter: brightness(1);
  scale: 1.05;
}
.project1_left .bg_title a:hover{
  background-color: #fff;
  color: #fe001a;
}
.project1_right{
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.project1_right .ex_title{
  color: #fff;
  font-weight: 300;
}
.project1_right .swiper, .project2_left .swiper, .project3_right .swiper{
  align-self: flex-start !important;
  margin: 20px 0 0 0 !important;     
  width: 100%;
  max-width: 500px;
  justify-content: flex-start;
}
.project1_right .swiper-pagination-bullet, .project2_left .swiper-pagination-bullet{
  background-color: #ccc;
  opacity: 1;
}
.project1_right .swiper-pagination-bullet-active, .project2_left .swiper-pagination-bullet-active{
  background-color: #fe001a;
  width: 20px;
  border-radius: 10px;
  transition: .3s ease;
}

/* project2 */
#project2{
  display: flex;
  justify-content: space-around;
  gap: 80px;
}
.project2_left{
  width: 41%;
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 50px;
  padding-left: 50px;
}
#project2 .review{
  color: #808080;
}
.project2_bg img{
  width: 100%;
  filter: brightness(0.7);
  transition: 0.3s ease;
}
.project2_bg img:hover{
  filter: brightness(1);
  scale: 1.05;
}
.project2_right .bg_title a:hover{
  background-color: #fff;
  color: #333;
}
.project2_right{
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 50px;
  position: relative;
  overflow: hidden;
}
.project2_left .ex_title{
  color: #808080;
  font-weight: 300;
}

/* project3 */
#project3{
  display: flex;
  justify-content: space-around;
  gap: 80px;
  background-color: #4169E1;
  color: #fff;
}
.project3_left{
  width: 60%;
  position: relative;
  overflow: hidden;
}
.project3_bg img{
  width: 100%;
  filter: brightness(0.7);
  transition: 0.3s ease;
}
.project3_bg img:hover{
  filter: brightness(1);
  scale: 1.05;
}
.project3_left .bg_title a:hover{
  background-color: #fff;
  color: #4169E1;
}
.project3_right{
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.project3_right .ex_title{
  color: #fff;
  font-weight: 300;
}
.project3_right .swiper-pagination-bullet-active{
  color: #4169E1;
  width: 20px;
  border-radius: 10px;
  transition: .3s ease;
}




/* 다크 모드 스타일 */
body.dark_mode .project-card {
  background-color: #1e1e1e;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
}

body.dark_mode .project-brief {
  color: #ccc;
}

body.dark_mode .project-image .overlay {
  background-color: rgba(30, 30, 30, 0.8);
}

body.dark_mode .view-details {
  border-color: #e0e0e0;
  color: #e0e0e0;
}

body.dark_mode .view-details:hover {
  background-color: #333;
  border-color: #333;
}

/* contact */
#contact{
  width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
  font-size: 20px;
}
.thank{
  font-weight: bold !important;
  font-size: 32px !important;
}
.contact_data{
  font-size: 16px;
font-weight: 300;
color: #808080;
margin-right: 20px;
}
.comunity{
  display: flex;
  align-items: center;
  gap: 100px;
}
#contact img{
  width: 100px;
}
.copyright{
  font-size: 16px;
}

/* 마우스 풍선 커서 */
.balloon-cursor {
  width: 15px;
  height: 15px;
  background-color: rgba(245, 84, 73, 0.8);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 1002;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}

body.dark_mode .circle-cursor {
  border-color: #e0e0e0;
}

/* 반응형 태블릿 */
@media screen and (min-width:768px) and (max-width: 1024px) {
  html, body {
    scroll-snap-type: none;
  }
  .mobile_btn, .mobile_btn2{
    display: none;
  }
  .h_con_wrap {
    width: 90%;
  }
  .h_con_wrap nav ul {
    width: 100%;
    justify-content: space-around;
    gap: 40px;
  }
  #resume{
    flex-direction: column;
    width: 90%;
    gap: 100px;
  }
  .resume_left > div {
    gap: 50px;
    margin-bottom: 100px;
  }
  .resume_left, .resume_right{
    width: 100%;
  }
  .resume_right{
    padding-bottom: 100px;
    border-bottom: 1px solid #e0e0e0;
  }
  #contact {
    width: 90%;
  }
  .project_info{
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 14px;
    line-height: 1.6;
  }
  .ex_title{
    display: none;
  }
  .review{
    font-size: 14px;
  }
}

/* 반응형 모바일 */
@media screen and (max-width: 767px) {
  html, body {
    scroll-snap-type: none;
    overflow-x: hidden;
  }
  section{
    width: 100%;
    min-height: 50vh;
  }
  .mobile_btn, .mobile_btn2{
    margin: 10px 0 30px 0;
    text-align: center;
    display: block;
  }
  .mobile_btn a{
    color: #fff;
    border: 1px solid #fff;
    padding: 10px 20px;
    border-radius: 10px;
  }
  .mobile_btn a:hover{
    background-color: #fff;
    color: #333;
  }
  .mobile_btn2 a{
    color: #333;
    border: 1px solid #333;
    padding: 10px 20px;
    border-radius: 10px;
  }
  .mobile_btn2 a:hover{
    background-color: #333;
    color: #fff;
  }
  .h_con_wrap {
    width: 90%;
  }
  .h_con_wrap nav ul {
    width: 100%;
    justify-content: space-around;
    gap: 40px;
  }
  #resume {
    flex-direction: column;
    width: 90%;
    gap: 40px;
  }
  .resume_left,
  .resume_right {
    width: 100%;
  }
  .resume_left > div {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
  }
  .resume_left > div img {
    width: 120px;
  }
  .info {
    align-items: center;
    text-align: center;
    gap: 10px;
    font-size: 16px;
  }
  .wording {
    text-align: center;
    font-size: 14px;
    padding: 0 10px;
    line-height: 1.6;
  }
  .resume_right {
    gap: 20px;
  }
  .resume_right_title {
    font-size: 16px;
    margin-top: 20px;
    text-align: center;
  }
  .resume_right_detail {
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 14px;
    gap: 3px;
  }
  .resume_data,
  .resume_data2 {
    width: auto;
    font-size: 12px;
    color: #aaa;
  }
  .skill {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px; 
    list-style: none; 
    margin-bottom: 50px;
  }
  .skill li:first-child {
    width: 100%;
    text-align: center;
  }
  .resume_right .skill img {
    width: 24px;
  }

  #project1, #project2, #project3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 0;
    gap: 0;
  }
  .project_info{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
  }
  .project_info p{
    width: 100%;
  }
.project1_left, .project2_right, .project3_left, .brand_ex, .ex_title, .review {
    display: none;
  }
.project1_right, .project2_left, .project3_right {
    width: 100%;
    padding: 0 10px 10px;
    margin: 0 auto;
    text-align: center;
  }
.project1_left .bg_title a, .project2_right .bg_title a, .project3_left .bg_title a{
    display: block;
  }
  #project3{
    margin-bottom: 50px;
  }
  #contact{
    width: 90%;
  }
  .stack_badges{
    justify-content: center;
  }
}
