* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -moz-tap-highlight-color: rgba(0, 0, 0, 0);
    outline: none;
   -moz-user-select: -moz-none;
   -khtml-user-select: none;
   -webkit-user-select: none;
   -ms-user-select: none;
   user-select: none;
}
@font-face {
    src: url('Lato-Regular.ttf') format('truetype');
    font-family: 'Lato';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Lato', sans-serif;
    font-size: min(calc(100vw / 20), calc(100vh / 30));
}
#main, #help {
    background: beige;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 1.2em 0;
    overflow: auto;
    width: 20em;
    height: 100%;
    position: absolute;
    left: calc(50vw - 10em);
    top: 0;
    box-sizing: border-box;
    transform-origin: 0 0;
}
#grid {
    margin: 1.2em 0 1em;
    text-align: center;
}
#helpContent {
    overflow: auto;
    margin: 1.2em 0;
    padding: 0 1em;
    font-size: smaller;
    height: inherit;
}
#helpContent > ul {
    padding: 0 0 0 1em;
    margin: 0 0 1em 0;
}
.helpImg {
    text-align: center;
}
a:link, a:active, a:visited, a:hover {
    color: blue;
}
.tile {
    width: 2.1em;
    height: 2.1em;
    line-height: 2.1em;
    display: inline-block;
    text-align: center;
    margin: 0;
    font-weight: bold;
    font-size: calc(2px + min(calc(100vw / 20), calc(100vh / 30)));
    cursor: pointer;
    text-transform: uppercase;
}
.header {
    padding: 0 1em;
    align-items: center;
    display: flex;
    width: 100%;
    justify-content: space-between;
    box-sizing: border-box;
}
#footer {
    padding: 0 .5em;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#msgAdd, #msgDel, #msgFin {
    text-align: center;
}
#butAdd, #butDel, #butFin {
    background: lightblue;
    padding: 0.5em 2em;
    border-radius: 1em;
    box-shadow: 1px 2px;
    cursor: pointer;
    margin-bottom: .5em;
}
#butHelp, #butClose {
    background-color: lightblue;
    width: 1.5em;
    height: 1.2em;
    line-height: 1em;
    text-align: center;
    vertical-align: middle;
    padding-top: 0.2em;
    border-radius: 1em;
    box-shadow: 1px 2px;
    cursor: pointer;
}
.disabled {
    opacity: .25;
    cursor: default !important;
}
.added {
    color: white;
}
.idle {
    color: black !important;
    background-image: url(img/idle.svg) !important;
}
#help {
  display: none;
  z-index: 1000;
}
#divX {
    text-align: center;
    margin: auto;
}
#x {
    width: min(calc(100vw / 20), calc(100vh / 30));
    margin-right: 0.4em;
    vertical-align: bottom;
}
#divClueButs {
    width: inherit;
    padding: 1em;
    box-sizing: border-box;
    font-size: smaller;
    text-align: center;
    display: flex;
    justify-content: space-evenly;
}
#divClueButs > span {
    padding-top: 0.5em;
}
#clue {
    width: 1.1em;
    vertical-align: bottom;
}
.butClue, .yes, .no {
    background-color: lightblue;
    width: 2em;
    height: 2em;
    line-height: 1em;
    text-align: center;
    vertical-align: middle;
    padding-top: 0.5em;
    border-radius: 1em;
    box-shadow: 1px 2px;
    cursor: pointer;
    box-sizing: border-box;
}
#divClue {
    width: inherit;
    padding: .5em 1em 1em;
    box-sizing: border-box;
    font-size: smaller;
    text-align: center;
    display: flex;
    justify-content: space-evenly;
    color: grey;
}
