* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overscroll-behavior: none;
}

body {
    background-color: #1B3B5F;
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100%;
    align-items: center;
}

#miCanvas {
    display: block;
    margin: 2vw auto;
    max-width: 95vw;
    touch-action: none;
}

#pizarra {
    background-color: #114B5F;
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
}

.seccion_puntaje, .seccion_record, .seccion_logo_UNDC, .seccion_logo_Sistemas {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
}

#puntaje,
#record {
    color: white;
    font-size: 40px;
    font-weight: bold;
    margin-left: 5px;
}

.seccion_record, .seccion_logo_UNDC {
    margin-left: 20px;
}
.seccion_logo_Sistemas {
    margin-right: 20px;
}

#controles-tactiles {
    display: block;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

#controles-tactiles button {
    font-size: 2rem;
    margin: 5px;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: #4A752D;
}

#controles-tactiles>div>button:first-child {
    margin-right: 60px;
}

@media (min-width:1024px) {
    #pizarra {
        width: 700px;
    }

    #controles-tactiles {
        display: none;
    }
}

#modalJuegoTerminado {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.modal {
    display: none;
}

.modal:not(.hidden) {
    display: flex;
}

.modal.hidden {
    display: none;
}

.contenidoModal {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    width: 90%;
    max-width: 400px;
}

.contenidoModal h2 {
    margin-bottom: 1rem;
}

.contenidoModal p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.contenidoModal button {
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    background-color: #4A752D;
    color: white;
    cursor: pointer;
}