#start-button {
    position: absolute;
    top: 0%;
    right: 0%;
    transform: translateX(-50%);
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: -90px;
}

.button-container button {
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    border: 2px solid #8B4513;
    border-radius: 10px;
    background-color: #FFD700;
    font-family: 'Courier New', Courier, monospace;
    text-transform: uppercase;
    box-shadow: 2px 2px 0 #8B4513;
    transition: all 0.2s ease-in-out;
}

.button-container button:hover {
    background-color: #FFA500;
    transform: translateY(-2px);
    box-shadow: 3px 3px 0 #8B4513;
}

.button-container button:active {
    transform: translateY(1px);
    box-shadow: 1px 1px 0 #8B4513;
}

#top-buttons {
    position: absolute;
    width: 100%;
    top: 10px;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 5;
}

#top-left-buttons {
    display: flex;
    gap: 10px;
}

#controls,
#impressum {
    cursor: pointer;
}

#mute {
    position: absolute;
    top: 65px; 
    right: 10px;
    cursor: pointer;
    z-index: 10;
    padding: 4px 12px;
    border: 2px solid #8B4513;
    border-radius: 10px;
    background-color: #FFD700;
    font-family: 'Courier New', Courier, monospace;
    text-transform: uppercase;
    box-shadow: 2px 2px 0 #8B4513;
    transition: all 0.2s ease-in-out;
}

#mute:hover {
    background-color: #FFA500;
    transform: translateY(-2px);
    box-shadow: 3px 3px 0 #8B4513;
}

.icon-button img {
    width: 30px;
    height: 30px;
    transition: transform 0.2s ease-in-out;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: hidden;
}

.overlay.hidden {
    display: none;
}

.overlay-content {
    background: #f9ecd4;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    width: 80%;
    max-width: 400px;
}

.overlay-content h2 {
    margin: 0;
    font-size: 24px;
    color: #333;
}

.overlay-content p {
    margin: 10px 0;
    font-size: 16px;
    color: #555;
}

.close-button {
    padding: 8px 16px;
    font-size: 16px;
    cursor: pointer;
    border: 2px solid #8B4513;
    border-radius: 10px;
    background-color: #FFD700;
    font-family: 'Courier New', Courier, monospace;
    text-transform: uppercase;
    box-shadow: 2px 2px 0 #8B4513;
    transition: all 0.2s ease-in-out;
}

.close-button:hover {
    background-color: #FFA500;
    transform: translateY(-2px);
    box-shadow: 3px 3px 0 #8B4513;
}

.mobile-button-container {
    position: absolute;
    bottom: 10px; 
    width: 100%;
    display: flex;
    justify-content: space-between; 
    padding: 0 120px; 
    z-index: 5; 
    box-sizing: border-box;
    display: none;
}

.mobile-button-group {
    display: flex;
    gap: 10px;
}

.mobile-button-group.left {
    justify-content: flex-start;
}

.mobile-button-group.right {
    justify-content: flex-end;
}

.mobile-button-container button {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid #8B4513;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
}

.mobile-button-container button img {
    width: 30px;
    height: 30px;
}

#orientation-warning {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    color: white;
    font-size: 24px;
    text-align: center;
}

#orientation-warning.visible {
    display: flex;
}