* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html {
    overflow: hidden;
    overscroll-behavior: none;
    /* iOS Safari text autosizing would inflate the small em-scaled menu
       labels (triggered e.g. by a filter/stacking-context change) */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    background: #000;
    font-family: "Helvetica", sans-serif;
}

#screen {
    width: 100vw;
    height: 100vh;  /* fallback for browsers without dvh support */
    height: 100dvh; /* dynamic viewport - iOS Safari toolbar */
    display: flex;
    align-items: center;
    justify-content: center;
}

#screen canvas {
    display: block;
}

#progressBarContainer {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000;
    padding: 40px;
}

.loading-brand {
    color: #C0392B;
    font-size: 1.5em;
    font-weight: bold;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 36px;
    text-shadow: 0 0 24px rgba(192, 57, 43, 0.45);
}

.loading-bar-track {
    width: 100%;
    max-width: 260px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 14px;
}

#progressBar {
    height: 100%;
    width: 0;
    background: linear-gradient(to right, #8E2A1E, #E74C3C);
    border-radius: 2px;
    transition: width 0.25s ease;
}

.loading-label {
    color: rgba(255, 255, 255, 0.28);
    font-size: 0.7em;
    letter-spacing: 3px;
    text-transform: uppercase;
}
