* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins, sans-serif;
}

body {
   height: 100vh;
    width: 100%;
    margin: 0;
    font-family: Poppins, sans-serif;
    background: 
        linear-gradient(
            rgba(0, 0, 0, 0.4),
            rgba(0, 0, 0, 0.4)
        ),
        url("https://s43365.pcdn.co/wp-content/uploads/2025/07/sky-5907605_1280.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display:flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 350px;
    background: #ffffff29;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 25px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

h1 {
    color:black;
    margin-bottom: 15px;
    align-top:10px;
}

.search-box {
    display: flex;
    gap: 10px;
}

.search-box input {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    border: none;
    outline: none;
    font-size: 15px;
}

.search-box button {
    padding: 12px 20px;
    border: none;
    background: #2c3e50;
    color: white;
    border-radius: 10px;
    cursor: pointer;
}

#errorMsg {
    color: yellow;
    margin-top: 10px;
}

.weather-card {
    margin-top: 20px;
    color: white;
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    display: none;
}
