.weather-display {
  width: 100%;
  display: flex;
  flex-grow: 1;
}

.weather-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
}

.weather-data {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  margin-block-start: var(--space-3);
}

.weather-data > * {
  flex: 1;
}

.weather-city,
.weather-temperature {
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
}

.weather-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: var(--space-0);
}

.weather-advice,
.quote-container {
  width: 100%;
}

.weather-location {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.sun-data {
  display: flex;
  font-size: var(--font-size-small);
  align-items: center;
  gap: var(--space-0);
}
@media screen and (min-width: 576px) {
  .quote-container {
    margin-inline: var(--space-3);
  }
}

@media screen and (min-width: 992px) {
  .quote-container {
    margin-inline: 0;
    padding: 0;
  }
}

.weather-quote {
  border-left: 1px solid var(--secondary);
  padding-inline: var(--space-2);
  margin-block-start: var(--space-1);
  font-size: var(--font-size-h3);
  line-height: calc(1 * 4 / 3);
}

@media screen and (min-width: 576px) {
  .weather-quote {
    font-size: var(--font-size-h3);
  }
}

.weather-quote-author {
  margin-block-start: var(--space-2);
  text-align: right;
}

.weather-advice {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);

}

.weather-advice .advice-item {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.weather-advice .weather-advice-links {
  display: flex;
  gap: var(--space-1);
  margin-block-start: var(--space-1);
  flex-wrap: wrap;
}

.weather-advice-links .link {
  padding: 0.25em 0.75em;
  outline: 1px solid var(--secondary);
  border-radius: var(--space-2);
}

.warning {
  color: var(--warning);
  background: var(--background-color);
}

.weather-icon {
  height: var(--space-4);
  margin: var(--space-2) auto;
}

.quote-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  position: relative;
}

.refresh-quote,
.toggle-view-button {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  position: absolute;
  right: 0;
  cursor: pointer;
  color: var(--secondary);
  z-index: 1;
}

.refresh-quote:hover,
.toggle-view-button:hover {
  color: var(--neutral-200);
}

.weather-header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: start;
}

.warning-bomb {
  background: var(--warning);
  padding: var(--space-0) var(--space-1);
  color: var(--background-color);
  margin-inline-end: var(--space-1);
  border-radius: var(--space-0);
}

.weather-refresh {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.weather-refresh.warning:hover {
  color: var(--success-400);
  animation: none;
}

.weather-refresh-arrows {
  color: var(--white);
  display: none;
}


.weather-refresh:hover .weather-refresh-arrows {
  display: block;
}

.weather-refresh:hover .weather-refresh-clock {
  display: none;
}

.weather-conditions {
  display: flex;
  justify-content: space-around;
  gap: var(--space-4);
  align-items: center;
}