:root {
  touch-action: pan-x pan-y;
  height: 100%
}

body, html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.menu {
    bottom: 0;
    left: 0;
    position: absolute;
  }

.tileBar {
    bottom: 0;
    left: 35%;
    position: absolute;
  }

.tileSet label {
    width:4em;
    margin:4px;
    background-color:#e3d4bc;
    border-radius:4px;
    border:1px solid #D0D0D0;
}

.tileSet label .tileLetter {
    text-align:center;
    font-size: 32px;
    padding:8px 0px;
    display:block;
    position:relative;
}

.tileSet label .tileValue {
    font-size: 14px;
    top: 2em;
    position:absolute;
}

.tileSet label input {
    position:absolute;
    visibility: hidden;
}

.tileSet input:checked + .tileLetter {
    background-color:#baae9b;
    color:#F7F7F7;
}

.tileSet input:disabled + .tileLetter {
    background-color:#c9c9c7;
    color:#545453;
}

.block {
 margin-left: 5px;
 padding: 10px;
 background-color: #979595;
}


.zoom {
    position: absolute;
    top: 4em;
    left: 0;
}

.zoomButton {
    padding: 5px;
    height: 40px;
    width: 40px;
    margin: 0px 0px 2px 0px;
    font-size: 20px;
}

button {
   font-size: 25px;
}

.scoreboard {
    position: absolute;
    bottom: 0;
    right: 0;
    margin-right: 5px;
}

.scoreboard .highScore {
    height: 1em;
    border: 0px;
    padding-bottom: 2em;
}

.scoreboard .currentScore {
    height: 12em;
    border: 0px;
    border-top: 1px solid;
}

@media (max-width: 1100px) {

    .zoom {
        top: 6.5em;
    }

    .zoomButton {
        height: 30px;
        width: 30px;
        font-size: 15px;
    }

    button {
       font-size: 15px;
    }

     .menu {
        top: 3.2em;
        bottom: unset;
    }

    .tileBar {
        display: flex;
        width: 100%;
        left: 0;
    }

    .tileSet label {
        width:2em;
    }

    .tileSet label .tileLetter {
        font-size: 12px;
    }

    .tileSet label .tileValue {
        font-size: 6px;
        top: 4em;
    }

    .scoreboard {
        top: 3.2em;
        bottom: unset;
    }

    .scoreboard .highScore {
        padding-bottom: 1em;
        padding-top: 0;
        font-size: 12px;
    }

    .scoreboard .currentScore {
        height: 10em;
        font-size: 12px;
    }
}

@media (max-width: 450px) {

    .tileSet label {
        width:1.8em;
        margin:1px;
    }

    .tileSet label .tileLetter {
        font-size: 10px;
    }
}