body, html {
    width: 100vw;
    height: 100vh;
    background-color: rgb(51, 79, 163);
	overflow-y: hidden;
	overflow-x: hidden;
    user-select: none;
}

canvas {
	position: fixed;
	top: 0;
	left: 0;
    bottom: 50px; /* Höhe des Footers ungefähr */
    width: 100vw;
    height: calc(100vh - 50px);
}

#game {
    margin: 0 auto;
}

.errorMessage {
	position: fixed;
    text-align: center;
	max-width: 90vw;
	font-size: 100%;
	bottom: 50%;
	right: 50%;
	transform: translate(50%, 50%);
	background: #ff0000;
	padding: 10px 20px;
    color: white;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
	border-radius: 15px;
	margin: auto;
    word-wrap: break-word;
}

.broadcastMessage {
	position: fixed;
	text-align: center;
	max-width: 90vw;
	font-size: 100%;
	bottom: 50%;
	right: 50%;
	transform: translate(50%, 50%);
	background: #0000ff;
	padding: 10px 20px;
	color: white;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
	border-radius: 15px;
	margin: auto;
	word-wrap: break-word;
}

#statusInfoContainer {
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(51, 79, 163, 0.5); 
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    pointer-events: none;
}


#statusInfoContainer button {
    pointer-events: auto; /* Buttons fangen klicks ab */
}

#statusInfoContainer h1 {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    color: white;
    pointer-events: none;
    user-select: none;
}

#statusInfoContainer h1 .small {
    font-size: 16px;
}

#statusInfoContainer h1 .big {
    font-size: 24px;
    font-weight: 700;
}
#score {
	text-align: right;
	margin-right: 5%;
	font-family: 'Segoe UI', sans-serif;
    font-size: 22px;
    font-weight: bold;
    color: white;
    pointer-events: none;
    user-select: none;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.090);
    padding: 10px 20px;
    text-align: right;
    z-index: 1500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    user-select: none;
    font-size: 0.9em;
}

footer a {
    color: rgba(0, 0, 0, 0.7); /* gut lesbar */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    margin-right: 5%;
}

footer a:hover,
footer a:focus {
    color: rgba(0, 0, 0, 1); /* bei Hover/Fokus volle Deckkraft */
    text-decoration: underline;
    cursor: pointer;
}