body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

.container {
    max-width: 800px;
    margin: auto;
    text-align: center;
    padding: 20px;
}

.chat-interface {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 20px;
}

.user, .chatbot {
    width: 100%;
    margin-bottom: 20px;
}

.icon {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.controls button {
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #007BFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 5px;
}

.controls button:hover {
    background-color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .container {
        padding: 10px;
    }

    .chat-interface {
        padding: 10px;
    }

    .controls button {
        padding: 8px 16px;
        font-size: 14px; /* Smaller font size for smaller screens */
    }

    .icon {
        width: 40px; /* Smaller icons for smaller screens */
        height: 40px;
    }
}

@media (max-width: 400px) {
    .controls button {
        width: 100%; /* Full width buttons for very small screens */
        margin: 5px 0; /* Stack buttons vertically with margin between */
    }
}

.button-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.button-row button {
    width: 120px;  /* Adjust as needed */
    padding: 10px 0;  /* Vertical padding */
    margin-right: 10px;
    box-sizing: border-box;  /* Include padding and border in element's total width and height */
}

.controls {
    position: relative;
    padding-top: 40px; /* Space for the #status element */
}

#status {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: #ff7f7f; /* Softer red */
    font-weight: bold;
}

@media screen and (max-width: 600px) {
    #status {
        font-size: 16px;
    }
}

#mainDescription {
    font-size: 16px;
}

#contact-section {
        margin-top: 50px;
}