/* ===================== 내비게이션 바 스타일 ===================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 32px;
  position: relative;
  background-color: black;
}

/* 로고 텍스트 스타일 */
.logo {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: bold;
}

/* 메뉴 전체 리스트 */
.nav {
  list-style: none; /* 불릿 제거 */
  display: flex;
  gap: 1.5rem; /* 메뉴 사이 간격 */
}

/* 각 메뉴 아이템의 링크 스타일 */
.nav li a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease; /* 마우스 올릴 때 부드럽게 변화 */
}

/* 마우스 오버 시 효과 */
.nav li a:hover {
  color: #00bcd4; /* 청록색으로 변경 */
}

/* 모바일에서 보여지는 헤더 메뉴 설정 */
.btn {
  display: none;
}

/*team*/
/* 기본 레이아웃 설정 */
body {
  font-family: 'Noto Sans KR', sans-serif;
  background-color: #f9f9f9;
  margin: 0;
  padding: 0;
}

/* 제목 스타일 */
h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

h2 {
  font-size: 24px;
  margin-bottom: 30px;
  color: #666;
}

/* 팀원 목록 스타일 */
.team-members {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 0;
  list-style: none;
}

/* 개별 팀원 박스 스타일 */
.team-members li {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 220px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.team-members li:hover {
  transform: translateY(-8px);
}

/* 프로필 이미지 스타일 */
.team-members img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

/* 이름 */
.team-members .name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

/* 링크 버튼 */
.team-members .links a {
  display: inline-block;
  margin: 5px;
  padding: 6px 12px;
  font-size: 13px;
  color: white;
  background-color: #5c8df6;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.team-members .links a:hover {
  background-color: #3e6fd0;
}

/* home */

/* 기본 배경과 폰트 설정 */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 20px;
  background-color: #f9f9f9;
}

/* 제목 색상 */
h1,
h2 {
  color: #333;
  text-align: center;
}

section {
  margin: 50px 0;
  padding: 50px 0;
}

/* 각 섹션 박스 스타일 */
.section {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-top: 100px;
  margin-bottom: 40px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* 테이블 스타일 */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

/* 테이블 셀 */
th,
td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}

/* 테이블 헤더 배경 */
th {
  background-color: #f0f0f0;
}

/* --------------미디어-------------- */

@media screen and (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: black;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 16px 0;
  }

  .nav.active {
    display: flex;
  }

  .nav li {
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  .nav li:hover {
    background-color: #333;
  }

  .nav li a {
    display: block;
    width: 100%;
    height: 100%;
  }

  .btn {
    display: block;
    position: absolute;
    top: 20px;
    right: 32px;
    cursor: pointer;
  }
}
