* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

/* Card */
.card {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(45deg, #00feba, #5b548a, purple);
    color: #fff;
    border-radius: 20px;
    padding: 24px 20px;
    text-align: center;
}

/* Search */
.search {
    display: flex;
    gap: 12px;
}

.search input {
    flex: 1;
    border: none;
    outline: none;
    background: #ebfffc;
    color: #333;
    padding: 14px 16px;
    border-radius: 30px;
    font-size: 16px;
    text-align: center;
}

.search button {
    border: none;
    outline: none;
    background: #ebfffc;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search button img {
    width: 20px;
}

/* Weather */
.weather-icon {
    width: 110px;
    margin-top: 20px;
}

.weather h1 {
    font-size: 48px;
    font-weight: 500;
    margin-top: 10px;
}

.weather h2 {
    font-size: 26px;
    font-weight: 400;
    margin-top: -4px;
}

/* Details */
.details {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 10px;
}

.col {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.col img {
    width: 32px;
}

.humidity,
.wind {
    font-size: 20px;
}

/* 📱 Tablet and up */
@media (min-width: 768px) {
    .card {
        padding: 36px 32px;
    }

    .weather-icon {
        width: 150px;
    }

    .weather h1 {
        font-size: 64px;
    }

    .weather h2 {
        font-size: 34px;
    }

    .humidity,
    .wind {
        font-size: 24px;
    }
}
