img {
  max-width: 100%;
}
.header {
  text-align: center;
  margin-bottom: 20px;
}
.main {
}
.wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.search {
  display: flex;
  justify-content: center;
}
.search__input {
  margin-right: 10px;
}
.search__btn {
}
.description {
  margin: 20px 0;
  height: 20px;
}
/* Базовый скрытый loader */
.description__info {
  min-height: 40px; /* чтобы блок не прыгал */
  display: flex;
  align-items: center;
  font-size: 21px;
  color: #e74c3c; /* цвет текста для ошибок */
}

.description__info.loader-show::after {
  content: "";
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Когда добавляешь класс loader-show → показываем */
.loader-show {
  color: transparent; /* прячем текст, если был */
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.weather-cards {
}
.weather-cards__list {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid grey;
  border-radius: 15px;
  padding: 10px;
}

.card__icon {
  max-width: 50px;
}
.card__action {
  display: flex;
  justify-content: space-between;
}
