/* Import Google font */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
}
body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 100vh;
  background: #d8dee1;
}
.heading{
    font-size: 2.5rem;
    font-weight: 600;
    color: #293447;
    margin-bottom: 20px;
    
}
.wrapper {
  width: 95vmin;
  height: 80vmin;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-start;
    margin-bottom: 70px;
  border-radius: 5px;
  background: #293447;
  box-shadow: 0 20px 40px rgba(52, 87, 220, 0.2);
}
.game-details {
  color: #B8C6DC;
  font-weight: 500;
  font-size: 1.2rem;
  padding: 20px 27px;
  display: flex;
  justify-content: space-between;
}
.play-board {
  height: 100%;
  width: 100%;
  display: grid;
  background: #212837;
  grid-template: repeat(30, 1fr) / repeat(30, 1fr);
}
.play-board .food {
  background: #00ff1e;
}
.play-board .head {
  background: #60CBFF;
  border-radius: 5px;
}
.score, .high-score{
    color: yellow;
}
.controls {
  display: none;
  justify-content: space-between;
}
.controls i {
  padding: 25px 0;
  text-align: center;
  font-size: 1.3rem;
  color: #B8C6DC;
  width: calc(100% / 4);
  cursor: pointer;
  border-right: 1px solid #171B26;
}
.message{
    font-size: 1rem;
    margin-top: 10px;
    font-weight: 700;
    color: #37ff00;
    text-emphasis: bold;
    text-align: center;
    text-transform: uppercase;
}
.message::before{
    content: "NOTE: ";
    color: rgb(234, 255, 0);
}
@media screen and (max-width: 800px) {
    body{
        background-color: hsl(180, 6%, 65%);
    }
  .wrapper {
    width: 90vmin;
    height: 155vmin;
    justify-content: flex-start;
    margin-bottom: 90px;
  }
  .game-details {
    font-size: 1rem;
    padding: 15px 27px;
  }
  .controls {
    display: flex;
  }
  .controls i {
    padding: 15px 0;
    font-size: 1rem;
  }
  .heading{
    margin-bottom: 0px;
    
}
.message{
    display: none;

}
}