html, h1, h2, body, head, figure, ul, li {
  margin: 0;
  padding: 0;
  border: 0;

  background: transparent;
  font: inherit;
  text-align: inherit;
  text-decoration: inherit;

}

h1 {
  text-align: center;
  font-size: 36px;
  padding: 20px;
}

ul {
  width: 600px;
  margin: auto;
  list-style: none;
  background: black;
  position: relative;
  border: 2px solid blue;
}

li {
  height: 10px;
  width: 10px;
  display: block;
  float: left;
  border: 1px solid darkblue;
}

.snake {
  padding-bottom: 10px;
}

.main-header {
  font-family: 'Rock Salt', cursive;
  font-size: 36px;
  text-align: center;
  padding: 0px;
  color: green;
  width: 600px;
  margin: auto;
  position: relative;
}

.title {
  padding: 0px;
  line-height: 36px;
  width: 200px;
  margin: auto;
  margin-top: 20px;
}

.byline {
  display: block;
  width: 250px;
  font-size: 14px;
  color: red;
  text-align: center;
  margin: auto;
}

.github {
  position: absolute;
  left: 1px;
  bottom: 1px;
  height: 64px;
}

.linkedin {
  position: absolute;
  right: 1px;
  bottom: 1px;
  height: 64px;
}

/* .homepage {
  position: absolute;
  right: 1px;
  bottom: 1px;
  height: 64px;
} */

.instructions{
  width: 300px;
  height: 300px;
  background: blue;
  z-index: 1;
  position: absolute;
  left: 150px;
  top: 150px;
  opacity: 0.6;
  color: white;
  text-align: center;
}

.gameover {
  width: 300px;
  height: 150px;
  background: blue;
  z-index: 1;
  position: absolute;
  left: 150px;
  top: 200px;
  opacity: 0.6;
  color: white;
  text-align: center;
}

.instructions > h2 {
  font-weight: 700;
  font-size: 20px;
}

.scoreboard {
  position: absolute;
  font-family: 'Rock Salt', cursive;
  bottom: -75px;
  width: 600px;
  height: 100px;
  background: transparent;
  color: black;
  text-align: center;
}

.scoreboard-label {
  font-size: 24px;
  color: red;
  float: left;
  margin-top: 20px;
  margin-left: 50px;
  padding: 0px;
}

.current-score {
  font-size: 24px;
  float: left;
}

.best-score {
  float: right;
  font-size: 24px;
}

.group:after {
  content: "";
  clear: both;
  display: block;
}

.has-snake {
  background: yellow;
}

.own-snake {
  background: lightgreen;
}

.own-snake-head {
  background: green;
}

.apple {
  background: red;
}
