/* normalize.css v5.0.0 */;
button,hr,input{overflow:visible}audio,canvas,progress,video{display:inline-block}progress,sub,sup{vertical-align:baseline}html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0} menu,article,aside,details,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{}button,select{text-transform:none}[type=submit], [type=reset],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}[hidden],template{display:none}
html{box-sizing:border-box;overflow-y:scroll;-webkit-text-size-adjust:100%}*,:after,:before{box-sizing:inherit}
html{ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

@font-face {
    font-family: 'xbelwe';
    src: url('/games/tetralon/belwe.ttf');
}


* {
    tap-highlight-color: rgba(0,0,0,0);;
}

html {
    overscroll-behavior-x: none;
    font-family: xbelwe;
}

html {
    background-color: #000;
    font-size: 25px;
    touch-callout: none;
    text-size-adjust: none;
    user-select: none;
    touch-action: manipulation;
    color: #eee;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

@media only screen and (min-width: 1200px) {
  html {
    font-size: 30px;
  }
}

@media only screen and (min-width: 1400px) {
  html {
    font-size: 35px;
  }
}

div {
    position: relative;
}

.app {
    margin: 40px auto 40px;
    height: 20rem;
    width: 40rem;
    border: solid 1px #333;
    overflow: hidden;
    border-radius: 1rem;
    background-color: #444;
}

.splash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.sidebar {
    text-align: center;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 6rem;
    font-size: 1rem;
    font-variant: small-caps;
    font-weight: bold;
    text-shadow: 0rem 0.1rem #111;
}


.sidebar b {
    display: block;
    font-size: 150%;
    margin-bottom: 1rem;
    margin-top: 0.25rem;
}

.next-piece {
    margin: 1rem 1rem 0.5rem;
    height: 4rem;
    width: 4rem;
}

.next-piece-hint {
    font-size: 50%;
    text-shadow: none;
    margin-bottom: 1.5rem;
    color: #bbb;
}

.tiles {
    left: 2rem;
    line-height: 0;
    width: 32rem;
    overflow-y: scroll;
    overscroll-behavior-x: none;
    height: 100%;
    padding: 1rem 0;
}

.tile.hover {
    filter: brightness(120%);
    z-index: 10;
}

.tile {
    position: absolute;
    display: block;
    height: 1.25rem;
    width: 1rem;
    margin: 0rem 0rem;
    background-image: url('/games/tetralon/tile.png');
    background-size: auto 100%;
}

.preview-wall {
    display: inline-block;
    height: 0.5rem;
    width: 0.4rem;
    border-bottom: solid 0.1rem #111;
    background-color: #999;
    margin: 0.1rem;
}

.num-pieces b {
    width: 3rem;
    height: 2rem;
    margin: 0.5rem auto;
    margin-bottom: 1rem;
    line-height: 0.5rem;
    text-align: left;
}

.round {
    margin: 0.5rem 0 1rem;
}

.instructions {
    margin: 0 auto;
    width: 40rem;
    font-family: verdana;
    font-size: 20px;
    color: #999;
    padding: 0 2rem 2rem;
}

.instructions h2 {
    font-family: xbelwe;
}

.instructions li {
    line-height: 150%;
}

.popup {
    display: none;
    position: absolute;
    z-index: 100;
    text-align: center;
    color: #ffd018;
    font-size: 1.5rem;
    background-color: rgba(48, 48, 48, 0.95);
    padding: 2rem;
    top: 5rem;
    left: 10rem;
    width: 20rem;
    text-shadow: 0 0.15rem #000;
    border: solid 0.25rem #6a6a6a;
    box-shadow: 0 0.25rem 0.25rem rgba(0,0,0,0.5);
    border-radius: 0.5rem;
}

.score-popup {
}

.round-popup.end-game {
    top: 3rem;
    width: 24rem;
    left: 6rem;
}

.score-popup-walls {
    color: #fff;
    margin-top: 1rem;
}

.score-popup-towers {
    color: #fff;
    margin-top: 1rem;
}

.round-popup-title {
    color: #fff;
    margin-bottom: 1rem;
}

.round-popup-final {
    display: none;
    margin-top: 1rem;
    color: #fff;
}

.round-popup-rank {
    display: none;
    margin-top: 1rem;
    color: #fff;
}

.rank-label {
    margin-left: 0.1rem;
    color: #ff7070;
}


