
@import url(https://fonts.googleapis.com/css?family=Roboto:400,500);

*{
  -webkit-touch-callout: none  !important;
  -webkit-user-select: none !important;
  -khtml-user-select: none  !important;
  -moz-user-select: none  !important;
  -ms-user-select: none  !important;
  user-select: none  !important;    
  -webkit-tap-highlight-color: rgba(0,0,0,0) !important;

  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-smooth: always;
  -webkit-text-size-adjust: none;

}

html,body{
    background:#ff5d0d;
    height:100%;
    font-family: 'Roboto', sans-serif;
    font-size:18px;
    overflow: hidden;
}



.circle{
    width: 1600px;
    height: 1600px;
    background-color: #ff5d0d;
    border-radius: 1600px;
    position: absolute;
    left:50%;
    top:50%;
    margin:-800px 0 0 -800px;
}

.arc{
    border: 800px solid white;
    border-color: transparent transparent white white;
    border-radius: 1600px;
    content: '';
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;    
    /* this is to have it white from 180 to 360 degrees on the left side */
    transform:rotate(45deg);
}

/* the green sector is now 180 minus 45 plus 0 degree */
.arc.first {
    transform:rotate(0deg);
    border-color: transparent transparent #f00 #f00;
}

.arc.last{
  border-color: transparent transparent #00f #00f;
}

circle {
  fill: #ff5d0d;
   /*#e4241d*/
}

path {
  fill: #3e2723;
}

svg.pie {
  width: 230px;
  height: 230px;
  position:absolute;
  top:50%;
  left:50%;
  margin:-115px 0 0 -115px;
  background:#ff5d0d;
  cursor:pointer;
  
  -moz-transform: scale(10,10) translate3d(0,0,0);
  -webkit-transform: scale(10,10) translate3d(0,0,0);
  transform: scale(10,10) translate3d(0,0,0);  

  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;    
}

svg.pie.hide{
  opacity:0.5;
  transform:scale(0);
}

/* the green sector is now 180 minus 45 plus -75 degree */
/*.circle:after {

}*/


#clock{
    display:block;
    width:100%;
    height:100%;
    overflow:hidden;
    position:relative;

  -webkit-transform: translate3d(0,0,0);
  -moz-transform: translate3d(0,0,0);
  -ms-transform: translate3d(0,0,0);
  -o-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);    
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;  
}


/*
.blur{
  -webkit-filter: blur(10px);
  -moz-filter: blur(10px);
  -ms-filter: blur(10px);
  -o-filter: blur(10px);
  filter: blur(10px);
}
*/

#face{
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
    background:#fff;
    display:block;
    width:200%;
    height:200%;
    position:absolute;
    top:-50%;
    left:-50%;
    border-radius: 50%;    
    background-image:
        /* 10% = 126deg = 90 + ( 360 * .1 ) */
        linear-gradient(126deg, transparent 50%, white 50%),
        linear-gradient(90deg, white 50%, transparent 50%);

}

#button{
    background:#ff5d0d;
    border:10px solid #3e2723;
    width:20px;
    height:20px;
    border-radius: 50%;
    position:absolute;
    top:50%;
    left:50%;
    margin:-20px 0 0 -20px;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;      
}

#clock p{
    /*background:#fff;*/
    cursor:pointer;
    color:#fff;
    border-radius:4em;
    position: absolute;
    padding:2em 0;
    width:4em;
    font-weight: 500;
    line-height: 0;
    text-shadow:0 -1px 0 rgba(255,255,255,0.2), 0 3px 3px rgba(0,0,0,0.3), 0 6px 6px rgba(0,0,0,0.2);
    text-align: center;
}

.hide{
  transform: scale(0);
  opacity:0;
}

.top, .bottom, .left, .right{
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  transition: all 0.2s linear;  
}

.top{
    top:0;
    left:50%;
    margin:1em 0 0 -2em;
}

.bottom{
    bottom:44px;
    left:50%;
     margin:0 0 1em -2em;
}

.left{
    left:0;
    top:50%;
    margin:-2em 0 0 1em;
}

.right{
    right:0;
    top:50%;
     margin:-2em 1em 0 0;
}


#tips{
  position: fixed;
  bottom: 0;
  left: 0;
  right:0;
  background:#3e2723;
  color: #fff;
  text-align: center;
  padding:1em 0;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  transition: all 0.2s linear;  
  opacity:0;
  transform: translateY(70px);
}

#tips.visible{
  opacity:1;
  transform: translateY(0px);
}

#highlight{
  background:#ff5d0d;
  position: absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
}

#tips p{
  margin:0;
  position: relative;
  z-index:1;
}

#ad{
  position: absolute;
  top:0px;
  left:0px;
  right:0px;
  bottom:0px;
  z-index:-10;
}

#ad.visible{
  z-index:10;
}

#overlay{
  position: absolute;
  top:0px;
  left:0px;
  right:0px;
  bottom:0px;
  background:rgba(0,0,0,0.4);
  opacity:1;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;  
  opacity:0;
}

#overlay.visible{
  opacity:1;
}

#content{
  background:#3e2723;
  color:#fff;
  color:rgba(255,255,255,0.7);
  padding:1em;
  text-align: center;
  box-sizing:border-box;
  border-radius:1px;
  box-shadow: 0 4px 4px rgba(0,0,0,0.2), 0 16px 16px rgba(0,0,0,0.1), 0 22px 22px rgba(0,0,0,0.2);
  width:90%;
  max-width: 400px;
  position: fixed;
  top: 50%;
  left:50%;
  

  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;  
  
  opacity:0;
  transform:translateY(-50%) translateX(-50%);
  margin-top:-50px;
}

#content.visible{
  opacity:1;
  margin-top:0;
}

#content a.btn{
  display:block;
  text-decoration: none;
  color:#fff;
  background:#222;
  text-align: center;
  padding:1em;
  margin:1em 0 0 0;
}

#content a.primary{
  background:#ff5d0d;
}

#content #return{
  background:#4e342e;
  color:rgba(255,255,255,0.3);
}

#content #return:hover{
  color:rgba(255,255,255,0.7);
}

#ad h1{
  margin-top:0;
  font-weight: 400;
  font-size:1.618em;
}

#ad .small{
  font-size:0.618em;
  margin:2em 0 0 0;
}

#ad .small a{
  text-decoration: none;
  color:#ff5d0d;
}

#share{
  margin:1em 0 -2em 0;
}

  #share a{
    float:left;
    width:25%;
    text-align: center;
    padding:1em 0;
    color:rgba(255,255,255,0.7);
  }
  #share:hover a:hover{
    color:#ff5d0d;
  }

  #share:hover a{
    color:rgba(255,255,255,0.3);
  }



@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
            transform: scale3d(1, 1, 1);
  }

  50% {
    -webkit-transform: scale3d(1.15, 1.15, 1.15);
            transform: scale3d(1.15, 1.15, 1.15);
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
            transform: scale3d(1, 1, 1);
  }
}

@keyframes pulse {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
            transform: scale3d(1, 1, 1);
  }

  50% {
    -webkit-transform: scale3d(1.15, 1.15, 1.15);
            transform: scale3d(1.15, 1.15, 1.15);
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
            transform: scale3d(1, 1, 1);
  }
}

.animated {
  -webkit-animation: pulse 1s infinite;
          animation: pulse 1s infinite;
}



.attention {
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}

@-webkit-keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
            transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    -webkit-transform: translate3d(0,0,0);
            transform: translate3d(0,0,0);
  }

  40%, 43% {
    -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
            transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    -webkit-transform: translate3d(0, -30px, 0);
            transform: translate3d(0, -30px, 0);
  }

  70% {
    -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
            transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    -webkit-transform: translate3d(0, -15px, 0);
            transform: translate3d(0, -15px, 0);
  }

  90% {
    -webkit-transform: translate3d(0,-4px,0);
            transform: translate3d(0,-4px,0);
  }
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
            transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    -webkit-transform: translate3d(0,0,0);
            transform: translate3d(0,0,0);
  }

  40%, 43% {
    -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
            transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    -webkit-transform: translate3d(0, -30px, 0);
            transform: translate3d(0, -30px, 0);
  }

  70% {
    -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
            transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    -webkit-transform: translate3d(0, -15px, 0);
            transform: translate3d(0, -15px, 0);
  }

  90% {
    -webkit-transform: translate3d(0,-4px,0);
            transform: translate3d(0,-4px,0);
  }
}

.bounce {
  -webkit-animation-name: bounce;
          animation-name: bounce;
  -webkit-transform-origin: center bottom;
      -ms-transform-origin: center bottom;
          transform-origin: center bottom;
}


}

@-webkit-keyframes flash {
  0%, 50%, 100% {
    opacity: 1;
  }

  25%, 75% {
    opacity: 0;
  }
}

@keyframes flash {
  0%, 50%, 100% {
    opacity: 1;
  }

  25%, 75% {
    opacity: 0;
  }
}

.flash {
  -webkit-animation-name: flash;
          animation-name: flash;
}
