body {
    font-family: Arial, sans-serif;
    background-color: #000000;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    flex-direction: column;
    background-image: url(./bgrd.png);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

h2 {
    width: 50%;
    min-width: 300px;
    background: rgba(0,0,0,0.3);
    color: white;
    text-align: center;
}

label {
    width: 50%;
    min-width: 300px;
    background: rgba(0,0,0,0.3);
    color: white;
    line-height: 28px;
}

input {
    width: 25%;
    font-size: 24px;
}

.intro-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.intro-container img {
    width: 50%;
    min-width: 300px;
}
.intro-container button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    background-color: #4CAF50;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.kakao-ad {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
    width: 320px;
    height: 50px;
    /* min-width: 350px; */
    /* min-height: 70px; */
}

.chat-container {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    width: 350px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0.9;
}

.chat-messages {
    height: 70vh;
    overflow-y: scroll;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.chat-messages::before {
    content: "";
    display: block;
    flex: 1;
}

.message {
    margin-bottom: 6px;
    padding: 8px 12px;
    border-radius: 8px;
}

.message.sent {
    background-color: #DCF8C6;
    align-self: flex-end;
    text-align: right;
}

.message.received {
    background-color: #E0E0E0;
    align-self: flex-start;
}

.message-text {
    font-size: 14px;
    line-height: 20px;
}

.chat-form {
    display: flex;
    align-items: flex-end;
    padding: 10px;
    border-top: 1px solid #ccc;
}

.chat-form input[type="text"] {
    flex: 1;
    padding: 8px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.chat-form button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    background-color: #4CAF50;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}
#loader {
    font-size: 25px;
    text-align: center;
}