body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: Arial, sans-serif;
}



#game-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#exit-message {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    pointer-events: none;
    z-index: 1000;
    font-size: 14px;
}

#instructions {
    position: absolute;
    top: 50px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border-radius: 5px;
    pointer-events: none;
}



#instructions p {
    margin: 5px 0;
}

#stats {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border-radius: 5px;
    pointer-events: none;
    font-family: monospace;
}

#coordinates, #fps {
    margin: 5px 0;
}

#crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    pointer-events: none;
    text-shadow: 0 0 3px black;
    opacity: 0;
    transition: opacity 0.3s;
}

#gear-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    text-shadow: 0 0 3px black;
}

#settings-panel {
    position: absolute;
    top: 60px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    border-radius: 5px;
    width: 200px;
    display: none;
    z-index: 99;
}

.settings-header {
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 5px;
}

.settings-option {
    margin: 8px 0;
    display: flex;
    align-items: center;
}

.settings-option input[type="checkbox"] {
    margin-right: 10px;
}

.settings-option select {
    margin-left: 10px;
    background-color: rgba(50, 50, 50, 0.8);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    padding: 2px 5px;
}

.settings-option button {
    background-color: rgba(50, 50, 50, 0.8);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    padding: 5px 10px;
    cursor: pointer;
    width: 100%;
    margin-top: 5px;
}

.settings-option button:hover {
    background-color: rgba(70, 70, 70, 0.8);
}