.unity {
    position: relative;
    padding: 0;
    margin: 0;
    max-width: 100% !important;
}

.unity canvas {
    display: block;
    background: #231F20;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

/** disable canva focus border */
.unity canvas:focus {
    outline: none;
    border: none;
}

.unity-loading-bar {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none
}

.unity-progress-bar-empty {
    width: 141px;
    height: 18px;
    margin-top: 10px;
    margin-left: 6.5px;
    background: url('/wp-content/plugins/bugquest-game/game/TemplateData/progress-bar-empty-dark.png') no-repeat center
}

.unity-progress-bar-full {
    width: 0%;
    height: 18px;
    margin-top: 10px;
    background: url('/wp-content/plugins/bugquest-game/game/TemplateData/progress-bar-full-dark.png') no-repeat center
}

.unity-warning {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
}

.unity-warning.active {
    display: flex;
}

.unity-warning-content {
    background: white;
    padding: 2rem;
    border-radius: 5px;
    max-width: 500px;
}

.unity-warning.error > .unity-warning-content {
    background: rgba(244, 67, 54, 0.8);
    color: white;
}

.unity-warning.warning > .unity-warning-content {
    background: rgba(255, 152, 0, 0.8);
    color: white;
}