* {
  cursor: default;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: #333639;
  overflow: hidden;
}

.grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  transform: translate3d(0, 0, 0);
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.cell-wrapper {
  width: 20px;
  height: 20px;
  overflow: hidden;
}

.cell {
  position: absolute;
  line-height: 20px;
  letter-spacing: 2px;
  transition: font-size 100ms;
  cursor: default;
  text-align: center;
  color: rgb(236, 255, 191);
  will-change: font-size, color;
}

.cell:hover,
.cell.snake {
  font-size: 26px;
  color: yellow;
}

.cell.snake.s1 {
  color: yellow;
}

.cell.snake.s2 {
  color: greenyellow;
}

.cell.snake.s3 {
  color: cyan;
}

.scrollable {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: auto;
  z-index: 1;
  pointer-events: none;
}

.texts {
  position: absolute;
  top: 40px;
  left: 10%;
  max-width: 80%;
  overflow: auto;
}

.box {
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 20px 40px;
  color: #FFF;
  font-family: monospace;
  font-size: 24px;
  margin-bottom: 40px;
  border: 1px solid transparent;
  transition: all 200ms;
  pointer-events: all;
}

.box-expandable {
  font-size: 18px;
  transition: all 500ms;
  overflow: hidden;
  margin: 0;
}

.box:hover {
  border: 1px solid yellow;
  border-radius: 3px;
}

.box.expandable .box-expandable {
  max-height: 0;
  max-width: 0;
}

.box.expandable:hover .box-expandable {
  max-width: 4430px;
  max-height: 168px;
}

.footer {
  position: absolute;
  bottom: 1%;
  left: 1%;
  background-color: rgba(0, 0, 0, 0.8);
  color: #FFF;
  font-family: monospace;
  padding: 2px;
  border: 1px solid transparent;
  transition: border-color 200ms;
}

.footer:hover {
  border-color: yellow;
}

.logo {
  position: absolute;
  right: 5%;
  bottom: 5%;
  border: 1px solid transparent;
  transition: border-color 200ms;
}

.logo:hover {
  border-color: yellow;
  border-radius: 3px;
}

a {
  color: yellow;
  cursor: pointer;
}
