/* 기본 초기화 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f9f9f9;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 네비게이션 바 */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: white;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: #000000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  transition: all 0.3s ease;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #2575fc;
}

/* 햄버거 메뉴 */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* 메인 콘텐츠 */
.layout {
  margin-top: 100px; 
  flex: 1;
  padding: 20px;
}

/* 팀원 소개 박스 */
.team-section {
  margin-top: 120px; 
  display: flex;
  justify-content: center;
  padding: 20px;
}

#contents {
  max-width: 1000px; 
  width: 100%;
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#contents h1 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
}

.member {
  margin-bottom: 30px;
  text-align: center;
}

.member h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.member p {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  background-color: #101f37;
  color: #fff;
  padding: 10px 20px;
  margin-top: 10px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background-color: #1a5bb8;
  transform: translateY(-2px);
}

/* 푸터 */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #f0f4f8;
  color: #666;
  margin-top: auto;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    top: 1.2rem;
    right: 2rem;
    z-index: 1001;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 2rem;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.show {
    display: flex;
  }

  .navbar {
    flex-direction: row;
    align-items: center;
  }

  .flexbox {
    flex-direction: column;
    text-align: center;
  }

  .flexbox .item.image img {
    width: 100%;
    max-width: 300px;
  }
}
