body{
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

.container{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.weather-container{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  background-image: linear-gradient(to bottom, purple, blueviolet);
  padding: 10px 28px;
  border-radius: 22px;
}

.weather-icon i{
  font-size: 96px;
  color: white;;
  margin-top: 40px;
}


.search-bar{
  width: 300px;;
  padding: 10px;
  margin: 20px 0px;
  border: 1px solid #ccc;
  border-radius: 20px;
}

.search-btn{
  padding: 10px 20px;
  margin-left: 10px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

.weather-temp p{
  font-size: 48px;
  color: white;
  margin-top: 10px;
  font-family: sans-serif;
  margin-bottom: 0px;
}

.city-details p{
  font-size: 24px;
  color: white;
  margin-top: 18px;
  font-family: sans-serif;
}

.weather-details{
  color: white;
  display: flex;
  font-size: 18px;
  flex-direction: row;
  column-gap: 80px;
  justify-content: space-between;
}

.news-container{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.news-card{
  display: flex;
  flex-direction: column;
  background-color: #ccc;
  border-radius: 12px;
  padding: 10px 30px;
}

.news-card img{
  width: 300px;
  height: 200px;
  border-radius: 12px;
}
.news-card a{
  text-decoration: none;
  color: black;
}

.news-section{
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  align-items: center;
  justify-content: center;
  max-width: 60%;
}