@font-face {
  font-family: 'roboto regular'; /* 원하는 이름 */
src: url('./fonts/Roboto-Regular.woff2') format('woff2'),
    url('./fonts/Roboto-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}

/* 전체 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  overflow: auto; /* 또는 auto로 해도 됨 */
}
canvas {
  display: block; /* 오른쪽 여백 제거 */
}

body {
    line-height: 1.6;
    color: #000000;
    margin: 0;
    padding: 0;
    
}
.short-rounded-line {
  height: 1px; /* 두께 */
  width: 95%; /* 전체 너비 중 일부만 차지 */
  background-color: #b8b8b8; /* 선 색상 */
  border-radius: 999px; /* 둥근 양 끝 */
  margin: -10px auto; /* 가운데 정렬 & 위아래 여백 */
}
.custom-cursor {
    position: fixed;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #2200ff;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
    mix-blend-mode: multiply;
}
.custom-cursor.hover {
    width: 40px;
    height: 40px;
    background: #f00404;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    font-weight: bold;
}
.scroll-to-works {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: transparent;
  border: none;
  color: #000;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  z-index: 9999;
  padding: 8px 12px;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.scroll-to-works:hover {
  opacity: 0.7;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.317);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo-image {
    height: 40px;
    width: auto;
}

nav a {
    text-decoration: none;
    color: #000000;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.s;
}

nav a:hover {
    color: #2f00ff;
}

    #modeToggle {
    background: #000000;
    border: 2px solid currentColor;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    }

#modeToggle:hover {
    background: #ffffff;
    
    stroke:#000000;
    
}

#hero-animation {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

#p5Canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    margin: 0;
    padding: 0;
    display: block;
}

section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;

}
/* 소개 글자 */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #333333;
}

.about-container {
  display: flex;
  gap: 3rem;
  padding: 2rem;
  flex-wrap: wrap;
}

.about-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 18rem;
  padding: 2rem;
  flex-wrap: wrap;
}

.about-title {
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 좌측 정렬 */
}

.about-title h1 {
  font-size: 3.5rem;
  margin: 0;          /* 기본 마진 제거 */
  padding: 0;         /* 기본 패딩 제거 */
  font-weight: bold;
  letter-spacing: 3px;
  width: max-content; /* 텍스트 길이만큼 너비 */
}



.underline {
  margin-bottom: -10px;
  width: 250%;
  height: 2px;
  background-color: #9a9a9a;
  border-radius: 299px;
}

.about-title h2 {
  font-size: 1.5rem;
  margin: 0;          /* 기본 마진 제거 */
  padding: 0;         /* 기본 패딩 제거 */
  letter-spacing: 1px;
  width: max-content; /* 텍스트 길이만큼 너비 */
  font-family: 'roboto light';
  align-items: flex-start
  
}


.about-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.about-description p {
  margin: 0 0 1rem 0;
  line-height: 1.6;
  font-size: 1.7rem;
  color: #222;
}

.cv-link {
  margin-top: 1rem;   /* 위 여백 */
  margin-bottom: 1.5rem; /* 선과 간격 */
  align-self: flex-end;  /* 필요에 따라 end 또는 center */
  font-weight: 800;
  color: #0800ff;
  text-decoration: underline;
  font-size: 1rem;
}


.profile-photo {
  width: 350px;
  height: 350px;
  border-radius: 10%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  flex-shrink: 0;
}
.about-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 300px;
}

.about-text {
    font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.about-dis {
margin-bottom: -3rem;
  min-width: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 15px;
  margin-left: 30px;
} 
.about-dis p {
font-size: 1.3rem;
  margin: 0;          
  padding: 0;         
  font-weight: lighter;
  letter-spacing: 0px;
  width: max-content;
}

.about-skills{
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 80px;
    gap: 1rem;
    font-size: 60px;
    font-family: 'roboto';
    margin-left: 30px;
    margin-bottom: 30px;
    margin-top: 0; /* 위에서 margin 주었으므로 여기선 제거 가능 */
}


/* 저에 대해

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: auto;
  overflow: hidden;
  border-radius: 10%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 여기서는 포폴 */

body {
  font-family: sans-serif;
  background: #f7f7f7;
}

header.blur-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  z-index: 10;
  border-bottom: 1px solid #ddd;
}

.project-tag{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shipped {
  background-color: #1ed760;
  color: white;
}

.portfolio-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1rem;
  max-width: 1200px;
  margin: auto;
}

.card {
background: rgba(255, 255, 255, 0);
margin-bottom: 2rem;
width: auto;
height: 20px;;
border-radius: 16px;
overflow: hidden;
cursor: pointer;
transition: transform 0.3s ease, box-shadow 0.3s ease;
display: flex;
flex-direction: column;
}

.card:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 32px rgba(0,0,0,0.1);
}
.card-img, .card img {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
    }


.card-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
}

.large-card {
  grid-column: span 2;
  height: auto;
}

.card-info {
margin-top: -3rcap;
  grid-column: span 2;
  height: auto;
}

.half-card {
  height: auto;
}

.halfcardinfo{
  height: auto;
}

.full-card {
  grid-column: span 2;
  height: auto;
}
    .info {
    padding: 1rem;
    background: white;
    color: black;
    font-size: 0.9rem;
    line-height: 1.4;
    } 

.tag {
    
    padding: 5px 10px;
    background-color: #ffffffaf;
    font-size: 0.8rem;
    color: #37383a;
    border: 2px solid rgba(189, 189, 189, 0.475);
    box-shadow: 0.1px 1px 5px rgba(0, 0, 0, 0.077);
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 10px;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.more-button-container {
  display: contents;
  justify-content: flex-end; /* 오른쪽 정렬 */
  margin-top: 1rem;
  margin-right: 1rem;
}

.more-button {
  font-size: 1rem;
  color: #0000ff;
  text-decoration: none;
  border: 1px solid #0000ff;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.more-button:hover {
  background-color: #0000ff;
  color: white;
}
/* .shipped {
  background-color: #1ed760;
  color: white;
} */

/* .progress {
background-color: #ff6f00;
color: white;
} */
.portfolio-item {
display: flex;
flex-direction: column;
cursor: pointer;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
transform: scale(1.02);
}

.image-wrapper {
border-radius: 16px;
overflow: hidden;
box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

/* .portfolio-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.portfolio-content {
    padding: 1.5rem;
    opacity: 10;
}

.portfolio-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.portfolio-description {
    color: #212121;
    line-height: 1.6;
} */
/* 여기 경험 버튼 수정 */
/* .experience-card {
      flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

  border: 1px solid #ddd;
  border-radius: 16px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  cursor: pointer;
}
.experience-header {
  padding: 1rem;
  font-weight: bold;
  background-color: #f0f0f0;
  transition: background-color 0.3s;
}
.experience-card:hover .experience-header {
  background-color: #e0e0ff;
} */

/* .experience-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.experience-card.open .experience-body {
  max-height: 500px;
  padding: 1rem;
} */

/* .experience-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
} */
.contact{
    color:#000000
}
/* .experience-detail.show {
  max-height: 1000px; 
} */
.contact-info {
    
    display: flex;
    justify-content: left;
    gap: 1rem;
    flex-wrap: wrap;
    color: #000000;
}

.contact-item {
    
    text-align: center;
    flex: 1;
    min-width: 200px;
}
.more-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4rem 0; /* 위아래 간격 */
  width: 100%;
}

.more-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;  /* 크기 줄이기 */
  height: 200px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1rem;
  font-weight: light;
  font-family: 'roboto light';
  color: white;
  background: radial-gradient(circle, #2b00ff 0%, rgba(43, 0, 255, 0) 70%);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.more-button:hover {
  transform: scale(1.05);
}
.contact-icon {
    
    font-size: 2rem;
    margin-bottom: 1rem;
}

.icons{
    size: 10px;
}
.get-in-touch-section {
  background-color: white;
  padding: 4rem 2rem;
}
footer {
    background: #98989a;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    color: #0000ff;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
    h1 {
    text-align: left;
    padding-left: 1rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    }
.right-link{
    color:#000000
}
body.dark-mode .about-description p {
  color: #fff !important;
}

body.dark-mode .experience-toggle {
  color: #fff !important;
}
body.dark-mode .experience-date {
  color: #0033ff !important;
}
body.dark-mode .experience-title {
  color: #ffffff !important;
}
body.dark-mode .right-link {
  color: #ffffff !important;
}


    
@media (max-width: 10000px) {
    .about-content {
        font-family:'roboto regular';
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info {
        font-family:'roboto regular';
        flex-direction: column;
        gap: 2rem;
    }
    
    .section-title {
        font-family:'roboto regular';
        font-size: 2rem;
    }
}
