/* 스크롤 디자인 */
/* Firefox */
html {scrollbar-width: 10px;;scrollbar-color: #637627 #222;}
/* Opera */
html::-o-scrollbar {width: 10px;}
html::-o-scrollbar-thumb {background-color: #637627;border-radius: 5px;}
/* Chrome, Safari, Edge 등 웹킷 기반 브라우저 */
::-webkit-scrollbar {width: 10px;}
::-webkit-scrollbar-track {box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);}
::-webkit-scrollbar-thumb {background-color: #637627;border-radius: 5px;}
/* 모바일 기준 w440 */
html {scroll-behavior:smooth;}/* 스크롤 애니메이션 효과 */
body {background-color: #222;}
#wrap {
    /* width:440px; */ /* 디자인 기준 크기(iphone 17promax) */
    min-width:320px; /* 최소 제한 너비(고정) */
    /* max-width:440px; */ /* 최대 제한 너비(디자인에 따라 다름) */
    box-shadow:0 10px 10px rgba(0,0,0,0.3);
    background-color: #fff;
    margin:0 auto;
    /* overflow-x:hidden; */ /* x축 나간요소와 가로스크롤 숨기기 */
    /* height:100vh; */
}
#wrap .info,
#wrap .project_wrap .project {
    max-width:1400px; margin:0 auto;
}
/* =========================================================================1. intro */
#wrap .intro {
    height:100vh;
    background:linear-gradient(155deg, #EDFFB3, #637627);
    display:flex; flex-flow:row nowrap;
    justify-content:center; align-items:center;
}
#wrap .intro h1 {}
#wrap .intro h1 span {
    display:block; text-align:center;
    color: #fff; 
}
#wrap .intro h1 span:nth-child(1),
#wrap .intro h1 span:nth-child(2) {font-family:'NanumSquareRound'; line-height: 1.3;}
#wrap .intro h1 span:nth-child(1) {font-size: 1.25rem;}
#wrap .intro h1 span:nth-child(2) {font-size: 1.5rem; margin-bottom:10px;}
#wrap .intro h1 .name {font-size:2.5rem; font-weight:700;}
/* =========================================================================2. info */
#wrap .info .profile {
    height:100vh; display:flex;
    flex-flow:column nowrap; justify-content:center;
    align-items:center;
}
#wrap .info .profile .photo {
    width:196px; height:220px; border-radius:10px;
    background-color: aqua;
}
#wrap .info .profile .photo img {width:100%;}
#wrap .info .profile .me {
    display:flex; flex-flow:row wrap;
    justify-content:space-around;
    padding:20px 0;
}
#wrap .info .profile .me li {
    font-size:0.88rem;
    width:100%; text-align:center;
    margin-bottom:10px;
}
#wrap .info .profile .me li:nth-child(1) {text-align:right; width:40%;}
#wrap .info .profile .me li:nth-child(2) {text-align:left; width:45%;}
#wrap .info .profile .me li:last-child {margin-bottom:0;}
#wrap .info .profile .me li a {}
#wrap .info .profile h2 {font-weight:600; font-size:1.25rem; margin-bottom:24px;}
#wrap .info .profile .skill_list {
    display:flex; flex-flow:row wrap;
    justify-content:center; gap:12px;
    padding:0 30px;
}
#wrap .info .profile .skill_list p {
    width:calc(100% / 6); margin-bottom:12px;
    max-width:60px;
}
#wrap .info .profile .skill_list p img {width:100%}
#wrap .info .details {display:none;}
#wrap .info .details dl {margin:0 0 20px;}
#wrap .info .details dl dt {
    font-size:1.25rem; font-weight:500; line-height:1.3;
}
#wrap .info .details dl dd::before {
    content:''; display:block; background:#000;
    position:absolute; left:-10px; top:50%; transform:translateY(-50%);
    width:5px; height:5px; border-radius:10px;
}
#wrap .info .details dl dd {line-height:2; position:relative;}
/* =========================================================================3. project */
#wrap .project_wrap {}
#wrap .project_wrap h1 {font-size: 1.25rem; text-align:center;}
/* =========================================================================3. 공통 프로텍트 선택자 */
#wrap .project_wrap .project {
    margin:30px auto 130px; width:calc(100% - 30px);
}
#wrap .project_wrap .project .title_thum h2 {
    font-weight:600; font-size:1.25rem; margin-bottom:10px;
}
#wrap .project_wrap .project .title_thum h2 span {font-weight:700;}
#wrap .project_wrap .project .title_thum .mockup {
    overflow:hidden; height:350px;
    position: relative;
}
#wrap .project_wrap .project .title_thum .mockup img {
    position:absolute; left:50%; top:50%; transform:translate(-50%, -50%);
    height:100%;
}
#wrap .project_wrap .project .details .project_info {
    padding:30px 0;
}
#wrap .project_wrap .project .details .project_info li:before {
    content:''; display:block;
    width:4px; height:4px; margin-right:10px;
    background:#222; border-radius:50%;
    position:absolute; left:-10px; top:50%; transform:translateY(-50%);
}
/* #wrap .project_wrap .project .project_info li:nth-child(3)::before {
    top:20%;
} 줄바꿈으로 점(before)의 위치가 바뀌었을때 조절해줄 수 있는 태그 */
#wrap .project_wrap .project .details .project_info li {
    font-size:0.88rem; line-height:1.7; text-align:left;
    position:relative; margin-left:10px;
}
#wrap .project_wrap .project .details .plan {
    font-size:0.88rem; line-height:1.7; margin-bottom:30px; width:370px;
}
#wrap .project_wrap .project .details .link {
    display:flex; flex-flow:row nowrap;
    justify-content:center; gap:8px;
}
#wrap .project_wrap .project .details .link a {
    padding:10px 20px; border-radius:5px;
    font-weight:600;
}
#wrap .project_wrap .project .details .link .proposal {
    background-color:#637627;
    color:#fff; 
}
#wrap .project_wrap .project .details .link .proposal:hover {
    background-color:#222;
    color:#fff; transition:0.5s;
}
#wrap .project_wrap .project .details .link .prototype {
    background-color:#C5DF6D;
    color:#637627;
}
#wrap .project_wrap .project .details .link .prototype:hover {
    background-color:#222;
    color:#fff; transition:0.5s;
}
/* =========================================================================3. 개별 프로텍트 선택자 */
#wrap .project_wrap .project1 {}
#wrap .project_wrap .project1 .title_thum h2 {}
#wrap .project_wrap .project1 .title_thum h2 span {}
#wrap .project_wrap .project1 .title_thum .mockup {}
#wrap .project_wrap .project1 .title_thum .mockup img {}
#wrap .project_wrap .project1 .details .info {}
#wrap .project_wrap .project1 .details .info li {}
#wrap .project_wrap .project1 .details .plan {}
#wrap .project_wrap .project1 .details .link {}
#wrap .project_wrap .project1 .details .link a {}
#wrap .project_wrap .project1 .details .link .proposal {}
#wrap .project_wrap .project1 .details .link .prototype {}
/* =========================================================================4. 그래픽디자인 프로젝트 선택자 */
#wrap .project_wrap h1 {margin-bottom:15px;}
/* #wrap .project_wrap h1+p::before {} */
#wrap .project_wrap h1+p {
    text-align:center; font-size:0.88rem; font-weight:300;
    margin-bottom:30px;
}
#wrap .project_wrap .graphic_wrap {
    /* padding:0 15px; */ overflow:hidden;
    width:calc(100% - 30px); margin:0 auto;
}
#wrap .project_wrap .graphic_wrap .graphic_container {
    display:flex; gap:20px; flex-flow:row nowrap;
    width:max-content;
}
#wrap .project_wrap .graphic_wrap .graphic_container a:hover {
    animation:move 0.5s linear alternate infinite;
}
@keyframes move {
    0% {transform:rotate(-2deg);}
    100% {transform:rotate(2deg);}
}
#wrap .project_wrap .graphic_wrap .graphic_container a {
    width:123px; height:200px; background-color:#eee;
    overflow:hidden;
}
#wrap .project_wrap .graphic_wrap .graphic_container a img {width:100%;}
/* =========================================================================4-2. (위) 그래픽 이미지 클릭 시 실행되는 팝업 */
#wrap .project_wrap .graphic_popup_bg {
    display:none; /* 초기 숨기기 */
    position:fixed; left:0; top:0;
    background-color:rgba(0,0,0,0.5);
    width:100%; height:100%;
    /* display:flex; justify-content:center; align-items:center; */
    /* position:relative는 많이 쓰는 것 뿐 position:fixed로 사용 가능 */
}
#wrap .project_wrap .graphic_popup_bg .popup {
    width:80%; height:60vh; background-color:#fff;
    position:absolute; left:50%; top:50%; transform:translate(-50%, -50%);
    /* overflow-x:hidden; */
    overflow-y:auto;
}
#wrap .project_wrap .graphic_popup_bg .popup img {width:100%}