body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #1e1b26;
  color: #eecbf5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.language-switch {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1000;
  background-color: #1e1b26;
  padding: 5px;
  border-radius: 4px;
}

.language-switch button {
  background: none;
  border: 1px solid #eecbf5;
  color: #eecbf5;
  padding: 5px 10px;
  margin-left: 5px;
  cursor: pointer;
}

.language-switch button:hover {
  background-color: #eecbf5;
  color: #1e1b26;
}


.container {
  text-align: center;
  width: 100%;
  max-width: 1000px; 
  padding: 0 20px;
  margin: 0 auto;
} 
.contact-info {
  text-align: center;
  line-height: 1.6;
  margin: 2rem auto;
}



/* .container {
  text-align: center;
  width: 100%;
  padding: 0 20px;
  margin-top: 40px;
} */

/* .name {
  font-family: 'Creato Display', sans-serif;
  font-weight: 800;
  font-size: 40px;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px #eecbf5;
  text-shadow: none;
  margin-bottom: 10px;
} */
 .name {
  font-family: 'Creato Display', sans-serif;
  font-weight: 800;
  font-size: 40px;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px #eecbf5;
  text-shadow: none;
  margin-bottom: 10px;

  display: block;           /* 블록 요소로 변경 */
  text-align: center;       /* 텍스트 가운데 정렬 */
  margin-left: auto;        /* 수평 가운데 정렬 */
  margin-right: auto;
  width: fit-content;       /* 내용 크기만큼만 */
}


/* .title {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 20px;
  text-shadow: none;
  border-bottom: 2px solid #eecbf5;
  padding-bottom: 4px;
  width: auto;
  text-align: center;
} 
  */


.title {
  width: 100vw;
  text-align: center;
  border-bottom: 2px solid #eecbf5;
  padding-bottom: 4px;
  margin-left: calc(-50vw + 50%); /* 가운데 정렬 보정 */
}



/* .menu {
  display: flex;
  justify-content: flex-start;
  gap: 25px;
  margin: 20px 0 30px 0;
} */

.menu {
  display: flex;
  justify-content: center;   /* 중앙 정렬 */
  gap: 25px;
  margin: 20px 0 30px 0;
}


.menu a {
  color: #eecbf5;
  text-decoration: underline;
  font-size: 16px;
  border: 1px solid transparent;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.menu a:hover {
  border-color: #eecbf5;
  background-color: #eecbf5;
  color: #1e1b26;
}

.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 30px 0 50px 0;
}






/* 
.portrait {
  width: 200px;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  
  margin-bottom: 0;
  margin-top: 0;


} */

.portrait {
  width: 200px;
  height: auto;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  margin: 0; 
  align-self: flex-start;
}



/* 기본 intro-text는 기울이지 않음 */
.intro-text {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.6;
  max-width: 800px;
  /* margin: 2rem auto; */
  margin: 1rem 0;
  padding: 0 1rem;
}

.menu {
  text-align: center;
  margin-top: 2rem;
}


/* 명언 전용 스타일 */
.quote-text {
font-size: 18px;
  font-style: italic;
}


a {
  color: #eecbf5;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* .two-column {
  flex-direction: row;
  justify-content: center;
  gap: 40px;
  text-align: left;
  align-items: center;
  flex-wrap: wrap;
} */

/* .two-column {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
} */

.intro.two-column {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 0px;
  flex-wrap: wrap;
}


/* .two-column .portrait {
  margin-bottom: 0;
} */
 .two-column .portrait {
  margin-bottom: 0;
  margin-right: 20px;  /* 추가: 이미지와 텍스트 사이 적당한 간격 */
}


.two-column .intro-text {
  max-width: 500px;
}


footer {
  width: 100%;
  text-align: center;
  padding: 1rem 0;
  border-top: 1px solid #444;
  font-size: 0.9rem;
  color: #aaa;
  margin-top: auto;
}

.footer-links {
  margin-top: 0.5rem;
}

.footer-links a {
  color: #eecbf5;
  margin: 0 0.7rem;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* 모바일 반응형 설정 */
@media (max-width: 480px) {
  .name {
    font-size: 28px;
    -webkit-text-stroke: 0.5px #eecbf5;
  }

  .title {
    font-size: 18px;
    padding-bottom: 2px;
  }

  .menu {
    flex-direction: column;
    gap: 10px;
    margin: 10px 0 20px 0;
  }

  .menu a {
    font-size: 14px;
    padding: 5px 10px;
  }

  .language-switch {
    top: 5px;
    right: 5px;
    padding: 4px;
  }

  .language-switch button {
    padding: 4px 6px;
    font-size: 12px;
  }

  .contact-info {
    font-size: 14px;
    margin: 1.5rem auto;
    padding: 0 10px;
  }

  /* .intro-text {
    font-size: 15px;
    line-height: 1.5;
    padding: 0 10px;
  } */

  .intro-text {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.6;
  max-width: 500px;
  margin: 0;       
  padding: 0 1rem;
}

  .two-column {
    flex-direction: column;
    align-items: center;
  }

  .two-column .portrait {
    width: 180px;
  }

  .two-column .intro-text {
    max-width: 100%;
  }

  .map-container iframe {
    width: 100%;
    height: 250px;
  }
}
