/* 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;
}

/* tombol ke halaman slot start */
.tombol {
	position: fixed;
  display: inline-block;
  overflow: hidden;
  border-radius: 8px;

	top: 50px;
  left: 100px;
  width: 100px;
  height: 40px;
}

.tombol img {
	position: fixed;
  width: 10%;
  height: auto;
	margin-left: -100px;
	margin-top: -50px;
  display: block;
}
/* tombol ke halaman slot end */






body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #4e4e4e;
}
.wrapper {
  width: 65vmin;
  height: 70vmin;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  border-radius: 10px;
  background: #070707;
  box-shadow: 0 20px 40px rgba(255, 73, 73, 0.2);
}
.game-details {
  color: #ffffff;
  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: #5d5d5d;
  grid-template: repeat(30, 1fr) / repeat(30, 1fr);
}
.play-board .food {
  background: #FF003D;
}
.play-board .head {
  background: #000000;
}
.controls {
  display: none;
  justify-content: space-between;
}
.controls i {
  padding: 25px 0;
  text-align: center;
  font-size: 1.3rem;
  color: #ffffff;
  width: calc(100% / 4);
  cursor: pointer;
  border-right: 1px solid #0f1011;
}







@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;
  }
  .tombol img {
    width: 15%;
    height: auto;
    margin-left: -120px;
    margin-top: -50px;
  }
}

