@font-face {
  font-family: 'MyFont';
  src: url('./fonts/neodgm.woff') format('woff'),
}

body {
  margin: 0;
  padding: 0;
  font-family: 'MyFont', sans-serif;
  background-color: gray;
  font-size: 18px;
  text-align: center; /* 기본 텍스트 중앙정렬 */
}

.center-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 75vh; /* 화면 전체 높이에 맞춤 */
}

.container {
  max-width: 800px;
  width: 100%;
  padding: 2em;
  margin: 1em;
  background-color: #F5EBFF; /* Container lilás bem claro */
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.title {
  font-size: 48px;
  color: white;
  text-shadow: 2px 2px black;
  margin-bottom: 20px;
}

.footer {
  margin-top: 40px;
  padding: 20px 0;
  background-color: #f4f4f4;
  text-align: center;
}

.social-icon {
  width: 26px;
  margin: 0 5px;
  transition: transform 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.2);
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .container {
    flex-direction: column;
    padding: 10px;
  }

  .character-img {
    width: 100%;
  }
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h2 {
    color: #333;
    border-bottom: 2px solid #5444b3;
    padding-bottom: 0.5em;
    margin-bottom: 1em;
    text-align: center;
}

img {
  width: 100%;    /* 부모 요소에 맞게 자동 조정 */
  max-width: 1000px;
}

.project-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;     /* 원형 이미지 */
  object-fit: cover;      /* 꽉 차게 자르기 */
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.project-img:hover {
  transform: scale(1.1);
}