/* 메인 컬러 #1D4ED8 */
/* 톤다운 컬러 #FFFFFF */
@media(min-width:2000px){
    html{
        width: 1920px;
        margin: 0 auto;
    }
}
html{
    font-family: 'Pretendard',sans-serif;
    font-size: var(--basic-font-pc);
    scroll-behavior: smooth;
}
body{
    user-select: none;
}
/* 가로 스크롤 확인용 */
/* * {
    outline: 1px solid red !important;
} */

html, body {
    width: 100%;
    /* overflow-x: hidden; */
    position: relative;
}

.swiper-slide {
    will-change: transform;
    transform: translateZ(0); 
}

/* 헤더 */
/* --- 공통 스타일 --- */
#main-header {
    position: fixed;
    top: 1rem;
    left: 2rem;
    transform: translateX(-1rem);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 500px;
    transition: transform 0.4s ease, opacity 0.4s ease;
    padding: 0.2rem 2rem;
}


.menu-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}
.menu-list>li{
    padding: 0.2rem 1rem;
    border-radius: 50px;
    transition: all 0.6s ease 0s;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.menu-list > li:not(.active):hover {
    background-color: #1D4ED8;
    color: #fff;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 900;
  color: #1D4ED8;
  margin-right: 2rem;
}



.resume-link {
  background: #1D4ED8;
  color: #ffffff !important;
  padding: 6px 15px;
  border-radius: 20px;
}

/* 햄버거 버튼 (기본 숨김) */
.menu-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 1.2rem;
  height: 1rem;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle-btn span {
  width: 100%;
  height: 3px;
  background: #1D4ED8;
  border-radius: 2px;
}

.menu-toggle-btn {
    position: relative; 
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px; /* 버튼의 전체 높이 */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0; /* 패딩 오차 방지 */
}

.menu-toggle-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: #1D4ED8;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center; 
}

.menu-toggle-btn.is-active span:nth-child(1) {
    /* 18px 높이의 절반인 9px 지점으로 이동 후 회전 (선 두께 고려) */
    transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle-btn.is-active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle-btn.is-active span:nth-child(3) {
    /* 위로 7.5px 올라와서 반대로 회전 */
    transform: translateY(-7.5px) rotate(-45deg);
}
/* 버튼 활성화 스타일 */
.menu-list > li.active {
    background-color: #1D4ED8; 
}

.menu-list > li.active a {
    color: #fff !important; /* 글자색 흰색 고정 */
}




#vanta-canvas {
    width: 100%;
    height: 100vh;
    min-height: 700px;
    color: #000;
    margin-bottom: var(--space-3x-large);
    position: fixed !important;
    left: 0;
    top: 0;
    z-index: -1;
}

#vanta-canvas canvas{
    width:100%;
    height:100%;
}
.intro {
    background: #fff;
    margin-top: 100vh;
    padding: 8rem 0;
}
.common-frame{
    width: auto;
    margin: 0 3rem;
    height: 100%;
}
#vanta-canvas>.common-frame{
    height: 100%;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-txt2 {
    font-size: 7rem;
    color: #1D4ED8;
    text-shadow: 2px 2px 30px rgb(193 224 239 / 50%);
    text-align: center;
}
.hero-txt1{
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    width: 100%;
}
.hero-txt3{
    margin-top: 1rem;
    line-height: 1.4;
}
.hero-txt4{
    line-height: 1.4;
}
.hero-txt-smart{
    display: none;
}
.hero-txt1 span{
    font-weight: 500;
}
.intro .common-frame{
    display: flex;
    gap: 5vw;
    line-height: 1;
    align-items: flex-start;
}
.intro .common-frame figure{
    aspect-ratio: 738 / 875;
    width: 100%;
    height: 100%;
    line-height: 0;
    max-height: 738px;
    max-width: 738px;
    flex: 5;
}
.intro-txt{
    flex: 6;
}
.intro-txt p{
    line-height: 1.4;
}
.intro .common-frame figure img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}
.intro-txt p.noto-serif-kr{
    font-size: 2.5rem;
}
.intro-txt h1{
    font-size: 10vw;
    color: #1D4ED8;
    margin-bottom: var(--space-normal);
}
.intro-txt span p{
    font-weight: var(--fw-bold);
    font-size: 1.5rem;
    margin-bottom: var(--space-x-large);
}
.intro-txt span+p{
    margin-bottom: var(--space-large);
}
.intro-info dt{
    font-weight: var(--fw-bold);
}
.intro-info {
    display: grid;
    grid-template-columns: 2fr 4fr;
    margin-top: var(--space-x-large);
    gap: 1rem;
}
.intro-txt h1.btt.on {
    font-size: 10vw; 
    word-break: break-all; 
}
.hero-txt > div, .hero-txt-smart div {
    transition: filter 0.1s ease-out, opacity 0.1s ease-out, transform 0.1s ease-out;
    will-change: filter, opacity, transform;
}




.about-wrapper {
    position: relative;
    z-index: 3;
    padding-top: var(--space-3x-large);
    padding-bottom:8rem;
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 2rem;
    background-color: rgba(255, 255, 255, 0.7);
    box-sizing: border-box;
    padding: 2rem;
    border-radius: 1rem;
}
.about-wrapper h1{
    color: #1D4ED8;
    font-size: 7.2vw;
    text-align: center;
}
.about-wrapper h1+p{
    text-align: center;
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: var(--space-3x-large);
}
.about-wrapper h2{
    margin-bottom: 2rem;
    font-size: 1.5rem;
}
.edu>li {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--space-2x-large);
    margin-bottom: var(--space-normal);
}

.about-grid div:nth-of-type(2){
    grid-row: span 2;
}
.certi-grid li {
    display: grid;
    grid-template-columns: 5rem 1fr max-content;
    gap: 2rem; 
    margin-bottom: var(--space-normal); 
    align-items: center; 
}

.certi-grid li p{
    font-weight: var(--fw-bold);
}

.certi-grid li p {
    text-align: left; 
    word-break: keep-all; 
}

.certi-grid li span:last-child {
    text-align: right;
}
.exper li {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--space-2x-large);
    margin-bottom: var(--space-normal);
}

.skill{
    margin-top: var(--space-3x-large);
}
.skill h3+p {
    text-align: center;
    line-height: 1.4;
    word-break: break-all;
    margin-bottom: 0.5rem;
}
.skill h3+p+p{
    margin-bottom: 3rem;
    text-align: center;
}
.skill h3{
    color: #1D4ED8;
    text-shadow: 2px 2px 30px rgb(193 224 239 / 50%);
    font-size: 3rem;
    text-align: center;
    margin-bottom: var(--space-x-large);
}
.skill-grid{
    color: #111827;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2rem 1rem;
}
.skill-grid li p{
    color: #000;
}
.skill-grid li{
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 1rem;
    padding: var(--space-large) var(--space-normal);
    box-sizing: border-box;
    transition: all 0.5s ease 0s;
}
.skill-grid li:hover{
    box-shadow: 5px 5px 50px 5px rgba(0, 0, 0, 0.3);
    transform: translateY(-0.4rem);
}
.skill-grid li:hover h4{
    color: #1D4ED8;
}
.skill-grid li h4{
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}
.skill-grid li h4+p{
    line-height: 1.4;
}

.mo-cloud-section { display: none !important; }
.pc-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1600px;
    margin: 100px auto;
    gap: 60px 35px;
}
.pc-container .popup-item { position: relative; background: #fff; border-radius: 40px; overflow: hidden; cursor: pointer; box-shadow: 0 10px 40px rgba(0,0,0,0.1); transition: transform 0.3s ease-out; }

/* 4-5-4 배치 너비 */
.pc-container .popup-item:nth-child(-n+4), .pc-container .popup-item:nth-child(n+10) { width: calc(25% - 30px); }
.pc-container .popup-item:nth-child(n+5):nth-child(-n+9) { width: calc(20% - 30px); }

/* 높낮이 */
.pc-container .popup-item:nth-child(odd) { transform: translateY(25px); }
.pc-container .popup-item:nth-child(even) { transform: translateY(-25px); }
.pc-container .popup-item:nth-child(3n) { transform: translateY(40px); }

.pc-container .popup-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 호버 오버레이 */
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.75); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.pc-container .popup-item:hover .overlay { opacity: 1; }

.text { color: #fff; text-align: center; padding: 20px; }
.text h3 {
    margin: 0 0 30px;
    font-size: 1.1rem;
}
.view-more {
    display: inline-block;
    padding: 5px 22px;
    border: 1px solid #fff;
    border-radius: 50px;
    font-size: 0.8rem;
    transition: 0.3s;
}
.view-more:hover { background: #fff; color: #000; }
.pc-container .hidden-desc { display: none; }

.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 9999; justify-content: center; align-items: center; }

/* pc모달크기 */
.modal-content { 
    background: #fff; 
    width: 65%;          
    max-width: 850px;    
    border-radius: 2rem; 
    display: flex; 
    overflow: hidden; 
    position: relative; 
    max-height: 85vh;    
}

.modal-body { display: flex; width: 100%; }

.modal-img-wrap { width: 50%; height: auto; display: flex; align-items: center; justify-content: center; background: #f5f5f5; }
#modalImg { width: 100%; height: 100%; object-fit: cover; } /* PC는 꽉 차게 */

.modal-text { width: 50%; padding: 40px; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; }
#modalTitle {
    font-size: 1.4rem;
    color: #111827;
    margin: 0 0 15px;
    font-weight: 700;
    line-height: 1.2;
}
#modalDesc {
    font-size: 0.8rem;
    line-height: 1.4;
    color: #444;
    margin: 0;
    word-break: keep-all;
}
.close-btn { position: absolute; top: 20px; right: 25px; font-size: 35px; cursor: pointer; z-index: 10; color: #000; }

.text-oval-bg {
    position: relative; 
    display: inline-block; 
    z-index: 1; 
    padding: 0 10px; 
}

.text-oval-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%);
    width: 110%;
    height: 110%;
}
.center-container {
    display: flex;             
    justify-content: center;   
    align-items: center;       
    margin-bottom: 3rem;
}
.center-container+p {
    text-align: center;
    word-break: keep-all;
}
.center-container+p +p{
    margin-top: 0.3rem;
    text-align: center;
    word-break: keep-all;
}
.design-wrapper{
    background-color: rgba(255, 255, 255, 0.5);
    padding-top: 7rem;
    padding-bottom: 7rem;
}
.design-wrapper .common-frame h1{
    font-size: 5rem;
    text-align: center;
    color: #1A2BFE;
    line-height: 1.2;
    margin-bottom: 3rem;
}
.design-wrapper .common-frame h1+p{
    text-align: center;
}
.design-wrapper .common-frame h4.text-oval-bg {
    text-align: center;
    font-size: 2rem;
    color: #1D4ED8;
}
.click-guide { display: none; }
.design-wrapper.none-padding{
    padding-bottom: 0;
}







/* 포스터 */
#section-poster {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
    position: relative;
}

.poster-swiper-outer {
    width: 100%;
    padding: 80px 0;
    margin-top: 3rem;
}

.posterSwiper {
    width: 100%;
    /* 지그재그 보여주기 위함 */
    overflow: visible !important;
}

.posterSwiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

/* 카드 디자인 */
.poster-card {
    background: transparent !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%; 
}

.card-img-box {
    width: 100%; 
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-text-box {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: left;
    box-sizing: border-box; 
}

.card-text-box h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111827;
}

.card-text-box p {
    font-size: 0.75rem;
    line-height: 1.5;
    color: #666;
    word-break: keep-all;
}

.posterSwiper .swiper-slide {
    width: 18rem !important; 
    box-sizing: border-box; 
}

/* 지그재그 위치 조정 */
.posterSwiper .swiper-slide.up-slide { transform: translateY(-40px); }
.posterSwiper .swiper-slide.down-slide { transform: translateY(40px); }

.poster-bg {
    background-color: #fbfeff;
    position: relative; 
    overflow: hidden; 
}

.poster-bg::before {
    content: 'POSTER';
    position: absolute;
    top: 87%;
    left: 58%;
    transform: translate(-50%, -50%);
    font-size: 20vw;
    font-weight: 900;
    color: #E11D48;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.poster-bg .common-frame {
    position: relative;
    z-index: 1;
}








/* 배너 */
.banner-bg {
    position: relative;
}

.banner-bg::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    
    background:linear-gradient(rgba(0, 162, 255, 0.2), rgba(0, 162, 255, 0.2)),
    url(../img/pattern-check.png) repeat 0 0;
    opacity: 0.2; 
    
    z-index: 0; 
    pointer-events: none; 
}

.banner-bg .common-frame {
    position: relative;
    z-index: 1; 
}
#section-banner {
    width: 100%;
    padding: 80px 0;
    overflow: hidden; 
}

.bannerSwiper {
    width: 100%;
    padding-bottom: 3rem; 
}

/* --- PC 레이아웃 (1025px 이상) --- */
.banner-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    margin-top: 3rem;
}
/* 자동교차 */
@media (min-width: 1441px) {
    .swiper-slide.reverse-layout .banner-item {
        flex-direction: row-reverse !important;
    }
}

.banner-img-box {
    flex: 4;
    width: 100%;
    aspect-ratio: 1920 / 700;
    overflow: hidden;
}

.banner-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

.banner-text-box {
    flex: 1;
    padding: 0 1rem;
}

.banner-text-box .num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #1D4ED8;
    margin-bottom: 1.5rem;
}

.banner-text-box h3 {
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 1rem;
    line-height: 1.3;
    word-break: keep-all;
}

.banner-text-box p {
    font-size: 1rem;
    line-height: 1.4;
    color: #555;
    word-break: keep-all;
}
/* --- 페이지네이션 (도트) --- */
.bannerSwiper .swiper-pagination {
    bottom: 10px !important;
}

.bannerSwiper .swiper-pagination-bullet {
    transition: all 0.3s;
}

.bannerSwiper .swiper-pagination-bullet-active {
    background: #2A399C !important;
    width: 30px;
    border-radius: 5px;
}



/* 상세페이지 */

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 2rem;
    margin-top: 3rem;
}

.detail-item {
    cursor: pointer;
    text-align: center;
    width: 100%;
    max-width: 400px; 
    margin: 0 auto;   
}

.detail-thumb {
    position: relative; 
    width: 100%;
    aspect-ratio: 4 / 6;
    overflow: hidden;
    border-radius: 16px;
    background-color: #f5f5f5;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: top; 
    transition: transform 0.4s ease;
}

.detail-item:hover .detail-thumb img {
    transform: scale(1.08);
}

/* PC 호버 오버레이 (전체보기) */
.detail-hover-overlay {
    position: absolute;
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
    line-height: 1.6;
}

.detail-item:hover .detail-hover-overlay { opacity: 1; }

.detail-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222;
    margin-top: 1.5rem;
    word-break: keep-all;
    transition: color 0.3s;
}
.detail-bg.design-wrapper{
    background-color: inherit;
}

.detail-item:hover .detail-title { color: #1D4ED8; }

/* 모바일 전용 텍스트 (자세히보기) */
.detail-more-text {
    display: none; 
    font-size: 0.95rem;
    color: #888;
    margin-top: 8px;
    font-weight: 500;
}

.detail-modal-wrap {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
}

.detail-modal-bg {
    position: absolute;
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75);
}

.detail-modal-content {
    position: relative;
    z-index: 100000;
    width: 90%;
    max-width: 1300px;
    height: 85vh;
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
}

.detail-modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    font-size: 2rem;
    font-weight: 300;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.detail-modal-scroll-area {
    flex: 10;
    height: 100%;
    overflow-y: auto;
    background: #f4f4f4;
}

.detail-modal-scroll-area img {
    width: 100%;
    height: auto;
    display: block;
}

.detail-modal-text-box {
    flex: 4;
    height: 100%;
    padding: 4rem 2rem;
    background: #fff;
    border-left: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
}

.detail-modal-text-box h3 {
    font-size: 1.5rem;
    color: #111827;
    margin-bottom: 1.5rem;
    word-break: keep-all;
    font-weight: 700;
}

.detail-modal-text-box p {
    font-size: 1rem;
    color: #555;
    line-height: 1.4;
    word-break: keep-all;
    padding-top: 1.5rem;
    border-top: 1px solid #555;
}



/* 콘택트 */
#section-contact {
    position: relative;
    width: 100%;
    height: 100vh;      
    z-index: 10;        
    
    clip-path: inset(0);   
}

#section-contact .back-video {
    position: fixed;   
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;       
    pointer-events: none; 
}

#section-contact .content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    color: white;         
}
#section-contact .content-box{
    color: #fff;
}
#section-contact .content h1,
#section-contact .content p{
    text-shadow: 0 1px 30px #ffe099;
    letter-spacing: 0.02em;
    word-break: keep-all;
}
#section-contact .content h1{
    font-size: 6vw;
    line-height: 1.2;
    margin-bottom: 2rem;
}
#section-contact .content h1+p{
    margin-bottom: 1rem;
}
#section-contact .content p{
    font-size: 1rem;
}
.contact {
    display: flex;
    flex-wrap: wrap;      
    justify-content: center; 
    gap: 1.5rem;          
    
    width: 90%;           
    max-width: 600px;
    margin: 5rem auto 0;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 1.5rem;
    border-radius: 1rem;
}

.contact {
    display: flex; 
    flex-wrap: wrap;
    
    /* 너비 설정 */
    width: 90%; 
    max-width: 400px; 
    min-width: 0;     
    
    box-sizing: border-box;
    margin: 5rem auto 0;
    padding: 1.5rem;
    
    /* 글자 깨뜨리기 */
    word-break: break-all; 
    overflow-wrap: break-word;
}

/* 내부 텍스트 요소  */
.contact p {
    margin: 0;
    max-width: 100%; 
    overflow: hidden;
    text-shadow: inherit !important;
}


/* 프로젝트 */
#section-project{
    background-color: rgba(255, 255, 255, 0.8);
}
.project-wrapper{
    padding: 6rem 0 0;
    word-break: keep-all;
}
.project-wrapper h1 {
    color: #1D4ED8;
    font-size: 5vw;
    text-align: center;
    margin-bottom: 2rem;
}
.project-wrapper h2{
    font-size: 1.5rem;
    text-align: center;
    font-weight: 700;
    margin-bottom: 1rem;
}
.project-wrapper h2+p{
    text-align: center;
}
.break{
    text-align: center;
    margin: 0 auto;
    margin-top: 3rem;
}
.break h3{
    font-weight: 700;
    margin-bottom: 2rem;
}
.break ul{
    display: flex;
    justify-content: center;
    gap: 1rem;
    width: 50%;
    margin: 0 auto;
}
.break ul li{
    flex: 1;
}
.break ul li h5{
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
    text-transform: capitalize;
}
/* 프로젝트-1 */
.mobile{display: none;}
.pc{display: block;}
.project-content{
    margin-top: 6rem;
    padding: 6rem 0 0;
    width: 100%;
    position: relative;

}
.project-content h3{
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}
.project-content h4{
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 6rem;
}
.project-content h5{
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}
.project-content h5+p{
    text-align: center;
    line-height: 1.4;
}
/* 프로젝트1 스티키 */
.project-sticky{
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    position: sticky;
    left: 0;
    top: 4rem;
    font-weight: 700;
    z-index: 999;
}
.project-sticky a{
    display: block;
    padding: 0.2rem 1.5rem;
    font-size: 0.8rem;
    background-color: rgb(255, 255, 255,0.8);
    border: 1px solid #daddff;
    border-radius: 500px;
    box-shadow:  0 0 10px rgb(0, 0, 0 ,0.15);
    transition: all 0.5s ease 0s;
    
}
.project-sticky a:hover{
    color: #fff;
    background-color: #1A2BFE;
}
.mobile-spacer{
    display: none;
}



@media(max-width: 1440px){
    .hero-txt2{
        font-size: 6rem;
    }
    .intro .common-frame{
        gap: var(--space-normal);
    }
    .intro .common-frame figure{
        flex: 1;
    }
    .intro-txt{
        flex: 1;
    }
    .intro-txt p.noto-serif-kr{
        font-size: 2rem;
    }
    .intro-txt h1{
        font-size: 10vw;
    }
    .certi-grid li {
        grid-template-columns: 1fr max-content;
        gap: 0.5rem 2rem; 
        margin-bottom: var(--space-large);
    }
    .certi-grid li span:nth-of-type(1){
        grid-column: 1/3;
    }
    .edu>li{
        gap: var(--space-large);
    }
    .certi-grid li {
        gap: var(--space-small) var(--space-normal) ; 
    }
    .exper li{
        gap: var(--space-large);
    }


    /* 배너 */
    /* 배너 */
    #section-bannner {
        width: 100%;      
        margin-left: 0;   
        overflow: hidden;
        padding: 2rem 0;
    }

    .banner-item {
        flex-direction: column !important;
        gap: 2rem;
    }

    .banner-img-box {
        flex: none;
        width: 100%; 
        border-radius: 0; 
    }

    .banner-text-box {
        text-align: center; 
        padding: 0 1.5rem;
    }

    .banner-text-box h3 {
        font-size: 2rem;
    }

    /* 헤더 */
    #main-header {
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: calc(100% - 8rem) ;
        max-width: calc(100% - 4rem) ;
        padding: 0.5rem 1.5rem;
        border-radius: 50rem;
    }

    /* 햄버거 버튼 보이게 설정 */
    .menu-toggle-btn {
        display: flex;
    }



    .menu-list > li {
        width: 100%;
        flex: 1;
        text-align: center;
        border-radius: 0;
        padding: 1rem 0;
        transition: background 0.3s;
        display: flex;
        justify-content: center;
        align-items: center;
    }


     

    .menu-list > li:not(.active):hover {
        background-color: transparent; 
        color: #1D4ED8;              
    }

    /* active 상태일 때는 호버해도 스타일이 변하지 않도록 고정 */
    .menu-list > li.active:hover {
        background-color: #1D4ED8 !important; 
        color: #fff !important;              
    }
    #main-header.is-hidden {
        transform: translate(-50%, 0) !important;
        opacity: 1 !important;
    }

    #nav-menu {
        opacity: 0;
        pointer-events: none;
        position: fixed; 
        top: 50vh !important; 
        left: 50% !important; 
        transform: translate(-50%, -50%) !important; 

        height: 70vh !important; 
        width: 85vw;           
        max-width: 400px;      

        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 2.5rem;
        box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
        z-index: 9999;         
        border: 1px solid rgba(255, 255, 255, 0.5);

        overflow-y: auto;      
        overflow-x: hidden;    
        /* 모바일에서 부드러운 스크롤 효과 */
        -webkit-overflow-scrolling: touch; 
        transition: all 0.5s ease 0s;
    }

    /* 메뉴가 열렸을 때 */
    #nav-menu.is-open {
        opacity: 1;
        pointer-events: inherit;
    }

    .menu-list {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: 100%; 
        padding: 2rem 0; 
        margin: 0;
    }
    .menu-list > li a{
        display: flex;
        height: 100%;
        width: 100%;
        min-height: 2rem;
        justify-content: center;
        align-items: center;
    }
    .menu-list > li {
        flex: 1; 
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    #nav-menu::-webkit-scrollbar {
        width: 4px; 
    }
    #nav-menu::-webkit-scrollbar-thumb {
        background: rgba(29, 78, 216, 0.2); 
        border-radius: 10px;
    }

}
@media(max-width: 1024px){
   
    html{
        font-size: var(--basic-font-tab);
    }
    .hero-txt{
        display: none;
    }
    .hero-txt-flex {
        padding-top: 3rem;
        display: flex;
        justify-content: space-between;
    }
    .hero-txt-smart{
        display: flex;
        flex-direction: column;
        height: 100%;
        padding: 2rem 0;
        box-sizing: border-box;
        width: 100%;
        line-height: 1;
    }
    .hero-txt1-smart span{
        font-weight: 500;
    }
    .hero-txt2-smart{
        font-size: 80px;
        line-height: 1.2;
        color: #000;
        text-shadow: 2px 2px 30px rgb(193 224 239 / 50%);
        text-align: center;

        
    }
    .hero-txt-flex2{
        margin: auto 0;
    }
    .hero-txt4-smart{
        margin-top: var(--space-large);
        text-align: center;
    }
    .intro .common-frame{
        gap: var(--space-normal);
    }
    .intro .common-frame figure{
        flex: 1;
    }
    .intro-txt{
        flex: 1;
    }
    .about-grid {
        display: flex;
        gap: 3rem;
        flex-direction: column;
    }


    .pc-cloud-section { display: none !important; }
    .mo-cloud-section { display: block !important; padding: 3rem 0; }
    
    /* 슬라이드 2.3개 노출 */
    .mo-cloud-section .swiper-slide { flex: 0 0 43% !important; width: 43% !important; padding: 0 10px; box-sizing: border-box; }
    .mo-cloud-section .popup-item { width: 100%; aspect-ratio: 1 / 1; border-radius: 25px; overflow: hidden; transform: none !important; }
    .mo-cloud-section .popup-item img { width: 100%; height: 100%; object-fit: cover; }
    .mo-cloud-section .text-data { display: none; }
    .modal-content {
        flex-direction: column;
        width: 40%;
        max-height: 80vh;
    }
    .modal-body { flex-direction: column; }
    
    .modal-img-wrap { 
        width: 100%; 
        height: auto; 
        aspect-ratio: 1 / 1; 
        background: #fff;   
    }
    #modalImg { 
        width: 100%; 
        height: 100%; 
        object-fit: contain; 
    }
    
    .modal-text { width: 100%; padding: 1.5rem; justify-content: flex-start; overflow-y: auto; }
    #modalTitle {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    #modalDesc { font-size: 0.8rem; }
    .close-btn { top: 1rem; right: 1rem; font-size: 30px; }

    .design-wrapper .common-frame h1{
        font-size: 4rem;
    }
    .design-wrapper .common-frame h4.text-oval-bg {
        font-size: 1.5rem;
    }
    .about-wrapper {
        padding-bottom:6rem;
    }
    /* 인디케이터 전체 설정 */
    .click-guide {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 2rem; 
        color: #1D4ED8;  
        font-weight: 700;
        gap: 0.5rem;
    }

    /* 화살표 애니메이션 */
    .click-guide .arrow {
        font-size: 1.5rem;
        animation: bounce 1s infinite; 
    }

    .click-guide .txt {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    /* 통통 튀는 애니메이션 효과 */
    @keyframes bounce {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
    }


    .posterSwiper .swiper-wrapper {
        transition-timing-function: ease !important;
    }
    .posterSwiper .swiper-slide {
        transform: none !important;
        width: calc(100% / 2.3 - 20px) !important;
    }
    .card-text-box {
        text-align: center !important;
        min-height: 10rem; 
        display: flex;
        flex-direction: column;
        justify-content: center; 
    }

    .card-text-box h3 {
        margin-bottom: 10px;
    }





}
@media(max-width: 768px){
    .common-frame{
        margin: 0 1rem;
    }
    html{
        font-size: var(--basic-font-mobile);
    }

    .hero-txt-flex{
        flex-direction: column;
        gap: var(--space-small);
    }
    .hero-txt2-smart{
        font-size: 4rem;
    }
    .intro .common-frame{
        flex-direction: column-reverse;
        gap: var(--space-x-large);
        justify-content: flex-end;
    }
    .intro .common-frame figure{
        aspect-ratio: 1/1;
        position: inherit;
    }
    .intro-txt{
        width: 100%;
        text-align: center;
    }
    .intro-txt p.noto-serif-kr{
        font-size: 1.5rem;
    }
    .intro-txt dt{
        text-align: start;
    }
    .intro-txt dd{
        text-align: end;
    }
    .skill-grid{
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .mo-cloud-section .swiper-slide { flex: 0 0 75% !important; width: 75% !important; }
    .modal-content {
        width: 60%;
    }

    .poster-bg::before {
        top: 90%;
        left: 55%;
        font-size: 22vw;
    }

    .posterSwiper .swiper-slide {
        width: 75% !important; 
    }

    /* 지그재그 높이 조절 */
    .posterSwiper .swiper-slide.up-slide { transform: translateY(-20px); }
    .posterSwiper .swiper-slide.down-slide { transform: translateY(20px); }
    
    .card-text-box {
        padding: 10px;
        margin-top: 15px;
        text-align: center !important;
    }

    .card-img-box, .card-text-box {
        width: 100% !important;
    }


    /* 상세페이지 */
    .detail-grid { grid-template-columns: 1fr; }
    .detail-hover-overlay { display: none !important; }
    .detail-more-text { display: block; }
    
    .detail-modal-content { flex-direction: column; }
    .detail-modal-scroll-area { flex: 1; }
    .detail-modal-text-box {
        flex: none;
        height: auto;
        padding: 1.2rem;
        border-left: none;
        border-top: 1px solid #ddd; 
        justify-content: flex-start;
    }
    .detail-modal-text-box h3 { 
        font-size: 1.6rem; 
        margin-bottom: 1rem; 
        text-align: center;
    }
    .detail-modal-text-box p { font-size: 1rem; }
    
    .menu-toggle-btn {
        width: 22px;    
        height: 14px;   
        display: flex !important;
    }

    .menu-toggle-btn span {
        height: 2px;    
    }

    .menu-toggle-btn.is-active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-toggle-btn.is-active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-5px);
    }

    .menu-toggle-btn.is-active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }


    .menu-toggle-btn {
        width: 1.25rem;   
        height: 0.8rem;   
        display: flex !important;
        gap: 0;           
    }

    .menu-toggle-btn span {
        height: 0.125rem; 
    }

    .menu-toggle-btn.is-active span:nth-child(1) {
        transform: translateY(0.33rem) rotate(45deg);
    }

    .menu-toggle-btn.is-active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-0.3rem);
    }

    .menu-toggle-btn.is-active span:nth-child(3) {
        transform: translateY(-0.33rem) rotate(-45deg);
    }

    #main-header {
        top: 0.8rem;
        padding: 0.6rem 1.2rem;
        width: calc(100% - 4rem);
    }
    .skill h3 {
        font-size: 6vw;
    }
    .project-wrapper h1 {
        font-size: 6vw;
    }
    .mobile{display: block;}
    .pc{display: none;}

    .break ul{
        width: auto;
    }
    .hero-txt-smart{
        line-height: 1.4;
    }
    #section-home br{
        display: none;
    }
    .design-wrapper.none-padding .common-frame h1+p{
        line-height: 1.4;
    }
    .skill-grid li h4 {
        margin-bottom: 2rem;
    }
    .mobile-spacer{
        display: inherit;
        height: 1rem;
    }


}

/* 280화면 대응 */
@media(max-width:400px){
    .intro-txt h1.btt.on {
        font-size: 3rem; 
        line-height: 1.2;
    }
    .intro-txt h1 {
        font-size: 3rem;
    }
    .skill-grid li h4 {
        font-size: 1.5rem;
    }
    .about-wrapper h1 {
        font-size: 8vw;
    }
    .certi-grid li p {
        word-break: break-all;
    }
    .certi-grid li {
        align-items: start;
    }
    .banner-text-box h3 {
        font-size: 1.2rem;
    }
    .detail-modal-text-box h3 {
        font-size: 1.2rem;
    }
    .detail-modal-text-box {
        max-height: 25vh;
        overflow: auto;
    }
    .modal-text {
        max-height: 20vh;
    }
    .certi-grid li {
        display: block;
        text-align: center;
        margin-bottom: 3rem;
    }
    .certi-grid li p {
        text-align: center;
        margin: 1rem 0 0.2rem ;
    }
    .exper li {
        display: block;
        text-align: center;
    }
    .exper li p{
        margin-top: 1rem;
    }
        
    .design-wrapper .common-frame h1 {
        font-size: 8vw;
    }
    .exper li {
        margin-bottom: 2rem;
    }
    .edu>li {
        display: block;
        margin-bottom: 2rem;
        text-align: center;
    }
    .edu>li p{
        margin-top: 1rem;
    }
    .about-wrapper h2 {
        text-align: center;
    }
    .project-content h3 {
        font-size: 2rem;
    }
    .project-content h4 {
        font-size: 1.2rem;
    }
    .project-sticky {
        gap: 0.5rem;
    }
    .project-sticky a {
        padding: 0.2rem 1rem;
        font-size: 0.7rem;
    }
    .modal-content {
        width: auto;
        margin: 0 1rem;
    }

}

#smoke-cursor-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    filter: blur(20px) contrast(1.2); 
}
