/* latin-ext */
@font-face {
    font-family: 'Krona One';
    font-style: normal;
    font-weight: 400;
    src: local('Krona One'), local('KronaOne-Regular'), url(../fonts/jAnEgHdjHcjgfIb1ZcUyOIWg7cU.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Krona One';
    font-style: normal;
    font-weight: 400;
    src: local('Krona One'), local('KronaOne-Regular'), url(../fonts/jAnEgHdjHcjgfIb1ZcUyNoWg.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
    font-family: 'Krona One',sans-serif;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

#board #canvas {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 1;
}

#board .cell {
    z-index: 2;
    display: inline-block;
    border-color: #202020;
    border-style: solid;
    position: absolute;
    background: #FFFFFF;
}

#board .piece {
    position: absolute;
    z-index: 3;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
    transition: all 0.5s;
}

#screen {
    position: absolute;
    z-index: 1;
    background: white;
}

#screen > div {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

#screen > div .content {
    padding: 16px;
}

#screen > #categories .content {
    padding: 0 64px;
}

#screen > div h2 {
    text-align: center;
    margin: 1em 0 2em 0;
    font-size: 40px;
}

#countdown-value {
    text-align: center;
    font-weight: bolder;
}

#countdown-value.timeout {
    color: darkred;
    animation: blinker 1s linear infinite;
}

#countdown-value.ready {
    color: #606060;
}
#countdown-value.counting {
    color: green;
}

#gauge {
    margin: 0 auto;
}

#applaus-rem-time {
    text-align: center;
}

#dice {
    text-align: center;
    font-size: 100px;
}

#categories {
    overflow: hidden;
}

#catwheel {
    position: relative;
    top: -50px;
}

#wheel-arrow {
    position: absolute;
    z-index: 10;
    width: 40px;
    height: 40px;
    border: solid black;
    border-width: 0 15px 15px 0;
    transform: rotate(-45deg);
}

#catwheel > div.not-selected {
    opacity: 0;
}

#catwheel > div.selected {
    white-space: normal;
    font-size: 48px;
}

#catwheel > div {
    height: auto;
    font-size: 28px;
    text-align: center;
    transition: opacity 2s linear,font-size 2s ease-in-out;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#catwheel > div > div {
    padding: 8px 16px;
    text-overflow: ellipsis;
}

#teams > .content {
    display: flex;
}

#teams > .content > div:first-child {
    width: 50%;
}

#teams .team {
    padding: 4px 0;
    display: flex;
}
#teams .team .team-color {
    display: inline-block;
    margin: 0 32px;
}
#teams .team .team-members {
    display: inline-block;
    font-weight: bold;
    font-size: 28px;
}

#intro .content {
    height: 100%;
}

#intro .banner {
    background-image: url('../images/banner.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    height: 100%;
}


#bonuses {
    margin-left: 48px;
}

#bonuses > div {
    display: flex;
    padding: 4px 0;
    align-items: center;
}

#bonuses .bonus-info {
    margin-left: 16px;
}

#bonuses .bonus-cell {
    display: inline-block;
    width: 42px;
    height: 42px;
    border: 4px solid black;
    border-radius: 48px;
}

.dices {
    font-size: 32px;
    display: flex;
    justify-content: center;
}

.dices > div {
    display: inline-block;
    margin: 0 48px;
}

.dices .dice {
    font-size: 64px;
}

#black {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    background: black;
    display: none;
}
