body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000;
    font-family: Arial, sans-serif;
}

canvas {
    display: block; /* Removes the default inline-block spacing */
    margin: 0 auto; /* Centers the canvas */
}

h1 {
    text-align: center;
    color: #333;
    margin-top: 20px;
}

#hud {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 100;
    color: white;
    font-size: 18px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

#health {
    color: #ff5555;
    margin-bottom: 5px;
}

#position {
    color: #55ff55;
    margin-bottom: 5px;
}

#instructions {
    color: #5555ff;
}

button {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #45a049; /* Darker green */
}

.interactive {
    cursor: pointer;
    transition: transform 0.2s;
}

.interactive:hover {
    transform: scale(1.1);
}

#game-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

#minimap {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 200px;
    height: 200px;
    border: 2px solid #fff;
    border-radius: 5px;
    overflow: hidden;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: none; /* So it doesn't interfere with clicks */
}

#minimap canvas {
    width: 100%;
    height: 100%;
}