﻿.html {
    width: 100%;
    height: 100%;
    text-align: center;
    margin: 0;
    padding: 0;
    overflow: auto;
    display: flex;
}

body {
    overflow: hidden;
}

.front-face {
    width: 60px;
    height: 60px;
    padding: 5px;
}

.justify-horizontal {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin: 14px 0;
}

.container {
    padding: 0.01em 16px;
}

.input-file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.pulse {
    color: white;
    border: none;
    border-radius: 50px;
    background: red;
    font-size: 22px;
    font-family: monospace;
    margin-top: -33px;
}

.winpopup {
    position: absolute;
    width: 341px;
    height: 227px;
    margin-top: -470px;
    left: 36%;
}

.rst {
    position: absolute;
    margin-top: -355px;
    left: 42.6%;
    border-radius: 50px;
    color: white;
    background: red;
    border: none;
    font-family: monospace;
    font-size: 17px;
    cursor: pointer;
}

.backbtn {
    position: absolute;
    color: white;
    font-size: 17px;
    top: 0;
    width: 80px;
    left: 0;
    cursor: pointer;
    z-index:21;
}

.winmsg {
    position: absolute;
    margin-top: -398px;
    color: white;
    margin-left: 623px;
    font-family: monospace;
    font-size: 21px;
}

.losemsg {
    position: absolute;
    margin-top: -398px;
    color: white;
    left: 44%;
    font-family: monospace;
    font-size: 21px;
}

@media only screen and (max-width: 500px) {
    .justify-horizontal {
        display: block;
        margin: 14px auto;
        text-align: center;
    }
}

@-webkit-keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgb(0, 0, 255);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgb(0, 0, 255);
    }
}

button {
    color: red;
    -webkit-transition: 0.25s;
    transition: 0.25s;
}

    button:hover,
    button:focus {
        border-color: rgb(0, 0, 255);
        color: cyan;
    }

button {
    background: none;
    border: 2px solid;
    font: inherit;
    line-height: 1;
    margin: 0.5em;
    padding: 7px 2em;
    transition-duration: 0.7s;
    cursor: pointer;
}

#defaultCanvas0 {
    margin-top: -14px;
}

#levels {
    color: white;
    font-size: 35px;
    font-family: monospace;
    text-align: left;
    top: 25px;
    position: absolute;
}

.plane {
    width: 90px;
    height: 69px;
    position: absolute;
    bottom: 14px;
    z-index: 20;
}

.PR {
    position: absolute;
    left: 46.5%;
    bottom: 0;
}

.disabled {
    pointer-events: none;
    opacity: 0.4;
}

.level-list__item__number {
    display: inline-block;
    background: brown;
    margin: 5px;
    padding: 2px;
    width: 76px;
    /*height: 31px;*/
    text-align: center;
    border-radius: 10px;
    /*position: relative;
    z-index: 21;*/
    font-size: 25px;
    cursor: pointer;
    color: white;
    /*font-family: fantasy;*/
}

#openlevel {
    position: absolute;
    background: #ffc34d;
    width: 100%;
    min-height: 100%;
    left: 0;
    top: 0;
    /*margin: 0;*/
    /*list-style: none;*/
    padding: 10px;
    z-index: 21;
    /*transition: left 0.2s;*/
    overflow: auto;
}

.title {
    font-family: "Fredoka One", Calibri, sans-serif;
    /*text-transform: uppercase;*/
    font-weight: normal;
    text-align: center;
    color: white;
}

span.right {
    float: right;
}

/*#countdown{
    z-index:22;
    color:red;
    top:0;
    right:0;
    position:absolute;
}*/
/*@media screen and (max-width:1000px) {
    .backbtn {
        display: none;
    }
}*/
.select-screen-back {
    position: absolute;
    color: white;
    font-size: 17px;
    top: 0;
    width: 80px;
    left: 0;
    cursor: pointer;
    z-index: 21;
}

@media screen and (min-width:1000px) {
    #openscreen {
        display: none;
    }

    #touchbtn {
        display: none;
    }

    #sensorbtn {
        display: none;
    }

    .startmsg {
        display: none;
    }

    .slide {
        display: none;
    }

    .tilt {
        display: none;
    }

    .select-screen-back {
        display: none;
    }
}

#openscreen {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url(../image/openscreen.jpg);
    top: 0;
    left: 0;
    z-index: 21;
}

.selectoption {
    position: absolute;
    top: 10%;
    left: 35%;
    font-size: 29px;
    color: deeppink;
    font-family: monospace;
    font-weight: bold;
}

#touchbtn {
    position: absolute;
    top: 4%;
    font-size: 20px;
    left: 13%;
    height: 69%;
}

#sensorbtn {
    position: absolute;
    top: 26%;
    font-size: 20px;
    right: 13%;
    height: 61%;
}

.startmsg {
    left: 23%;
    position: absolute;
    font-size: 26px;
    color: cyan;
    font-weight: bold;
    font-family: monospace;
    top: -4%;
}

.slide {
    left: 17%;
    position: absolute;
    font-size: 20px;
    color: deeppink;
    font-weight: bold;
    font-family: monospace;
    bottom: 4%;
}

.tilt {
    position: absolute;
    font-size: 21px;
    color: deeppink;
    font-weight: bold;
    font-family: monospace;
    right: 20%;
    bottom: 3%;
}

@media screen and (max-width:1000px) {
    .winpopup {
        position: absolute;
        width: 307px;
        height: 195px;
        margin-top: -300px;
        left: 32%;
    }

    .rst {
        margin-top: -206px;
        left: 40%;
    }

    .winmsg {
        margin-top: -253px;
        left: 41%;
    }

    .losemsg {
        margin-top: -243px;
        left: 42%;
    }

    /*#levels {
            margin-top: -319px;
        }*/

    /*.plane {
        margin-left: -66px;
    }*/

    .PR {
        position: inherit;
        margin-left: 44%;
    }

    .level-list__item__number {
        left: 7px;
        width: 70px;
    }
}
