html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
	touch-action: none;
	-ms-touch-action: none;
	-webkit-touch-callout: none;
	-webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

body{
  font-family: "Comic Sans MS";
  background: url("textures/back.png") no-repeat center center fixed;
  -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
}

img{
  pointer-events: none;
}

.menu{
  text-align: right;
}

.menu div{
  color:white;
  font-size: 2vh;
  transition: color 0.4s;
  text-shadow:2px 2px 4px rgba(0, 0, 0, 1);
  cursor: pointer;
}

.menu div:hover{
  color:black;
  text-shadow:2px 2px 4px white;
}

.msgbox{
  color:black;
  text-shadow:2px 2px 4px rgba(255, 255, 255, 0.5);
  transform: translateX(-50%);
  position: relative;
  left: 50%;
  z-index: 5;
  top:3vh;
  text-align: center;
  font-size: 2vh;
}

@media (max-width: 800px){
  .egg{
    left:38% !important;
  }

  .msgbox{
    left: 38% !important;
  }
}

button {
    background-color: #4fb74c;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    margin-top: 20px;
    cursor: pointer;
    font-size: 2vh;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: 0.2s;
}

button:hover{
  background-color: green;
}

.game{
  display: block;
  width: auto;
  height: 16vh;
  margin-top: 1vh;
  cursor: pointer;
}

.game img{
  width: 100%;
  height: 100%;
  border-radius: 5px;
  transition: filter 0.2s;
}

.game img:hover{
  filter: brightness(125%);
}

@media (max-height: 500px){
	.game{
	  display: inline-block;
	  margin-left: 0.25vw;
	  margin-right: 0.25vw;
	}
}

.musicbtn{
  position: absolute;
  left:2vw;
  bottom:18vh;
  width: 6vw;
  height: 8vh;
  background-color: #4eb352;
  cursor: pointer;
  transition: background-color 0.3s;
  border-radius: 12px;
}

.soundsbtn{
  position: absolute;
  left:9vw;
  bottom:18vh;
  width: 6vw;
  height: 8vh;
  background-color: #4eb352;
  cursor: pointer;
  transition: background-color 0.3s;
  border-radius: 12px;
}

.musicbtn img,.soundsbtn img{
  width: 100%;
  height: 100%;
}

.musicbtn:hover,.soundsbtn:hover,#bgleft:hover,#bgright:hover{
  background-color: #72d676;
}


  .leaderbords{
    display: block;
    color: white;
  }

  .leaderbords h3{
    font-size: 2vh;
  }

  .leaderbord{
    display: inline-block;
    width: 90vw;
    margin-right: 0.5vw;
  }

  .leaderbord_data{
    display: block;
    width: 100%;
    max-height: 50vh;
    overflow-x:hidden;
    overflow-y: scroll;
  }

.leaderbord_data::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.leaderbord_data::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom right, #4d7fff 0%, #1a56ff 100%);
  border-radius: 5px;
}

.leaderbord_data::-webkit-scrollbar-track {
  background-color: rgb(167, 167, 167);
}

  .leaderbord_data .row{
    display: block;
    background-color: #7674e4;
  }

  .leaderbord_data .col{
    display: inline-block;
    width: 10vw;
    text-align: center;
    color: white;
  }

  .col:first-child{
    float:left;
  }

  .col:last-child{
    float:right;
  }

  .leaderbord_data_rows{
    position: relative;
    top: 0px;
    left: 0px;
  }

  .leaderbord_data_rows *{
    pointer-events: none;
  }

  .leaderbord_data_rows > :nth-child(even) {
      background-color: #9190de !important;
  }

  .col img{
    width: auto;
    height: 3vh;
  }

  .col span{
    font-size: 2vh;
  }

  @media (max-width: 433px){
    .col span{
      font-size: 1vh !important;
    }
  }
