:root {
  --bg-color: #EAF6FF;
  --accent-color: #5AA9E6;
  --dark-accent-color: #2C7FB8;
  --text-color: #2A3A4A;
  --light-accent-color: #FFF4E0;
  --shadow-color: rgba(42, 58, 74, 0.14);

  --base-font: "Nunito", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  font-family: var(--base-font);
}

h1,
h2,
h3,
p,
span {
  color: var(--text-color);
}

.header {
  width: 100%;
  min-height: 3rem;
}

.header h1 {
  text-align: center;
}

.card-container {
  display: none;
  flex-direction: column;
  align-items: center;
}

.card-section {
  display: flex;
  flex-direction: column;
}

.card-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.container-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.forecast-row {
  min-width: 90%;
}

.card {
  border: 2px solid var(--dark-accent-color);
  border-radius: .5rem;
  padding: .25rem;
  margin: .25rem;
  min-width: 220px;
  background-color: var(--light-accent-color);
  box-shadow: 0 2px 6px var(--shadow-color);
}

.card h2,
.card h3 {
  text-align: center;
  color: var(--text-color);
}

.data-unit {
  font-weight: 800;
  margin-left: .25rem;
}

.app-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px
}

.daily-forecast-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
}

#input-form {
  margin: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.text-input {
  background-color: var(--light-accent-color);
  border: 2px solid var(--dark-accent-color);
  border-radius: .5rem;
  min-height: 1.5rem;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
}

.text-input:focus {
  border: 2px solid var(--dark-accent-color);
  outline: none;
}

.button {
  background-color: var(--dark-accent-color);
  color: #FFF4E0;
  border: 2px solid var(--accent-color);
  border-radius: .5rem;
  min-height: 2.5rem;
  padding: .5rem;
  margin-top: .25rem;

  font-size: .95rem;
  font-weight: 600;

  cursor: pointer;
  box-shadow: 0 2px 6px var(--shadow-color);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px var(--shadow-color);
}

.forecast-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: .5rem;
  border: 1px solid var(--accent-color);
  border-radius: .5rem;
  padding: .25rem;
  color: var(--text-color);

}

.forecast-details {
  display: flex;
  flex-direction: column;
}

.value-pair {
  display: inline-flex;
  white-space: nowrap;
}

.status-box {
  display: none;
}

.icon {
  display: block;
  width: 100%;
  max-width: 150px;
  height: auto;
}


@media (min-width: 900px) {

  .forecast-details {
    flex-direction: row;
  }

  .daily-forecast-container {
    flex-direction: row;
  }

  .card-row {
    display: block;
  }

  .card-section {
    flex-direction: row;
  }

  .forecast-row {
    max-width: 75%;
  }

}
