@font-face {
  font-family: myfont2;
  src: url("font.ttf");
}

#ghost{
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    width: 100vw;
    height: 100vh;
	pointer-events: none;
  }

#ghost img{
    width: 100%;
    height: 100%;
	pointer-events: none;
  }
  @keyframes anim228 {
    0% {
      filter: hue-rotate(0%);
    }
    50% {
      filter: hue-rotate(-5deg);
    }
    100% {
      filter: hue-rotate(-20deg);
    }
  }
html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #5d5c5c;
    font-family: myfont2, sans-serif;
	touch-action: none;
	-ms-touch-action: none;
	-webkit-touch-callout: none;
	-webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.no_p_events *{
  pointer-events: none;
}

#ui > div {
    position: absolute;
    z-index: 5;
}

.gdprogress{
  display: block;
  background-color: rgba(255,171,46,0.6);
  width: 40vw;
  height: 3vh;
  position:absolute;
  top: 1vh;
  left: 23vw;
  border-radius: 15px;
  overflow: hidden;
}

#proginfo{
  position:absolute;
  top: 4.5vh;
  left: 23vw;
  width: 40vw;
  font-size: 3vh;
  color: white;
  text-shadow:2px 2px 4px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.gdinner{
  height: 100%;
  background-color: rgba(255,130,59,0.9);
}

.imgbutton{
    width: 5vw;
    height: 8vh;
    margin: 2px;
    cursor: pointer;
    display: inline-block;
}

.imgbutton img{
  width: 100%;
  height: 100%;
  transition: filter 0.2s;
}

.imgbutton img:hover{
  filter: brightness(125%);
}

#coinui{
  position: absolute;
  left:1vw;
  top: 1vh;
  color:white;
}

img{
pointer-events:none;
}

.coinblock{
  display:block;
  margin-bottom: 1vh;
  font-size: 4vh;
  background-color: rgba(25, 25, 25, 0.41);
  border-radius: 10px;
  overflow: hidden;
  padding: 1px;
  pointer-events: none;
}

.coinblock img{
  float:left;
  width: 4vw;
  height: 7vh;
  margin-right: 1px;
  pointer-events: none;
}

.coinblock span{
  float:right;
  pointer-events: none;
}

.leaderbords{
  display: block;
  color: white;
}

.leaderbords h3{
  font-size: 2vh;
}

.leaderbord{
  display: inline-block;
  width: 45vw;
  margin-right: 0.5vw;
}

.leaderbord_data{
  display: block;
  width: 100%;
  max-height: 50vh;
  overflow: hidden;
}

.leaderbord_data .row{
  display: block;
  background-color: #e69747;
}

.leaderbord_data .col{
  display: inline-block;
  width: 10vw;
  text-align: center;
  color: white;
}

.leaderbord_data_rows{
  position: relative;
  top: 0px;
  left: 0px;
}

.leaderbord_data_rows *{
  pointer-events: none;
}

.leaderbord_data_rows > :nth-child(even) {
    background-color: #e4ac74 !important;
}

.col img{
  width: auto;
  height: 3vh;
}

.col span{
  font-size: 2vh;
}

@media (max-width: 433px){
  .col span{
    font-size: 1vh !important;
  }
}

button {
    background-color: orange;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: 0.2s;
}

button:hover{
  background-color: green;
}

.advp{
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 20vw;
  font-size: 8;
  padding-left: 2vw;
  padding-right: 2vw;
  padding-top: 1vh;
  padding-bottom: 1vh;
  background-color: #e2ab7f;
  border: 1px solid black;
  border-radius: 10px;
}
@keyframes anim228 {
   0% {
     filter: brightness(100%);
   }
   50% {
     filter: brightness(150%);
   }
   100% {
     filter: brightness(100%);
   }
 }
.pbar{
  display: block;
  height: 4vh;
  background-color: white;
}

@media (max-width: 1000px){
  .advp{
    width: 60vw !important;
  }

  .advp button{
    font-size: 4vh !important;
  }

  #proginfo{
    font-size: 2vh !important;
  }
}

#timer{
	position: absolute;
	z-index:4;
	top:40vh;
	left:50%;
  transform: translate(-50%, -50%);
}

#timer span{
	font-size: 25vh;
	color:white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#moregames{
  position: absolute;
  width: 15vw;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.game{
  display: inline-block !important;
	  margin-left: 0.25vw !important;
	  margin-right: 0.25vw !important;
  width: 24vw;
  height: 24vh;
  margin-top: 1vh;
  cursor: pointer;
}

.game img{
  width: 100%;
  height: 100%;
  border-radius: 5px;
  transition: filter 0.2s;
}

.game img:hover{
  filter: brightness(125%);
}
