/* Import Google font */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');
#logo{ 
	position: absolute; 
	top:20px; 
	left:50px;
  transform: translateX(-50%);
  z-index: 9999; 
} 
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Micro 5', sans-serif;
}
body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #D9DDDC;
}
.wrapper {
  position: relative; 
  width: 65vmin;
  height: 70vmin;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  border-radius: 5px;
  background: #D9DDDC;
  box-shadow: 0 20px 40px rgba(52, 87, 220, 0.2);
}
.game-details { 
  color: #3E454B;
  font-weight: 500;
  font-size: 1.2rem;
  padding: 20px 27px;
  display: flex;
  justify-content: space-between;
}
.play-board {
  position: relative; 
  height: 100%;
  width: 100%;
  display: grid;
  background: #3E454B;
  grid-template: repeat(30, 1fr) / repeat(30, 1fr);
}
.play-board .food {
  background: #FF003D;
}
.play-board .head {
  background: #f0f5f3;
}

.controls {
  display: none;
  justify-content: space-between;
}
.controls i {
  position: relative; 
  padding: 25px 0;
  text-align: center;
  font-size: 1.3rem;
  color: #3E454B;
  width: calc(100% / 4);
  cursor: pointer;
  border-right: 1px solid #D9DDDC;
}

@media screen and (max-width: 800px) {
  .wrapper {
    width: 90vmin;
    height: 115vmin;
  }
  .game-details {
    font-size: 1rem;
    padding: 15px 27px;
  }
  .controls {
    display: flex;
  }
  .controls i {
    padding: 15px 0;
    font-size: 1rem;
  }
}