body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.icon-container {
    text-align: center;
}

.icon-container img {
    display: inline-block;
    margin: 0 auto;
}

.weather-card {
    background: #C4D600;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 300px;
}

.search-box {
    margin-bottom: 20px;
}

.search-box input {
    padding: 8px;
    width: 65%;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.search-box button {
    padding: 8px 12px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 15px; /* Adds space between the search box/icon above it and the button */
}

.search-box button:hover {
    background-color: purple;
}

.weather-info h3 {
    margin-bottom: 5px;
    color: #333;
}

/* 1. Reduce the space between 15°C and the cloud icon */
#temp {
    font-size: 2em;
    font-weight: bold;
    color: #007BFF;
    margin: 5px 0; /* Changed top/bottom margin from 10px to 5px */
}

/* 2. Target the paragraph container around the weather icon */
#weatherInfo p {
    margin: 0; /* Removes default paragraph spacing that creates a gap below the icon */
}

/* 3. Reduce the space between the cloud icon and 'Broken clouds' text */
#description {
    text-transform: capitalize;
    color: #666;
    margin-top: 5px; /* Pulls the description text closer to the icon above it */
}