body {
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23abd5, #23a6d5);
  background-size: 400% 400%;
  color: #fff;
  font-family: sans-serif;
  font-size: 2em;
  text-align: center;
  animation: gradient 150s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

canvas {
  height: 70vh;
}

.navbar {
  height: 62px;
  width: 100%;
  position: fixed;
  background: white;
  top: 0;
  left: 0;
  opacity: 0.65;
  text-align: center;
}

.logo-img {
  z-index: 10;
  position: fixed;
  width: 150px;
  margin-left: -80px;
}

.gamepad {
  height: 130px;
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
}

.controls_1 {
  height: 50px;
  width: 50px;
  border: 0px solid black;
  z-index: 10;
  margin-top: 40px;
}

#arrow-right {
  position: absolute;
  margin-left: 90px;
  font-size: 60px;
  background: transparent;
  border: none;
  outline-style: none;
  cursor: pointer;
  color: #424242;
}

#arrow-left {
  position: absolute;
  font-size: 60px;
  background: transparent;
  border: none;
  outline-style: none;
  cursor: pointer;
  color: #424242;
}

.controls_2 {
  margin-top: -40px;
  height: 50px;
  width: 100%;
  border: 0px solid black;
  z-index: 9;
}

#pause_game {
  position: absolute;
  right: 70px;
  margin-top: 9px;
  font-size: 40px;
  background: transparent;
  color: #424242;
  border: none;
  z-index: 10;
  outline-style: none;
  cursor: pointer;
}

#continue_game {
  display: none;
  position: absolute;
  right: 77px;
  margin-top: 15px;
  font-size: 30px;
  background: transparent;
  color: #424242;
  border: none;
  z-index: 10;
  outline-style: none;
  cursor: pointer;
}

#rotate_piece {
  position: absolute;
  right: 30px;
  margin-top: 0px;
  font-size: 40px;
  background: transparent;
  color: #424242;
  border: none;
  outline-style: none;
  cursor: pointer;
}

#arrow-down {
  position: absolute;
  right: 120px;
  margin-top: -5px;
  font-size: 55px;
  background: transparent;
  color: #424242;
  border: none;
  outline-style: none;
  cursor: pointer;
}

#start_game {
  position: absolute;
  right: 10px;
  margin-top: 8px;
  font-size: 40px;
  background: transparent;
  color: #424242;
  border: none;
  z-index: 10;
  outline-style: none;
  cursor: pointer;
}

#restart_game {
  display: none;
  position: absolute;
  right: 10px;
  margin-top: 8px;
  font-size: 40px;
  background: transparent;
  color: #424242;
  border: none;
  z-index: 10;
  outline-style: none;
  cursor: pointer;
}

#music_game {
  position: absolute;
  left: 90px;
  margin-top: 15px;
  font-size: 30px;
  background: transparent;
  color: #424242;
  border: none;
  z-index: 10;
  outline-style: none;
  cursor: pointer;
}

#music_game:hover {
  opacity: 0.55;
}

#demo-img {
  position: fixed;
  height: 300px;
  margin-left: -92px;
  margin-top: 150px;
  filter: drop-shadow(0 0 0.15rem black);
}

#gamepad_controls {
  font-size: 30px;
  background: transparent;
  color: #424242;
  border: none;
  z-index: 10;
  outline-style: none;
  cursor: pointer;
}

.dropdown {
  position: absolute;
  left: 10px;
  margin-top: 8px;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  margin-top: 40px;
  min-width: 160px;
  height: 170px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  z-index: 1;
  color: black;
  font-size: 18px;
  border-radius: 5px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

#score {
  border: 0px solid black;
  font-size: 24px;
  margin-top: -10px;
  margin-bottom: 5px;
}

#levels {
  border: 0px solid black;
  position: fixed;
  top: 60px;
  right: 10px;
  font-size: 15px;
}

@media all and (max-width: 800px) {
  .dropdown {
    display: none;
  }

  #music_game {
    left: 10px;
  }

  #start_game {
    margin-top: 70px;
  }

  #restart_game {
    opacity: 0;
  }

  #pause_game {
    right: 10px;
  }

  #continue_game {
    right: 15px;
  }
}

@media all and (min-width: 801px) {
  .controls_1 {
    display: none;
  }

  .controls_2 {
    display: none;
  }
}

@media all and (max-width: 500px) {
  canvas {
    height: 60vh;
  }
}

@media all and (max-width: 350px) {
  #rotate_piece {
    font-size: 40px;
  }

  #arrow-down {
    display: none;
  }

  #arrow-right {
    font-size: 50px;
  }

  #arrow-left {
    font-size: 50px;
  }
}
