:root {
    --tutorial-text-color: #cfcfcf;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    background: black;
}

#unity-container {
    width: 100%;
    height: 100%;
    min-height: 600px;
    position: absolute;
    top: 0;
    left: 0;
}

canvas#unity-canvas {
    width: 100%;
    height: 100%;
    display: block;
    background: #231F20;
    image-rendering: pixelated;
}

#unity-container.unity-mobile {
    position: fixed;
    width: 100%;
    height: 100%
}

.unity-mobile #unity-canvas {
    width: 100%;
    height: 100%
}

#logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, calc(-50% - 240px));
    width: 240px;
    height: 120px;
    background-image: url('logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#loading-bar-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, calc(-50% - 80px));
    display: flex;
    flex-direction: column;
    align-items: center;
}

#loading-text {
    color: white;
    font-size: 16px;
}

#progress-bar-empty {
    position: relative;
    width: 240px;
    height: 32px;
    border-radius: 4px;
    background-color: black;

    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
}

#progress-bar-full {
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
    border-radius: 4px;
    background-color: #ffb442;
}

#unity-warning {
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translate(-50%);
    background: white;
    padding: 10px;
    display: none
}


#loading-screen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(background.png) no-repeat center center;
    background-size: cover;
    image-rendering: pixelated;
}

#loading-screen .backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.tutorial-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, calc(-50% + 200px));
    display: flex;
    gap: 40px;
}

.tutorial-container .tutorial-item {
    width: 260px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tutorial-container .tutorial-image {
    width: 260px;
    height: 240px;
    image-rendering: pixelated;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 4px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1200px) {
    .tutorial-container .tutorial-item {
        width: 180px;
    }
    .tutorial-container .tutorial-image {
        width: 180px;
        height: 160px;
    }

    #loading-bar-container {
        transform: translate(-50%, calc(-50% - 40px));
    }

    #logo {
        transform: translate(-50%, calc(-50% - 180px));
    }
}



#tutorial-1 .tutorial-image {
    background-image: url(tutorial-1.png);
}

#tutorial-2 .tutorial-image {
    background-image: url(tutorial-2.png);
}

#tutorial-3 .tutorial-image {
    background-image: url(tutorial-image-roll.png);
}

#tutorial-4 .tutorial-image {
    background-image: url(tutorial-4.png);
}


.tutorial-container .tutorial-text {
    color: var(--tutorial-text-color);
    font-size: 14px;
}

.tutorial-container .tutorial-text .nowrap{
    white-space: nowrap;
}


.tutorial-container .tutorial-text .bold {
    font-weight: 500;
    color: white;
}


.tutorial-container .tutorial-text .key {
    font-weight: bold;
    background: white;
    color: black;
    border-radius: 4px;
    border-bottom: url(../../../Maps/sample/png/LobbyBackground.png)2px solid black;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 16px;
    padding: 2px 2px;
}

.tutorial-container .tutorial-text .left-click {
    vertical-align: middle;
}

.roboto-300 {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

.roboto-400 {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

.roboto-500 {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}
