* {
    box-sizing: border-box; /* 모든 요소에 box-sizing 적용 */
}

body {
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #e0f7fa, #80deea); /* 밝은 파란색 그라데이션 */
    color: black; /* 텍스트 색상 변경 */
    font-family: Arial, sans-serif;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #00796b; /* 링크 색상 */
    text-decoration: none; /* 밑줄 제거 */
    font-weight: bold; /* 굵게 */
    transition: color 0.3s; /* 부드러운 색상 변화 */
}

nav ul li a:hover {
    color: #004d40; /* 호버 시 색상 변화 */
}

.auth-buttons {
    margin-top: 15px;
}

button {
    background-color: #00796b; /* 버튼 배경 색상 */
    color: white; /* 버튼 텍스트 색상 */
    border: none;
    padding: 15px 30px;
    margin: 10px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #004d40; /* 버튼 호버 색상 */
}

.container {
    display: flex;
    height: calc(100vh - 100px); /* 헤더 높이를 제외한 전체 높이 */
}

main {
    flex: 1; /* 메인 콘텐츠가 남은 공간을 차지하도록 설정 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.sidebar {
    width: 250px; /* 사이드바 너비 */
    background-color: rgba(255, 255, 255, 0.9); /* 밝은 반투명 배경 */
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    position: fixed; /* 고정 위치로 설정 */
    right: 0; /* 오른쪽에 배치 */
    top: 0; /* 상단에 배치 */
    height: 100%; /* 높이를 전체 화면으로 설정 */
}

.sidebar h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin: 10px 0;
}

.sidebar ul li a {
    color: #00796b; /* 링크 색상 */
    text-decoration: none; /* 밑줄 제거 */
    transition: color 0.3s;
}

.sidebar ul li a:hover {
    color: #004d40; /* 호버 시 색상 변화 */
}

.hero {
    text-align: center;
    padding: 40px 20px;
}

.hero h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.team {
    text-align: center;
    padding: 40px 20px;
    background-color: rgba(255, 255, 255, 0.8); /* 밝은 반투명 배경 */
    border-radius: 10px;
}

.team h3 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #00796b; /* 팀 제목 색상 */
}

.team-member {
    background: rgba(255, 255, 255, 0.9); /* 팀 멤버 카드의 밝은 반투명 배경 */
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 20px;
    padding: 20px;
    display: inline-block;
    width: 200px;
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member h4 {
    margin: 10px 0;
    font-size: 1.5em;
}

.team-member p {
    color: #555; /* 팀 멤버 설명 색상 */
}

/* 미디어 쿼리 추가 */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* 모바일에서 세로 방향으로 변경 */
    }

    .sidebar {
        position: relative; /* 모바일에서는 고정되지 않도록 설정 */
        width: 100%; /* 사이드바 너비를 100%로 변경 */
        height: auto; /* 높이를 자동으로 조정 */
        box-shadow: none; /* 그림자 제거 */
    }

    main {
        padding: 10px; /* 모바일에서 패딩 줄이기 */
    }

    .team-member {
        width: 90%; /* 모바일에서 팀 멤버 카드의 너비를 90%로 설정 */
        margin: 10px auto; /* 중앙 정렬 */
    }

    nav ul li {
        display: block; /* 모바일에서 메뉴를 세로로 쌓기 */
        margin: 10px 0;
    }

    .hero h2 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    button {
        padding: 10px 20px;
    }

    .hero {
        padding: 20px; /* 모바일에서 패딩 줄이기 */
    }
}
