* {
  -webkit-user-select: none;
  user-select: none;
}

.gifContainer {
    position: relative;
    height: 100%;
}

.gifContainer img {
    width: 23%;
    height: auto;
    margin: 0 auto;
    display: block;
    position: relative;
    top:50%;
    transform: translateY(-50%);
}

@media all and (orientation:portrait) {
    .gifContainer img {
        width: 23%;
        height: auto;
    }
}

@media all and (orientation:landscape) {
    .gifContainer img {
        height: 23%;
        width: auto;
    }
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    font-family: Glypha-Light, sans-serif;
}

.game {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* fixes ios bug where the game content goes out of the bounds of the parent iframe */
}

h1,h2,h3 {
    color: #fff;
}
@font-face {
    font-family: 'Glypha-Normal';
    src: url("../assets/fonts/Glypha-Normal.txt") format("truetype");
}
@font-face {
    font-family: 'Glypha-Light';
    src: url("../assets/fonts/Glypha-Light.txt") format("truetype");
}

/* #hack to load fonts before game starts: see explanation in index.html */
.fontPreload {
    position:absolute;
    left:-100px;
}

/* ========================= CSS loader ========================= */
#game_preloader {
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.cssload-loader {
    display: block;
    margin: 0 auto;
    width: 29px;
    height: 29px;
    top: 50%;
    position: relative;
    border: 4px solid #ff0000;
    animation: cssload-loader 0.9s infinite ease;
    -o-animation: cssload-loader 0.9s infinite ease;
    -ms-animation: cssload-loader 0.9s infinite ease;
    -webkit-animation: cssload-loader 0.9s infinite ease;
    -moz-animation: cssload-loader 0.9s infinite ease;
}
.cssload-loader-inner {
    vertical-align: top;
    display: inline-block;
    width: 100%;
    background-color: #ff0000;
    animation: cssload-loader-inner 0.9s infinite ease-in;
    -o-animation: cssload-loader-inner 0.9s infinite ease-in;
    -ms-animation: cssload-loader-inner 0.9s infinite ease-in;
    -webkit-animation: cssload-loader-inner 0.9s infinite ease-in;
    -moz-animation: cssload-loader-inner 0.9s infinite ease-in;
}
@keyframes cssload-loader {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(180deg);
    }
    50% {
        transform: rotate(180deg);
    }
    75% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@-o-keyframes cssload-loader {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(180deg);
    }
    50% {
        transform: rotate(180deg);
    }
    75% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@-ms-keyframes cssload-loader {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(180deg);
    }
    50% {
        transform: rotate(180deg);
    }
    75% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@-webkit-keyframes cssload-loader {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(180deg);
    }
    50% {
        transform: rotate(180deg);
    }
    75% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@-moz-keyframes cssload-loader {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(180deg);
    }
    50% {
        transform: rotate(180deg);
    }
    75% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(360deg);
    }
}