@import url('https://fastly.jsdelivr.net/gh/wanteddev/wanted-sans@v1.0.1/packages/wanted-sans/fonts/webfonts/variable/split/WantedSansVariable.min.css');
@font-face {
    font-family: 'Freesentation-6SemiBold';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-6SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Pretendard-Regular';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'LeferiPoint-BlackObliqueA';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2201-2@1.0/LeferiPoint-BlackObliqueA.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
  font-family: 'Godo';
  font-style: normal;
  font-weight: 400;
  src: url('https://fastly.jsdelivr.net/korean-webfonts/1/corps/godo/Godo/GodoM.woff2') format('woff2'), url('https://fastly.jsdelivr.net/korean-webfonts/1/corps/godo/Godo/GodoM.woff') format('woff');
}
/*@font-face {
  font-family: 'ChosunGu';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@1.0/ChosunGu.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}*/
@font-face {
    font-family: 'GangwonEdu_OTFBoldA';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2201-2@1.0/GangwonEdu_OTFBoldA.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
  margin: 0;
  font-family: 'Pretendard-Regular';
  font-size: 17px;
  background: #f8f9fa;
  color: #303030;
  line-height: 1.4;
}
.hero {
  text-align: center;
  padding:60px 20px 30px 20px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.profile-img {
  width: 430px;
  height: auto;
  border-radius: none;
  object-fit: cover;
  margin-bottom: 10px;
  /* box-shadow: 0 4px 16px rgba(0,0,0,0.08); */
  /* transition: transform 0.3s; */
}
/*
.profile-img:hover {
  transform: scale(1.05);
}
*/
.navbar {
  display: flex;
  justify-content: center;
  gap: 50px;
  background: #2a2a2a;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.navbar a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  font-family: 'Freesentation-6SemiBold';
  font-size: 18px;
}
.navbar a:hover {
  background: #faf3af;
  color: #bc0808;
}
section {
  max-width: 1200px;
  margin: 60px auto 0 auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  padding: 30px 40px;
  animation: fadeIn 1s;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.projects .project-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  justify-content: center;
}
@media (max-width: 1200px) {
  .projects .project-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .projects .project-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .projects .project-list {
    grid-template-columns: 1fr;
  }
}
.project {
  background: #F5F0EB;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.03);
  padding: 12px;
  width: 260px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.projects h2 {
  font-family: 'LeferiPoint-BlackObliqueA', sans-serif;
  font-size: 33px;
  color: #bc0808;
}
.projects h3 {
  font-family:'Wanted Sans Variable';
  font-size: 24px;
  color: #343434;
  margin-top: 15px;
  margin-bottom: 8px;
}
.project P {
  font-family: 'GangwonEdu_OTFBoldA', sans-serif;
  font-size: 19px;
  color: #6d6d6d;
  margin-top: 5px;
}
.project:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.project img {
  width: 260px;
  height: 260px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
  background: #e9ecef;
}
.skills ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}
.skills li {
  background: #F5F0EB;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9em;
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 130px;
  min-width: 110px;
  min-height: 110px;
  box-sizing: border-box;
}
.skills h2 {
  font-family: 'LeferiPoint-BlackObliqueA', sans-serif;
  font-size: 33px;
  color: #bc0808;
}
.skills li:hover {
  background: #252525;
  color: #ffffff;
}
.skills li img {
  width: 50px;
  height: 50px;
  display: block;
  margin: 0 auto 6px auto;
  border-radius: 6px;
  box-shadow: none;
  transition: none;
}
.contact a {
  color: #0077ff;
  text-decoration: none;
  transition: color 0.2s;
}
.contact h2 {
  font-family: 'LeferiPoint-BlackObliqueA', sans-serif;
  font-size: 33px;
  color: #bc0808;
}
.contact p {
  font-size: 20px;
  color: #202020;
}
.contact a:hover {
  color: #0056b3;
}
footer {
  text-align: center;
  padding: 32px 0 16px 0;
  color: #888;
  font-size: 0.95em;
  background: none;
}
@media (max-width: 700px) {
  section {
    padding: 24px 8px;
    margin: 32px 8px 0 8px;
  }
  .projects .project-list {
    flex-direction: column;
    gap: 20px;
  }
  .project {
    width: 100%;
  }
  .navbar {
    gap: 16px;
  }
  .hero {
    padding: 40px 8px 20px 8px;
  }
  .skills li {
    width: 65px;
    height: 65x;
    min-width: 65px;
    min-height: 65px;
    font-size: 1em;
    padding: 8px 6px;
  }
} 
.about-details {
  margin: 28px 0 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  font-size: 1em;
}
.about h2 {
  font-family: 'LeferiPoint-BlackObliqueA', sans-serif;
  font-size: 31px;
  color: #bc0808;
}
.about p{
  font-family: 'Godo', sans-serif !important;
  font-size: 20px;
  font-weight: 400;
}
.about li strong {
  color: #393939;
  font-size: 19px;
}
.about li{
  color: #5a5a5a;
  font-size: 17px;
}
.about-details li {
  background: #F5F0EB;
  border-radius: 8px;
  padding: 12px 18px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  transition: background 0.2s;
}
.about-details li:hover {
  background: #efc6c5;
}
@media (max-width: 700px) {
  .about-details {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .about-details li {
    padding: 10px 10px;
    font-size: 1em;
  }
}

/* 모달 스타일 */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.45);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}
.modal:target {
  display: flex;
}
.modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px 28px 28px;
  max-width: 800px;
  width: 90vw;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  position: relative;
  animation: modalPop 0.3s;
}
@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 2rem;
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}
.modal-close:hover {
  color: #222;
}
.modal-img {
  width: 100%;
  height: auto;
  max-width: 600px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
  margin-bottom: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.modal-video {
  width: 100%;
  height: auto;
  max-width: none;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
  margin-bottom: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.modal h3 {
  font-family: 'Godo';
  font-size: 30px;
  color: #5175b8;
}
.modal p{
  font-size: 19px;
}
.button {
  display: inline-block;
  padding: 7px 18px;
  background: #FFF9D9;
  color: #624e3f !important;
  border: 1.5px solid rgba(35, 41, 70, 0.18);
  border-radius: 9px;
  font-size: 0.98em;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(35,41,70,0.10);
  cursor: pointer;
  transition: background 0.22s, color 0.18s, transform 0.18s, box-shadow 0.18s;
  margin-top: 8px;
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
/*.button::after {
  content: '→';
  display: inline-block;
  margin-left: 7px;
  font-size: 1em;
  transition: transform 0.2s;
  vertical-align: middle;
}*/
.button:hover {
  background: rgb(170, 141, 112);
  color: #ffffff !important;
  border: 1.5px solid rgb(138, 120, 102);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 28px rgba(35,41,70,0.16);
}
.button:hover::after {
  transform: translateX(3px);
}
.modal-content iframe {
  width: 100%;
  min-width: 320px;
  max-width: 100vw;
  height: 800px;
  border: none;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(35,41,70,0.13);
  margin: 0 auto 24px auto;
  display: block;
  background: #e9ecef;
}
@media (max-width: 700px) {
  .modal-content iframe {
    height: 450px;
  }
}
.project .button {
  margin-top: auto;
}

