* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.card {
    width: 90%;
    max-width: 470px;
    background: linear-gradient(135deg, #00feba, #5b548a);
    color: #fff;
    border-radius: 20px;
    padding: 40px 35px;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.search {
    width: 100%;
    display: flex; align-items: center;
    justify-content: space-between;
}

.search input {
    border: 0;
    outline: 0;
    background: #ebfffc;
    color: #555;
    padding: 10px 25px;
    height: 50px;
    border-radius: 30px;
    flex: 1;
    margin-right: 16px;
    font-size: 18px;
}

.search button {
    background-color: #168877;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    outline: 0;
    width: 50px;
    height: 50px;
}.search button i {
    font-size: 18px;
    color: white;
}

.weather-icon {
    width: 120px;
    margin-top: 20px;
}

.temp {
    font-size: 50px;
    font-weight: 600;
}

.city {
    font-size: 35px;
    font-weight: 500;
    margin-top: -10px;
}

.description {
    font-size: 20px;
    font-weight: 400;
    margin-top: 4px;
    text-transform: capitalize;
}
.details {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.col {
    display: flex;
    align-items: center;
    text-align: left;
}

.col img {
    width: 40px;
    margin-right: 10px;
}

.humidity, .wind {
    font-size: 20px;
}

.error-message {
    color: #ff4d4d;
    font-size: 16px;
    margin-top: 15px;
}