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

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

Menu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: $bg;

    .music {
        position: absolute;
        left: 50px;
        bottom: 50px;
        // background: #f00;
        width: 300px;
        height: 100px;
        align-items: flex-end;

        .bar {
            background: #0ff;
            width: 100px;
        }
    }

    .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%;
    }

    .lobby-list, .map-list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 10px;
        width: 100%;
        overflow-y: scroll;
        height: 300px;

        .content {
            flex-wrap: nowrap;
        }
        
        header {
            flex-shrink: 0;
            font-weight: 700;
            font-family: Poppins;
            font-size: 24px;
        }

        .map-button {
            flex-direction: row;
            flex-wrap: nowrap;
            padding: 5px 10px;

            .map-meta {
                flex-grow: 1;
                flex-direction: column;
            }

            .map-icons {
                flex-direction: column;
                gap: 10px;
                align-items: flex-end;
                color: #f3f39a;
                opacity: 0.5;
            }
        }
    }

    .lobby-list {
        height: 300px;
    }

    .lobby {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 5px 10px;

        h2 {
            align-content: center;
            align-items: center;
        }

        &:hover {
            background-color: lighten($box-bg, 3%);
        }
    }

    .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%;
        }
    }

    .info .content {
        font-size: 22px;
    }

}
