body {
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Ensure it takes the full height */
    font-family: 'Roboto', sans-serif;
    background-color: #f0f0f0;
    color: #444;
    margin: 10px;
    padding: 0;
}

header {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.input-container {
    margin: 20px auto;
    max-width: 100%;
    width: 20%;
    text-align: center;
}

.current-weather {
    background-image: linear-gradient(to bottom, #f0f0f0, #d3d3d3); /* Light gray gradient */
    padding: 30px;
    text-align: center;
}

.forecast-sections {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.forecast-section {
    width: 100%;
    margin-bottom: 20px;
}

.forecast-section h3 {
    text-align: center;
}

.current-weather h2,
.current-weather p {
    font-size: 17px; /* Adjust font size as needed */
    margin-bottom: 10px;
}

.eight-day-forecast {
    background-color: #2b2b2b; /* Dark background for contrast */
    color: #ffffff; /* White text */
    border-radius: 8px;
    padding: 20px;
    margin-top: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Shadow for depth */
}

.eight-day-forecast h3 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
}

#eightDayForecastList {
    list-style-type: none; /* Remove bullets */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
    text-align: center; /* Center align the text */
}

#eightDayForecastList li {
    background-color: #383838; /* Lighter dark background for each item */
    border-radius: 5px;
    padding: 15px;
    margin: 10px 0;
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center items vertically */
    transition: background-color 0.3s; /* Smooth background transition */
}

#eightDayForecastList li span {
    font-weight: bold; /* Bold for emphasis */
}

#eightDayForecastList li:hover {
    background-color: #474747; /* Change background on hover */
}

.weather-icon {
    width: 50px; /* Set desired size */
    height: 50px;
    vertical-align: middle; /* Align with text */
    margin-right: 10px; /* Space between icon and text */
}

.weather-dashboard {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    background-color: #f0f0f0; /* Default background */
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.location-info {
    margin-bottom: 20px;
}

/* Input and Button Styles */
#cityInput {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 70%; /* Make it responsive */
}

#getWeatherButton {
    padding: 10px 15px;
    margin-top: 10px;
    background-color: #007bff; /* Primary color */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#getWeatherButton:hover {
    background-color: #0056b3; /* Darken on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .weather-dashboard {
        width: 90%;
    }
}

footer {
    position: fixed; /* Change to fixed */
    font-size: 3.75mm;
    bottom: 0;
    left: 0;
    right: 0; /* Stretch it across */
    text-align: center;
    padding: 10px;
    background-color: #333; /* Match header for consistency */
    color: #fff; /* Ensure text is readable */
}