html,
div,
body,
canvas {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    -webkit-app-region: drag;
    background: black;
    overflow: hidden;
}

#container {
    display: -webkit-flex;
    -webkit-flex-direction: column;
    text-align: center;
}

canvas {
    width: 100vw;
    height: 100vh;
    -webkit-transition: 1s opacity;
    background: black;
    z-index: 900;
}

splash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    border-radius: 0vh;
    border: none;
    outline: none;
    cursor: pointer;
    background: url(../images/splash.jpg);
    background-size: 100vw 100vh;
    background-color: black;
    opacity: 1.0;
    z-index: 1001;
    -webkit-app-region: no-drag;
}

crosshairs {
    position: absolute;
    top: 45vw;
    left: 45vh;
    width: 10vw;
    height: 10vh;
    border-radius: 0vh;
    border: none;
    outline: none;
    cursor: pointer;
    background: url(../images/crosshairs.png);
    background-size: 10vw 10vh;
    background-color: transparent;
    opacity: 1;
    z-index: 901;
    pointer-events: none;
    -webkit-app-region: no-drag;
}

#main {
    position: relative;
    background: black;
    width: 100%;
    height: 100%;
    text-align: center;
}

.invisible {
    -webkit-transition: 0s opacity;
    opacity: 0;
}


button {
    position: absolute;
    top: 90vh;
    left: 15vw;
    width: 8vh;
    height: 8vh;
    border-radius: 2vh;
    border: none;
    outline: none;
    cursor: pointer;
    background: url(../images/button.png);
    background-size: 8vh 8vh;
    opacity: 0.8;
    z-index: 1000;
    -webkit-app-region: no-drag;
}

button:hover {
    background-size: 8.2vh 8.2vh;
    opacity: 1.0;
}

button:active {
    background-size: 8vh 8vh;
    opacity: 0.2;
    left: 15vw;
    top: 90vh;
}

button1 {
    position: absolute;
    top: 90vh;
    left: 35vw;
    width: 8vh;
    height: 8vh;
    border-radius: 2vh;
    border: none;
    outline: none;
    cursor: pointer;
    background: url(../images/button.png);
    background-size: 8vh 8vh;
    opacity: 0.8;
    z-index: 1000;
    -webkit-app-region: no-drag;
}

button1:hover {
    background-size: 8.2vh 8.2vh;
    opacity: 1.0;
}

button1:active {
    background-size: 8vh 8vh;
    opacity: 0.2;
}

button2 {
    position: absolute;
    top: 90vh;
    left: 55vw;
    width: 8vh;
    height: 8vh;
    border-radius: 2vh;
    border: none;
    outline: none;
    cursor: pointer;
    background: url(../images/button.png);
    background-size: 8vh 8vh;
    opacity: 0.8;
    z-index: 1000;
    -webkit-app-region: no-drag;
}

button2:hover {
    background-size: 8.2vh 8.2vh;
    opacity: 1.0;
}

button2:active {
    background-size: 8vh 8vh;
    opacity: 0.2;
}

button3 {
    position: absolute;
    top: 90vh;
    left: 75vw;
    width: 8vh;
    height: 8vh;
    border-radius: 2vh;
    border: none;
    outline: none;
    cursor: pointer;
    background: url(../images/button.png);
    background-size: 8vh 8vh;
    opacity: 0.8;
    z-index: 1000;
    -webkit-app-region: no-drag;
}

button3:hover {
    background-size: 8.2vh 8.2vh;
    opacity: 1.0;
}

button3:active {
    background-size: 8vh 8vh;
    opacity: 0.2;
}
