/* ---------- CORE SETTINGS ---------------------------------------------------------------------- */

:root {
    --color-black: #101010;
    --color-black-half: rgba(10, 10, 10, .95);
    --color-black-small: rgba(0, 0, 0, .6);
    --color-gray: #1C1C1C;
    --color-gray-half: rgba(28, 28, 28, .95);
    --color-gray-light: #B6B3B1;
    --color-white: #EDE6E3;
    --color-player-red: #d9534f;
    --color-player-red-opaque: rgba(217, 83, 79, 0.4);
    --color-player-blue: #5bc0de;
    --color-player-blue-opaque: rgba(91, 192, 222, 0.4);
    --color-player-green: #5cb85c;
    --color-player-green-opaque: rgba(92, 184, 92, 0.4);
    --color-player-yellow: #f0ad4e;
    --color-player-yellow-opaque: rgba(240, 173, 78, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Quicksand', sans-serif;
    width: 100%;
    overflow-x: hidden;
    background: var(--color-gray);
    color: var(--color-white);
    /* For Firefox */
    scrollbar-width: none;
    /* For Internet Explorer and Edge */
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    /* For Chrome, Safari, and Opera */
    width: 0px;
}

button {
    padding: 10px 40px;
    border: none;
    outline: none;
    background: #457fca;
    background: -webkit-linear-gradient(to right, #5691c8, #457fca);
    background: linear-gradient(to right, #5691c8, #457fca);
    color: var(--color-white);
    max-width: 300px;
    font-family: 'Quicksand', sans-serif;
    cursor: pointer;
}

button:hover {
    background: #B24592;
    background: -webkit-linear-gradient(to right, #F15F79, #B24592);
    background: linear-gradient(to right, #F15F79, #B24592);
}

button:active {
    transform: translateY(2px);
}

.button-small {
    padding: 0;
    width: 20px;
    height: 20px;
    background: none;
}

.button-small:hover {
    background: none;
}

@media (max-width: 1200px) {
    button {
        padding: 6px 20px;
        max-width: 200px;
    }
}


/* ---------- BUILDING BLOCKS (SCREENS) ---------------------------------------------------------------------- */

.screen-splash {
    position: fixed;
    padding: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    z-index: 10;
    background-color: var(--color-gray);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-image: url('/assets/wayfarer/img/wayfarer.jpg');
    background-size: cover;
}

.screen-splash-box {
    padding: 10px 0;
    width: 100vw;
    display: flex;
    background-color: var(--color-black-small);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


/* DISCLAIMER */

.screen-disclaimer {
    position: fixed;
    padding: 0;
    width: 100vw;
    height: 100vh;
    z-index: 11;
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.screen-disclaimer-text {
    max-width: 800px;
    width: 80%;
    color: var(--color-black);
    font-size: 1.25;
    line-height: 1.5;
    margin-bottom: 25px;
}

@keyframes disclaimer-fade {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes white-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


/* LOADING SCREEN */

.screen-loading-bar {
    width: 75%;
    height: 40px;
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: var(--color-gray-light);
}

.screen-loading-color {
    width: 0%;
    height: 100%;
    background: #136a8a;
    background: -webkit-linear-gradient(to right, #267871, #136a8a);
    background: linear-gradient(to right, #267871, #136a8a);
}

#screen-loading-text {
    padding-top: 10px;
}

@keyframes loadingOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes gameOverIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

#screen-loading-title {
    width: 75%;
    padding-bottom: 10px;
}

#screen-loading-title .container-title-sub {
    font-size: 3em;
}

.screen-centered {
    position: fixed;
    padding: 50px 10vw;
    width: 100vw;
    height: 100vh;
    display: flex;
}

.screen-full {
    position: fixed;
    padding: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
}

.screen-background {
    background: var(--color-gray);
    background-image: url('/assets/wayfarer/img/wayfarer.jpg');
    background-size: cover;
}

.screen-foreground {
    background: var(--color-gray-half);
    z-index: 2;
    display: none;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1600px) {
    .screen-centered {
        padding: 25px 20px;
    }
}

@media (max-width: 1200px) {
    .screen-centered {
        padding: 15px 10px;
    }
}


/* ---------- BUILDING BLOCKS (CONTAINERS) ---------------------------------------------------------------------- */

.main-container {
    flex: 1 1 25%;
    display: flex;
    flex-direction: column;
}

.inner-container {
    background: var(--color-black);
    flex: 0 1 400px;
    margin: 0 10px 20px 10px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    display: flex;
    flex-direction: column;
}

.container {
    margin: 10px 5px;
    flex: 1 1 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
}

.container-title-box {
    box-sizing: content-box;
    border-bottom: 1px solid rgb(152, 160, 170);
    background: rgba(10, 10, 13, 0.95);
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 55px;
}

.container-title {
    padding: 10px 0;
    font-family: 'Quicksand', sans-serif;
    text-transform: capitalize;
    color: var(--color-white);
    font-weight: 300;
    text-align: center;
    border-radius: 4px;
    border: 2px solid rgba(0, 0, 0, 0);
}

.container-body {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    padding: 25px 20px;
    background: var(--color-black-half);
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.container-inner-column {
    display: flex;
    flex-direction: column;
    padding: 5px 0;
}

.container-inner-row {
    display: flex;
    padding: 5px 0;
}

.container-inner-wrap {
    width: 100%;
    flex-wrap: wrap;
}

@media (max-width: 1700px) {
    .main-container .container {
        margin: 0;
    }
    .container-body {
        flex: 1 1 50%;
        padding: 5px;
    }
}

@media (max-width: 1200px) {
    .container-title-box {
        min-height: 40px;
    }
    .container-title {
        font-size: 1em;
        padding: 4px 0;
    }
    .container {
        margin: 5px;
    }
}

.container-title-sub-box {
    display: flex;
    flex-direction: column;
}

.container-title-sub {
    text-transform: uppercase;
    text-align: center;
}

.sub-title-line {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), #136a8a, rgba(0, 0, 0, 0));
}


/* @media (max-width: 1200px) {
    #setup-screen {
        flex-direction: column;
    }
    #setup-container-player-one {
        order: 1
    }
    #setup-container-player-two {
        order: 2
    }
    #setup-container-options {
        order: 3
    }
} */


/* ---------- BUILDING BLOCKS (LINE) ---------------------------------------------------------------------- */

.container-line {
    padding: 5px;
    display: flex;
    align-items: center;
}

.line-text-box {
    flex: 1 1 25%;
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.line-text {
    flex: 1 1 25%;
    padding: 2px 15px 2px 15px;
}

.line-description-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 25%;
}

.line-description {
    color: var(--color-white);
}

.line-value-box {
    display: flex;
    flex: 1 1 50%;
    background: var(--color-gray);
    min-height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.line-value-box_column {
    flex-direction: column;
}

.line-value-field {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.25em;
    flex: 1 1 25%;
    height: 40px;
    border: none;
    outline: none;
    color: var(--color-white);
    padding: 0 15px;
    width: 100%;
    background: none;
}

@media(max-width: 1600px) {
    .container-line {
        padding: 2px;
    }
    .line-text {
        padding: 1px 10px;
        font-size: 0.7em;
    }
}

@media(max-width: 1200px) {
    .container-line {
        padding: 2px;
    }
}


/* ---------- BUILDING BLOCKS (ICONS) ---------------------------------------------------------------------- */

.icon-box {
    width: 48px;
    height: 48px;
    background: var(--color-black);
    border-radius: 3px;
    cursor: pointer;
}

.icon {
    width: 100%;
    height: 100%;
    border-radius: 3px;
}

@media (max-width: 1600px) {
    .icon-box {
        width: 32px;
        height: 32px;
        border-radius: 2px;
    }
}


/* MAIN SCREEN */

.screen-main {
    position: fixed;
    padding: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    background: var(--color-gray);
    background-image: url('/assets/wayfarer/img/wayfarer.jpg');
    background-size: cover;
    z-index: 5;
    justify-content: center;
    align-items: stretch;
}


/* SETUP SCREEN */

.color {
    width: 40px;
    margin: 5px;
    border-radius: 2px;
    height: 40px;
    cursor: pointer;
    transition: all 0.25s;
}

.color-selected {
    border: 1px solid var(--color-white);
    border-radius: 20px;
}

@media (max-width: 500px) {
    .color {
        width: 30px;
        height: 30px;
        margin: 4px;
    }
    .color-selected {
        border-radius: 15px;
    }
}

.game-start {
    align-self: center;
}

.setup-info {
    padding: 10px 20px;
    text-align: center;
}

#unit-list .container-line:hover #text-one {
    color: #136a8a;
}

#unit-list .container-line:hover {
    cursor: pointer;
}

#item-list .container-line:hover #text-one {
    color: #136a8a;
}

#item-list .container-line:hover {
    cursor: pointer;
}


/* BOARD SCREEN */

.board {
    background: var(--color-black);
    height: 800px;
    width: 800px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    border-radius: 5px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .5);
}

.tile-background {
    position: relative;
    width: 80px;
    height: 80px;
    background: url('/assets/wayfarer/img/ui/grass.png');
    background-size: cover;
}

.bar-box {
    width: 70px;
    background-color: var(--color-black);
    display: none;
    position: absolute;
    left: 5px;
    z-index: 3;
}

.bar-box-health {
    height: 4px;
    top: 1px;
    border: 1px solid var(--color-black);
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}

.bar-box-energy {
    height: 3px;
    top: 5px;
    border-left: 1px solid var(--color-black);
    border-bottom: 1px solid var(--color-black);
    border-right: 1px solid var(--color-black);
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
}

.tile-health-box_animation {
    animation: hit 0.1s ease-in-out 0s 8 alternate;
}

@keyframes healthBox {
    0% {
        border: 1px solid var(--color-black);
    }
    100% {
        border: 1px solid var(--color-white);
    }
}

.bar-health {
    height: 2px;
    background-color: red;
    border-radius: 1px;
}

.bar-energy {
    height: 2px;
    background-color: yellow;
    border-radius: 1px;
}

.tile-color {
    width: 100%;
    height: 100%;
    padding: 2px;
    border-radius: 8px;
    box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.2);
    position: relative;
}

.tile-color-deploy_red {
    background: var(--color-player-red-opaque);
}

.tile-color-deploy_blue {
    background: var(--color-player-blue-opaque);
}

.tile-color-deploy_green {
    background: var(--color-player-green-opaque);
}

.tile-color-deploy_yellow {
    background: var(--color-player-yellow-opaque);
}

.tile-shade {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 8px;
    border-radius: 8px;
}

.tile-shade_light {
    background: rgba(255, 255, 255, 0.08);
}

.tile-shade_dark {
    background: rgba(0, 0, 0, 0.08);
}

.tile-hit {
    position: absolute;
    left: 0;
    top: 0;
    background: white;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    border-radius: 8px;
}

.tile-hit_animation {
    animation: hit 0.8s ease-in-out 0s infinite alternate;
}

@keyframes hit {
    0% {
        opacity: 0.2;
    }
    100% {
        opacity: 0.4;
    }
}

.tile-object {
    width: 100%;
    height: 100%;
    background-size: cover;
    z-index: 2;
}

._selected {
    animation: selected 0.5s ease-in-out 0s infinite alternate;
}

@keyframes selected {
    0% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(0.95);
    }
}

.tile-border {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 4;
    border-radius: 4px;
    cursor: pointer;
}

.tile-border_has-action {
    animation: hasAction 0.4s ease-in-out 0s infinite alternate;
}

@keyframes hasAction {
    0% {
        border: 2px solid rgba(255, 255, 255, 0.2);
    }
    100% {
        border: 2px solid rgba(255, 255, 255, 0.5);
    }
}

@keyframes action {
    0% {
        border: 2px solid orangered;
    }
    100% {
        border: 2px solid rgba(0, 0, 0, 0);
    }
}

.tile-border_selected {
    animation: action 0.4s ease-in-out 0s infinite alternate;
}

.tile-border:hover {
    border: 2px solid orangered;
}

@media (max-width: 1600px) {
    .board {
        height: 600px;
        width: 600px;
    }
    .tile-background {
        width: 60px;
        height: 60px;
    }
    .bar-box {
        width: 56px;
        left: 2px;
    }
    .bar-box-health {
        height: 3px;
        border-top-left-radius: 2px;
        border-top-right-radius: 2px;
    }
    .bar-box-energy {
        height: 3px;
        top: 5px;
    }
    .bar-health {
        height: 2px;
        border-radius: 1px;
    }
    .bar-energy {
        height: 2px;
        border-radius: 1px;
    }
    .tile-color {
        padding: 2px;
        border-radius: 8px;
    }
    .tile-shade {
        padding: 4px;
        border-radius: 4px;
    }
    .tile-hit {
        border-radius: 4px;
    }
    .tile-object {
        background-size: cover;
        z-index: 2;
    }
    .tile-border {
        z-index: 4;
        border-radius: 4px;
    }
}

@media (max-width: 1220px) {
    .board {
        height: 420px;
        width: 420px;
    }
    .tile-background {
        width: 42px;
        height: 42px;
    }
    .bar-box {
        width: 40px;
        left: 1px;
    }
    .bar-box-health {
        height: 3px;
        border-top-left-radius: 2px;
        border-top-right-radius: 2px;
    }
    .bar-box-energy {
        height: 3px;
        top: 5px;
    }
    .bar-health {
        height: 2px;
        border-radius: 1px;
    }
    .bar-energy {
        height: 2px;
        border-radius: 1px;
    }
    .tile-color {
        padding: 2px;
        border-radius: 3px;
    }
    .tile-shade {
        padding: 2px;
        border-radius: 4px;
    }
    .tile-hit {
        border-radius: 2px;
    }
    .tile-object {
        background-size: cover;
        z-index: 2;
    }
    .tile-border {
        z-index: 4;
        border-radius: 2px;
    }
    .tile-border:hover {
        border: none;
    }
    @keyframes hasAction {
        0% {
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        100% {
            border: 1px solid rgba(255, 255, 255, 0.5);
        }
    }
}


/* STATS PANEL */

.icon-large-box {
    width: 100px;
    height: 100px;
    margin: 15px 0;
    padding: 5px;
    background: var(--color-gray);
    border-radius: 4px;
}

.icon-large {
    width: 100%;
    height: 100%;
    background-size: cover;
    border-radius: 4px;
}

.unit-description {
    padding: 15px;
    flex: 1 1 25%;
}

.stats-line {
    display: flex;
    align-items: center;
}

.stats-line_break {
    padding-bottom: 10px;
}

.stats-box {
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stats-stat-box {
    width: 200px;
}

.stats-value-box {
    width: 100px;
}

.stats-change-box {
    flex: 1 1 25%;
}

.stats-text {
    width: 100%;
    padding-left: 10px;
}

.value-positive {
    font-weight: bold;
    color: #5cb85c;
}

.value-negative {
    font-weight: bold;
    color: #d9534f;
}

.value-neutral {
    color: var(--color-gray-light);
}

.info-skill-icon {
    width: 64px;
    height: 64px;
    background-size: cover;
    background-color: var(--color-black);
    margin: 5px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0px 0px 4px 2px rgba(0, 0, 0, 0.6), 0 2px 2px rgba(0, 0, 0, 1);
    -moz-box-shadow: inset 0px 0px 4px 2px rgba(0, 0, 0, 0.6), 0 2px 2px rgba(0, 0, 0, 1);
    box-shadow: inset 0px 0px 4px 2px rgba(0, 0, 0, 0.6), 0 2px 2px rgba(0, 0, 0, 1);
}

.info-skill-icon_gray {
    -webkit-filter: grayscale(90%);
    filter: grayscale(90%);
    border-radius: 4px;
}

.info-skill-overlay {
    width: 100%;
    height: 100%;
    line-height: 64px;
    cursor: pointer;
    padding: 2px;
    text-align: center;
    font-size: 1.75em;
    font-weight: 800;
    border-radius: 4px;
    text-shadow: 0 2px 0 black, 0 -2px 0 black, 2px 0 0 black, -2px 0 0 black, 1px 1px 0 black, 1px -1px 0 black, -1px 1px 0 black, -1px -1px 0 black;
    border: 1px solid var(--color-gray-light);
}

.info-skill-overlay_darkened {
    background-color: rgba(0, 0, 0, .6);
    border-radius: 4px;
}

.info-skill-overlay:hover {
    border: 1px solid var(--color-white);
}

@media (max-width: 1600px) {
    .icon-large-box {
        width: 64px;
        height: 64px;
        margin: 8px 0;
        padding: 2px;
        border-radius: 2px;
    }
    .icon-large {
        border-radius: 2px;
    }
    .unit-description {
        padding: 12px;
        flex: 1 1 25%;
        font-size: 0.9em;
    }
    .stats-line {
        display: flex;
        align-items: center;
    }
    .stats-line_break {
        padding-bottom: 10px;
    }
    .stats-box {
        height: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .stats-stat-box {
        width: 150px;
    }
    .stats-value-box {
        width: 75px;
    }
    .stats-change-box {
        width: 100px;
    }
    .stats-text {
        width: 100%;
        padding-left: 10px;
        font-size: 0.8em;
    }
    .info-skill-icon {
        width: 48px;
        height: 48px;
        margin: 2px;
        border-radius: 3px;
    }
    .info-skill-icon_gray {
        border-radius: 3px;
    }
    .info-skill-overlay {
        line-height: 48px;
        padding: 2px;
        font-size: 1.25em;
        font-weight: 800;
        border-radius: 4px;
    }
    .info-skill-overlay_darkened {
        border-radius: 4px;
    }
    .info-skill-overlay:hover {
        border: 1px solid var(--color-white);
    }
}

@media (max-width: 1600px) {
    .icon-large-box {
        width: 48px;
        height: 48px;
        margin: 4px 0;
        padding: 1px;
    }
    .icon-large {
        border-radius: 1px;
    }
    .unit-description {
        padding: 4px;
        font-size: 0.7em;
    }
    .stats-line_break {
        padding-bottom: 6px;
    }
    .stats-box {
        height: 16px;
    }
    .stats-stat-box {
        width: 140px;
    }
    .stats-value-box {
        width: 70px;
    }
    .stats-change-box {
        width: 90px;
    }
    .stats-text {
        padding-left: 5px;
        font-size: 0.7em;
    }
    .info-skill-icon {
        width: 32px;
        height: 32px;
        margin: 1px;
        border-radius: 2px;
    }
    .info-skill-icon_gray {
        border-radius: 2px;
    }
    .info-skill-overlay {
        line-height: 32px;
        padding: 1px;
        font-size: 1.1em;
        font-weight: 800;
        border-radius: 3px;
    }
}


/* DEPLOYMENT */

.deployment-box {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background: var(--color-gray);
    border-radius: 4px;
}

.deployment-icon-box {
    width: 80px;
    height: 80px;
    margin: 10px;
    cursor: pointer;
}

.deployment-icon {
    width: 100%;
    height: 100%;
}

@media (max-width: 1600px) {
    .deployment-icon-box {
        width: 48px;
        height: 48px;
        margin: 6px;
    }
}


/* TURN */

.turn-info-box {
    display: flex;
    padding: 5px 0;
    background: var(--color-gray);
    align-items: center;
    justify-content: center;
}

.turn-info {
    padding: 10px 25px;
    text-align: center;
    font-size: 1em;
}

.turn-info-box {
    align-self: flex-end;
}

#container-info .container-body {
    justify-content: space-between;
}

@media (max-width: 1600px) {
    .turn-info-box {
        padding: 2px 0;
    }
    .turn-info {
        padding: 5px 10px;
        font-size: 0.8em;
    }
}

@media (max-width: 1200px) {
    .turn-info {
        padding: 2px 5px;
        font-size: 0.7em;
    }
}


/* LOG */

.log-text {
    font-size: 0.8em;
    padding-bottom: 5px;
}

.important {
    font-weight: 800;
}

@media (max-width: 1200px) {
    .log-text {
        font-size: 0.55em;
    }
}


/* INFO */

.info-icon-box {
    flex: 1 1 15%;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0 10px;
}

.info-icon {
    width: 32px;
    height: 32px;
    background-size: cover;
    margin-right: 5px;
}

.info-icon-info {
    font-size: 0.75em;
    white-space: nowrap;
}

@media (max-width: 1600px) {
    .info-icon-box {
        margin: 0 6px;
    }
    .info-icon {
        width: 24px;
        height: 24px;
        margin-right: 2px;
    }
    .info-icon-info {
        font-size: 0.6em;
    }
}


/* RAID */

.raid-outer-container {
    display: flex;
    flex-direction: row;
    height: 52px;
    padding: 2px 0;
}

.raid-icon-box {
    width: 48px;
    height: 48px;
    padding: 2px;
    background: var(--color-gray);
    border-radius: 4px;
    flex: 0 0 48px;
}

.raid-icon {
    width: 100%;
    height: 100%;
    background-size: cover;
    border-radius: 3px;
}

.raid-inner-container {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
}

.raid-amount-box {
    width: 100%;
    height: 4;
    border: 1px solid var(--color-black);
    border-radius: 3px;
    display: flex;
    margin-left: 4px;
}

.raid-health-bar {
    height: 2px;
    background-color: red;
    border-radius: 2px;
}

.raid-energy-bar {
    height: 2px;
    background-color: yellow;
    border-radius: 2px;
}

.raid-status-bar {
    display: flex;
    flex-direction: row;
    padding-left: 4px;
}

.raid-status {
    width: 30px;
    height: 30px;
    background-size: cover;
    background-color: var(--color-black);
    margin: 4px 1px 0 0;
    border-radius: 3px;
    -webkit-box-shadow: inset 0px 0px 4px 2px rgba(0, 0, 0, 0.6), 0 2px 2px rgba(0, 0, 0, 1);
    -moz-box-shadow: inset 0px 0px 4px 2px rgba(0, 0, 0, 0.6), 0 2px 2px rgba(0, 0, 0, 1);
    box-shadow: inset 0px 0px 4px 2px rgba(0, 0, 0, 0.6), 0 2px 2px rgba(0, 0, 0, 1);
    border: 1px solid var(--color-gray-light);
    line-height: 32px;
    cursor: pointer;
    text-align: center;
    font-size: 1.25em;
    font-weight: 800;
    text-shadow: 0 2px 0 black, 0 -2px 0 black, 2px 0 0 black, -2px 0 0 black, 1px 1px 0 black, 1px -1px 0 black, -1px 1px 0 black, -1px -1px 0 black;
}

@media (max-width: 1200px) {
    .raid-outer-container {
        height: 32px;
        padding: 1px 0;
    }
    .raid-icon-box {
        width: 32px;
        height: 32px;
        border-radius: 2px;
        flex: 0 0 32px;
    }
    .raid-status {
        width: 24px;
        height: 24px;
        font-size: 0.9em;
        line-height: 24px;
    }
}


/* GAMEOVER SCREEN */

table th,
table td {
    min-width: 200px;
}

table .table-centered {
    text-align: center;
}

.container-title-button {
    padding: 10px 40px;
    border: none;
    outline: none;
    background: #457fca;
    background: -webkit-linear-gradient(to right, #5691c8, #457fca);
    background: linear-gradient(to right, #5691c8, #457fca);
    color: var(--color-white);
    max-width: 300px;
    font-family: 'Quicksand', sans-serif;
    cursor: pointer;
}

.container-title-button_selected {
    border: solid 1px white;
}

.container-title-button:hover {
    background: #B24592;
    background: -webkit-linear-gradient(to right, #F15F79, #B24592);
    background: linear-gradient(to right, #F15F79, #B24592);
}

.screen-turn-box {
    width: 75%;
    display: flex;
    flex-direction: column;
}

#screen-turn-title {
    font-size: 2em;
}

#screen-turn {
    opacity: 0;
    z-index: 15;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    background: var(--color-gray-half);
    align-items: center;
    justify-content: center;
}

.button-container {
    padding-top: 25px;
    width: 50%;
    display: flex;
    justify-content: space-around;
}

@keyframes screen-turn-title {
    0% {
        transform: translateY(-100px);
    }
    100% {
        transform: translateY(0);
    }
}

@media (max-width: 1200px) {
    .container-title-button {
        padding: 6px 20px;
        max-width: 200px;
    }
}


/* HELPERS */

.lowercase {
    text-transform: none;
}

.position-left {
    align-self: flex-start;
}

.position-right {
    align-self: flex-end;
}

.position-center {
    align-self: center;
}

.position-stretch {
    align-self: stretch;
}

.padding-wide {
    padding-left: 25px;
    padding-right: 25px;
}

.text-gray {
    color: var(--color-gray-light);
}

.container-right {
    justify-content: flex-end;
}

.hidden {
    display: none;
}

.tile-color_red {
    background-color: var(--color-player-red);
}

.tile-color_blue {
    background-color: var(--color-player-blue);
}

.tile-color_green {
    background-color: var(--color-player-green);
}

.tile-color_yellow {
    background-color: var(--color-player-yellow);
}

.player-color_red {
    color: var(--color-player-red);
}

.player-color_blue {
    color: var(--color-player-blue);
}

.player-color_green {
    color: var(--color-player-green);
}

.player-color_yellow {
    color: var(--color-player-yellow);
}

.border-positive {
    border: 1px solid #5cb85c;
}

.border-negative {
    border: 1px solid #d9534f;
}

@keyframes screen-turn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.error-box {
    background-color: var(--color-player-red-opaque);
}