// @import "../_vars.scss";

@import "./vars.scss";
@import "./MenuLayout.scss";
@import "./gui.scss";
@import "./Scoreboard.razor.scss";

Pause {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(1px);

    display: none;
    opacity: 0;

    z-index: 100;

    transition: all 0.1s;

    &:intro {
        opacity: 0;
    }

    &:outro {
        opacity: 0;
    }

    &.visible {
        display: flex;
        opacity: 1;
        pointer-events: all;
    }

    .terry {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        // background-color: rgba(0, 0, 0, 0.8);
        background-image: url('/ui/bg.png');
        opacity: 0.5;

        // colorful
        // filter: glow(0.1, 0.1, 0.1, 0.5);
    }

    .target {
        position: absolute;
        width: 300px;
        height: 300px;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        font-size: 300px;
        align-content: center;
        justify-content: center;
        display: flex;
        opacity: 0.5;
        // mix-blend-mode: screen;
    }

    align-items: center;
    font-weight: bold;
    pointer-events: all;
    flex-direction: column;
    // padding-top: 50px;
    color: #fff;

    font-family: Roboto;
    font-size: 25px;
    font-weight: 300;

    align-items: center;
    justify-content: center;
    gap: 20px;

    h1 {
        font-family: Poppins;
        font-weight: 800;
        font-size: 48px;
        margin-bottom: 20px;
        width: 100%;
        flex-grow: 1;
        // flex-basis: 100%;
    }

    .pause-controls {
        gap: 30px;
        flex-direction: column;
    }

    .logo {
        margin-bottom: 10px;
        font-family: Poppins;
        font-weight: 800;
        font-size: 120px;
        color: #fff;

        // text-shadow: 5px 5px 0px rgba(0, 0, 0, 0.5);

        img {
            max-height: 256px;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }
    }

    .split {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 20px;

        .left {
            flex-direction: column;
            gap: 20px;
            flex-grow: 1;
        }

        .right {
            flex-direction: column;
            gap: 20px;
            flex-grow: 1;
            height: 100%;
        }
    }

    .branding {
        position: absolute;
        bottom: 50px;
        right: 50px;
        font-size: 40px;
        font-weight: 800;
        color: #fff;
        text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.5);
    }

}