* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: #000;
}

#page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #6cacff;

    background: linear-gradient(to bottom,  oklch(0.7367 0.138 255.51) 0%,oklch(0.6579 0.138 255.51) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

#page-frame {
    position: absolute;
    top: calc(50% - 25px);
    left: calc(50% - 50px);
    width: 100px;
    height: 100px;
    overflow: visible;
    transition: top 0.1s linear, left 0.1s linear;
}

#border {
    position: absolute;
    top: -10000px;
    left: -10000px;
    width: 20000px;
    height: 20000px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 50%;
    /* inset blury white "shadow" to make it look like fog */
    box-shadow: inset 0 0 200px 50px rgba(255,255,255,.5);
}

#page #sunset {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2000;

    background: linear-gradient(to bottom,  oklch(56.765% 0.11315 255.746) 0%,oklch(74.608% 0.12363 62.348) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

    opacity: 0;
    transition: opacity 5s linear;
}

    .sunset #page #sunset {
        opacity: 1;
    }

#page #night {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1900;

    background: linear-gradient(to bottom,  oklch(12.967% 0.0323 244.491) 0%,oklch(32.876% 0.12253 258.162) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

    opacity: 0;
    transition: opacity 5s linear;
}

    .night #page #night {
        opacity: 1;
    }

#status {
    font-family: Arial, Helvetica, sans-serif;
    position: fixed;
    font-size: 12px;
    top: 0;
    left: 0;
    padding: 5px 10px;
    border-radius: 0 0 15px 0;
    color: black;
    background: rgba(255, 255, 255, .5);
    user-select: none;
}
    #status.connected {
        background: rgba(0, 136, 0, 0.5);
    }
    #status.disconnected {
        background: rgba(255, 0, 0, .5);
    }
    #status.connecting {
        background: rgba(255, 255, 0, .5);
    }

#coords {
    font-family: Arial, Helvetica, sans-serif;
    position: fixed;
    font-size: 12px;
    bottom: 0;
    left: 0;
    padding: 5px 10px;
    border-radius: 0 15px 0 0;
    color: #ffffff;
    background: rgba(0, 0, 0, .5);
    user-select: none;
}

#repo {
    font-family: Arial, Helvetica, sans-serif;
    position: fixed;
    font-size: 12px;
    bottom: 0;
    right: 0;
    padding: 5px 10px;
    border-radius: 15px 0 0 0;
    color: #003377;
    text-decoration: underline;
    background: rgba(255, 255, 255, .5);
    user-select: none;
}

#repo:hover {
    background: rgba(255, 255, 255, .8);
    color: #1c4e91;
}
