/* 공통 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    line-height: 1.6;
}

/* 헤더 스타일 */
.header {
    width: 100%;
    height: 80px;
    background-color: #6A24FE;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header .logo {
    font-size: 24px;
    font-weight: bold;
}

.header nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 16px;
}

.header nav a:hover {
    text-decoration: underline;
}

/* 메인 컨테이너 */
.container {
    margin: 100px auto 0 auto;
    width: 90%;
    max-width: 800px;
}

/* 채팅방 */
#chat-container {
    margin-top: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

#messages {
    list-style: none;
    max-height: 300px;
    overflow-y: scroll;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#messages li {
    padding: 10px;
    border-bottom: 1px solid #f4f4f4;
}

#messages li:last-child {
    border-bottom: none;
}

#form {
    display: flex;
}

#input {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
}

button {
    background-color: #6A24FE;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #5a1ecd;
}

/* 팀 소개 */
.team {
    text-align: center;
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.team p {
    font-size: 18px;
    color: #333;
    line-height: 1.5;
}

/* 하단 여백 - 최 하단 고정 */
.bottom {
    position: fixed; /* 고정 위치 */
    bottom: 0; /* 화면의 가장 하단 */
    left: 0; /* 화면의 왼쪽에 정렬 */
    width: 100%; /* 화면 전체 너비 */
    background-color: #f4f4f4;
    padding: 20px;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1); /* 상단 그림자 */
    text-align: center; /* 텍스트 가운데 정렬 */
    z-index: 1000; /* 다른 요소보다 위에 배치 */
}

/* contact - bottom 안에 위치 */
.contact {
    text-align: center;
    padding: 10px 20px;
    border-radius: 5px;
    color: #333;
    font-size: 14px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .header nav a {
        font-size: 14px;
    }

    #chat-container {
        padding: 10px;
    }

    #input {
        font-size: 14px;
    }

    button {
        font-size: 14px;
    }
}
