* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    color: #fff;
}
.card {
    width: 90%;
    max-width: 470px;
    text-align: center;
    border-radius: 20px;
    padding: 40px 35px;
    margin: 100px auto 0;
    background: linear-gradient(135deg, #00feba, #5b548a);
}
.search {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.search input {
    height: 60px;
    border-radius: 2rem;
    border: none;
    outline: none;
    padding: 20px;
    color: #555;
    margin-right: 16px;
    font-size: 18px;
    flex: 1;
    background: #ebfffc;
}
.search button {
    border: none;
    background: #ebfffc;
    outline: 0;
    padding: 10px;
    border-radius: 50px;
    height: 60px;
    width: 60px;
    font-size: 1.2rem;
}
.weather-icon {
    width: 170px;
    margin-top: 30px;
}
.weather h1 {
    font-size: 80px;
    font-weight: 500;
}
.weather h2 {
    font-size: 45px;
    font-weight: 400;
    margin-top: -10px;
}
.details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
    padding: 0 20px;

}
.col {
    display: flex;
    align-items: center;
    text-align: left;
}
.col img {
    width: 40px;
    margin-right: 10px;
}
.humidity, .wind {
    font-size: 28px;
    margin-top: -10px;
}
.col p {
    margin-bottom: -8px;
}
i {
    color: #555;
}
.weather {
    display: none;
}
.error {
    text-align: left;
    margin-left: 10px;
    font-size: 14px;
    margin-top: 10px;
    display: none;
}