* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

#img {
    height: 100%;
    width: 100%;

}

h3 {
    padding: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 60px;
    color: rgb(241, 147, 65);
    -webkit-text-stroke-width: 3px;
    -webkit-text-stroke-color: black;

}

body {
    background-image: url("image/bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;

}

.card {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    width: 90%;
    max-width: 470px;
    margin: 100px auto;
    border-radius: 20px;
    padding: 20px;
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
}

.search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

#city-input {
    background: #ebfffc;
    padding: 10px 20px;
    height: 40px;
    border-radius: 20px;
    flex: 1;
    margin-right: 10px;
    font-size: 16px;
}

#search-btn {
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

#search-btn:hover {
    background-color: rgb(184, 181, 181);
}

img {
    width: 30px;
    mix-blend-mode: screen;
}

.error {
    color: #ff6b6b;
    font-size: 14px;
    margin-bottom: 10px;
    display: none;
}

.weather {
    display: none;
    margin-top: 20px;
}


.weather-icon {
    width: 170px;
    margin-bottom: 20px;
}

.temp {
    font-size: 2.5em;
    margin-bottom: 5px;
}

.city {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.details {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.col {
    display: flex;
    align-items: center;
    text-align: left;
}

.col img {
    width: 30px;
    margin-right: 10px;
}

.humidity,
.wind {
    font-size: 18px;
}

.loading {
    display: none;
    font-size: 24px;
    margin-top: 20px;
}