/*  basic layout css */
/* ---------------------------- */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}
body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  background-color: rgb(21, 15, 28);
  color: beige;
}
.header {
  font-size: 50px;
  font-weight: 500;
  font-family: cursive;
  margin: 10px;
}
.level {
  font-size: 20px;
  font-weight: 500;
  margin: 30px;
}
#level-screen {
  background-color: black;
  color: red;
  font-size: 20px;
  font-weight: 500;
  border: 2px solid white;
  border-radius: 3px;
  padding: 5px 16px 5px 16px;
  margin-top: 2px;
  text-align: center;
}
.score {
  font-size: 25px;
  font-weight: 500;
  margin: 10px;
  padding: 3px 6px;
  border: 1px solid grey;
  border-radius: 5px;
}
.content {
  position: relative;
  height: 430px;
  width: 430px;
  border-radius: 50%;
  background-color: black;
}
.msg {
  position: absolute;
  font-size: 60px;
  width: 100%;
  top: 50%;
  z-index: 3;
  text-align: center;
  background-color: rgba(128, 128, 128, 0.689);
  color: white;
}
.msg2 {
  position: absolute;
  font-family: cursive;
  font-size: 60px;
  width: 100%;
  top: 50%;
  z-index: 3;
  text-align: center;
  background-color: rgba(223, 223, 223, 0.6);
  color: red;
  display: none;
}
.prevent {
  background-color: rgba(255, 255, 255, 0.001);
  width: 100vw;
  height: 100vh;
  z-index: 4;
  position: absolute;
  top: 0px;
  display: none;
}

/* Basic box design */
/* ---------------------------- */
.panel {
  height: 200px;
  width: 200px;
  margin: 10px;
}

.green {
  background-color: rgb(1, 135, 1);
  border: 3px solid rgb(98, 253, 98);
  position: absolute;
  top: 0px;
  left: 0px;
}

.yellow {
  background-color: rgb(196, 196, 2);
  border: 3px solid rgb(250, 254, 181);
  position: absolute;
  bottom: 0px;
  left: 0px;
}
.blue {
  background-color: rgb(7, 7, 255);
  border: 3px solid rgb(147, 165, 255);
  position: absolute;
  bottom: 0px;
  right: 0px;
}

.red {
  background-color: rgb(255, 3, 3);
  border: 3px solid rgb(255, 170, 170);
  position: absolute;
  top: 0px;
  right: 0px;
}
.black {
  background-color: black;
  border: 3px solid white;
  height: 150px;
  width: 150px;
  border-radius: 50%;
  position: absolute;
  z-index: 2;
  top: 210px;
  left: 210px;
  transform: translate(-50%, -50%);
}

.top-left {
  border-top-left-radius: 100%;
}
.top-right {
  border-top-right-radius: 100%;
}
.bottom-left {
  border-bottom-left-radius: 100%;
}
.bottom-right {
  border-bottom-right-radius: 100%;
}

.leaderboard {
  position: absolute;
  left: 2vw;
  top: 20vh;
  width: 20vw;
  color: white;
  background-color: #333;
  padding: 10px;
  border-radius: 5px;
}

.leaderboard h2 {
  text-align: center;
  margin-bottom: 10px;
}

#leaderboard-list {
  list-style: decimal inside;
  padding-left: 0;
}

#leaderboard-list li {
  padding: 5px 0;
  border-bottom: 1px solid #555;
}

.howtoplay {
  position: absolute;
  left: 2vw;
  top: 78vh;
  margin-bottom: 2vw;
  color: white;
  background-color: #333;
  padding: 8px;
  border-radius: 5px;
  z-index: 100;
}
.howtoplay h2 {
  margin: 0px 0px 2px 2px;
}
.howtoplay p {
  opacity: 89%;
  margin-left: 17px;
}

/* Responsive */
@media (max-width: 800px) {
  .header {
    font-size: 40px;
  }
  .msg,
  .msg2 {
    top: 37%;
    font-size: 30px;
  }
  .content {
    position: relative;
    height: 330px;
    width: 330px;
    border-radius: 50%;
    background-color: black;
  }
  .panel {
    height: 160px;
    width: 160px;
    margin: 1px;
  }
  .black {
    top: 165px;
    left: 165px;
  }
}
@media (max-width: 1000px) {
  .body {
    overflow: scroll;
  }
  .leaderboard {
    position: static;
    width: 90vw;
    margin: 3vw 0px;
  }
  .howtoplay {
    position: static;
    width: 90vw;
    margin-bottom: 13vw;
  }
}
