* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "VT323", monospace;
}

body {
  overflow: hidden;
}

/* Entrence Screen */
.entrance-screen {
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url("https://images.pexels.com/photos/275030/pexels-photo-275030.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260");
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100vw;
  text-align: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.entrance-screen > div {
  margin-top: 25vh;
}

/* instructions */
.instruction-window {
  background: rgba(0, 0, 0, 0.712);
  text-align: center;
  color: #fff;
  margin: 5px;
  visibility: hidden;
}

.instruction-window > div {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.instruction-window h1 {
  grid-column: 1 / span 3;
}

.instruction-window div > img {
  width: 40px;
}

.tools,
.materials,
.arrows {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.tools > *,
.materials > * {
  margin-top: 30px;
}

.arrows i {
  margin-top: 30px;
  margin-bottom: 20px;
}

.instruction-window p {
  grid-column: 1 / span 3;
  padding: 30px;
}

.btn {
  cursor: pointer;
  padding: 10px;
  padding-right: 20px;
  padding-left: 20px;
  margin-left: 80px;
  margin-right: 80px;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  margin-top: 2px;
}

.btn:hover {
  border: 1px solid #1f1f1f;
  box-shadow: 1px 5px 5px #1f1f1f;
  border-radius: 10px;
  color: #1f1f1f;
  transition: border-radius 1s ease;
}

.container {
  display: grid;
  grid-template-columns: 6fr 1fr;
}

.game-container--left-side {
  margin: 0;
  overflow-y: hidden;
  height: 99vh;
  background: url("https://images.pexels.com/photos/275030/pexels-photo-275030.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260");
}

.game-grid {
  margin: 0 100px;
  border: 1px solid black;
  height: 100vh;
  display: grid;
  grid-template-columns: repeat(25, 1fr);
  grid-template-rows: repeat(20, 1fr);
  background: rgb(149, 215, 241);
}

.box {
  background: rgb(149, 215, 241);
  border: 1px transparent;
}

.box:hover {
  border: 1px solid white;
  cursor: pointer;
}

.tool-box--right-side {
  background-color: rgb(58, 48, 48);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tool-box--right-side button {
  color: #fff;
  border: 1px solid grey;
}

/* tools */
.picaxe,
.shovel,
.axe,
.sword {
  border: 1px solid white;
  padding: 5px;
  width: 65px;
  color: white;
  text-align: center;
  margin-top: 10%;
  cursor: pointer;
  opacity: 0.8;
}

.picaxe:hover,
.shovel:hover,
.axe:hover,
.sword:hover {
  opacity: 1;
}

.picaxe img,
.shovel img,
.axe img,
.sword img {
  width: 3.5rem;
}

.tool-box--right-side button {
  width: 150px;
  padding: 5px;
  margin-top: 8px;
}

/* inventory */
.inventory {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 10px;
  margin-top: 12%;
}

.item {
  border: 1px solid white;
  width: 40px;
  height: 40px;
  margin: 10px auto;
  color: white;
  text-align: center;
  cursor: pointer;
  opacity: 0.7;
}

.item:hover {
  opacity: 1;
}

.item h4 {
  margin-top: 10px;
}

.sun h4 {
  color: #1f1f1f;
}

.cloud {
  background: url("../img/cloud.png") no-repeat center/cover;
}

.grass {
  transition: background 0.5s linear;
  background: url("../img/grass.png") no-repeat center/cover;
}

.rock {
  transition: background 0.5s ease;
  background: url("../img/rock.png") no-repeat center/cover;
}

.soil {
  background: url("../img/soil.jpg") no-repeat center/cover;
  transition: background 0.5s ease;
}

.leaves {
  background: url("../img/tree-leaves.png") no-repeat center/cover;
  transition: background 0.5s ease;
}

.bushLeaves {
  background: url("../img/sunflower.png") no-repeat center/cover;
  transition: background 0.5s ease;
}

.wood {
  background: url("../img/wood.png") no-repeat center/cover;
  transition: background 1s ease;
}

.sun {
  background: url("/img/sun.png");
  transition: background 1s ease;
}
