﻿@import "/UI/Styles/styles.scss";

buildphase {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    text-stroke: 8px rgba(0,0,0, 1);
    font-family: $font-primary;
    color: $text-primary-color;

    .buildtext {
        position: absolute;
        top: 40px;
        font-size: 32px;
    }

    .timer {
        position: absolute;
        top: 80px;
        font-size: 20px;
        text-stroke: 8px rgba(0,0,0, 1);
    }

    .constructionborder {
        position: absolute;
        width: 100%;
        height: 100%;
        border-image: url("textures/ui/construction_border.png") 16 16 repeat;
        border-width: 10px;
    }

    .prop-holder {
        position: absolute;
        flex-direction: column;
        font-family: $font-primary;
        font-size: 64px;
        bottom: 40px;
        left: 60px;

        .trap_description {
            font-size: 28px;
            text-stroke: 6px rgba(0,0,0, 1);
        }
    }

    .controls-holder {
        position: absolute;
        right: 40px;
        bottom: 40px;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        font-weight: bold;
        font-family: $font-primary;
        font-size: 28px;
        gap: 10px;

        .control {
            flex-direction: row;
            align-items: center;
            gap: 20px;
        }

        .text {
            text-stroke: 8px rgba(0,0,0, 0.8);
        }
    }

    .waiting-players {
        position: absolute;
        top: 40px;
        left: 60px;
        gap: 6px;
        align-items: center;
        justify-content: center;

        > label {
            margin-right: 8px;
            font-size: 35px;
            text-stroke: 6px black;
        }

        .waiting-avi {
            width: 45px;
            height: 45px;
            filter: border-wrap(2px, black);
            border-radius: 4px;
        }
    }

    inputglyph {
        background-size: contain;
        background-color: rgba(0,0,0, 0.8);
        border-radius: 12px;
        width: 60px;
        height: 60px;

        &.pressed {
            transform: scale(0.85);
            opacity: 0.8;
        }
    }
}
