
body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f8ff;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 90%;
    max-width: 500px;
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 20px;
}

.search-container {
    display: flex;
    margin-bottom: 20px;
}

#city-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
}

#search-btn {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 16px;
}

#search-btn:hover {
    background-color: #45a049;
}

.weather-info {
    margin-top: 20px;
}

.location h2 {
    margin: 0;
    font-size: 24px;
}

.location p {
    margin: 5px 0;
    color: #666;
}

.weather-main {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}



#temperature {
    font-size: 48px;
    margin-left: 15px;
    font-weight: bold;
}

.weather-details {
    text-align: left;
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.weather-details p {
    margin: 8px 0;
    color: #555;
}

.weather-details span {
    font-weight: bold;
    color: #333;
}

a {
    display: inline-block;
    margin-top: 20px;
    color: #4CAF50;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}