/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4; /* Light background color */
    color: #333; /* Dark text color */
    display: flex;
    flex-direction: column; /* Stack content vertically */
    min-height: 100vh; /* Full height of the viewport */
}

header {
    text-align: center; /* Center the header text */
    padding: 20px; /* Padding around the header */
    background-color: #007BFF; /* Header background color */
    color: white; /* White text color */
}

nav ul {
    list-style: none; /* Remove bullet points */
    padding: 0; /* Remove padding */
}

nav ul li {
    display: inline; /* Display links inline */
    margin: 0 15px; /* Space between links */
}

nav a {
    color: white; /* White text for links */
    text-decoration: none; /* No underline */
}

nav a:hover {
    text-decoration: underline; /* Underline on hover */
}

main {
    flex: 1; /* Allow main to grow and fill space */
    display: flex;
    flex-direction: column; /* Stack content vertically */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    padding: 20px; /* Padding around the main content */
}

.container {
    text-align: center; /* Center text in the container */
}

.response-frame {
    background-color: #e9ecef; /* Light gray background for the response frame */
    width: 500px; /* Fixed width for the response frame */
    height: 50px; /* Height of the response frame */
    border: 1px solid #ccc; /* Border color */
    border-radius: 4px; /* Rounded corners */
    margin-bottom: 20px; /* Space between the response frame and the form */
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    color: #6c757d; /* Grey text color */
}

.centered-form {
    background-color: white; /* White background for the form */
    padding: 20px; /* Padding inside the form */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    display: flex;
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center children horizontally */
    width: 500px; /* Fixed width for the form */
}

.centered-form label {
    margin-bottom: 10px; /* Space between label and input */
}

.centered-form input {
    width: 100%; /* Full width input */
    padding: 10px; /* Padding inside the input */
    margin-bottom: 20px; /* Space below the input */
    border: 1px solid #ccc; /* Border color */
    border-radius: 4px; /* Rounded corners */
}

.centered-form button {
    padding: 10px 20px; /* Padding for button */
    border: none; /* No border */
    border-radius: 4px; /* Rounded corners */
    background-color: #007BFF; /* Button background color */
    color: white; /* Text color */
    cursor: pointer; /* Pointer cursor on hover */
}

.centered-form button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

footer {
    text-align: center; /* Center the footer content */
    padding: 10px; /* Padding around the footer */
    background-color: #007BFF; /* Footer background color */
    position: sticky;
    color: white; /* White text color */
}

footer a {
    color: white; /* White text for footer links */
    text-decoration: none; /* No underline */
}

footer a:hover {
    text-decoration: underline; /* Underline on hover */
}

/* Responsive design */
@media (max-width: 800px) {
    .response-frame, .centered-form {
        width: 90%; /* Full width on small screens */
    }
}