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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Times New Roman", Times, serif;
  font-weight: 600;
}

body {
  background: url(./images/body.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100dvh;
  width: 100%;
  position: relative;
  display:flex;
  align-items: center;
  justify-content: center;
}

body::before{
    content: '';
    width: 100%;
    height: 100dvh;
    position: absolute;
    background: rgba(200, 200, 200, 0.1);
    backdrop-filter: blur(5px);
}

.card {
  width : 450px;
  background: transparent;
  backdrop-filter: blur(100px);
  border: 1px solid #fff;
  color: #fff;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
}


.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: 60px;
    border-radius: 30px;
    flex: 1;
    margin-right: 16px;
    font-size: 18px;
}


.search button{
    border: 0;
    outline: 0;
    background: #ebfffc; 
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
}

.search button img{
    width: 16px;
}

.weather-icon{
    width: 170px;
    margin-top: 30px;
}

.weather h1{
    font-size: 80px;
    font-weight: 500;
}
.weather h2{
    font-size: 45px;
    font-weight: 400;
    margin-top: -10px;
}

.details{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 20px;
    margin-top: 50px;
}

.col{
    display: flex;
    align-items: center;
    text-align: left;
}
.col img{
    width: 40px;
    margin-right: 10px;
}


.humidity , .wind{
  font-size: 28px;
  margin-top: -6px;
}

.weather{
    display: none;
}

.weather-name{
    font-size: 2rem;
}

.error{
    text-align: left;
    margin-left: 10px;
    font-size: 14px;
    margin-top: 10px;
    display: none;
}


@media only screen and (max-width: 450px){
body{
    max-height:850px;
    width: 100%;
    padding: 0px 20px;
}
.card {
   min-width:350px;
   padding : 20px;
}
.search input{
    padding: 10px 25px;
    height: 40px;
    flex: 1;
    margin-right: 5px;
    font-size: 18px;
}


.search button{
    width: 40px;
    height: 40px;
}

.search button img{
    width: 14px;
}
.weather-icon{
    width: 130px;
}
.weather-name{
    font-size: 1.5rem;
}
.weather h1{
    font-size: 60px;
}
.weather h2{
    font-size: 40px;
}

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


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



}