*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bgimg::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100vh;
    backdrop-filter: blur(8px);
}

.bgimg{
    height: 100vh;
    width: 100%;
    background-image: url(https://external-preview.redd.it/aEhsmnARsfJUOm9RI1EoiEDuiiFRzDZfjn_3tmnhYhM.jpg?auto=webp&s=ea6cb0fe9293783d5ae12fb03e57530083190076);
    background-size: cover;
    background-repeat: no-repeat;
}

.area{
    text-align: center;
    padding-bottom: 1px;
    background-color: rgba(0, 0, 0, 0.4);
    color: rgba(226, 255, 255);
    font-family: 'Monserrat', sans-serif;
    letter-spacing: 2px;
    font-weight: bold;
    border: 3px solid #ffffff;
    border-radius: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    width: 30%;
}

.name{
    padding: 15px;
    font-family: 'Nunito', sans-serif;
}

.container{
    text-align: center;
    padding-top: 15px;
}

.search:empty{
    transform: translate(3.2%, 0)
}

.search{
    transform: translate(2%, 0)
}

.input{
    display: grid;
    grid-auto-flow: row;
    justify-content: space-evenly;
}

.input>input{
    padding: 10px;
    border: none;
    border-radius: 15px;
    height: 0.5%;
    background: rgb(255, 255, 255, 0.4);
    font-style: inherit;
    color: white;
}

.inputval::placeholder{
    color: rgba(255, 255, 255, 0.6);
}

.button{
    position: relative;
    border: white;
    align-items: center;
    width: 50px;
    height: 17px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.4);
    color: white;
    font-family: inherit;
    transition: 0.5s;
}

.button:focus{
    outline: none;
}

.button.hover{
    background-color: rgba(255, 255, 255, 0.1);
}

.button:active{
    background-color: rgba(255, 255, 255, 1);
}

.dispweather{
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: larger;
}

.temp{
    padding: 15px;
}
.feelslike{
    padding: 15px;
}
.speed{
    padding: 15px;
}
.heading{
    padding: 15px;
}
.humidity{
    padding: 15px;
}
.desc{
    padding: 15px;
}

.temp:empty{
    display: none;
}
.feelslike:empty{
    display: none;
}
.speed:empty{
    display: none;
}
.heading:empty{
    display: none;
}
.humidity:empty{
    display: none;
}
.desc:empty{
    display: none;
}
