body {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    background-color: #000;
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('bg.png');
    image-rendering: optimizeSpeed;
    color: #fff;
    image-rendering: pixelated;
    background-size: 128px;
    min-height: 100vh;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  body::-webkit-scrollbar {
    display: none;
  }

.no-scroll {
    overflow: hidden;
}  

@font-face {
    font-family: Minecraftia;
    src: url(mc.woff);
}

.container h1 {
    padding: 0;
    margin: 12px;
}

.container h1 img, .settings-inner img {
    width: 32px;
    height: 32px;
    transform: translateY(6px);
    filter:
        drop-shadow(1px 0 0 black)
        drop-shadow(-1px 0 0 black)
        drop-shadow(0 1px 0 black)
        drop-shadow(0 -1px 0 black);
}

.settings-inner img {
    filter:
        drop-shadow(2px 0 0 black)
        drop-shadow(-2px 0 0 black)
        drop-shadow(0 2px 0 black)
        drop-shadow(0 -2px 0 black);
}

.settings-inner img:hover {
    filter:
        drop-shadow(2px 0 0 white)
        drop-shadow(-2px 0 0 white)
        drop-shadow(0 2px 0 white)
        drop-shadow(0 -2px 0 white);
}

.container h1 img:hover {
    filter:
        drop-shadow(1px 0 0 white)
        drop-shadow(-1px 0 0 white)
        drop-shadow(0 1px 0 white)
        drop-shadow(0 -1px 0 white);
}

.settings-inner {
    position: relative;
}

.settings-inner img {
    top: 4px;
    right: 8px;
    position: absolute;
    margin: 0;
    padding: 0;
}

.mcText {
    font-family: Minecraftia;
}

* {
    font-family: Minecraftia;
    text-shadow: 3px 3px #4C4C4C;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}


.gameFrame {
    width: 100%;
    height: 100%;
    z-index: 5;
    position: fixed;
    left: 0;
    top: 0;
    border: none;
    display: none;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 50%;
    min-height: 100vh;
    opacity: 0;
    transition: .5s opacity;
    padding-bottom: 24px;
}

.loaded {
    opacity: 1;
}

.container .launcher {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    table-layout: fixed;
    border-collapse: collapse;
}

.container .launcher button {
    width: 100%;
}

/*label {
    padding-bottom: 16px;
}*/

.linksButton {
    position: absolute;
    margin: 8px;
    top: 0;
    right: 0;
    width: 150px !important;
}

.pwa-install, .settings-container {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: all;
}

.pwa-container, .settings-inner {
    width: 40%;
    max-width: 450px;
    text-align: center;
    padding: 16px;
    z-index: 10;
    background-color: #c6c6c6;
    color: #182020;
    box-shadow: 
        0 0 0 5px #e5e5e5,
        0 0 0 7px #000;
}

.pwa-container button {
    width: 100px;
    margin: 0 8px;
}

.pwa-container h2, .settings-container h2, .settings-container label {
    text-shadow: none;
}

.errorText {
    font-size: 20px;
    padding: 8px 12px;
    margin: 0;
    position: absolute;
    text-shadow: none !important;
    top: 0;
    left: 0;
}

.error {
    color: red !important;
    text-shadow: 3px 3px #640000 !important;
}