/* style.css */
body {
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    background-color:darkslategray;
    color:#f0d9b5;
    touch-action: pan-y;
}
#main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    width: 100%;
    padding: 20px;
    background-color: #133; 
    border-radius: 8px;
    box-shadow: 12px 12px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    touch-action: none;
}
#header-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}
#header-container img {
    max-width: 100px;
    height: auto;
    margin-right: 20px; /* Abstand zwischen Logo und Text */
}
.text-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-grow: 1;
}
h1 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 2em;
}
h2 {
    text-align: left;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.03em;
}
#status {
    text-align: center;
    font-weight: bold;
    margin-bottom: 0px;
}
#myBoard {
    width: 100%;
    max-width: 500px;
    position: static;
    touch-action: none;
}
.overlay-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    padding: 10px 15px;
    font-size: 7em;
    cursor: pointer;
    background-color: rgba(60, 60, 60, 0.9);
    color: #f0d9b5;
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 5px;
    /* Unsichtbar bis hover event */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}
.overlay-button.show {
    opacity: 1;
    pointer-events: auto;
}
.overlay-button:hover {
    background-color: rgba(90, 90, 90, 0.8);
}