html,
body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-transition: 0.1s ease all;
    -o-transition: 0.1s ease all;
    transition: 0.1s ease all;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    background: #fff;
    overflow: hidden;
    color: blue;
}

* {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */ /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}
#loader{
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background: #fff;
    z-index: 99999999;
}

#helper{
    position: fixed;
    left: 0;
    top: 0;
    font-size: 30px;
    color: yellow;
    z-index: 99999999999;
}

h1{
    z-index: 9999999;
    position: fixed;
    left: 10px;
    top: 10px;
    color: #fff;
    font-size: 10px;
    font-weight: 400;
}

#meter{
    position: fixed;
    left: 0;
    right: 0;
    bottom: -100%;
    width: 100vw;
    height: 100%;
    -webkit-transition: all 5s cubic-bezier(0.215, 0.61, 0.355, 1);
    z-index: 99;
    background-image: url("../img/meter.svg");
    background-size: cover;
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}



#sansho{
    display: none;
    text-align: center;
    padding: 15px 0 25px;
    width: 100%;
    z-index: 9999;
}
#sansho > a{
    color: blue;
    text-decoration: none;
}
#sansho > a > span{
    border-bottom: 2px solid blue;
}

#t{
    display: none;
}

#num{
    color: #fff;
    z-index: 999;
    position: fixed;
    left: 0;
    bottom: -100%;
    height: 100%;
    width: 100vw;
    -webkit-transition: all 4.8s cubic-bezier(0.215, 0.61, 0.355, 1);
    font-size: 30px;
    text-align: center;
    -webkit-transform:translateY(20px) translate3d(0, 0, 0);
            transform:translateY(20px) translate3d(0, 0, 0);;
    font-weight: 800;
    text-shadow:0 0 10px rgba(0, 0, 255, 0.70);
}
.numUp{
    -webkit-transform:translateY(-60px)!important;
        -ms-transform:translateY(-60px)!important;
            transform:translateY(-60px)!important;
            color: blue!important;
            text-shadow:0 0 10px rgba(0, 0, 255, 0)!important;
}


#share{
    opacity: 0;
    -webkit-transition:ease 1s;
    -o-transition:ease 1s;
    transition:ease 1s;
    position: fixed;
    bottom: 20px;
    width: 90%;
    left: 5%;
/*    background: #fff;*/
    padding: 10px 0;
    border-radius: 15px;
    z-index: 999;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack:center;
        -ms-flex-pack:center;
            justify-content:center;
    -webkit-box-align:center;
        -ms-flex-align:center;
            align-items:center;
    pointer-events:none;
}

.shareFallback{
    bottom: 50px!important;
}
.sanshoFallback{
position: fixed;
   left: 0;
   bottom: -10px;
}
.sanshoFallback > a{
    color: #fff!important;
}
.sanshoFallback > a > span{
    border-bottom: 2px solid white!important;
}

#share:after{
    content:'Share your last dab score:';
    position: absolute;
    left: 0;
    top: -20px;
    color: #fff;
    width: 100%;
    text-align: center;
    text-shadow:0 0 10px rgba(0, 0, 255, 0.70);
}
#w{
    position: relative;
    width: 100%;
}

#logo{
    width: 70%;
    margin-left: 15%;
    margin-top: 5%;
}
#text > span{
    color: red;
}

#blink {
    position: fixed;
    bottom: 20px;
    width: 70%;
    background: #fff;
    border: 5px dashed blue;
    color: red;
    padding: 14px 0;
    font-size: 32px;
    text-align: center;
    left: calc(15% - 7px);
    font-weight: 800;
    letter-spacing: 2px;
}
@-webkit-keyframes blink {
  50% {
    opacity: 0.0;
  }
}
.ani{
    -webkit-animation: blink 0.5s step-start 0s infinite;
            animation: blink 0.5s step-start 0s infinite;
}
#dab1, #dab2{
    position: fixed;
    left: 4vw;
    bottom: 20vw;
    width: 90vw;
}
#dab1{
    opacity: 0;
}
#dab2{
    opacity: 1;
}
.hide{
    opacity: 0!important;
}
.show{
    opacity: 1!important;
    pointer-events:auto!important;
}

#text{
    margin: 20px 5%;
    text-align: center;
    margin-top: 40px;
    font-size: 19px;
}

button{
    -webkit-appearance: none;
    border:none;
    outline:none;
    background: none;
}

button > img {
    width: 70px;
}


#dabpc1, #dabpc2{
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}
#dabpc1{
    opacity: 0;
}
#dabpc2{
    opacity: 1;
}

#pc{
    -webkit-box-pack:center;
        -ms-flex-pack:center;
            justify-content:center;
    -webkit-box-align:center;
        -ms-flex-align:center;
            align-items:center;
    height: 100%;
    width: 100%;
    -webkit-box-orient:vertical;
    -webkit-box-direction:normal;
        -ms-flex-direction:column;
            flex-direction:column;
    display: none;
}
.showpc{
        display: -webkit-box!important;
        display: -ms-flexbox!important;
        display: flex!important;
}
.pcwrap{
    width:40vw;
    height: 28vw;
    position: relative;
    margin-top: -10vw;
}

.pctext{
    text-align: center;
    font-size: 22px;
    max-width: 500px;
}
#sanshopc{
    width: 100%;
    font-size: 20px;
    position: fixed;
    left: 0;
    text-align: center;
    color: blue;
    bottom: 20px;
}
#sanshopc > a{
    color: blue;
}
.pctext > span{
    color: red;
}

#imprint{
    position: fixed;
    left: 10px;
    top: 10px;
    font-size: 10px;
    color: #fff;
    background: blue;
    width: calc(100% - 60px);
    padding: 20px;
    overflow-y: scroll;
    height: calc(100% - 60px);
    border-radius: 10px;
    z-index: 99;
    display: none;
    font-weight: 400;
    -webkit-overflow-scrolling: touch;
}
#ilink{
    position: fixed;
    right: 13px;
    top: 13px;
    width: 20px;
    height: 20px;
    background: blue;
    color: #fff;
    border-radius: 100%;
    line-height: 21px;
    font-size: 15px;
    text-align: center;
    z-index: 999999999999;
    transition:ease 0.5s;
}
.ilinkc{
    background: #fff!important;
    color: blue!important;
    right: 25px!important;
    top: 25px!important;
}

@media (max-width: 350px) { 
    #logo{
        width: 60%;
        margin-left: 20%;
        margin-top: 7%;
    }
    #text{
        margin-top: 20px;
    }
}