* {
    margin: 0;
    color: #EEE;
    font-family: "Press Start 2P", system-ui;
    text-shadow: 4px 4px #222;
    text-align: center;
}

body {
    min-height: 100vh;
    background-color: #1d1d1d;
    display: flex;
    justify-content:  center;
    align-items: center;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content:  center;
    align-items: center;

    padding: 0 10px;
}

#canvas {
    background-color: #292929;
}

.score {

    font-size: 1.6rem;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    
    margin-bottom: 10px;
}

.score-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.menu {
    font-size: 2rem;
    
    position: absolute;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    margin-top: 80px;
}

.instructions {
    font-size: 1.5rem;
}

#game-over-score {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 10px
}

#scoreboard > #list {
    list-style: none;
    margin: 15px 0 50px;
}

.highligth{
    color: #fbba1d;
}

.highligth-soft{
    color: #C2C2C2;
}

#scoreboard > #list > .row{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 50px;
}

#keyboardInvoker {
   position: absolute;
   opacity: 0;
   height: 0px;
   z-index: -1;
}

.blink {
    animation: animate 1.5s linear infinite; 
}

@keyframes animate{ 
    0%{ 
      opacity: 0.2; 
    } 
    50%{ 
      opacity: 0.7; 
    } 
    100%{ 
      opacity: 0.2; 
    } 
}

@media (max-width: 768px) {
    #game-over-score {
        font-size: 1.75rem;
    }
    .menu {
        font-size: 1.25rem;
        padding: 20px;
    }
    .instructions {
        font-size: 1rem;
        padding: 20px;
    }
}

@media (max-width: 470px) {
    #canvas {
        width: calc(100% - 20px);
    }
}