/* 페이퍼로지 */
@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-1Thin.woff2') format('woff2');
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-2ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-3Light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-9Black.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}

/* 핑크퐁 */
@font-face {
  font-family: 'PinkfongBabyShark';
  src: url('../fonts/Pinkfong Baby Shark Font_ Light.ttf') format('truetype');
  font-weight: 300;
  /* Light */
}

@font-face {
  font-family: 'PinkfongBabyShark';
  src: url('../fonts/Pinkfong Baby Shark Font_ Regular.ttf') format('truetype');
  font-weight: 400;
  /* Regular */
}

@font-face {
  font-family: 'PinkfongBabyShark';
  src: url('../fonts/Pinkfong Baby Shark Font_ Bold.ttf') format('truetype');
  font-weight: 700;
  /* Bold */
}

/* 집토끼(블랙) */
@font-face {
  font-family: 'HSJiptokki';
  src: url('../fonts/HSJiptokki-Black.ttf') format('truetype');
  font-weight: 900;
}

:root {
  /* 폰트패밀리 */
  --ff_paperozi: 'Paperozi', sans-serif;
  --ff_pinkfong-baby-shark: 'PinkfongBabyShark', sans-serif;
  --ff_hSJiptokki: 'HSJiptokki', sans-serif;

  /* 폰트 굵기 */
  --fw_light: 300;
  --fw_regular: 400;
  --fw_medium: 500;
  --fw_semi-bold: 600;
  --fw_bold: 700;
  --fw_black: 900;

  /* 폰트 사이즈 */
  --fs_14: 14px;
  --fs_16: 16px;
  --fs_18: 18px;
  --fs_20: 20px;
  --fs_24: 24px;
  --fs_28: 28px;
  --fs_32: 32px;
  --fs_40: 40px;
  --fs_60: 60px;
  --fs_180: 180px;

  /* 컬러 */
  --c_black: #585858;
  --c_white: #FFFFFF;
  --c_pink: #FEF5F5;
  --c_dep-pink: #FFDADB;
  --c_pink-brown: #976868;
  --c_pink-gray: #E9DBDB;
  --c_dep-pink-gray: #A49F9F;
  --c_red: #FE7F7F;
}

@media (max-width: 390px) {

  /* Header */
  #header {
    padding: 0 10px;
    height: 60px;
    position: relative;
    border-bottom: 3px solid var(--c_pink-brown);
  }

  /* Logo */
  #header .logo {
    width: 55px;
  }

  /* my-email-address */
  #header .my-email-address span {
    font-family: var(--ff_pinkfong-baby-shark);
    font-weight: var(--fw_regular);
    font-size: var(--fs_20);
  }

  /* Navigation mb */
  .no-scroll.open {
    overflow: hidden;
    height: 100vh;
  }

  #header .nav {
    display: none;
  }

  #header .nav-icon-mb {
    display: block;
    background: url(../images/nav-mb-icon.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 39px;
    height: 34px;
    transition: .2s ease;
  }

  #header .nav-icon-mb.open {
    background: url(../images/nav-mb-icon-open.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 39px;
    height: 46px;
  }

  #header .nav-mb {
    display: block;
    position: absolute;
    left: 0;
    top: 60px;
    background: var(--c_white);
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    display: none;
  }

  #header .nav-mb.open {
    display: block;
  }

  #header .nav-menu {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    font-size: var(--fs_32);
    font-weight: var(--fw_semi-bold);
    color: var(--c_pink-brown);
  }

  /* Main visual */
  .main-visual-section {
    height: 800px;
    padding-top: 180px;
    background-image: url(../images/main-visual-background-mb.png);
    gap: 0;
  }

  .main-visual-section .visual-content {
    width: 370px;
    height: 200px;
    border-radius: 500px;
  }

  .main-visual-section .visual-content span {
    font-size: var(--fs_60);
  }

  .main-visual-section .visual-content .visual-deco {
    gap: 10px;
  }

  /* 딸기 */
  .main-visual-section .visual-content .visual-deco .deco-strawberry {
    width: 40px;
    height: 48px;
  }

  .main-visual-section .visual-content .visual-deco .deco-rabbit {
    width: 60px;
    height: 57px;
  }

  /* 눈 감고있는 토끼 */
  .main-visual-section .visual-content .visual-deco .deco-rabbit .eye {
    width: 60px;
    height: 57px;
  }

  /* 태그 */
  .main-visual-section .visual-tag .visual-tag-list {
    gap: 10px;
    margin-top: 40px;
  }

  .main-visual-section .visual-tag .visual-tag-item {
    font-size: var(--fs_20);
    font-weight: var(--fw_regular);
    width: 85px;
    height: 40px;
    line-height: 40px;
  }

  .main-visual-section .scroll-down {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 130px;
    animation-name: scroll-down;
    animation-duration: 1.5s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-delay: 0s;
  }

  @keyframes scroll-down {
    0% {
      transform: translateY(0);
    }

    100% {
      transform: translateY(15px);
    }
  }

  .main-visual-section .scroll-down span {
    font-family: var(--ff_pinkfong-baby-shark);
    font-size: var(--fs_18);
    font-weight: var(--fw_regular);
    color: var(--c_white);
  }

  .main-visual-section .scroll-down img {
    object-fit: contain;
  }

  /* =============  About mel ============= */
  .about-me-section {
    background-image: url(../images/about-me-background-mb.png);
    padding: 70px 0;
    background-position: bottom center;
  }

  .about-me-section .main-title {
    width: 218px;
    height: 74px;
    margin: 0 auto 40px auto;
  }

  .about-me-section .wrapper {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .about-me-section .area.front {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 30px;
  }

  .about-me-section .area.back {
    display: flex;
    flex-direction: column;
    grid-gap: 40px;
  }

  /* 프로필 박스 */
  .about-me-section .profile-photo {
    width: 200px;
    height: 257px;
    margin: 0 auto;
  }

  .about-me-section .profile-wrap {
    margin-top: 20px;
    padding-top: 0;
    border: none;
  }

  .about-me-section .profile-info {
    font-size: var(--fs_20);
    font-weight: var(--fw_bold);
  }

  .about-me-section .profile-list {
    gap: 5px;
  }

  .about-me-section .profile-item {
    gap: 5px;
  }

  .about-me-section .profile-item-icon {
    width: 30px;
    height: 30px;
  }

  /* back 박스들 */
  .about-me-section .text-box {
    gap: 20px;
  }

  .about-me-section .text-box .sub-title {
    gap: 5px;
    border: none;
  }

  .about-me-section .sub-title .en {
    font-size: var(--fs_28);
  }

  .about-me-section .sub-title .ko {
    font-size: var(--fs_16);
  }

  /* 소개 박스 */
  .about-me-section p {
    font-size: var(--fs_16);
  }

  /* 학력사항, 경력사항 박스 */
  .about-me-section .item-list {
    position: relative;
  }

  .about-me-section .item-list::after {
    content: '';
    position: absolute;
    background: var(--c_dep-pink);
    width: 2px;
    height: 140px;
    left: 8px;
    top: -15px;
    z-index: 1;
  }

  .about-me-section .items {
    gap: 30px;
    align-items: flex-start;
  }

  .about-me-section .item-text {
    flex-direction: column;
    gap: 3px;
  }

  .about-me-section .item-text-wrap {
    justify-content: flex-start;
    width: auto;
    gap: 15px;
  }

  .about-me-section .items span {
    font-size: var(--fs_18);
  }

  .about-me-section .item-date {
    font-size: var(--fs_16);
    color: var(--c_dep-pink-gray);
  }

  .about-me-section .item-icon {
    width: 20px;
    height: 23px;
    z-index: 2;
  }

  /* 소프트웨어 박스 */
  .about-me-section .software-list {
    gap: 10px;
    flex-wrap: wrap;
  }

  .about-me-section .software-item {
    width: 58px;
    height: 58px;
    object-fit: contain;
  }

  /* =============  skill ============= */
  .skill-section {
    padding: 70px 0;
  }

  .skill-section .main-title {
    width: 133px;
    height: 64px;
    margin: 0 auto 35px auto;
  }

  .skill-section .skill-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-row-gap: 20px;
  }

  .skill-section .skill-list .skill-item {
    gap: 0;
    padding: 20px;
  }

  .skill-section .skill-text {
    align-items: flex-start
  }

  .skill-section .skill-text .skill-tag {
    padding: 0 10px;
  }

  .skill-section .skill-tag .item-icon {
    width: 13px;
    height: 16px;
  }

  .skill-section .skill-tag span {
    font-size: var(--fs_14);
  }

  .skill-section .skill-text p {
    font-size: var(--fs_16);
    letter-spacing: -0.4px;
  }

  .skill-section .skill-icon {
    width: 30px;
    height: 30px;
  }

  /* ============= Project list ============= */
  .project-list-section {
    padding: 70px 0;
  }

  .project-list-section .main-title {
    width: 290px;
    height: 75px;
    margin: 0 auto 40px auto;
  }

  .project-list-section .project-filter-list {
    flex-direction: row;
    justify-content: flex-start;
  }

  .project-list-section .filter-group {
    gap: 10px;
    flex-wrap: wrap;
  }

  .project-list-section .filter-item {
    align-items: center;
    justify-content: center;
  }

  .project-list-section .filter-btn {}

  .project-list-section .filter-box {
    width: 22.5px;
    height: 22.5px;
    align-items: center;
  }

  .project-list-section .check {}

  .project-list-section .filter-name {
    font-size: var(--fs_18);
    font-weight: var(--fw_medium);
    white-space: nowrap;
  }

  /* 프로젝트 리스트 */
  .project-list-section .project-card-list {
    margin-top: 10px;
  }

  .project-list-section .project-card {
    flex-direction: column;
    padding: 50px 20px;
  }

  /* 프로젝트 비주얼 영역 */
  .project-list-section .project-visual-area {
    width: 100%;
    height: auto;
  }

  /* 프로젝트 콘텐츠 영역 */
  .project-list-section .project-content-area {
    width: 100%;
    height: fit-content;
  }

  .project-list-section .project-title {
    font-size: var(--fs_28);
    order: 2;
  }

  .project-list-section .br-mb {
    display: block;
  }

  /* 프로젝트 태그 리스트 */
  .project-list-section .project-tag-list {
    order: 1;
    display: flex;
    flex-wrap: wrap;
    margin: 30px 0 15px 0;
  }

  .project-list-section .project-tag-item {
    font-size: var(--fs_14);
    width: fit-content;
    height: 25px;
    padding: 0 15px;
    line-height: 25px;
    margin-bottom: 5px;
  }

  .project-list-section .project-desc {
    order: 3;
    font-size: var(--fs_16);
    font-weight: var(--fw_regular);
    margin-bottom: 25px;
    line-height: 1.5;
  }

  /* 프로젝트 링크 리스트 */
  .project-list-section .project-link-list {
    order: 4;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .project-list-section .project-link-item {
    width: 120px;
    height: 35px;
    padding-right: 0;
  }

  .project-list-section .project-link {
    justify-content: flex-start;
  }

  .project-list-section .project-link-icon {
    width: 35px;
    height: 35px;
  }

  .project-list-section .project-link-name {
    font-size: var(--fs_14);
    padding-left: 17.5px;
  }

  /* ============= footer ============= */
  .footer-section {
    background: url(../images/footer-section-background-mb.png);
    padding: 70px 0;

    display: block;
  }

  .footer-section .content-box {
    background: transparent;
    width: 100%;
    height: fit-content;
    gap: 0;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    border-radius: 0;
  }

  .footer-section .footer-title {
    font-size: var(--fs_20);
    background: url(../images/footer-section-title-box.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 370px;
    height: 65px;
    line-height: 65px;
    text-align: center;
    margin-bottom: 5px;
  }

  .footer-section .footer-arrow-wrap {
    display: flex;
    flex-direction: column;
  }

  .footer-section .footer-arrow {
    background-image: url(../images/footer-section-arrow.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 30px;
    height: 30px;
    margin: 0 auto;

    animation: arrow-down;
    animation-duration: 1.3s;
    animation-timing-function: steps(1, end);
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-delay: 0s;
  }

  @keyframes arrow-down {
    0% {
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
  }

  .footer-section .footer-arrow.arrow01 {
     animation-delay: 0s;
  }

  .footer-section .footer-arrow.arrow02 {
     animation-delay: .2s;
  }

  .footer-section .footer-speech-bubble-box {
    background: url(../images/footer-section-bottom-box.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    padding: 0 20px;
    position: relative;
    width: 100%;
    height: 210px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  .footer-section .footer-email {
    font-size: var(--fs_24);
    text-align: center;
  }

  .footer-section .footer-desc {
    font-size: var(--fs_16);
    font-weight: var(--fw_medium);
    margin-bottom: 15px;
    left: 0;
  }

  .footer-section .send-email-text {
    font-size: var(--fs_16);
    font-weight: var(--fw_medium);
  }

  .footer-section .send-email-icon {
    width: 20px;
    height: 20px;
  }

  .footer-section .content-box-character-mb {
    display: block;
    background-image: url(../images/footer-section-character-mb.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    width: 63px;
    height: 72px;
    right: 18px;
    top: -60px;
  }

  .footer-section .content-box-character {
    display: none;
  }

  /* =============  top btn ============= */
  .top-btn {
    position: fixed;
    right: 10px;
    bottom: 30px;
    width: 75px;
    height: 30px;
    background: url(../images/top-btn.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    cursor: pointer;
    display: none;
  }
}