body {
  height: 100vh;
  width: 100vw;
  text-align: center;
  background: linear-gradient(0deg, #09203f, #537895);
  font-family: "rock salt";
}

header {
  font-family: "rock salt";
  justify-content: center;
  align-items: center;
  display: flex;
  font-size: 60px;
  height: 150px;
  color: white;
  transition: 1.5s;
}

aside {
  font-family: "rock salt";
}

.message {
  margin-top: 30px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  font-family: "rock salt";
  color: white;
  word-spacing: 10px;
}

.scoreBoard {
  left: -10px;
  font-family: "rock salt";
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid;
  border-radius: 30px;
  margin: 20px 20px 20px 30px;
  width: 300px;
  height: 90px;
  transition: 2s;
}

#p1score {
  opacity: 0.8;
  height: 84px;
  width: 90px;
  border-radius: 0 25px 25px 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#p2score {
  height: 84px;
  width: 90px;
  border-radius: 0 25px 25px 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.scoreContainer {
  font-size: 20px;
  color: white;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  vertical-align: middle;
  word-spacing: 5px;
}
.scoreBoard {
  display: flex;
  vertical-align: center;
}

.board {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.mainContainer {
  border-radius: 40px;
  background: url("https://d39l2hkdp2esp1.cloudfront.net/img/photo/138816/138816_00_2x.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  border: solid;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(2, 1fr);
  transition: 0.5s;
}

.mainContainer div {
  font-family: "rock salt";
  background-color: #855e42b2;
  display: flex;
  color: black;
  justify-content: center;
  align-items: center;
  border: solid black 3px;
  width: 100px;
  margin: 10px;
  transition: 0.5s;
}

.cells {
  border-radius: 50%;
}

.cells:hover {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.3) !important;
  font-size: 40px;
  cursor: pointer;
}

.shop {
  border-radius: 50px;
  height: 200px;
  font-size: 40px;
}

.shopLeft {
  grid-row: 1 / span 2;
  border: solid;
}
.shopRight {
  grid-column: 8;
  grid-row: 1 / span 2;
  border: solid;
}

.reset {
  font-family: "rock salt";
  margin-top: 50px;
  padding: 50px;
}

#help {
  position: absolute;
  left: 30px;
  top: 60px;
}

.popover {
  max-width: 1000px !important;
  opacity: 0.9;
}

#p1color {
  position: absolute;
  left: 30px;
  top: 150px;
}
#p2color {
  position: absolute;
  left: 30px;
  top: 240px;
}

[type="color"] {
  width: 83px;
  height: 48px;
  padding: 2px;
  background-color: white;
  border-radius: 10px;
}

.aside {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  min-height: 100vh;
  background: rgba(0, 0, 0, 0.35);
  transition: 1.3s;
}

.aside:hover {
  opacity: 1;
}

/* THIS IS FOR THE MEDIA QUERY STUFF.  */
@media (max-width: 1000px) {
  .header {
    margin-bottom: 150px;
  }
  body {
    height: 130vh;
  }
  .board {
    margin-top: 200px;
    transform: rotate(270deg) scale(0.85);
    z-index: 1;
  }
  .cells {
    writing-mode: vertical-lr;
  }
  .shop {
    writing-mode: vertical-lr;
  }
  .scoreContainer {
    display: none;
  }
  .reset {
    z-index: 3;
  }
}
