/* CSS Variables */
:root {
    /* --world-width: 1280px;
    --world-height: 720px; */
    --world-width:  100vw;
    --world-height: 99.5vh;
}

body {
    margin: 0;
    padding: 0;
    background-color: rgb(36 , 36, 36);
    color:white;
}

.world {
    margin: 0px;
    padding: 0px;
    top: 0px;
    left: 0px;
    background-color: black;
    /* width: var(--world-width); */
    /* height: var(--world-height); */
    width: var(--world-width);
    width: 100%;
    /* Fixes issue with width overflowing. */
    max-width: 100%;
    height: var(--world-height);
}

.unspawned-object {
    display: none;
}

.spaceship {
    /* To be unset by game when it is actually ready to show it. */
    /* display: none; */
    fill: orange;
    stroke: rgb(255, 217, 0);
    stroke-width: 2px;
}

.asteroid {
    stroke-width: 0.1px;
    stroke: white;
    fill:rgba(0, 0, 0, 0);
}

.dialog {
    border: 1px solid white;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    text-align: center; 
    padding: 0 50px 0 50px;
    border: 3px solid #fffffff1;
    /* background-color: rgba(0, 0, 0, 0.897); */
    background-color: rgba(0, 0, 0, 0.959);
    z-index: 100;
}