h1 {
    margin-bottom: 20px;
}

    h1:focus {
        outline: none;
    }

@keyframes slide {
    0% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(25%);
    }
}

.bq-wasm-load {
    animation: slide 3s ease-in-out infinite alternate;
    background-image: linear-gradient(-70deg,#fff 50%,#ddd 50%);
    bottom: 0;
    left: -50%;
    opacity: .5;
    position: fixed;
    right: -50%;
    top: 0;
    z-index: -1
}

.bq-wasm-load-cont {
    left: 50%;
    padding: 5vmin;
    position: fixed;
    text-align: center;
    top: 50%;
    transform: translate(-50%,-50%);
    font-size: 10vh;
    color: white;
    background-color: #1F5AD2;
    border-radius: 50%;
}

div.bq-design-mode {
    background-image: radial-gradient(#888 1px, transparent 0);
    background-size: 20px 20px;
    background-position: -19px -19px;
}

div.bq-glass {
    background: rgba(255, 255, 255, 0.43);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(9.1px);
}

.bq-drawer-button {
    position: absolute;
    right: 8px;
    z-index: 1;
}

.bq-nav-group .mud-icon-root {
    margin-right: 26px;
}

.bq-text-muted {
    color: #888;
}

#bq-blockly-container {
    color: #000;
}

    #bq-blockly-container .injectionDiv {
        border-radius: 4px;
    }

#bq-wasm-error {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #bq-wasm-error .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.bq-loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .bq-loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .bq-loading-progress circle:last-child {
            stroke: #828282;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.bq-loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .bq-loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }
