:root {
    touch-action: pan-x pan-y;
    height: 100%;
}

body {
    touch-action: none;
    margin: 0;
    padding: 0;
    background-color: #fff;
    background-repeat: repeat;
    font-family: 'PressStart2P';
    overflow: hidden;
    width: 100vw;
    min-height: 100vh;
    height: 100vh;
}

body, html, a, img {
    user-select: none;
    -webkit-touch-callout: none;
    touch-action: pan-x pan-y;
    -webkit-tap-highlight-color: transparent;
}

.container {
    display: block;
    width: 100%;
    height: 100%;
}

.canvas-area {
    position: relative;
    height: var(--canvas-height);
    text-align: center;
}

#main-canvas {
    display: inline-block;
    top: 0;
    border-bottom: 1px solid #ddd;
    image-rendering: pixelated;
}

.menu {
    text-align: center;
}

img {
    border: none;
    outline: none;
}

img:hover {
    border: none;
    outline: none;
}

.img-logo {
    padding-top: 5vh;
    padding-bottom: 2.5vh;
    width: auto;
    height: 25vh;
}

.img-intro {
    height: 45vh;
}

.container {
    display: flex;
    flex-direction: column;
}

.full-row {
    width: 100%;
}

#logo-game{
    text-align: center;
    margin-top: 10vh;
    height: 50vh;
}

#logo-game img {
    max-height: 70%;
}

#loose, #not-win, #oos {
    text-align: center;
    height: 60vh;
}

#logo-small {
    text-align: center;
    height: 25vh;
}

#end {
    text-align: center;
    height: 25vh;
    margin-bottom: 2.5vh;
}

#fb, #instagram {
    text-align: center;
    margin-bottom: 2.5vh;
}

#logo-small {
    margin-bottom: 5vh;
}

#win {
    text-align: center;
    height: 60vh;
}

.img-fluid {
    height: 90%;
    width: auto;
}

.img-width {
    width: 90%;
    height: auto;
}

.landscape {
    display: none;
    text-align: center;
}

#start-instructions {
    background-image: url("../images/runner/intro.png");
    height: 50vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 100%;
}

#start-instructions a {
    display: inline-block;
    width: 100%;
    height: 100%;
}

@media (orientation:landscape) {
    .portrait {
        display: none;
    }

    .landscape {
        display: block;
    }
}

