* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  font-size: 24px;
}

ul {
  list-style: none;
}

.navi {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 24px;
  height: 80px;
}

.box1,
.box2,
.box3,
.box4,
.box5,
.box6,
.box7,
.box8,
.box9,
.box10,
.box1-2,
.box2-2,
.box3-2,
.box4-2,
.box5-2,
.box6-2,
.box7-2,
.box8-2,
.box9-2,
.box10-2 {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: bold;
  color: white;
  font-family:
    "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

.box1 {
  background-color: purple;
}
.box2 {
  background-color: steelblue;
}
.box3 {
  background-color: skyblue;
}
.box4 {
  background-color: green;
}
.box5 {
  background-color: limegreen;
}
.box6 {
  background-color: yellowgreen;
}
.box7 {
  background-color: yellow;
}
.box8 {
  background-color: orange;
}
.box9 {
  background-color: #dc2e30;
}
.box10 {
  background-color: #d54472;
}

.box1-2 {
  background-color: purple;
}
.box2-2 {
  background-color: steelblue;
}
.box3-2 {
  background-color: skyblue;
}
.box4-2 {
  background-color: green;
}
.box5-2 {
  background-color: limegreen;
}
.box6-2 {
  background-color: yellowgreen;
}
.box7-2 {
  background-color: yellow;
}
.box8-2 {
  background-color: orange;
}
.box9-2 {
  background-color: #dc2e30;
}
.box10-2 {
  background-color: #d54472;
}
/* Extra small */
@media only screen and (max-width: 600px) {
  /* HOME */

  /* PAGE 2 */

  .rainbow-2,
  .rainbow {
    display: flex;
    flex-flow: row wrap;
    gap: 24px;
  }
}

/* Small */
@media only screen and (min-width: 600px) {
  /* HOME */

  /* PAGE 2 */
  .rainbow-2,
  .rainbow {
    display: flex;
    flex-flow: row wrap;
    gap: 24px;
  }
}

/* Medium */
@media only screen and (min-width: 768px) {
  /* HOME */
  .grid {
    height: 1200px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(7, 1fr);
    gap: 12px;
  }

  .box6,
  .box7 {
    height: 100%;
  }

  .box2,
  .box3,
  .box4,
  .box8,
  .box9 {
    height: 200px;
  }
  .box5,
  .box1,
  .box10 {
    height: 400px;
  }

  .box1 {
    grid-column: 1 / 5;
    grid-row: 1 / 2;
  }
  .box2 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }
  .box3 {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
  }
  .box4 {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
  }
  .box5 {
    grid-column: 1 / 4;
    grid-row: 3 /5;
  }
  .box6 {
    grid-column: 4 / 5;
    grid-row: 3 / 4;
  }
  .box7 {
    grid-column: 4 / 5;
    grid-row: 4 / 5;
  }
  .box8 {
    grid-column: 1 / 3;
    grid-row: 5 / 6;
  }
  .box9 {
    grid-column: 3 / 5;
    grid-row: 5 / 6;
  }
  .box10 {
    grid-column: 1 / 5;
    grid-row: 6 / 7;
  }
  /* PAGE 2 */

  .rainbow-2 {
    display: flex;
    flex-flow: row wrap;
    gap: 24px;
  }

  .box1-2,
  .box6-2,
  .box10-2 {
    width: 99%;
  }

  .box2-2,
  .box3-2,
  .box4-2,
  .box5-2 {
    width: 48%;
  }

  .box7-2,
  .box8-2,
  .box9-2 {
    width: 31%;
  }
}

/* Large */
@media only screen and (min-width: 992px) {
  /* HOME */

  .grid {
    height: 800px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 24px;
  }

  .box1 {
    grid-column: 1 / 9;
    grid-row: 1 / 2;
  }
  .box2 {
    grid-column: 1 / 5;
    grid-row: 2 / 3;
  }
  .box3 {
    grid-column: 5 / 9;
    grid-row: 2 / 3;
  }
  .box4 {
    grid-column: 1 / 9;
    grid-row: 3 / 4;
  }
  .box5 {
    grid-column: 1 / 3;
    grid-row: 4 /5;
  }
  .box6 {
    grid-column: 3 / 6;
    grid-row: 4 / 5;
  }
  .box7 {
    grid-column: 6 / 9;
    grid-row: 4 / 5;
  }
  .box8 {
    grid-column: 9 / 13;
    grid-row: 1 / 2;
  }
  .box9 {
    grid-column: 9 / 13;
    grid-row: 2 / 4;
  }
  .box10 {
    grid-column: 9 / 13;
    grid-row: 4 / 5;
  }

  .box1,
  .box2,
  .box3,
  .box5,
  .box4,
  .box6,
  .box7,
  .box8,
  .box9,
  .box10 {
    height: 100%;
  }

  /* PAGE 2 */

  .rainbow-2 {
    display: flex;
    flex-flow: column wrap;
    gap: 24px;
    height: 800px;
  }

  .box1-2,
  .box2-2,
  .box3-2,
  .box4-2,
  .box5-2,
  .box6-2,
  .box7-2,
  .box8-2,
  .box9-2,
  .box10-2 {
    width: 33%;
  }

  .box1-2,
  .box2-2,
  .box3-2,
  .box4-2,
  .box8-2,
  .box10-2 {
    height: 180px;
  }

  .box9-2 {
    height: 390px;
  }

  .box5-2,
  .box6-2,
  .box7-2 {
    height: 250px;
  }
}

/* Extra large */
@media only screen and (min-width: 1200px) {
  /* HOME */

  .box1 {
    grid-column: 1 / 9;
    grid-row: 1 / 2;
  }
  .box2 {
    grid-column: 1 / 5;
    grid-row: 2 / 3;
  }
  .box3 {
    grid-column: 5 / 9;
    grid-row: 2 / 3;
  }
  .box4 {
    grid-column: 1 / 9;
    grid-row: 3 / 4;
  }
  .box5 {
    grid-column: 1 / 3;
    grid-row: 4 /5;
  }
  .box6 {
    grid-column: 3 / 6;
    grid-row: 4 / 5;
  }
  .box7 {
    grid-column: 6 / 9;
    grid-row: 4 / 5;
  }
  .box8 {
    grid-column: 9 / 13;
    grid-row: 1 / 2;
  }
  .box9 {
    grid-column: 9 / 13;
    grid-row: 2 / 4;
  }
  .box10 {
    grid-column: 9 / 13;
    grid-row: 4 / 5;
  }

  .box1,
  .box2,
  .box3,
  .box5,
  .box4,
  .box6,
  .box7,
  .box8,
  .box9,
  .box10 {
    height: 100%;
  }

  /* PAGE 2 */

  .rainbow-2 {
    display: flex;
    flex-flow: column wrap;
    gap: 24px;
    height: 800px;
  }

  .box1-2,
  .box2-2,
  .box3-2,
  .box4-2,
  .box5-2,
  .box6-2,
  .box7-2,
  .box8-2,
  .box9-2,
  .box10-2 {
    width: 33%;
  }

  .box1-2,
  .box2-2,
  .box3-2,
  .box4-2,
  .box8-2,
  .box10-2 {
    height: 180px;
  }

  .box9-2 {
    height: 390px;
  }

  .box5-2,
  .box6-2,
  .box7-2 {
    height: 250px;
  }
}
