﻿:root {
    --active-red-color: #cc0033;
    --inactive-gray-color: #33323c;
    --background-gray-color: #282731;
    --fab-scale: 56px;
}

/* COMMON GAME STYLES */
.wrapper-panel {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
/* COMMON GAME STYLES */

/* REMOVE DARTS BLINKER */
.bg-modal-fullscreen-content {
    background-color: #424446;
}

.blink {
    animation: blinker 2s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}
/* REMOVE DARTS BLINKER */

/* GAME OPTIONS */
.game-options-left-col {
    max-width: 80px;
}

.game-options-right-col {
    max-width: 400px;
}
/* GAME OPTIONS */

/* FAB */
.fab-trigger-button {
    display: none;
}

.fab-trigger-button + label {
    cursor: pointer;
    position: absolute;
    right: 16px;
    bottom: 16px;
    background-color: var(--active-red-color);
    height: var(--fab-scale);
    width: var(--fab-scale);
    border-radius: 50%;
    z-index: 2;
}

.fab-trigger-button + label:before, .fab-trigger-button + label:after {
    position: absolute;
    content: '';
    height: calc(var(--fab-scale) / 2 );
    width: 4px;
    background-color: #fff;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 8px;
    transition: all .25s;
}

.fab-trigger-button + label:before {
    height: calc(var(--fab-scale) / 2 );
    width: 4px;
}

.fab-trigger-button + label:after {
    width: calc(var(--fab-scale) / 2 );
    height: 4px;
}

.fab-trigger-button:checked + label:before {
    transform: rotateZ(-45deg);
}

.fab-trigger-button:checked + label:after {
    transform: rotateZ(-45deg);
}

.one, .two, .three {
    cursor: pointer;
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
    transform: rotateZ(90deg);
    font-size: 16px;
    color: #fff;
    transition-property: all;
    transition-duration: .35s;
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fab-trigger-button:checked ~ .one, .fab-trigger-button:checked ~ .two, .fab-trigger-button:checked ~ .three {
    opacity: 1;
}

.fab-trigger-button:checked ~ .one {
    background-color: var(--active-red-color);
    transform: translateX(-80px);
    transition-delay: .2s;
}

.fab-trigger-button:checked ~ .two {
    background-color: var(--active-red-color);
    transform: translateX(-56px) translateY(-56px);
    transition-delay: .1s;
}

.fab-trigger-button:checked ~ .three {
    background-color: var(--active-red-color);
    transform: translateY(-80px);
}

.fab-trigger-button:checked ~ .one:hover, .fab-trigger-button:checked ~ .two:hover, .fab-trigger-button:checked ~ .three:hover {
    opacity: .9;
}
/* FAB */

/* extra-small screen */
@media (max-height: 670px) {
    /* X01 */
    .x01-top-panel-container {
        min-height: var(--x01-top-panel-height-low-res) !important;
        height: var(--x01-top-panel-height-low-res) !important;
    }

    .x01-top-panel {
        min-height: calc(var(--x01-top-panel-height-low-res) - 50px) !important;
        height: calc(var(--x01-top-panel-height-low-res) - 50px) !important;
    }

    .x01-bottom-panel {
        min-height: calc(100vh - var(--x01-top-panel-height-low-res)) !important;
    }

    .indicator-container {
        zoom: 80%;
    }

    .throw-score-container {
        zoom: 60%;
    }

    .score-logger-container {
        zoom: 60%;
    }
    /* X01 */

    /* DARTS THROW CONTROLLER */
    .three-darts-container {
        zoom: 60%;
    }
    /* DARTS THROW CONTROLLER */
}

/* small screen */
@media (min-height: 670px) and (max-height: 900px) {
    /* X01 */
    .x01-top-panel-container {
        min-height: var(--x01-top-panel-height-low-res) !important;
        height: var(--x01-top-panel-height-low-res) !important;
    }

    .x01-top-panel {
        min-height: calc(var(--x01-top-panel-height-low-res) - 50px) !important;
        height: calc(var(--x01-top-panel-height-low-res) - 50px) !important;
    }

    .x01-bottom-panel {
        min-height: calc(100vh - var(--x01-top-panel-height-low-res)) !important;
    }

    .indicator-container {
        zoom: 80%;
    }

    .throw-score-container {
        zoom: 80%;
    }

    .score-logger-container {
        zoom: 80%;
    }
    /* X01 */

    /* DARTS THROW CONTROLLER */
    .three-darts-container {
        zoom: 80%;
    }
    /* DARTS THROW CONTROLLER */
}

/* medium screen */
@media (min-height: 900px) and (max-height: 1200px) {
    /* X01 */
    .x01-top-panel-container {
        min-height: var(--x01-top-panel-height-high-res) !important;
        height: var(--x01-top-panel-height-high-res) !important;
    }

    .x01-top-panel {
        min-height: calc(var(--x01-top-panel-height-high-res) - 80px) !important;
        height: calc(var(--x01-top-panel-height-high-res) - 80px) !important;
    }

    .x01-bottom-panel {
        min-height: calc(100vh - var(--x01-top-panel-height-high-res)) !important;
    }
    /* X01 */
}

/* large screen */
@media (min-height: 1200px) {
    /* X01 */
    .x01-top-panel-container {
        min-height: var(--x01-top-panel-height-high-res) !important;
        height: var(--x01-top-panel-height-high-res) !important;
    }

    .x01-top-panel {
        min-height: calc(var(--x01-top-panel-height-high-res) - 80px) !important;
        height: calc(var(--x01-top-panel-height-high-res) - 80px) !important;
    }

    .x01-bottom-panel {
        min-height: calc(100vh - var(--x01-top-panel-height-high-res)) !important;
    }

    .indicator-container {
        zoom: 120%;
    }

    .throw-score-container {
        zoom: 120%;
    }

    .score-logger-container {
        zoom: 160%;
    }
    /* X01 */

    /* DARTS THROW CONTROLLER */
    .three-darts-container {
        zoom: 180%;
    }
    /* DARTS THROW CONTROLLER */
}