body {
    font-family: Isidora-SemiBold, sans-serif;
    margin: 0;
    padding: 0;
    background: #000;
}

video::-webkit-media-controls-play-button {
    display: none !important;
    -webkit-appearance: none;
    /* For some older WebKit browsers */
}

video::-webkit-media-controls-start-playback-button {
    /* For autoplay */
    display: none !important;
    -webkit-appearance: none;
}

video::-moz-media-controls-play-button {
    display: none !important;
}

video {
    controls: none;
    /* Important: Remove the browser's default control bar */
}

.overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    cursor: pointer;
}

.overlay-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

.overlay-content {
    position: relative;
    width: 100%;
    margin: auto;
    padding: 20px;
}

.overlay-body {
    padding: 2px 16px;
}

.overlay-body .spinner-border {
    width: 3rem;
    height: 3rem;
    margin: 0 auto;
}

.overlay-title {
    font-size: 20px;
}

/*SECTION - MAIN */
.main-content {
    background-color: #000;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 0;
}


#log_div {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background-color: white;
    color: black;
    overflow-x: auto;
    z-index: 99999;
}

#devpanel_div {
    position: fixed;
    bottom: 20%;
    right: 20%;
    left: 20%;
    top: 20%;
    padding: 50px;
    background-color: white;
    border: 2px solid black;
    color: black;
    overflow-x: auto;
    z-index: 99999;
}

#log_button {
    position: fixed;
    background-color: #00000000;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    border: 0;
    z-index: 99999;
}

#devpanel_button {
    position: fixed;
    background-color: #00000000;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    border: 0;
    z-index: 99999;
}

#offscreen_button {
    position: fixed;
    background-color: #00000000;
    top: 0px;
    left: -10px;
    width: 1px;
    height: 1px;
    border: 0;
    z-index: 99999;
}

.serial {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

#serial {
    font-family: Isidora-SemiBold, sans-serif;
    width: 100%;
    padding: 0;
    font-size: 50px;
    font-weight: 700;
}

/*!SECTION */

/*SECTION - ERROR */
.error-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10;
    display: none;
}

.error-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.error-message span {
    font-family: Isidora-SemiBold, sans-serif;
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 10px;
}

/*!SECTION - ERROR */