* {
  margin: 0;
  padding: 0;
}
html {
  height: 100%;
}

body {
  font-family: "Montserrat", sans-serif;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  max-width: 1200px;
  margin: auto;
}

.today,
.forecast {
  font-size: 21px;
  font-weight: 400;
}

.prompt {
  padding-top: 20%;
}

#prompt-text {
  font-size: 37px;
  font-weight: 700;
  padding-top: 15px;
}

.prompt img {
  width: 77px;
}

table {
  width: 100%;
}

td {
  border-style: dotted;
  border-top: none;
  border-left: none;
  border-right: none;
  padding: 2px;
}

#forecast-icon {
  height: 30px;
  width: 30px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#forecast-temp {
  text-align: end;
}

.rain {
  background-color: #bde8fa;
  color: #164a68;
}

.rain-icon {
  filter: brightness(0) saturate(100%) invert(25%) sepia(20%) saturate(1765%)
    hue-rotate(158deg) brightness(92%) contrast(93%);
}

.drizzle {
  background-color: #bde8fa;
  color: #164a68;
}

.drizzle-icon {
  filter: brightness(0) saturate(100%) invert(25%) sepia(20%) saturate(1765%)
    hue-rotate(158deg) brightness(92%) contrast(93%);
}

.clouds {
  background-color: #f4f7f8;
  color: #f47775;
}

.clouds-icon {
  filter: brightness(0) saturate(100%) invert(66%) sepia(68%) saturate(1099%)
    hue-rotate(309deg) brightness(96%) contrast(99%);
}

.atmosphere {
  background-color: #f4f7f8;
  color: #f47775;
}

.atmosphere-icon {
  filter: brightness(0) saturate(100%) invert(66%) sepia(68%) saturate(1099%)
    hue-rotate(309deg) brightness(96%) contrast(99%);
}

.clear {
  background-color: #f7e9b9;
  color: #2a5510;
}

.clear-icon {
  filter: brightness(0) saturate(100%) invert(25%) sepia(85%) saturate(424%)
    hue-rotate(54deg) brightness(90%) contrast(96%);
}

.snow {
  background-color: #edf6fd;
  color: #149bcc;
}

.snow-icon {
  filter: brightness(0) saturate(100%) invert(47%) sepia(64%) saturate(1812%)
    hue-rotate(163deg) brightness(91%) contrast(84%);
}

.thunderstorm {
  background-color: #d9c8e4;
  color: #4b2f60;
}

.thunderstorm-icon {
  filter: brightness(0) saturate(100%) invert(20%) sepia(48%) saturate(678%)
    hue-rotate(231deg) brightness(90%) contrast(93%);
}

.error {
  position: absolute;
}

/* --- MEDIA QUERIES -------------------------------------- */

/* --- TABLET --- */

@media (min-width: 600px) {
  .prompt {
    display: grid;
    grid-template-columns: 50% 50%;
    padding-top: 0;
  }

  #prompt-text {
    display: inline-block;
    grid-column-start: 1;
    justify-self: end;
    padding: 0;
    margin: auto;
  }

  .prompt img {
    grid-column-start: 2;
    grid-row-start: 1;
    width: 80%;
    padding: 10%;
    max-width: 300px;
  }
}

/* --- DESKTOP --- */

@media (min-width: 900px) {
  body {
    padding: 40px 60px 40px 60px;
  }
  #prompt-text {
    font-size: 45px;
  }

  td {
    padding: 10px;
  }
}
