body {
    font-family: Arial, sans-serif;
    background: url('5.jpg') no-repeat center center/cover;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chat-container {
    width: 100%;
    height: 100vh;
    margin: 0;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background-color: #424242;
    color: #fff;
    padding: 25px;
    text-align: center;
    font-size: 3rem;
}

.chat-box {
    flex-grow: 1;
    overflow-y: auto;
    padding: 25px;
    font-size: 2rem;
}

.chat-message {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.chat-message-text {
    background-color: #f2f2f2;
    padding: 25px;
    border-radius: 5px;
    max-width: 80%;
    word-wrap: break-word;
    font-size: 2rem;
}

.chat-input {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    border-top: 1px solid #ccc;
    position: relative;
    bottom: 20px;
    width: 100%;
}

.chat-input input {
    flex-grow: 1;
    padding: 20px;
    border-radius: 5px;
    border: 2px solid #ccc;
    margin-right: 10px;
    outline: none;
    font-size: 2rem;
}

.chat-input button {
    background-color: #424242;
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-size: 2rem;
}

.chat-input button:hover {
    background-color: #5a5a5a;
    transform: scale(1.05);
}

.user-message {
    text-align: right;
}

.user-message .chat-message-text {
    background-color: #5a5a5a;
    color: white;
}

@keyframes chat-message-pop {
    0% {
        transform: translateY(40%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.chat-message {
    animation: chat-message-pop 0.5s ease-in-out;
}

@media (max-width: 768px) {
    .chat-header {
        font-size: 3.5rem;
    }
    .chat-box {
        font-size: 2.5rem;
    }
    .chat-message-text {
        font-size: 2.5rem;
    }
    .chat-input {
        bottom: 30px;
    }
    .chat-input input {
        font-size: 2.5rem;
    }
    .chat-input button {
        font-size: 2.5rem;
    }
}
