@font-face {
    font-family: RobotoRegular;
    src: url('../fonts/RobotoCondensed-Regular.ttf') format('truetype');
}

@font-face {
    font-family: RobotoBold;
    src: url('../fonts/RobotoCondensed-Bold.ttf') format('truetype');
}

@font-face {
    font-family: RobotoItalic;
    src: url('../fonts/RobotoCondensed-Italic.ttf') format('truetype');
}

html {
    box-sizing: border-box;
}

#loading-background {
    display: flex;
    width: 100%;
    height: 100vh;
    color: #ffffffb2;
    background-color: #32333dff;
    transition: color 2s ease-in-out;
    transition: background-color 2s ease-in-out;
}

#loading-background.loading-background-light-mode {
        color: #424242ff;
        background-color: #ffffffff;
}

/*Utility*/
.no-wrap {
    white-space: nowrap;
}

.italic {
    font-style: italic;
}

.w-100 {
    width: 100%;
}

.w-75 {
    width: 75%;
}

/*
    MudBlazor modifications
*/

/* Makes MudBlazor table rows even denser if the 'dense-mud-table-cells' class is applied to the row */
.mud-table.dense-mud-table-cells > .mud-table-container > .mud-table-root > .mud-table-body > .mud-table-row > .mud-table-cell {
    padding: 4px 4px 4px 4px;
    padding-inline-start: 8px;
    padding-inline-end: 8px;
}

/*
    Makes MudBlazor table toolbars have a dynamic height instead of a fixed height if the 'dynamic-mud-table-toolbar-height' class is applied to the table.
    This allows components in the toolbar to be placed on multiple rows for smaller screens.
*/
.mud-table.dynamic-mud-table-toolbar-height > .mud-toolbar.mud-table-toolbar {
    height: inherit;
    min-height: 64px;
}



/*
    Animations
*/

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: var(--mud-elevation-2);
    }

    50% {
        transform: scale(1.2);
        box-shadow: var(--mud-elevation-4);
    }

    100% {
        transform: scale(1);
        box-shadow: var(--mud-elevation-2);
    }
}
