@import url('reset.css');


@font-face {
    font-family: 'Hahmlet-ExtraBold';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2110@1.0/Hahmlet-ExtraBold.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SuncheonB';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2202-2@1.0/SuncheonB.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


html { scroll-behavior: smooth; }
body { overflow: visible; }

header{ position: fixed; top: 0; width: 100vw;  z-index: 100;  background: rgba(139, 139, 139, 0.3);}
header > h1 {float: left; margin: 7px 20px; color: rgb(216, 215, 215); font-size: 1.0rem; font-family: 'SuncheonB';}
header > h1 span { color: rgb(65, 65, 65); }
header > nav { float: left; }
header ul li{ float: left;}
header li a{
    display: inline-block;
    color: rgb(170, 170, 170);
    padding:7px 10px;
    margin: 0;
    font-size: 14px;
}
header a:hover{ color: #000; background: #fff;}

.active a{ background: #fff; color: #000; }


main { scroll-snap-type: y proximity; }

article{
    display: flex;
    min-height: 100vh;
    scroll-snap-align: start;
    font:'Inter';
    color: white;
    flex-direction: column;
    align-items: center;
}


.designed { font-size: 16px; font-family: 'Noto Sans KR', sans-serif; color: rgb(190, 190, 190);
            line-height: 26px; padding-top: 150px;  float: left }

#main{ background:rgb(79, 101, 221); background-size: cover; font-size: 1.5rem; color:#ccc; justify-content: center;}
#main h2 {position: absolute; color: #fff; font-size: 4.5rem;  line-height: 4rem; font-family: 'SuncheonB';}
#main .tagline { position: absolute; top: 62%; color: rgba(255,255,255,0.75); font-size: 1.1rem; font-weight: 300; letter-spacing: 0.02em;}
#main .scroll-cue {
    position: absolute;
    bottom: 60px;
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.15em;
    opacity: 0.6;
    text-decoration: none;
    text-align: center;
}
#main .scroll-cue i { display: block; margin-top: 6px; animation: bounce 1.6s infinite; }
@keyframes bounce { 0%,100%{transform:translateY(0);} 50%{transform:translateY(6px);} }

#profile{ background:rgb(71, 71, 71); background-size: cover; padding: 130px 5% 7%;}
#work{ background:rgb(94, 94, 94); background-size: cover; padding: 130px 5% 7%;}
#design{ background:rgb(60, 64, 82); background-size: cover; padding: 130px 5% 7%;}
#web{ background:rgb(79, 101, 221); background-size: cover; padding: 130px 5% 7%;}
#contact{ background:rgb(40, 40, 40); background-size: cover; padding: 130px 5% 7%; justify-content: center;}

.section-head { width: 100%; max-width: 1200px; margin: 0 auto 40px; }
.eyebrow { font-size: 13px; letter-spacing: 0.2em; color: rgb(151, 166, 255); font-weight: 500; }
.section-head h2 { font-family: 'Hahmlet-ExtraBold'; font-size: 2.4rem; color: #fff; margin-top: 6px; }
.section-note { color: #bbb; font-size: 14px; font-weight: 300; margin-top: 10px; max-width: 640px; }

.main_text {padding-top: 100px; font-size: 20px; font-weight: 300; color: #777;}

.m_title { font-size: 18px; margin: 0; text-align: center; color: #ccc; margin: 10px 0 0 0;}




* { box-sizing: border-box;}


.box_wrap { width: 100%; max-width: 1200px; margin: 0 auto; }

.img_box {
    position: relative;
    float: left;
    width: 30%;
    margin:0 1% 2% 1%;
    overflow: hidden;
    border: 1px solid #777;
    background: #000;

}


.img_box img { width: 100%; max-width: 100%; height: auto; display: block; }


.img_box:hover img { opacity: 0.5; transform: scale(1.2); }
.img_box *{ transition: all 0.4s ease-in-out; }


.img_box h3 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    transform: translateX(-40%);
    color: #fff;
    font-size: 18px;
    font-weight: 300;
    opacity: 0;
    padding: 20px 0 0 20px;
}
.img_box:hover h3 {
    transition-delay: 0.3s;
    transform: translateX(0);
    opacity: 1;
}

.subject {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 91;
    transform: translateX(-40%);
    color: #ccc;
    font-size: 14px;
    opacity: 0;
    padding: 50px 0 0 20px;
    font-weight: 300;
}

.img_box:hover .subject {
    transition-delay: 0.5s;
    transform: translateX(0);
    opacity: 1;
}


.date {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 91;
    transform: translateX(-40%);
    color: #ccc;
    font-size: 14px;
    opacity: 0;
    padding: 75px 0 0 20px;
    font-weight: 300;
}

.img_box:hover .date {
    transition-delay: 0.7s;
    transform: translateX(0);
    opacity: 1;
}





.card {
    float: left;
    width: 30%;
    margin-right: 5%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    text-align: center;
    background: #fff;
    color: #000;
  }

  .card h3{ font-size: 1.6vw; padding: 30px 0 10px 0; font-weight: 500;}

  .name {
    color: grey;
    font-size: 16px;
    padding: 0 10px 10px;
  }

  .bday { padding-bottom: 20px; color: #999; font-size: 13px;}

  button {
    border: none;
    outline: 0;
    display: inline-block;
    padding: 10px;
    color: white;
    background-color: rgb(79, 101, 221);
    text-align: center;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
  }
  button:hover, a:hover {
    opacity: 0.7;
  }

  .resume {
      width: 100%;
      background: rgb(79, 101, 221);
      text-align: center;
    }
  .resume a { color: #fff; display: block; padding: 10px 0;}
  .resume a:hover { color: #fff; background: #555;}



.photo {float: left; width: 25%; padding: 0px 5% 0 0;}
.photo img{ width: 100%; height: auto;}

.profile_wrap {float: left; width: 60%;}
.profile {float: left; width: 70%; }
.p_title { font-size: 20px; color: rgb(151, 166, 255); margin: 0 0 5px 0;}





.skill { float: left; width: 100%; margin-top: 10px;}

.skill_pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px 0; }
.skill_pill { border: 1px solid #666; color: #ddd; font-size: 13px; padding: 6px 14px; border-radius: 30px; font-weight: 300;}

table.profile_list {
    width: 100%;
    margin-bottom: 30px; }
table.profile_list td {  padding: 4px 0; font-size: 16px; font-weight: 300; color: #ccc; vertical-align: top;}
table.profile_list td b { color: #fff; font-weight: 500; }

.career_list { list-style: none; margin: 0 0 30px 0; padding: 0; }
.career_list li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 15px; font-weight: 300; color: #ccc;}
.career_list .career_period { color: #999; font-size: 13px; display: block; margin-bottom: 2px;}
.career_list .career_role { color: #fff; font-weight: 500;}


  footer{ position: fixed; bottom: 0; width: 100vw;  z-index: 100;  background: rgba(0, 0, 0, 0.5); display: flex; justify-content: space-between; align-items: center;}
.copy { padding: 8px 0; color: #fff; font-weight: 300; font-size: 12px; padding-left: 30px; opacity: 0.6;}
.copy a { color: #fff; padding-right: 30px; opacity: 1; }
.copy a:hover { opacity: 0.7; }

.contact_card { max-width: 640px; margin: 0 auto; text-align: center; }
.contact_card p { color: #ccc; font-weight: 300; font-size: 15px; line-height: 1.7; margin-bottom: 30px; }
.contact_btn { display: inline-block; background: rgb(79, 101, 221); color: #fff; padding: 16px 40px; font-size: 16px; border-radius: 4px; margin-bottom: 40px; }
.contact_btn:hover { color: #fff; opacity: 0.85; }
.biz_info { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 24px; color: #999; font-size: 13px; font-weight: 300; line-height: 2; }
.biz_info b { color: #ccc; font-weight: 500; }




@media( max-width:1220px ){
    .profile { width: 100%; }
    .skill { width: 100%;}
    .box_wrap  { width: 100%;}
}

@media( max-width:768px ){
    #profile{ padding: 110px 5% 15%;}
    #work{ padding: 110px 5% 15%;}
    #design{ padding: 110px 5% 15%;}
    #web{ padding: 110px 5% 15%;}
    #contact{ padding: 110px 5% 15%;}
    .img_box  { width: 46%; margin: 0 2% 50px 2%;}
    #main h2 {margin: 0 0 0 20px;}
    .card {width: 100%; margin-bottom: 30px; float: none; margin-right: 0;}
    .profile_wrap {width: 100%; float: none;}
    .section-head h2 { font-size: 1.8rem; }
}


@media( max-width:480px ){
    #main h2 {font-size: 3rem; line-height: 3.5rem;}
    #main .tagline { top: 58%; font-size: 0.95rem; padding: 0 20px;}
    #profile{ padding: 120px 5% 100px 5%;}
    #work{ padding: 120px 5% 50px 5%;}
    #design{ padding: 120px 5% 50px 5%;}
    #web{ padding: 120px 5% 50px 5%;}
    #contact{ padding: 120px 5% 80px 5%;}
    .img_box  { width: 98%; margin: 0 1% 30px 1%;}
    .img_box img  { width: 100%; }

    .photo {width: 90%; margin: 10% 5%; padding: 0;}
    .photo img{width: 100%;}
    .profile {width: 90%; margin: 0 5%;}
    .skill { width: 90%; margin: 0 5%;}

    .p_title { font-size: 14px;}
    table.profile_list td {  font-size: 14px; }

    body > header > h1 {width: 100%; padding: 10px 0 10px 20px; margin: 0; color: orange; font-size: 1.2rem; border-bottom: 1px solid rgba(206, 204, 204, 0.3); text-align: center; background: rgba(39, 39, 39, 0.8);}
    body > header > nav { width: 100%; border-bottom: 1px solid rgba(206, 204, 204, 0.3); background: rgba(39, 39, 39, 0.8);}
    body > header ul li{ width: 33.33%; text-align: center;}
    body > header a{ display: block; padding:5px 0; margin: 0; font-size: 13px;}

    footer { flex-direction: column; text-align: center; padding: 6px 0;}
    .copy { padding-left: 0; }
    .copy a { padding: 0 10px; }
}
