﻿.grid-container4 {
  display: grid;
  grid-template-columns: 19% 19% 19% 19% 20%;
  grid-gap: 10px;
  background-color: midnightblue;
  padding: 10px;
  margin-left: 100px;
}

.grid-container4 > div {
  font-family: "georgia", "times new roman", serif;
  color: midnightblue;
  text-align: center;
  padding: 10px;
  font-size: 1.5em;
}

.widget1 {
  grid-area: 1 / 1 / 2 / 3;
  text-align: center;
  background-color: lemonchiffon;
}


.widget2 {
  grid-area: 1 / 3 / 2 / 4;
  text-align: center;
  background-color: gold;
}

.widget3 {
  grid-area: 1 / 4 / 2 / 5;
  text-align: center;
  background-color: gold;
}

.widget4 {
  grid-area: 1 / 5 / 2 / 6;
  text-align: center;
  background-color: gold;
}

.widget5 {
  grid-area: 2 / 1 / 3 / 3;
  text-align: center;
  background-color: lemonchiffon;
}

.widget6 {
  grid-area: 2 / 3 / 3 / 4;
  text-align: center;
  background-color: gold;
}

.widget7 {
  grid-area: 2 / 4 / 3 / 5;
  text-align: center;
  background-color: gold;
}

.widget8 {
  grid-area: 2 / 5 / 3 / 6;
  text-align: center;
  background-color: gold;
}

@media only screen and (max-width: 1007px) {

.grid-container4 {
  display: grid;
  grid-template-columns: 19% 19% 19% 19% 20%;
  grid-gap: 7px;
  background-color: midnightblue;
  padding: 7px;
  margin-left: 50px;
}

.grid-container4 > div {
  font-family: "georgia", "times new roman", serif;
  color: midnightblue;
  text-align: center;
  padding: 7px;
  font-size: 1em;
}

.widget1 {
  grid-area: 1 / 1 / 2 / 3;
  text-align: center;
  background-color: lemonchiffon;
}


.widget2 {
  grid-area: 1 / 3 / 2 / 4;
  text-align: center;
  background-color: gold;
}

.widget3 {
  grid-area: 1 / 4 / 2 / 5;
  text-align: center;
  background-color: gold;
}

.widget4 {
  grid-area: 1 / 5 / 2 / 6;
  text-align: center;
  background-color: gold;
}

.widget5 {
  grid-area: 2 / 1 / 3 / 3;
  text-align: center;
  background-color: lemonchiffon;
}

.widget6 {
  grid-area: 2 / 3 / 3 / 4;
  text-align: center;
  background-color: gold;
}

.widget7 {
  grid-area: 2 / 4 / 3 / 5;
  text-align: center;
  background-color: gold;
}

.widget8 {
  grid-area: 2 / 5 / 3 / 6;
  text-align: center;
  background-color: gold;
}

}

@media only screen and (max-width: 640px) {

.grid-container4 {
  display: grid;
  grid-template-columns: 24% 24% 24% 25%;
  grid-gap: 5px;
  background-color: midnightblue;
  padding: 5px;
  margin-left: 25px;
}

.grid-container4 > div {
  font-family: "georgia", "times new roman", serif;
  color: midnightblue;
  text-align: center;
  padding: 5px;
  font-size: 1em;
}

.widget1 {
  grid-area: 1 / 1 / 2 / 2;
  text-align: center;
  background-color:lemonchiffon;
}


.widget2 {
  grid-area: 1 / 2 / 2 / 3;
  text-align: center;
  background-color:gold;
}

.widget3 {
  grid-area: 1 / 3 / 2 / 4;
  text-align: center;
  background-color:gold;
}

.widget4 {
  grid-area: 1 / 4 / 2 / 5;
  text-align: center;
  background-color:gold;
}

.widget5 {
  grid-area: 2 / 1 / 3 / 2;
  text-align: center;
  background-color:lemonchiffon;
}

.widget6 {
  grid-area: 2 / 2 / 3 / 3;
  text-align: center;
  background-color:gold;
}

.widget7 {
  grid-area: 2 / 3 / 3 / 4;
  text-align: center;
  background-color:gold;
}

.widget8 {
  grid-area: 2 / 4 / 3 / 5;
  text-align: center;
  background-color:gold;

}

}