#weather-widget {
    padding: 15px;
    text-align: center;
    border-radius: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* subtle shadow for depth */
    width: 100%;
    max-width: 600px; /* max-width for better control on larger screens */
    margin: 20px auto; /* centering the widget horizontally */
}

.weather-day {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 10px; /* increased gap for better visual separation */
    padding: 10px;
    font-family: 'Lato', sans-serif;
    background: rgba(255, 255, 255, 0.8); /* subtle background for each day */
    border-radius: 5px; /* rounded corners for each day's forecast */
    transition: transform 0.3s ease; /* smooth transition for hover effects */
}

.weather-day:hover {
    transform: scale(1.05); /* subtle zoom effect on hover */
    background: rgba(255, 255, 255, 1); /* highlight background on hover */
}

.weather-day img {
    height: 40px; /* slightly larger icons */
    width: 40px;
    transition: transform 0.3s ease; /* smooth transition for the icon */
}

.weather-day img:hover {
    transform: rotate(20deg); /* playful rotation effect on hover */
}

@media screen and (max-width: 600px) {
    #weather-widget {
        width: 100%; /* Adjust the width as needed */
        max-width: 300px; /* Sets a maximum width */
        align-items: center;
    }
}
