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

/* Full viewport canvas */
canvas {
    max-width: 100%;
    max-height: 100%;
    display: block;
    background-color: #000;
    border: 1px solid #fff;
}


/* Make canvas responsive */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f3f3f3; /* Adjust background for better contrast */
}

#levelDisplay {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 20px;
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    border-radius: 5px;
}

#CopyRight {
    position: absolute;
    top: 95%;
    left: 5%;
    color: black;
    font-size: 15px;
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 8px 16px;
    border-radius: 5px;
}

#Donate {
    position: absolute;
    top: 95%;
    left: 75%;
    color: black;
    font-size: 15px;
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 8px 16px;
    border-radius: 5px;
}

/* Modal styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    text-align: center;
}

#controlButtons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
}

#moveRight {
    position: absolute;
    top: 92%;
    left: 60%;
    color: black;
    font-size: 35px;
}

#moveLeft{
    position: absolute;
    top: 92%;
    left: 40%;
    color: black;
    font-size: 35px;
}

#moveLeft:active, #moveRight:active {
    background-color: #555;
}

#moveLeft:hover, #moveRight:hover {
    background-color: #444;
}
