/* Center and style the canvas */
body {
    /* background-color: #6363ff; */
    background-color: #F6D6CB;
    border: 1px solid #444;
    padding: 1px;
    border-radius: 0px, 0px, 50px, 50px;
}

.container {
    max-width: 450px;
    margin: 0 auto;
    position: relative;
}

.logo {
    z-index: 99999;
    background-image: url('resources/face.png');
    background-position: left top;
    background-repeat: no-repeat;
    height: 100px;
    width: 150px;
    position: absolute;
    left: 20px;
    top: 0px;
}

.u, .d, #start, #select {
    touch-action: manipulation; /* evita doble tap zoom */
}

#game-screen {
    background-color: #dbdbdb;
    border: 3px solid #444;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

/* Common button styling */
button {
    width: 50px;
    height: 50px;
    margin: 5px;
    font-size: 18px;
    border-radius: 80px;
    border: none;
    background-color: #ffa0a0;
    transition: 0.2s;
}

button:active {
    background-color: #aaa;
}

/* D-Pad layout */
.pad {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pad div {
    display: flex;
    justify-content: center;
}

/* Action buttons stacked */
.actions {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.actions .a {
    margin-bottom: 20px;
}

/* Start / Select smaller */
.options button {
    width: 80px;
    height: 35px;
    font-size: 16px;
    margin: 0 10px;
}