body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-image: url('../Images/background.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@font-face {
    font-family: "Nicefont";
    src: url("../Images/font.ttf") format("truetype");
}

.Name {
    color: Black;
    text-align: center;
}

.Nameofgame
{
    text-align: left;
    position: relative;
    left: -35%;
    top:10%;
    font-size: 140px;
    font-family: Nicefont,sans-serif ;
}
.Instructions
{
    text-align: left;
    color: White;
    position: relative;
    top:-65%;
    left: 37%;
    font-size: 26px;
    font-family: Nicefont,sans-serif ;
}
#canvas
{
    position: absolute;
    top: 22%;
    left: 50%;
    transform: translate(-50%, -20%);
    margin-bottom: 20px;
}
input[type="text"] {
    width: 300px;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

input[type="text"]:focus {
    outline: none;
    border-color: #3CBC8D;
    box-shadow: 0 0 5px rgba(60, 188, 141, 0.5);
}
.dpad{
    text-align: left;
    position: fixed;
    top:60%;
    left: 10%;
    font-size: 26px;
    font-family: Nicefont,sans-serif ;
}
.button {
    background-color: #000000;
    color: White;
    border: none;
    box-shadow: 0 9px#505050;
    padding: 30px;
    text-align: center;
    font-size: 28px;
}

.button:hover {
    background-color: #3F3F3F;
}

.button:active {
    box-shadow: 0 5px #3D3D3D;
    transform: translateY(5px);
}

.pressed{
    box-shadow: 0 5px #3D3D3D;
    transform: translateY(5px);
}

.red {
    color: #FF0000;
}

.green {
    color: #00FF00;
}

.blue {
    color: #0000FF;
}

.yellow {
    color: #FFFF00;
}

.round {
    border-radius: 50%;
}

.speed
{
    color: White;
    position: absolute;
    top: 4%;
    left: 10%;
}