body{
  font-family:Arial,sans-serif;
  background-color:hsl(0, 0%, 95%);
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.weatherform{
  margin:20px;
}

.cityInput{
  padding:10px;
  font-size:2.5rem;
  font-weight:bold;
  border:2px solid black;
  margin:20px;
  border-radius:10px;
  width: 500px;
}

 button[type="submit"]{
   padding:10px 20px;
   font-weight:bold;
   font-size:2rem;
   background-color:green;
   color:white;
   border:none;
   border-radius:5px;
   cursor:pointer;
 }

button[type="submit"]:hover{
  background-color:hsl(122, 39%, 88%);
}

.card{
  background:linear-gradient(180deg, blue, orange);
  padding:50px;
  box-shadow:2px 2px 5px black;
  min-width:300px;
  display:flex;
  flex-direction:column;
  align-items:center;
}

h1{
  font-size:3.5rem;
  margin-top:0;
  margin-bottom:25px;
}

p{
  font-size:1.5rem;
  margin:5px 0;
}

.cityDisplay, .tempDisplay{
  font-size:3rem;
  font-weight:bold;
  color:black;
  margin-bottom:25px;
}

.humidityDisplay{
  font-weight:bold;
  margin-bottom:25px;
}

.desDisplay{
  font-style:italic;
  font-weight:bold;
  font-size:2rem;
}

.weatherEmoji{
  margin:0;
  font-size:7.5rem;
}

.errorDisplay{
  font-size:2.5rem;
  font-weight:bold;
  color:black;
}


.loadingDisplay{
  font-size: 1.2rem;
  color: #555;
  font-weight: bold;
  animation: pulse 1s infinite;

}

@keyframes pulse {
  0%{ opacity: 0.2;}
  50%{ opacity: 1;}
  100%{ opacity:0.2;}
}
