html, body {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

#paused, #start {
    position: absolute;
    
    margin: 0;
    padding: 5px 15px;

    border-radius: 25px;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    font-size: 25px;
    font-weight: bolder;

    color: white;
    background-color: rgba(128, 128, 128, 0.774);

    /* -webkit-text-stroke: 1px black; */

    pointer-events: none; /* não bloqueia o mouse */
    /* z-index: 10; */
}

#fps_UI {
    position: absolute;

    top: 10px;
    left: 10px;

    font-size: 20px;

    color: white;

    /* z-index: 100; */
}

#debug_ui {
    position: absolute;
    
    display: flex;
    flex-direction: column;
    
    top: 10px;
    left: 10px;
    
    color: white;
}

#debug_ui{
    padding: 5px 5px;
}

/*tem que ficar acima de '#debug_ui > span'*/
#debug_ui span {
    padding-left: 2px;
}

#debug_ui > span {
    background-color: rgba(136, 136, 136, 0.329);
    
    padding: 0px 4px;
    margin-bottom: 2px;

    border-radius: 5px;
    
    width: fit-content;
}

#debug_ui_instructions {
    position: absolute;
    
    display: flex;
    flex-direction: column;
    
    bottom: 10px;
    left: 10px;
    
    color: white;
}

#debug_ui_instructions p {
    margin: 0;
}

.green{
    color: limegreen;
}

.red {
    color: red;
}

.yellow {
    font-weight: bold;
    color: yellow;
}

.bold {
    font-weight: bold;
}

#player_UI{
    margin: 0px;
    position: absolute;
    
    top: 10px;
    left: 10px;
}

#UI {
    margin: 0px;
    position: absolute;

    top: 10px;
    right: 10px;
}

#player_UI span, #UI span {
    margin: 0px;
    margin-bottom: 5px;

    font-size: 20px;
        
    color: white;

    font-weight: bold;
}

#UI {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.background {
    background-color: rgba(0, 0, 0, 0.494);
    padding: 1px 5px;
    border-radius: 5px;
}

/* 
.spacing_bottom {
    margin-bottom: 10px;
} */

#game_over {
    position: absolute;
    
    margin: 0;
    padding: 5px 15px;

    border-radius: 25px;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    font-size: 25px;
    font-weight: bolder;

    color: white;
    background-color: rgba(128, 128, 128, 0.774);

    pointer-events: none; /* não bloqueia o mouse */
    /* z-index: 10; */
}

.hidden {
    visibility: hidden;
}