
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #121212;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1580193769210-b8d1c049a7d9?q=80&w=1740&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.container {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 90%;
    max-width: 400px;
    backdrop-filter: blur(10px);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.search-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#city-input {
    flex-grow: 1;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: background-color 0.3s, box-shadow 0.3s;
}

#city-input:focus {
    background-color: rgba(255, 255, 255, 0.2);
    outline: none;
    box-shadow: 0 0 15px rgba(102, 178, 255, 0.5);
}

#search-btn {
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    background-color: #007bff;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

#search-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.weather-info {
    margin-top: 20px;
}

#city-name {
    font-size: 2rem;
    margin-bottom: 10px;
}

#weather-description {
    font-size: 1.2rem;
    text-transform: capitalize;
    margin-bottom: 10px;
}

#temperature {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

#weather-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 2rem;
    }

    .search-container {
        flex-direction: column;
    }
}
