.container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-image: url("../images/wall.png");
  cursor: none;
}

.menu {
  display: flex;
  justify-content: space-evenly;
  align-items: center;

  height: 90px;
  width: 100%;
  background-color: #000000;
  color: #ffffff;
  border-bottom: 5px solid #ffd700;

  z-index: 2;
  cursor: auto;
}

.panel {
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.square {
  height: 150px;
  width: 150px;
  border: 1px solid #000000;
  background-color: #1aeaa5;
}

.enemy {
  background-image: url("../images/ralph.png");
  background-size: contain;
}

.girl {
  background-image: url("../images/girl.png");
  background-size: cover;
}

.hit {
  background-image: url("../images/hit.png");
  background-size: cover;
}

.error {
  background-image: url("../images/error.png");
  background-size: cover;
}

.heart {
  background-image: url(../images/heart.png);
  background-size: contain;
  margin: auto;
}

.menu-lives {
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-time h2:nth-child(2),
.menu-score h2:nth-child(2) {
  margin-top: 1rem;
}

.modal { 
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  top: 0;
  height: 90px;
  width: 100%;
  background-color: #000000;
  color: #ffffff;
  border-bottom: 5px solid #ffd700;
  z-index: 3;
}

.modal h2 {
  margin: 0 auto;
  margin-bottom: 10px;
}

.modal button {
  margin: 0 auto;
  padding: 10px;
  color: #ffffff;
  background-color: #1aeaa5;
  cursor: pointer;
  text-align: center;
}

.lock {
  position: fixed;
  top: 90px;
  background-color: hsla(0, 0%, 0%, 0.288);
  width: 100%;
  height: 100%;
  cursor: none;
}

#reiniciar {
  padding: 10px;
  color: #ffffff;
  background-color: #1aeaa5;
  cursor: pointer;
}

.modalExplicativo {
  width: 100%;
  height: 100%;
  text-align: center;
  background-color: #1aeaa5;
  color: white;
  position: absolute;
  top: 90px;
  padding: 2rem;

  line-height: 30px;
}

.modalExplicativo button {
  background-color: #ffd700;
  color: #ff0000;
  padding: 10px;
  margin-top: 20px;
  border: none;
  cursor: pointer;
}

#cursor {
  position: absolute;
  pointer-events: none;
  transform: translate(6%, 6%);
}

@media (max-width: 769px) {
  .container {
    cursor: auto;
  }

  .square {
    height: 95px;
    width: 95px;
  }

  h2 {
    font-size: .75rem;
  }

  p {
    font-size: .6rem;
  }

  .menu {
    height: 150px;
    flex-wrap: wrap;
  }

  .modal {
    height: 150px;
  }

  .lock {
    top: 150px;
  }

  .modalExplicativo {
    top: 150px;
    z-index: 2;
  }

  #cursor {
    opacity: 0;
  }

  .lock {
    cursor: auto;
  }
}