/* General body styling */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f7fc;
    margin: 0;
    padding: 0;
    color: #333;
}

/* Container styling */
.container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-sizing: border-box;
}

/* Header styling */
h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 30px;
}

h2 {
    text-align: center;
    font-size: 2.0rem;
    color: #2c3e50;
    margin-bottom: 30px;
}

/* Form styling */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Label styling */
label {
    font-weight: 600;
    font-size: 1rem;
    color: #34495e;
}

/* Select and textarea styling */
select, textarea {
    font-size: 1rem;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
    outline: none;
    box-sizing: border-box;
}

/* Hover effect for select and textarea */
select:hover, textarea:hover {
    border-color: #3498db;
}

/* Styling for the textarea */
textarea {
    resize: vertical;
    height: 120px;
}

/* Button styling */
button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Hover effect for button */
button:hover {
    background-color: #2980b9;
}

/* Styling for the message div */
.message {
    text-align: center;
    font-size: 1rem;
    color: #e74c3c;
    padding-top: 15px;
}

/* Success message styling */
.message.success {
    color: #2ecc71;
}

/* Flexbox utility for centering elements */
.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ensures placeholder text respects line breaks */
textarea::placeholder {
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

/* Responsive logo styling */
.logo-container {
    text-align: center;
    margin-bottom: 10px;
}

.logo {
    max-width: 100%; /* Prevents the logo from exceeding its container width */
    height: auto; /* Maintains the aspect ratio */
    width: 200px; /* Default width for larger screens */
}

@media (max-width: 600px) {
    .logo {
        width: 150px; /* Adjust size for smaller screens */
    }
}

@media (max-width: 400px) {
    .logo {
        width: 100px; /* Adjust size for very small screens */
    }
}