* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    background: #000;
    color: white;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}

#game-wrapper {
    width: 100vw;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;

    background: #000;
}

canvas {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 1280px;
    max-height: 720px;

    object-fit: contain;

    cursor: crosshair;

    image-rendering: auto;
}

#loading {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: min(420px, 80vw);

    text-align: center;

    pointer-events: none;

    background: rgba(5, 10, 25, 0.96);

    border: 2px solid #3c96ff;

    padding: 35px;

    box-shadow:
        0 0 25px rgba(60, 150, 255, 0.25);
}

.loading-title {
    color: #64d2ff;

    font-size: 48px;

    font-weight: bold;

    letter-spacing: 5px;

    margin-bottom: 15px;
}

.loading-text {
    color: #b4bed2;

    font-size: 16px;

    letter-spacing: 2px;

    margin-bottom: 20px;
}

.loading-bar {
    width: 100%;

    height: 8px;

    background: #101828;

    border: 1px solid #325080;
}

#loading-progress {
    width: 0%;

    height: 100%;

    background: #64d2ff;

    transition: width 0.1s linear;
}

@media (max-width: 700px) {

    canvas {
        width: 100vw;
        height: auto;
    }

}