* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
   background-image: 
linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.container {
    width: 100%;
    max-width: 420px;
    background: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(14px);
    border-radius: 22px;
    padding: 32px 26px;
    text-align: center;
    color: #fff;
    box-shadow: 0 25px 60px rgba(0,0,0,0.45);
}


.container h1 {
    font-size: 26px;
    margin-bottom: 24px;
    letter-spacing: 1px;
}


form {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
}

form input {
    flex: 1;
    height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    border: none;
    outline: none;
    font-size: 15px;
}

form button {
    height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ff8a00, #ff5722);
    box-shadow: 0 10px 22px rgba(255, 87, 34, 0.35);
    transition: all 0.25s ease;
}

form button:hover {
    transform: translateY(-2px);
}

form button:active {
    transform: scale(0.95);
}


.weather-info {
    margin-top: 10px;
}


#country {
    font-size: 17px;
    font-weight: 500;
    opacity: 0.95;
    margin-bottom: 6px;
}


#city {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 14px;
}


#temp {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 18px;
}


#description,
#humidity,
#wind {
    background: rgba(255, 255, 255, 0.12);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 10px;
    font-size: 14px;
    letter-spacing: 0.4px;
}
@media (max-width: 768px) {
    body {
        padding: 20px;
        align-items: flex-start;
    }

    .container {
        max-width: 520px;
        margin-top: 60px;
        padding: 30px 24px;
        border-radius: 20px;
    }

    .container h1 {
        font-size: 24px;
    }

    #temp {
        font-size: 26px;
    }

    form input,
    form button {
        height: 46px;
        font-size: 14px;
    }
}


@media (max-width: 480px) {
    .container {
        margin: 0 14px;
        padding: 26px 20px;
    }

    #temp {
        font-size: 24px;
    }
}
