
       body {
    background-color: cyan;
    color: white;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120vh; /* Increased height */
    position: relative;
    flex-direction: column;
}

.console {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: black;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.screen {
    width: 300px;
    height: 750px;
    border: 5px solid gray;
    margin-bottom: 20px;
    background-color: white;
    position: relative;
}

canvas {
    width: 100%;
    height: 100%;
    background-color: #000;
}

.controls {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.dpad, .abxy {
    display: grid;
}

.dpad {
    grid-template-columns: 50px 50px 50px;
    grid-template-rows: 50px 50px 50px;
    gap: 5px;
}

.dpad button {
    width: 50px;
    height: 50px;
    background-color: white;
    color: black;
    border: 2px solid black;
    border-radius: 5px;
    cursor: pointer;
}

.abxy {
    grid-template-columns: 50px 50px;
    grid-template-rows: 50px 50px;
    gap: 5px;
}

.abxy button {
    width: 50px;
    height: 50px;
    border: 2px solid black;
    border-radius: 50%;
    cursor: pointer;
}

#a { background-color: green; }
#b { background-color: green; }
#x { background-color: red; }
#y { background-color: red; }
#up { background-color: pink; }
#down { background-color: pink; }
#left { background-color: blue; }
#right { background-color: blue; }
#start { background-color: orange; }

.extra-buttons {
    margin-top: 0px;
    display: flex;
    justify-content: center;
    width: 200px;
}

.extra-buttons button {
    width: 80px;
    height: 40px;
    background-color: white;
    color: black;
    border: 2px solid black;
    border-radius: 5px;
    cursor: pointer;
}

#scoreBoard {
    margin-top: 20px;
    background-color: white;
    color: black;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
}
    
#scoreTable {
    width: 100%;
    border-collapse: collapse;
}

#scoreTable th, #scoreTable td {
    border: 1px solid black;
    padding: 5px;
    text-align: center;
}