body {
    background-image: url('space-background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    font-family: Arial, sans-serif;
}
  
header {
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
}
  
 .image-container {
    display: flex;
    justify-content: center;
    margin: 20px;
}

.image-container img {
    width: 50%;
    height: auto;
}

.chat-container {
    background-color: rgba(255, 255, 255, 0.8);
    margin
    margin: 20px auto;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.messages p {
    margin: 5px 0;
}

.messages .user {
    /* Add custom styles for user messages */
    color: #222;
}

.messages .server {
    /* Add custom styles for server messages */
    color: #007bff;
}

form {
    display: flex;
}

#message-input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    margin-left: 10px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -16px;
    margin-left: -16px;
    width: 32px;
    height: 32px;
    border: 2px solid rgba(0, 123, 255, 0.2);
    border-left-color: #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
  
@keyframes spin {
    to {
      transform: rotate(360deg);
    }
}
  