body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://source.unsplash.com/1600x900/?weather') no-repeat center center fixed;
    background-size: cover;
    color: white;
    transition: background-image 0.5s ease;
}

.container {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

h1 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.search-container {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
}

#city-input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

#location-btn {
    background-color: #2196F3;
}

#location-btn:hover {
    background-color: #0b7dda;
}

.weather-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.weather-icon {
    font-size: 4rem;
}

.weather-info {
    flex: 1;
}

#temperature {
    font-size: 2.5rem;
    margin: 0.5rem 0;
}

#weather-condition {
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

#humidity {
    margin: 0.5rem 0;
}

.hidden {
    display: none;
}

#error-message {
    color: #ff6b6b;
    margin-top: 1rem;
    text-align: center;
    font-weight: bold;
}