@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,700;1,500&display=swap');

/* API link */
/* https://api.openweathermap.org/data/2.5/weather?q=delhi&appid=c08be58ae5a18571c1fc6d2ebefce685&units=metric */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body{
    background-color: #353211;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}
.search{
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 25px;
    cursor: pointer;
}
.search-div{
    display: flex;
    justify-content: space-between;
    align-items: center;

}
.city{
    width: 200px;
    padding: 10px;
    font-size: 15px;
    outline: none;
    border:none;
    border-radius: 13px;

}
.card{
    text-align: center;
    width: 360px;
    min-height: 5rem;
    background-color:#ffffff1d ;
    backdrop-filter: blur(2px);
    padding: 25px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 18px;

}
.error{
    color: #fff;
    -webkit-text-stroke: #000;
    -webkit-text-stroke-width: 1px;
}
.details
{
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    text-align: center;
}
.col h3{
    font-size: 25px;
}
.col p{
    font-size:20px;
}
.weather, .error{
    display: none;
}
.credits{
    font-size: 20px;
    color: #ffff00;
    opacity: 0.8;
    font-weight: 600;
    position: absolute;
    bottom: 20px;
    backdrop-filter: blur(20px);
    padding-left: 10px;
    padding-right: 10px;
    -webkit-text-stroke: #ff0000 1px;
}
#mute{
    font-size: 15px;
    color: #000;
    padding: 3px;
    border: none;
    border-radius: 10px;
    background:#fff;
    display: none;
}
