* {
  margin:0;
  padding:0;
}

html, body {
  width:100%;
  height:100%;
  font-family: Arial, sans-serif;
}

canvas {
  display:block;
}


.character {
  box-sizing: border-box;
  width: 90rem;
} 


.character img {
  width: 100%;
  z-index: -1;
}

.char-circle {
  border-radius: 50%;
  height: 100%;
  width: 100%;
  background: #9b59b6;
  border: 0.2rem solid #8e44ad;
  box-sizing: border-box;
}

#iogames-link img {
  position: absolute;
  bottom: 2.0rem;
  right: .5rem;
  max-width: 13rem;
  cursor : pointer;
}
#ios-link {
  position: absolute;
  bottom: .5rem;
  left: .5rem;
  max-width: 15rem;
  cursor : pointer;
}
#google-link {
  position: absolute;
  bottom: 6rem;
  left: .5rem;
  max-width: 15rem;
  cursor : pointer;
}
#cross-promo-link {
  position: absolute;
  bottom: 11rem;
  left: .5rem;
  max-width: 15rem;
  cursor : pointer;
}



#cross-promo-link img,
#iogames-link img,
#ios-link img,
#google-link img {
  width: 100%;
}
#ios-link img,
#google-link img,
#facebook-link img,
#instagram-link img,
#youtube-link img,
#twitter-link img {
  width: 100%;
}

#facebook-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  max-width: 10rem;
  cursor : pointer;
}

#twitter-link {
  position: absolute;
  top: 1rem;
  right: 1rem;
  max-width: 10rem;
  cursor : pointer;
}

#youtube-link {
  position: absolute;
  top: 4.5rem;
  right: 1rem;
  max-width: 10rem;
  cursor : pointer;
}



.hide {
  display: none !important;
}

.reference {
  position: fixed;
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 300px;
  max-height: 320px;
  width: 23%;
  height: 45%;
  background: #383838;
  border-radius: .5rem;
  overflow-y: scroll;
  z-index: 100;
}

#loading {
  position: fixed;
  background: #d7d7d7;
  top: -100;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fefefe;
}

.tabcontent {
  padding: 1.5rem;
  color: #fefefe;
}

#progress-wrapper {
  width: 50%;
  max-width: 50rem;
  margin-top: -10rem;
  text-align: center;
}

#progress {
  width: 100%;
  background-color: #ffffff;
}

#starting-game p {
  font-size: 4rem;
  color: #ffffff;
  font-weight: bold;
}

#bar {
  width: 10%;
  height: 30px;
  background-color: #EC8355; 
  text-align: center;
  line-height: 30px;
  color: black;
  font-weight: bold;
  transition: all .2s ease-in-out;
}

#header-loading {
  text-align: center;
  color: #fefefe;
  margin-top: -5rem;
}

#header-loading h2 {
  font-size: 1.4rem;
  line-height: 1.5rem;
  width: 70%;
  margin: 0 auto;
}

#header-loading p {
  margin: .25rem auto 0 auto;
  font-size: 1rem;
  width: 70%;
}

.header {
  position: absolute;
  top: .5rem;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  text-align: center;
  font-size: 15px;
}

.header-title {
  font-size: 5em;
  margin: 0 0 .1em 0;
  font-family: Nunito, sans-serif;
  color: #fefefe;
  line-height: 1.1em;
}

.header h2 {
  margin: 0;
  font-size: 1.4em;
  line-height: 1.1em;
  color: #fefefe;
}

.header p {
  margin: .25em auto 0 auto;
  font-size: 1em;
  line-height: 1em;
  color: #fefefe;
  width: 80%;
}

.stiks-title {
  font-family: Arial, sans-serif;
  font-size: 7rem;
  text-shadow: .3rem .3rem .8rem #111;
  color: #fefefe;
}

@media only screen and (max-width: 900px), screen and (max-height: 700px) {
  .header {
    font-size: 7px;
  }

  #facebook-link,
  #youtube-link,
  #instagram-link,
  #twitter-link {
    max-width: 8rem;
  }

  #youtube-link,
  #instagram-link {
    top: 5rem;
  }

  #ios-link,
  #google-link,
  #cross-promo-link {
    max-width: 10rem;
  }

  #iogames-link img {
    bottom: .5rem;
    max-width: 10rem;
  }
  
}
