@import url('https://fonts.googleapis.com/css2?family=Libre+Barcode+128&family=Libre+Barcode+128+Text&family=Libre+Barcode+EAN13+Text&display=swap');

@font-face {
    font-family: "Barcode Font";
    src: url('/Assets/BarcodeFont.ttf');
}

.libre-barcode-ean13-text-regular {
    font-family: "Libre Barcode EAN13 Text", system-ui;
    font-weight: 400;
    font-style: normal;
}

.libre-barcode-128-regular {
    font-family: "Libre Barcode 128", system-ui;
    font-weight: 400;
    font-style: normal;
}

.libre-barcode-128-text-regular {
    font-family: "Libre Barcode 128 Text", system-ui;
    font-weight: 400;
    font-style: normal;
}

.barcode-font {
    font-family: "Barcode Font", system-ui;
}

.main {
    --background-color: rgba(255, 255, 255, 0.5);
    --color: rgb(0, 0, 0);
}

app[night="true"] .main {
    --background-color: rgba(0, 0, 0, 0.5);
    --color: rgb(255, 255, 255);
}

.main>.desktop {
    user-select: none;
}

.main>.overlay {
    pointer-events: none;
}

.main>.taskbar {
    user-select: none;
    pointer-events: none;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.main>.taskbar>.taskbar-group {
    backdrop-filter: blur(16px);
    background-color: var(--background-color);
    color: var(--color);
    border-radius: 0.5rem;
    pointer-events: all;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0.5rem;

    overflow: hidden;
}

.main>.menu {

    position: absolute;
    left: 0px;
    bottom: 4rem;
    width: auto;
    max-width: min(26rem, 100%);
    height: calc(100% - 4rem);
    overflow: hidden;
}

.main>.menu>.menu-group {
    backdrop-filter: blur(16px);
    background-color: var(--background-color);
    color: var(--color);
    border-radius: 0.5rem;
    pointer-events: all;

    flex-shrink: 0;
    margin: 0.5rem;

    overflow: hidden;
}