@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Michroma&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&family=Oxanium:wght@200..800&family=Press+Start+2P&display=swap');
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
body{
    /* background-image: url("https://cdn.pixabay.com/photo/2019/07/02/21/28/sand-castle-4313223_1280.jpg"); */
    background-image: url("./assets/background.jpg");
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: center;
    background-size: cover;
    flex-direction: column;
}
h1{
    margin-top: 10px;
    text-align: center;
    font-family: 'Press Start 2P';
    margin-bottom: 10px;
}
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
}
.info-panel{
    display: flex; 
    margin-bottom: 20px; 
    font-family: 'Press Start 2P';
}
.scores{
    display: flex;
    flex-direction: column;
}
.score{
    font-size: 15px;
    margin-right: 200px;
    margin-top: 15px;
}
.high_score{
    font-size: 15px;
    margin-top: 10px;
}
.controls{
    justify-content: flex-end;
}
#restart{
    padding: 20px;
    font-family: 'Press Start 2P';
    font-size: 5px;
    border-radius: 8px;
    background-color: green;
    color: white;
    font-size: 10px;
    box-shadow: 0 2px #b5b5b5;
    margin-top: 10px;
    border: none;
}
#restart:hover{
    background-color: greenyellow;
}
#restart:active {
  background-color: #3e8e41;
  transform: translateY(4px);
}
.container #gameCanvas{
    border: 2px solid rgba(61, 61, 61, 0.355);
    background-color: rgba(220, 220, 220, 0.351);
    position: relative;
    width: min(90vw, 800px);
    height: min(80vh, 600px);
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 10px;
}
.ant_div{
    position: absolute;
}