body {
    background-color: black;
}
* {
    padding: 0;
    margin: 0;
}
.player {
    position: absolute;
    width: 100vw;
    height: 100vh;
    z-index: 4;
}
#main_logo {
    position: absolute;
    z-index: 3;
    top: 2vw;
    right: 2vw;
    width: 10vw;
}
#running_line {
    position: absolute;
    bottom: 2vh;
    font-family: monospace;
    font-size: 4vw;
    font-weight: 600;
    color: white;
    text-shadow: 0 0 1.5vh black;
    z-index: 3;
}
.flow_information {
    position: absolute;
    z-index: 3;
}

video {
    opacity: 0;
    width: 1px;
    height: 1px;
    position: fixed;
}

canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    display: block;
    z-index: 2;


    /* Тест */
    /*display: none;*/
}

video.show {
    opacity: 1;
    width: 100vw;
    height: 100vh;
    position: fixed;
    inset: 0;
}
video::-webkit-media-controls,
video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-panel {
    display: none !important;
}


.main_layout {
    z-index: 3;
}
.control_layout {
    z-index: 4;
    position: fixed;
    width: 100vw;
    height: 100vh;
    opacity: 0;
}
.control_layout:hover{
    display: block;
    opacity: 1;
}



.loading {
    background-color: #002444;
    width: 100vw;
    height: 100vh;
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99;
}
.loading img {
    display: none;
}
.loading.show {
    display: flex;
}

.loading.show img {
    width: 7vw;
    display: block;
}

.screen-code {
    padding: 5vh 11vw;
    box-sizing: border-box;
    z-index: 100;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: #002444;
    inset: 0;
    color: white;
    font-family: monospace;

    display: none;
    flex-direction: column;
    justify-content: space-between;
}
.screen-code.show {
    display: flex;
}
.code-text {
    display: flex;
    flex-direction: column;
    gap: 4vh;
    align-items: flex-start;
}
.code-text p {
    font-size: 5vw;
}
.code-text b {
    padding: 1vh 2vw 1vh 5vw;
    border-radius: 4vw;
    background-color: #003b70;
    font-weight: 900;
    font-size: 11vw;
    letter-spacing: 5vw;
}
.code-info p {
    font-size: 2.6vw;
    color: #bcdaf6;
}
.screen-error {
    padding: 5vh 11vw;
    box-sizing: border-box;
    z-index: 99;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: #002444;
    inset: 0;
    color: white;
    font-family: monospace;

    display: flex;
    flex-direction: column;
}
.screen-error .title-error {
    font-weight: 600;
    font-size: 4vw;
}
.screen-error .text-error {
    font-size: 2vw;
    padding-top: 4vh;
    color: #bcdaf6;
}
