@import url("https://fonts.googleapis.com/css2?family=Quantico:ital,wght@0,400;0,700;1,400;1,700&display=swap");
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-weight: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}

*[hidden] {
  display: none;
}

body {
  line-height: 28px;
}

menu, ol, ul, li {
  padding: 0;
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

a {
  text-decoration: none;
  color: inherit;
}

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

button {
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: inherit;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "NexonLv1Gothic";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXON Lv1 Gothic OTF Light.woff") format("woff");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "NexonLv1Gothic";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXON Lv1 Gothic OTF.woff") format("woff");
  font-weight: normal;
  font-display: swap;
}
@font-face {
  font-family: "NexonLv1Gothic";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXON Lv1 Gothic OTF Bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
main {
  padding-top: 120px;
}
main .inner {
  display: flex;
}
main .inner section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
main .inner section .section-title {
  font-size: 48px;
  line-height: 56px;
}
main .inner .profile {
  scroll-margin-top: 120px;
  max-width: 470px;
}
main .inner .profile .profilewrap {
  width: 100%;
  display: flex;
  gap: 20px;
}
main .inner .profile .profilewrap .profile-img {
  background-color: rgb(51, 51, 51);
  max-width: 220px;
  min-width: 120px;
  flex: 1 1 0;
  width: 100%;
  object-fit: cover;
}
main .inner .profile .profilewrap .profileinfo {
  flex: 0 0 230px;
  max-width: 230px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}
main .inner .profile .profilewrap .profileinfo .info-item {
  display: flex;
  align-items: center;
}
main .inner .profile .profilewrap .profileinfo .info-item img {
  width: 24px;
  height: 24px;
}
main .inner .profile .profilewrap .profileinfo .info-item p {
  margin-left: 10px;
  font-size: 18px;
}
main .inner .profile .desc {
  display: flex;
  align-items: center;
  gap: 5px;
}
main .inner .profile .desc img {
  width: 32px;
  height: 32px;
}
main .inner .profile .desc p {
  font-size: 22px;
}
main .inner .profile .desc-sub {
  color: #CCC;
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 20px;
}
main .inner .profile #profile-content {
  display: flex;
  flex-direction: column;
}
main .inner .profile #profile-content .profile-content-item {
  font-size: 24px;
}
main .inner .profile #profile-content .profile-content-item-sub {
  margin-bottom: 20px;
  font-size: 16px;
  color: #CCC;
}
main .inner .skill {
  max-width: 850px;
  padding-left: 25px;
}
main .inner .skill #skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 191px);
  gap: 20px;
  overflow-y: auto;
  max-height: 700px;
  min-height: 700px;
  padding-bottom: 50px;
}
main .inner .skill #skill-grid::-webkit-scrollbar {
  display: none;
}
main .inner .skill #skill-grid .skill-card {
  min-height: 252px;
  max-height: 300px;
  cursor: default;
  border: 2px solid rgba(255, 255, 255, 0.1019607843);
  background-color: rgba(255, 255, 255, 0.1019607843);
  backdrop-filter: blur(5px);
  box-shadow: 2px 2px 7px rgba(119, 119, 119, 0.7137254902);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
}
main .inner .skill #skill-grid .skill-card .skill-image {
  width: 70px;
  height: 70px;
}
main .inner .skill #skill-grid .skill-card .skill-name {
  font-weight: bold;
  font-size: 20px;
}
main .inner .skill #skill-grid .skill-card .skill-sub {
  word-break: keep-all;
  font-size: 14px;
  line-height: 18px;
  color: #CCC;
}
@media (max-width: 768px) {
  main {
    padding-top: 90px;
  }
  main .inner {
    flex-direction: column;
    padding: 0 20px;
  }
  main .inner .profile {
    max-width: 940px;
    width: 100%;
    margin-bottom: 50px;
  }
  main .inner .skill {
    padding: 0;
  }
  main .inner .skill #skill-grid {
    max-height: none;
    overflow-y: visible;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
@media (max-width: 480px) {
  main {
    padding-top: 120px;
  }
  main .inner {
    padding: 0 10px;
  }
  main .inner section .section-title {
    font-size: 36px;
    line-height: 44px;
  }
  main .inner .profile .profilewrap {
    gap: 10px;
  }
  main .inner .profile .profilewrap .profileinfo .info-item img {
    width: 18px;
    height: 18px;
  }
  main .inner .profile .profilewrap .profileinfo .info-item p {
    margin-left: 5px;
    font-size: 14px;
  }
  main .inner .profile .desc {
    gap: 3px;
  }
  main .inner .profile .desc img {
    width: 24px;
    height: 24px;
  }
  main .inner .profile .desc p {
    font-size: 18px;
  }
  main .inner .profile .desc-sub {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 10px;
  }
  main .inner .profile #profile-content .profile-content-item {
    font-size: 20px;
  }
  main .inner .profile #profile-content .profile-content-item-sub {
    font-size: 14px;
    margin-bottom: 10px;
  }
  main .inner .skill #skill-grid {
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  }
}
@media (max-width: 400px) {
  main .inner .profile .profilewrap {
    flex-direction: column;
  }
  main .inner .profile .profilewrap .profileinfo {
    flex: 0 0 0;
    gap: 5px;
    margin-top: none;
  }
  main .inner .profile .profilewrap .profileinfo .info-item img {
    width: 24px;
    height: 24px;
  }
  main .inner .profile .profilewrap .profileinfo .info-item p {
    font-size: 16px;
  }
}

.btn-wrap {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid #0088FF;
}
.btn-wrap .btn {
  background-color: gray;
  color: white;
  padding: 6px 14px;
  font-size: 22px;
  border-radius: 5px 5px 0 0;
  border: 2px solid gray;
  transition: 0.3s;
}
.btn-wrap .btn:hover {
  border: 2px solid #0088FF;
}
.btn-wrap .btn.active {
  border-color: #0088FF;
  background-color: #0088FF;
}
@media (max-width: 400px) {
  .btn-wrap {
    gap: 5px;
  }
  .btn-wrap .btn {
    padding: 3px 7px;
    font-size: 18px;
  }
}

body.modal-open {
  overflow: hidden;
  height: 100vh;
}

main {
  padding-top: 120px;
}
main .inner .project {
  margin-top: 40px;
}
main .inner .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 50px;
}
main .inner .portfolio-grid .card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  border: 2px solid rgba(255, 255, 255, 0.1019607843);
  background-color: rgba(255, 255, 255, 0.1019607843);
  backdrop-filter: blur(5px);
  box-shadow: 2px 2px 7px rgba(119, 119, 119, 0.7137254902);
  border-radius: 10px;
  cursor: pointer;
}
main .inner .portfolio-grid .card .card-img {
  border-radius: 10px 10px 0 0;
}
main .inner .portfolio-grid .card h3 {
  width: 100%;
  font-size: 20px;
}
main .inner .portfolio-grid .card p {
  font-size: 12px;
  font-weight: 300;
  line-height: 18px;
  color: #ccc;
}
main .inner .portfolio-grid .card .skill-icons {
  margin-top: auto;
  display: flex;
  gap: 8px;
  width: 25px;
}
@media (max-width: 768px) {
  main {
    padding-top: 100px;
  }
  main .inner .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  main {
    padding-top: 120px;
  }
  main .inner .portfolio-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: none;
  z-index: 2000;
}
.modal-overlay.active {
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-overlay .modal-header {
  display: flex;
  justify-content: space-between;
}
.modal-overlay .modal-header .modal-title small {
  font-size: 16px;
  color: #ccc;
}
.modal-overlay .modal-header .modal-close {
  color: white;
  font-size: 48px;
  margin-bottom: auto;
}
.modal-overlay .modal {
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  background: #2b2b2b;
  padding: 30px;
  padding-top: 20px;
  border-radius: 16px;
}
.modal-overlay .modal::-webkit-scrollbar {
  display: none;
}
.modal-overlay .modal {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.modal-overlay .modal .modal-info {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal-overlay .modal .modal-info li {
  display: flex;
}
.modal-overlay .modal .modal-info li .modal-item {
  font-size: 24px;
  width: 120px;
  font-weight: bold;
}
.modal-overlay .modal .modal-info li #modalSkills,
.modal-overlay .modal .modal-info li #modalTools {
  display: flex;
  gap: 5px;
  color: black;
}
.modal-overlay .modal .modal-info li #modalSkills span,
.modal-overlay .modal .modal-info li #modalTools span {
  border-radius: 5px;
  padding: 0 5px;
}
.modal-overlay .modal .modal-info li #modalSkills .HTML5,
.modal-overlay .modal .modal-info li #modalTools .HTML5 {
  background-color: #E14E1D;
}
.modal-overlay .modal .modal-info li #modalSkills .CSS3,
.modal-overlay .modal .modal-info li #modalTools .CSS3 {
  background-color: #2789c2;
}
.modal-overlay .modal .modal-info li #modalSkills .SCSS,
.modal-overlay .modal .modal-info li #modalTools .SCSS {
  background-color: #CD6799;
}
.modal-overlay .modal .modal-info li #modalSkills .JavaScript,
.modal-overlay .modal .modal-info li #modalTools .JavaScript {
  background-color: #F0DB4F;
}
.modal-overlay .modal .modal-info li #modalSkills .VSC,
.modal-overlay .modal .modal-info li #modalTools .VSC {
  background-color: #CE97FA;
}
.modal-overlay .modal .modal-info li #modalSkills .Figma,
.modal-overlay .modal .modal-info li #modalTools .Figma {
  background: linear-gradient(135deg, rgb(26, 188, 254) 0%, rgb(162, 89, 255) 100%);
}
.modal-overlay .modal .modal-links {
  margin: 5px 0;
  display: flex;
  gap: 10px;
}
.modal-overlay .modal .modal-links a {
  padding: 5px 10px;
  border-radius: 10px;
  display: flex;
  font-size: 24px;
  align-items: center;
}
.modal-overlay .modal .modal-links a img {
  width: 24px;
  height: 24px;
}
.modal-overlay .modal .modal-links #modalGithub {
  background-color: #626262;
}
.modal-overlay .modal .modal-links #modalUrl {
  background-color: #0088FF;
}
.modal-overlay .modal .modal-desc {
  font-weight: 300;
}
@media (max-width: 768px) {
  .modal-overlay .modal-header .modal-close {
    font-size: 36px;
  }
  .modal-overlay .modal {
    padding: 20px;
  }
  .modal-overlay .modal .modal-info li .modal-item {
    font-size: 20px;
  }
  .modal-overlay .modal .modal-links {
    gap: 5px;
  }
  .modal-overlay .modal .modal-links a {
    padding: 5px;
    align-items: center;
    font-size: 20px;
  }
  .modal-overlay .modal .modal-links a img {
    width: 20px;
    height: 20px;
  }
}
@media (max-width: 480px) {
  .modal-overlay .modal .modal-info {
    gap: 10px;
  }
}
@media (max-width: 340px) {
  .modal-overlay .modal .modal-info li {
    flex-direction: column;
  }
  .modal-overlay .modal .modal-info li .modal-item {
    font-size: 18px;
  }
  .modal-overlay .modal .modal-info li p {
    font-size: 14px;
  }
  .modal-overlay .modal .modal-desc {
    font-size: 14px;
    line-height: 22px;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Quantico", "NexonLv1Gothic", sans-serif;
  background-image: url(../image/mainbg.jpg);
  background-size: cover;
  background-attachment: fixed;
  color: white;
  overflow-x: hidden;
}

.inner {
  max-width: 1320px;
  height: 100%;
  margin: 0 auto;
}

#header {
  position: fixed;
  width: 100%;
  height: 100px;
  background-color: #151515;
  z-index: 1000;
}
#header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#header .inner .logo {
  font-size: 48px;
  transition: 0.3s;
}
#header .inner .nav {
  display: flex;
  gap: 30px;
  font-size: 36px;
  position: relative;
}
#header .inner .nav .nav-item {
  position: relative;
  transition: 0.3s;
}
#header .inner .nav .nav-item span {
  display: inline-block;
  transition: 0.3s;
}
#header .inner .nav .nav-item::before {
  content: "";
  position: absolute;
  color: #0088FF;
  left: 0;
  width: 100%;
  bottom: -15px;
  border-bottom: 4px solid #0088FF;
  transition: 0.3s;
  transform: scaleX(0);
  transform-origin: center;
}
#header .inner .nav .nav-item::after {
  content: "|";
  position: absolute;
  right: -20px;
  color: #aaa;
}
#header .inner .nav .nav-item:last-child::after {
  display: none;
}
#header .inner .nav .nav-item:hover, #header .inner .nav .nav-item.active {
  color: #0088FF;
}
#header .inner .nav .nav-item:hover span, #header .inner .nav .nav-item.active span {
  transform: translateY(-3px);
}
#header .inner .nav .nav-item:hover::before, #header .inner .nav .nav-item.active::before {
  transform: scaleX(1);
}
@media (max-width: 768px) {
  #header {
    height: 70px;
  }
  #header .inner {
    padding: 0 20px;
  }
  #header .inner .logo {
    font-size: 36px;
  }
  #header .inner .nav {
    font-size: 24px;
    gap: 20px;
  }
  #header .inner .nav .nav-item::before {
    bottom: -7px;
  }
  #header .inner .nav .nav-item::after {
    right: -15px;
  }
}
@media (max-width: 480px) {
  #header {
    width: 90%;
    height: auto;
    padding: 5px 10px;
    border-radius: 100px;
    margin-top: 20px;
    border: 1px solid #0088FF;
    left: 50%;
    transform: translateX(-50%);
  }
  #header .inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
  }
  #header .inner .logo {
    display: none;
  }
  #header .inner .nav {
    font-size: 24px;
    gap: 15px;
    justify-content: space-around;
    width: 100%;
  }
  #header .inner .nav .nav-item::before {
    bottom: -3px;
  }
  #header .inner .nav .nav-item::after {
    display: none;
  }
  #header .inner .nav .nav-item:last-child {
    display: none;
  }
}