/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Flex Layout for Body */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f7fc;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1; /* Allow this section to grow and push the footer down */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.header {
    width: 100%;
    text-align: center;
    background: linear-gradient(to right, #0073e6, #ff4d4d);
    color: #fff;
    padding: 20px 0;
}

.header h1 {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
}

.header p {
    font-size: 18px;
    margin-top: 10px;
}

.container {
    display: flex;
    flex-direction: column;
    height: 65vh;
    margin: 30px auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 75%;
}

.messages {
    list-style-type: none;
    padding: 0;
    margin: 0;
    max-height: 80vh;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Footer Styling */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    background-color: #f1f1f1;
    font-size: 14px;
    color: #666;
}

.footer p {
    margin: 0;
}

li {
    display: flex;
    align-items: center;
}
