* {
  font-family: Avenir;
  /* color: white; */
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding-top: 30px;
  /* background-color: rgba(0,0,0,0.1); */
  background-color: #212121;
}
.grid-container {
  position: relative;
  height: 100%;
  padding: 10px;
  border-radius: 3px;
  /* background-color: rgba(0,0,0,0.2); */
  background-color: rgba(255,255,255,0.25);
}
h1 {
  margin: 0px;
  /* color: rgba(255,255,255,0.95); */
  text-align: center;
  font-weight: 500;
  font-size: 25px;
  letter-spacing: 4px;
  /* background-color: rgba(255,255,255,0.2); */
}
.info-section {
  display: flex;
  justify-content: space-between;
}
.grid {
  display: grid;
  margin: 0 auto;
  justify-content: center;
}
.block { 
  /* NOTE: Background color set in settins.js */
}
.block div {
  border-radius: 100%; 
  margin: 20%;
  width: 60%; 
  height: 60%; 
}

.nav-info-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 150px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 185px;
  height: 100px;
  background: rgba(255,255,255,0.5);
  box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.5);
  color: #222;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  border-radius: 10px;
  z-index: 1000;
  cursor: pointer;
}

/* Controller */
.controller-section {
  margin-top: 5px;
  /* background-color: rgba(255,255,255,0.1); */
  display: flex;
  justify-content: center;
}
.arrow-container {
  padding: 5px;
  /* background-color: rgba(255,255,255,0.1); */
  display: flex;
  flex-direction: row;
}

.leftRight-container {
  height: 80px;
  /* background-color: rgba(255,255,255,0.1); */
}
.upDown-container {
  display: flex;
  flex-direction: column;
}
.upDown-container button {
  width: 80px;
}

.arrowBtn {
  height: 100%;
  color: white;
  border: solid 4px rgba(255,255,255,0.25);
  /* border-top: solid 2px rgba(255,255,255,0.25); */
  background-color: rgba(0,0,0,0.7);
}
.arrowBtn:active,
.arrowBtn.active-key {
  background-color: rgba(255,255,255,0.25);
  transition: background-color 0.3s;
}

.arrowBtn.up {
  border-bottom: solid 2px rgba(255,255,255,0.25);
}
.arrowBtn.down {
  border-top: solid 2px rgba(255,255,255,0.25);
}
.arrowBtn.right, 
.arrowBtn.left {
  width: 40px;
}
.arrowBtn.right {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-left: solid 0px rgba(255,255,255,0.25);
}
.arrowBtn.left {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border-right: solid 0px rgba(255,255,255,0.25);
}

.snakeDeath {
  animation: snakeDeathAnimate 1.25s steps(1) forwards;
}

@keyframes snakeDeathAnimate {
  0%   { background-color: red; }
  25%  { background-color: var(--block-bg); }
  50%  { background-color: red; }
  75%  { background-color: var(--block-bg); }
  100%  { background-color: red; }
}









