/* Weather Card Styling */

.card {
    width: 100%;
    max-width: 300px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-variant));
    color: #fff;
    margin: 25px auto;
    border-radius: 5px;
    padding: 20px 20px;
    text-align: center;
    box-shadow: 3px 3px 3px black;
    display: block;
    backdrop-filter: blur(20px);
}

.search {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search input {
    border: 0;
    outline: 0;
    background: var(--base-color);
    color: var(--text-color);
    padding: 5px 5px;
    height: 30px;
    border-radius: 10px;
    flex: 1;
    margin-right: 16px;
    font-size: 18px;
    text-align: center;
}

.search input:hover {
    background: var(--text-color);
    color: var(--base-color);
}

.search button {
    border: 0;
    outline: 0;
    background: var(--base-color);
    border-radius: 10px;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.search button:hover {
    background: var(--text-color);
}

.search button img {
    width: 20px;
}

.weather {
    display: none;
}

.error {
    text-align: left;
    color: orangered;
    margin-left: 60px;
    font-size: 14px;
    margin-top: -10px;
    display: none;
}

.weather-icon {
    width: 125px;
    margin-top: 20px;
}

.weather h1{
    font-size: 50px;
    font-weight: 500;
    margin: 0;
}

.weather h2{
    font-size: 25px;
    font-weight: 400;
    margin: 0;
}

.details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    margin-top: 25px;
    font-size: 15px;
}

.col {
    display: flex;
    align-items: center;
    text-align: center;
    line-height: 5px;
}

.col img {
    width: 30px;
    margin-right: 10px;
}

.humidity, .wind {
    font-size: 15px;
}