body {
    transition: all ease 0.2s;
    height: 100%;
}

table {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1%;
    font-family: "Merriweather", serif;
}

h1 {
    text-align: center;
    font-family: "Montserrat", sans-serif;
}

td.hand {
    text-align: center;
}

code {
    background: #ccc;
    padding: 2px 4px;
    border-radius: 4px 4px 4px 4px;
    font-family: "Source Sans Pro";
}

a {
    text-decoration: none;
    color: black;
}

label small {
    font-size: 8pt;
}

.big-title {
    font-size: 2em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.links-list {
    width: 50%;
    text-align: left;
    margin: 0 auto;
}

.links-list li {
    margin: 1em;
}

.links-list a {
    text-decoration: none;
    font-size: 2em;
    font-family: sans-serif;
    color: #36f;
}

.links-list a:active {
    color: #8133ff;
}

#romaji-label {
    font-size: 16pt;
    font-family: sans-serif;
}

#center-column {
    height: 100%;
    text-align: center;
    margin: 0 auto;
}

#help {
    text-align: center;
    font-family: "Merriweather", serif;
}

#date {
    font-style: italic;
    color: grey;
    text-align: center;
    font-family: "Merriweather", serif;
}

#current-char {
    color: green;
    font-size: 10em;
    margin: 0 0 0 0;
    font-family: "Roboto Mono", monospace;
}

#hands-tables table {
    width: 50%;
}

#controls {
    margin: 0.5em 0em;
}

.uibutton {
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    display: inline-block;
    padding: 0.5em 1em;
    background: #d3d3d3;
    border-radius: 0.5em;
    cursor: pointer;
    font-size: 2em;
    touch-action: manipulation;
    overflow: hidden;
    margin-bottom: 0.15em;
    outline: 0;
    border: none;
    height: 2.5em;
}

.uibutton a {
    font-weight: normal;
}

.play-button {
    display: none;
}

#play-button {
    content: "\25ba";
    display: inline;
    text-decoration: none;
}

.uibutton:active {
    background: #aaaaaa;
}

#time-label {
    display: inline-block;
    font-family: "Roboto Mono", monospace;
    font-size: 1.25em;
    min-width: 6rem;
}

#flashcard {
    height: 20em;
    padding: 2rem 1rem;
}

#deck-fraction {
    font-size: 10pt;
}

.column-vert {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info {
    margin-top: 2em;
    margin-bottom: 5em;
    width: 20rem;
}

.slider {
    /* Override default CSS styles */
    -webkit-appearance: none;
    appearance: none;
    background: #d3d3d3;
    border-radius: 0.5em;
    height: 1em;
    outline: 0;
    width: 15em;
    margin: 0 1rem 0 0;
}

.slider:active {
    cursor: grabbing;
}

input[type="range"]::-moz-focus-outer {
    border: 0;
}

.slider::-webkit-slider-thumb {
    width: 1.5em;
    height: 1.5em;
    border-radius: 100%;
    background: white;
    cursor: grab;
    border: 1px solid grey;
}

.slider::-moz-range-thumb {
    width: 1.5em;
    height: 1.5em;
    background: white;
    cursor: grab;
    border-radius: 100%;
    border: 1px solid grey;
}

.slider:active::-webkit-slider-thumb,
.slider:active::-moz-range-thumb {
    background: #e0e0e0;
    cursor: grabbing;
}

.hand {
}

.player-cards {
    padding-left: 10px;
}

.dealer-card {
    padding-left: 5px;
    padding-right: 10px;
}

.noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
  supported by Chrome, Opera and Firefox */
}

.print-large {
    font-size: 2em;
}

.print-small {
    font-size: 1em;
}

.break {
    color: #aaa;
    background-color: #aaa;
    border: 1px solid #aaa;
    width: 95%;
    outline: none;
    margin: 0.5rem auto;
}

.madeby a {
    color: #007aff;
}

.madeby {
    margin: 3rem auto;
}

@media screen and (max-width: 480px) {
    #center-column {
        width: 100%;
    }

    #running-count {
        color: green;
        max-width: 100%;
    }

    #hands-tables table {
        margin: 0;
        width: 100%;
    }

    .print-small {
        font-size: 0.75em;
    }
}

@media print {
    #center-column {
        position: absolute;
        left: 0px;
        right: 0px;
    }

    #help {
        display: none;
    }

    table {
        width: 100%;
    }

    #hands-tables table {
        width: 100%;
    }

    #buttons {
        display: none;
    }
}
