.card {
  background: #ebebeb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 2rem;
  padding: 2.8rem;
  margin: 2rem auto;
  max-width: 80rem;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
}

.card__info {
  text-align: left;
}

.card p {
  margin-bottom: 0;
  line-height: 3rem;
}

.card__info__place {
  text-decoration: underline;
  font-size: 14px;
  color: #c78c54;
  font-weight: bold;
}

.card__info__time {
  font-size: 30px;
  color: #2f2f31;
}

.card__info__date {
  font-size: 14px;
  color: #2f2f31;
}

.card__weather {
  align-items: center;
  display: inline-flex;
}

.card__weather__icon {
  animation: move 1s infinite alternate ease-in-out;
  width: 8rem !important;
}

.card__weather__temp {
  color: #2f2f31;
  font-size: 30px;
  font-weight: 700;
}

.card__weather__description {
  float: right;
  position: relative;
  top: 5rem;
  right: 4rem;
}

@keyframes move {
  to {
    transform: translateY(-10px);
  }
}

@media only screen and (max-width: 400px) {
  .card {
    justify-content: flex-start;
  }
  .card__weather {
    display: block;
  }
  .card__weather__description {
    position: relative;
    float: right;
  }

  .card__weather__temp {
    position: relative;
    bottom: 2.2rem;
  }
  .card__weather__icon {
    position: relative;
    bottom: 1rem;
  }
}
