body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-image: url("images/boxing ring.jpg");
    background-size: cover; /* Make the image cover the entire background */
    background-position: center; /* Center the image */
    font-family: Arial, sans-serif;
    color: #f0f0f0; /* Light text */
}

#chatContainer {
    width: 350px;
    border: 1px solid #f0f0f0; /* Light border */
    padding: 10px;
    background-color: #2a2a2a; /* Darker chat container */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

#chatContainer h1 {
    text-align: center;
    font-family: Impact, Arial, sans-serif;
}

#chatbox {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 370px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #f0f0f0; /* Light border */
    border-radius: 10px; /* Rounded corners */
}

.message {
    max-width: 60%;
    padding: 10px;
    margin: 10px;
    border-radius: 10px 10px 10px 0;
    transition: background-color 0.3s ease;
}

.message:hover {
    background-color: #1a1a1a; /* Darker message on hover */
    color: #f0f0f0; /* Light text on hover */
}

.user {
    align-self: flex-end;
    background-color: #f0f0f0; /* Light user messages */
    color: #1a1a1a; /* Dark text */
    border-radius: 10px 10px 0 10px;
}

.mike {
    align-self: flex-start;
    background-color: #ff4500; /* Boxing ring inspired color for Mike's messages */
    color: #f0f0f0; /* Light text */
}

#inputContainer {
    display: flex;
    margin-top: 10px; /* Add some space above the input container */
}

#userInput {
    flex-grow: 1;
    border-color: #f0f0f0; /* Light border */
    padding: 10px;
    border-radius: 20px;
    margin-right: 10px;
    color: #1a1a1a; /* Dark text */
    background-color: #f0f0f0; /* Light background */
}

#sendButton {
    background-color: #ff4500; /* Boxing ring inspired color for the send button */
    color: #f0f0f0; /* Light text */
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
}

.mikeProfilePic {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 5px;
}

.mikeMessageContainer {
    width: 100%;
    display: flex;
    align-items: flex-end;
    margin-bottom: 10px;
}

.userMessageContainer {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.userProfilePic {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-left: 5px;
}

@keyframes typing {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

.typing {
    animation: typing 1s infinite;
}

#chatbox::-webkit-scrollbar {
    width: 10px;
}

#chatbox::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#chatbox::-webkit-scrollbar-thumb {
    background: #888;
}

#chatbox::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Styles for desktop */
#chatContainer {
    width: 600px;
}

/* Styles for tablet */
@media screen and (max-width: 768px) {
    #chatContainer {
        width: 80%;
    }
}

/* Styles for mobile */
@media screen and (max-width: 480px) {
    body {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        height: 100vh;
        margin: 30px 0 0 0;
        background-image: url("images/boxing ring.jpg");
        font-family: Arial, sans-serif;
        color: #f0f0f0; /* Light text */
    }
    #chatContainer {
        width: 80%;
        height: 83%;
        overflow-y: auto;
    }
    #chatbox {
        height: 75%;
    }
}