body {
    background-color: black;
    color: white;
    font-family: 'Silkscreen', sans-serif;
}

canvas {
    background-color: #fff;
    display: block;
    margin: auto;
    border: 1px solid #ddd;
}

#breakoutCanvas {
    background-color: black; /* Background color */
    background-image: url('images/background.png'); /* Background image */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    display: block;
    margin: 20px auto;
    max-width: 480px; /* Maximum width of the canvas */
    width: 100%; /* Canvas width will scale based on the device's width */
}

@media (pointer:coarse) {
    .game-controls {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        display: flex !important;
        justify-content: space-around;
        width: 100%;
        max-width: 400px;
    }
}
    

.control-btn {
    flex: 1;
    margin: 0 10px;
    height: 150px; /* Significantly increased height */
    font-size: 24px; /* Increased font size for better visibility */
}

.sr-only {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.logo {
    max-width: 300px; /* Set max-width for the image */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Align image properly */
    margin: 30px auto ; /* Center the image */
}


.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-dialog {
    position: relative;
    margin: 10% auto;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
    border-radius: 5px;
}

/* Modal Header Styling */
.modal-header{
    justify-content: center;
}
.modal-header .modal-title{
    text-align: center; /* Centering text */
    font-size: 24px; /* Larger font size */
    color: white; /* Adjust color as needed */
}

/* Modal Body Styling for Scores */
.modal-body p {
    text-align: center; /* Centering text */
    font-size: 20px; /* Larger font size */
    margin: 10px 0; /* Spacing between score lines */
}

/* Style for finalScore and highScore */
#finalScore, #highScore {
    font-size: 35px; /* Set font size */
    /* Add any additional styling needed */
}

/* Modal Button Styling */
.modal .modal-footer button {
    background-color: white !important; /* White background */
    color: #32645C !important; /* Font color */
    border: 1px solid #32645C !important; /* Optional: add border for better visibility */
    padding: 10px 15px; /* Adjust padding as needed */
    font-size: 16px; /* Adjust font size as needed */
    margin: 5px; /* Spacing around buttons */
    cursor: pointer; /* Cursor style on hover */
    transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover effect */
}

.modal .modal-footer button:hover {
    background-color: #00837F  !important; /* Color change on hover */
    color: white !important; /* Text color change on hover */
}

/* Button Styling */
button {
    background-color: #00837F !important;
    color: white !important;
    border: none !important;
    font-family: 'Pixelify Sans', sans-serif !important; /* Assuming you have included this font */
    padding: 10px 20px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    outline: none !important; /* Removes the outline */
    /* Pixel art style */
    image-rendering: pixelated !important; /* Gives the pixel art effect */
    image-rendering: -moz-crisp-edges !important; /* For Firefox */
}

/* Modal Styling */
.modal-content, .modal-dialog {
    background-color: #32645C;
    border: none; /* No border */
    outline: none; /* No outline */
}

/* Score Text Styling */
.score-text {
    /* color: #C9F5F0; */
    font-family: 'Pixelify Sans', sans-serif;
    font-size: 20px;
}

/* Additional styles for modal and other elements as needed */
