body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: white;
    text-align: center;
    background: #000;
    transition: background 0.5s ease;
}

.card {
    max-width: 400px;
    background: rgba(0,0,0,0.6);
    margin: 50px auto;
    padding: 20px;
    border-radius: 20px;
}

.search {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.search input {
    padding: 10px;
    font-size: 16px;
    border-radius: 10px;
    border: none;
    flex: 1;
}

.search button {
    background: #ffd700;
    border: none;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
}

.weather img {
    width: 100px;
}

.details {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.col img {
    width: 40px;
}

/* Mobile responsive */
@media (max-width: 500px) {
    .card {
        width: 90%;
        padding: 15px;
    }

    .weather img {
        width: 80px;
    }
}
