html, body {
  display: block;
  color: #011627;
  background-color: #011627;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}
.grid {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
  padding: 10px;
}
.subgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(350px, 1fr));
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
  padding: 10px;
}
.item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: top;
  align-items: center;
  overflow: hidden;
  padding: 2vh;
  background-color: #fff;
  border-radius: 8px;
  min-height: 200px;
}
.donors {
  grid-column: span 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: top;
  align-items: start;
  overflow: hidden;
  min-height: 100px;
  table-layout: fixed;
  width: 100%;
  
}
.title {
  grid-column: span 6;
  min-height: 100px;
}
.legendary {
  grid-column: span 3;
}
.workers {
  grid-column: span 3;
}
.prestigious {
  grid-column: span 2;
 }
.generous {
  grid-column: span 2;
}
.good {
  grid-column: span 2;
}
.simple {
  grid-column: span 6;
}
h1 {
  font-family: 'Modak', cursive;
  font-size: 4.5vh;
  margin-top: 1vh;
  padding-bottom: 2vh;
  text-align: center;
}
h2 {
  font-family: 'Modak', cursive;
  font-size: 3.5vh;
  margin-top: 1vh;
  padding-bottom: 2vh;
  text-align: center;
}
.title p {
  font-family: 'Carter One', cursive;
  font-size: 2.0vh;
  text-align: center;
  padding-bottom: 0.5vh;
}
td {
  font-family: 'Carter One', cursive;
  padding-right: 1.0vh;
  padding-left: 0.2vh;
}
.simple td {
  font-size: 1.5vh;
}
.legendary td,
.workers td,
.prestigious td,
.generous td,
.good td {
  font-size: 2.0vh;
  width: 45vw;
}
.workers td.totem,
.prestigious td.totem,
.generous td.totem,
.good td.totem {
  width: 45vw;
}
.donors td {
  padding: 0px;
}
.donors td.totem {
  width: 6vw;
}
.item:nth-child(7n+1){
  background-color: #006add; /* Title */
  color: #c2f6ff
}
.item:nth-child(7n+2){
  background-color: #1ac469; /* Legendary */
  color: #003100;
}
.item:nth-child(7n+3){
  background-color: #f26a43; /* Workers */
  color: #650600;
}
.item:nth-child(7n+4){
  background-color: #30a9e0; /* Prestigious */
  color: #00102b;
}
.item:nth-child(7n+5){
  background-color: #fed3b6; /* Generous */
  color: #391a05; /* #210600; */
}
.item:nth-child(7n+6){
  background-color: #c5c1ea; /* Good */
  color: #2a2647;
}
.item:nth-child(7n+7){
  background-color: #e6f8cc; /* Donors */
  color: #2d3b18
}

@media (max-width: 1799px) {
  .subgrid {
    grid-template-columns: repeat(3, minmax(350px, 1fr));
  }
  .donors td.totem {
    width: 6vw;
  }
}

@media (max-width: 1500px) {
  .title, .legendary {
    grid-column: span 6;
  }
  .workers, .generous, .prestigious, .good {
    grid-column: span 3;
  }
  .subgrid {
    grid-template-columns: repeat(2, minmax(350px, 1fr));
  }
  .legendary table {
    width: 70%;
  }
  .legendary td,
  .workers td,
  .prestigious td,
  .generous td,
  .good td {
    font-size: 2.0vh;
    width: 45vw;
  }
  .workers td.totem,
  .prestigious td.totem,
  .generous td.totem,
  .good td.totem {
    width: 45vw;
  }
  .donors td {
    padding: 0px;
  }
  .donors td.totem {
    width: 10vw;
  }
}

@media (max-width: 980px) {
  .title, .legendary, .workers, .prestigious, .generous, .good, .simple {
    grid-column: span 1;
  }
  .grid {
    display: block;
  }
  .item {
    margin-bottom: 10px;
  }
  .subgrid {
    grid-template-columns: repeat(1, minmax(350px, 1fr));
  }
  .legendary table {
    width: 100%;
  }
  .legendary td,
  .workers td,
  .prestigious td,
  .generous td,
  .good td {
    font-size: 2.0vh;
    width: 45vw;
  }
  .workers td.totem,
  .prestigious td.totem,
  .generous td.totem,
  .good td.totem {
    width: 45vw;
  }
  .donors td {
    padding: 0px;
  }
  .donors td.totem {
    width: 30vw;
  }
}