body {
  background-color: #3eacecf3;
  font-family: "Tourney", cursive;
}
.main-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.main-container h1 {
  font-size: 2.5rem;
  color: #e20505;
}
.container {
  display: flex;
}
.grid {
  display: flex;
  flex-wrap: wrap;
  width: 300px;
  height: 600px;
  background-color: #fbfb82;
  box-shadow: 10px 5px 5px #d6bdbd;
  border: #e20505 1px solid;
}

.grid div {
  height: 30px;
  width: 30px;
}

#start-btn {
  width: 10rem;
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: 3px;
  background-color: #117273;
  border-style: none;
  border-radius: 4px;
  padding: 10px;
  font-size: 1rem;
  cursor: pointer;
  color: #f0e3e3;
}

#start-btn:active {
  background-color: #e20505;
}
#start-btn:focus {
  outline: none;
}

#score,
h3 {
  margin-bottom: 10px;
  font-size: 1.7rem;
  color: #e20505;
}
.tetromino {
  background-color: #5a5aee;
}

.mini-grid {
  width: 120px;
  height: 120px;
  display: flex;
  flex-wrap: wrap;
  background-color: #fbfb82;
  margin-left: 40px;
  border: #e20505 1px solid;
}

.mini-grid div {
  height: 30px;
  width: 30px;
}

#left,
#up,
#down,
#right {
  border: none;
  color: #e20505;
  background-color: transparent;
  font-size: 2.5rem;
}
#left,
#up,
#down,
#right:focus {
  outline: none;
}

#left,
#right {
  margin-top: 90px;
  margin-bottom: 0;
}
#down {
  margin-left: 27px;
  margin-top: 0;
}

@media screen and (max-width: 500px) {
  .mini-grid {
    margin-left: 5px;
  }
  .grid {
    width: 200px;
    height: 400px;
  }

  .grid div {
    height: 20px;
    width: 20px;
  }

  .mini-grid {
    width: 80px;
    height: 80px;
  }

  .mini-grid div {
    height: 20px;
    width: 20px;
  }
  #score,
  h3 {
    margin-bottom: 0;
    font-size: 1rem;
    color: #e20505;
  }

  #left,
  #up,
  #down,
  #right {
    border: none;
    color: #e20505;
    background-color: transparent;
    font-size: 1rem;
  }
  #left,
  #up,
  #down,
  #right:focus {
    outline: none;
  }
  #left,
  #right {
    margin-top: 20px;
    margin-bottom: 0;
  }
  #down {
    margin-left: 0;
    margin-top: 0;
  }
}
