* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #231F20;
    color: white;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

.webgl-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#gameContainer {
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    max-height: 100%;
}

#gameContainer canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* Progress bar styling */
.webgl-content .logo, .progress {
    position: absolute; 
    left: 50%; 
    top: 50%; 
    -webkit-transform: translate(-50%, -50%); 
    transform: translate(-50%, -50%);
}

.webgl-content .logo {
    background: url('progressLogo.Dark.png') no-repeat center / contain; 
    width: 154px; 
    height: 130px;
}

.webgl-content .progress {
    height: 18px; 
    width: 141px; 
    margin-top: 90px;
}

.webgl-content .progress .empty {
    background: url('progressEmpty.Dark.png') no-repeat right / cover; 
    float: right; 
    width: 100%; 
    height: 100%; 
    display: inline-block;
}

.webgl-content .progress .full {
    background: url('progressFull.Dark.png') no-repeat left / cover; 
    float: left; 
    width: 0%; 
    height: 100%; 
    display: inline-block;
}

/* Fullscreen button styling */
.fullscreen-btn {
    position: fixed;
    bottom: 20px;
    right: 140px; /* Positioned to the left of right control button */
    width: 48px;
    height: 48px;
    background-image: url('fullscreen.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.fullscreen-btn:hover {
    opacity: 1;
}

/* Control buttons */
.control-btn {
    position: fixed;
    bottom: 20px;
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 3px solid rgba(255, 255, 255, 1.0);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    color: #231F20;
    cursor: pointer;
    user-select: none;
    z-index: 1000;
    transition: all 0.2s ease;
}

.control-btn:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.05);
}

.control-btn:active {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(0.95);
}

.left-btn {
    left: 20px;
}

.right-btn {
    right: 20px; /* Now positioned at the far right */
}