body{
    min-height: 100vh;
    font-family: 'Courier New'; 
    /* overflow: hidden; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #d8c1df;
}
section.wrapper{
    text-align: center;
    /* overflow: hidden; */
}
canvas {
    display: inline;
    outline: 1px solid black;
    max-height: 70vh;
    max-width: 100vw;
}

h1#main-header {
    font-size: 100px;
    text-align: center;
    margin-bottom: 20px;
    color: #913caa;
}

#start-page {
    text-align: center;
    margin-top: 20px;
}

#start-page button {
    background-color: #5dcd52;
    color: white;
    font-size: 24px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    margin: 10px;
    font-family: 'Courier New'; 
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#start-page button:hover {
    background-color: #4daa45;
}

div#modal{
    display: none;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    /* overflow: hidden;  */
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}
.ending-content {
    text-align: center;
    background-color: rgba(199, 139, 255, 0.7);
    padding: 30px;
    border-radius: 10px;
    max-width: 400px;
    width: 100%;
}

.tutorial-content {
    text-align: center;
    background-color: rgba(199, 139, 255, 0.504);
    padding: 30px;
    padding-top: 1px;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
}

button {
    background-color: #5dcd52;
    color: white;
    font-size: 19px;
    padding: 10px 20px;
    margin: 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-family: 'Courier New'; 
}

button:hover {
    background-color: #45a049;
}

#sound-on {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 20px;  
    background-color: #247f27;
    z-index: 9999;
}

#sound-off {
    position: absolute;
    top: 80px;
    left: 20px;
    padding: 10px 20px;  
    background-color: #da3b3b;
    z-index: 9999;
}

#sound-on:hover {
    background-color: #1a581c;
}

#sound-off:hover {
    background-color: #aa2e2e;
}

