/* General styles */
body {
    text-align: center;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #d0f0c0;
    overflow: hidden; /* Prevent all scrolling */
    position: fixed;
    width: 100%;
    height: 100%;
}

html {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

h1 {
    color: #2c3e50;
    margin-top: 20px;
}

/* Canvas styling */
canvas {
    display: block;
    margin: 20px auto;
    background-color: #b0e0e6; /* Stream background */
    border: 1px solid black;
    max-width: 100%;
    max-height: 70vh; /* Limit height to ensure it stays in viewport */
}
}

/* Play button styling */
#playButton {
    font-size: 24px;
    padding: 15px 30px;
    background-color: #2980b9;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 50px;
}

#playButton:active {
    background-color: #3498db;
}

/* Music button styling */
#musicButton {
    font-size: 24px;
    padding: 15px 30px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    z-index: 10;
}

#musicButton:active {
    background-color: #2ecc71;
}

/* Mobile touch control buttons */
#controls {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    width: 150px;
    z-index: 10;
}

button {
    font-size: 24px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

button:active {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Restart button style */
#restartButton {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    padding: 15px 30px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    z-index: 20;
}

#restartButton:active {
    background-color: #2ecc71;
}