html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup, main,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
    display: block;
}

html, body {
    width: 100%;
    height: 100%;
}

body {
    line-height: 1;

    background: url('../img/background.png');
    background-size: cover;
    background-repeat: no-repeat;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

.section
{
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.wrapper {
    max-width: 1270px;
    width: 100%;

    margin: 0 auto;
    padding: 0 15px;
}

.flex {
    display: flex;
    align-items: flex-start;
    justify-content: center;

    position: relative;
}

.flex__item {
    position: relative;
    overflow: visible!important;
}

.flex__item:first-child {
    display: none;
}

.flex__item:last-child {
    min-width: 320px;
    min-height: 496px;
}

.flex__image {
    position: absolute;
    top: -45px;
    left: -15px;
    z-index: 1;
}

.fps {
    margin-bottom: 40px;

    display: block;
}

.paragraph {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    line-height: 23px;
    color: #fff;
}

canvas {
    position: relative;
    z-index: 2;
}

.arm {
    position: absolute;
    z-index: 0;
}

.thumb {
    position: absolute;
    z-index: 3;
}

#left-arm {
    bottom: -105px;
    left: 35px;
    transform: translateX(-100%);
}

#left-thumb {
    width: auto;
    height: 119px;

    bottom: -39px;
    left: -58px;
}

#right-arm {
    right: 25px;
    bottom: -105px;
    transform: translateX(100%);
}

#right-thumb {
    right: -52px;
    bottom: -20px;
}

@media screen and (max-width: 480px) {
    svg, img {
        display: none;
    }

    .wrapper
    {
        padding: 0;
    }

    .section {
        align-items: flex-start;
    }

    .section, .wrapper, .flex, .game {
        width: 100%;
        height: 100%;
    }


    canvas {
        width: 100%!important;
        height: 100%!important;

        margin: 0 auto;
        display: block;
/*
        object-fit: contain;
        object-position: top;
*/
    }
}

@media screen and (min-width: 480px) {
    .game:before {
        content: '';
        width: 47vw;
        height: 112.5px;

        position: absolute;
        left: -1023px;
        bottom: 8.5px;
        transform: translateX(-100%) translateY(100%);

        background-color: #50c0ec;
    }

    .game:after {
        content: '';
        width: 47vw;
        height: 99.5px;

        position: absolute;
        right: -582px;
        bottom: 8.5px;
        transform: translateX(100%) translateY(100%);

        background-color: #50c0ec;
    }
}

@media screen and (min-width: 1024px) {
    .flex {
        left: -55px;
    }

    .flex__item:first-child {
        margin-top: -45px;
        margin-right: 180px;

        display: block;
        flex-basis: 380px;
    }
}