body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  background: #e0e0e0; /* 문서 전체 배경색 추가 */
}

header {
  background: #333;
  color: #fff;
  padding: 1rem 0 0 0; /* 아래쪽 패딩을 0으로 설정 */
  text-align: center;
}

header h1 {
  margin: 0.5rem 0;
  font-size: 2rem;
}

nav {
  background: #444; /* 메뉴 배경색 설정 */
  padding: 0.5rem 0;
  margin: 0;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
}

nav ul li {
  margin: 0 1rem;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ffcc00; /* 링크 hover 시 강조 효과 */
}

section {
  padding: 2rem;
  max-width: 800px;
  margin: 2rem auto; /* 상하단 여백 추가 */
  background: #ffffff; /* section 배경색을 더 밝은 색으로 변경 */
  border-radius: 10px; /* 모서리 둥글게 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 그림자 추가 */
}

.about,
.contact {
  text-align: center;
}

.projects {
  text-align: center;
}

.projects .project-list {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.projects .project-item {
  flex: 1 1 calc(50% - 1rem);
  box-sizing: border-box;
  margin: 0.5rem 0;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  text-align: left;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.projects .project-item h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .projects .project-item {
    flex: 1 1 100%; /* 작은 화면에서는 세로로 배치 */
  }
}

footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}

img.profile {
  display: block;
  margin: 1rem auto;
  border-radius: 50%;
  width: 200px; /* 이미지 크기 증가 */
  height: 200px; /* 이미지 크기 증가 */
  object-fit: cover;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.about-text {
  max-width: 500px;
}
