
.buttom-ads {
  display: flex;
  position: absolute;
  bottom: 0;
  height: 100px;
  width: 100%;
  z-index: 10;
}

#score-board {
  display: flex;
  position: fixed;
  top: 5px;
  left: 2px;
  width: 100px;
  height: 50px;
  margin: 5px;
  background-color: pink;
  border: solid 1px black;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
}

#score {
  display: block;
  width: 90%;
  height: 80%;
  margin: 5px;
  font-size: 30px;
  background-color: white;
  border: solid 1px black;
  text-align: right;
  z-index: 10;
}

/* Canvasの設定 */
canvas {
  display: flex;
  margin: auto;
}

.gameover-modal {
  display: none;
  position: fixed;
  flex-direction: column;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.gameover-modal-content {
  display: flex;
  flex-direction: column;
  background-color: white;
  font-size: 35px;
  margin-top: 20%;
  padding: 10px;
  border-radius: 10px;
  width: 90%;
  height: auto;
}

.gameover-modal-content p {
  font-size: 45px;
  margin-top: 30px;
}

#high-score {
  font-size: 25px;
  margin-bottom: 20px;
  color: palevioletred;
}

#current-score {
  font-size: 30px;
  margin: 10px;
}

#gameover-comment {
  font-size: 25px;
  margin: 30px 0;
  color: blueviolet;
}

#gameover-close-btn {
  font-size: 150px;
  margin-top: -30px;
  color: white;
  border: none;
}

@media (min-width: 768px) {

  .gameover-modal-content {
    font-size: 35px;
    margin-top: 10%;
    padding: 50px 10px;
  }  

  .buttom-ads {
    display: none;
  }
  
}