@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: 'InkLipquid';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/InkLipquid.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

html, body{
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: rgb(236, 236, 236);
  /*padding: 50px;*/
  font-family: 'Pretendard-Regular';
}



#container{
  /*margin: 0 auto;*/
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /*width: 1700px;*/
}
.contents{
     flex: 1;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
ul{
  list-style: none;
}
a{
  text-decoration: none;
}
header{
  width: 100%;
  height: 100px;
}
nav{
  float: right;
  width: 900px;
  height: 100px;
  padding-top: 40px;
}
#top_menu > li{
  float: left;
  position: relative;
}
#top_menu > li > a{
  display: block;
  padding: 20px 50px;
  color: rgb(112, 82, 42);
  font-size: 1.1em;
  font-weight: 600;
  transition: transform 0.15s;
}
#top_menu > li > a:hover{
  color: rgb(73, 31, 4);
  text-shadow: 0-1px rgb(112, 82, 42);
  transform: scale(1.1);
}

h2{
  font-size: 2em;
  text-align: center;
  color: rgb(58, 56, 47);
  text-shadow: 2px 2px 4px rgba(94, 94, 94, 0.3);
  letter-spacing: 0.3em;
  margin-top: 0px;
  /*padding: 20px;*/
  font-weight: bold;
  margin-bottom: 40px; /* 디자인 문구 아래 공간 넉넉하게 */
}




.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: 100px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 50px;
  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: 32px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.navbar a {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.navbar a:hover {
  background: #222;
  color: #fff;
}
/*네모 상자*/
section {
  max-width: 1200px;
  margin: 60px auto 0 auto;
  background: #eeeeee;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  padding: 40px 24px;
  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(3, 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: #f4f6fb;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.03);
  padding: 30px;
  width: 300px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.project:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.project img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
  background: #e9ecef;
}

.project h3 {
  margin: 12px 0 6px 0; /* 위 아래 간격 조정 */
  font-size: 1.1em;
}

.project p {
  margin: 0 0 16px 0; /* 하단 간격으로 버튼과 거리 조정 */
  font-size: 0.95em;
  color: #555;
}

.project .button {
  margin-top: 12px; /* 버튼 위쪽 여백 */
}

/*footer {
  width: 100%;
  text-align: center;
  background-color: rgb(82, 74, 62);
  color: rgb(255, 255, 255);
  font-size: 0.8em;
  padding: 15px;
  background: none;
}*/
footer {
  width: 100%;
  background-color: rgb(82, 74, 62); /* 어두운 배경 */
  color: rgb(255, 255, 255); /* 밝은 텍스트 */
  text-align: center;
  font-size: 0.8em;
  padding: 15px;
  line-height: 1.6;
  border-radius: 0; /* 꼭 필요! */
  
}
@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;
  }
  
} 
.about-details {
  margin: 28px 0 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  font-size: 0.97em;
}
.about-details li {
  background: #f4f6fb;
  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: #e9ecef;
}
@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: 80%;
  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);
}
.button {
  display: inline-block;
  padding: 7px 18px;
  background: rgba(255, 255, 255, 0.18);
  color: #232946 !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;
  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: rgba(255,255,255,0.32);
  color: #121629 !important;
  border: 1.5px solid #232946;
  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;
}

@keyframes ani_title{
  from{opacity: 0.0;}
  to{opacity: 1.0;}
}

