@font-face {
  font-family: 'onionbug';
  src: url('/FONTS/onionbug-webfont.woff2') format('woff2'),
       url('/FONTS/onionbug-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'megufontregular';
  src: url('/FONTS/megufont-regular-webfont.woff2') format('woff2'),
       url('/FONTS/megufont-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'threewishes';
  src: url('/FONTS/three_wishes_crayon_font-webfont.woff2') format('woff2'),
       url('/FONTS/three_wishes_crayon_font-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

html {
  min-height: 100%;
}

 /* unvisited link */
 a:link {
  color: rgb(122, 186, 255);
  text-decoration-line:none;
}

/* visited link */
a:visited {
  color: rgb(122, 186, 255);
}

/* mouse over link */
a:hover {
  color: rgb(255, 140, 0);
  /* text-decoration-line: underline;
  text-decoration-style: solid;  */
}

/* selected link */
a:active {
  color: rgb(255, 140, 0);
} 

a.footerLinks {
  color: white;
  text-decoration: none;
  font-family: 'onionbug', Arial, sans-serif;
  font-size:normal;
  padding: 5px 10px 5px 10px;
  /* margin-bottom: 20px; */
  /* image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges; */
}

a.navLinks {
  color: black;
  text-decoration: none;
  font-family: 'onionbug', Arial, sans-serif;
  font-size:large;
  margin-bottom: 30px;
  padding-bottom:5px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}
a.navLinks:link {
  text-decoration: none;
}
a.navLinks:visited {
  text-decoration: none;
}

a.navLinks.mini {
  padding-top: 10px;
  padding-right: 10px;
  padding-bottom: 4px;
  padding-left: 10px;
}
a.navLinks.smol {
  padding-top: 8px;
  padding-right: 10px;
  padding-bottom: 5px;
  padding-left: 10px;
}
a.navLinks.normal {
  padding-top: 8px;
  padding-right: 10px;
  padding-bottom: 5px;
  padding-left: 10px;
}
a.navLinks.beeg {
  padding-top: 8px;
  padding-right: 10px;
  padding-bottom: 5px;
  padding-left: 10px;
}
a.navLinks.beegest {
  padding-top: 12px;
  padding-right: 10px;
  padding-bottom: 5px;
  padding-left: 10px;
}

a.navLinks.mini:hover {
  background-image: url("/IMAGES/circlemini.gif");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
a.navLinks.smol:hover {
  background-image: url("/IMAGES/circlesmol.gif");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
a.navLinks.normal:hover {
  background-image: url("/IMAGES/circle.gif");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
a.navLinks.beeg:hover {
  background-image: url("/IMAGES/circlebeeg.gif");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
a.navLinks.beegest:hover {
  background-image: url("/IMAGES/circlebeegest.gif");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
a.navLinks:active {
  text-decoration: none;
}


nav {
  text-align: center;
  padding-top: 50px;
  padding-bottom:10px;
  margin-bottom: 100px;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  overflow: hidden;
}

body {
  background-image: url("/IMAGES/bg2.jpg");
  background-repeat: no-repeat;
  background-attachment: relative;
  background-position:top;
  padding-bottom:100px;
  background-color: rgb(243, 243, 243);
  text-align: center;
  padding-left: 1em;
  padding-right: 1em;
}

#unity-container { position: relative }
/* #unity-container.unity-desktop { left: 50%; top: 50%; box-shadow: 0px 0px 25px rgb(212, 212, 212); transform: translate(-50%, -50%) } */
#unity-container.unity-desktop { width:fit-content; margin: 275px auto 0 auto; text-align: center; }
#unity-container.unity-mobile { width: 100%; height: 100% }
#unity-canvas { background: #231F20 }
.unity-mobile #unity-canvas { width: 100%; height: 100% }
#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
#unity-logo { width: 154px; height: 130px; background: url('/threewishes/unity-logo-dark.png') no-repeat center }
#unity-progress-bar-empty { width: 141px; height: 18px; margin-top: 10px; margin-left: 6.5px; background: url('/threewishes/progress-bar-empty-dark.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('/threewishes/progress-bar-full-dark.png') no-repeat center }
#unity-footer { position: relative }
.unity-mobile #unity-footer { display: none }
#unity-webgl-logo { float:left; width: 204px; height: 38px; background: url('/threewishes/webgl-logo.png') no-repeat center }
#unity-build-title {margin-left:00px; text-align:left; line-height: 10px; font-family: arial; font-size: 18px }
#unity-fullscreen-button {cursor:pointer; width: 38px; position:absolute; top:0px; left:0px; bottom:auto; height: 38px; }
/* #unity-fullscreen-button {cursor:pointer; width: 38px; position:absolute; top:0px; left:0px; bottom:auto; height: 38px; background: url('/threewishes/fullscreen-button.png') no-repeat center } */
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }

main {
  /* margin-top: 300px; */
  font-family: 'onionbug', Arial, sans-serif;
  font-size:large;
  text-align: center;
  max-width: 1000px;
  margin: 275px auto 0 auto;
  /* text-rendering:optimizeSpeed; */
}



@media screen and (max-width: 556px) {
  iframe {
      max-width: 100% !important;
      width: auto !important;
      height: auto !important;
  }
}

main {
  /* margin-top: 300px; */
  font-family: 'onionbug', Arial, sans-serif;
  font-size:large;
  text-align: center;
  max-width: 800px;
  margin: 350px auto 0 auto;
  /* text-rendering:optimizeSpeed; */
}

footer {
  font-family: 'onionbug', Arial, sans-serif;
  font-size:normal;
  color: white;
  background-color: black;

  position: fixed;
  padding-top: 5px;
  padding-bottom: 5px;
  left: 0;
  bottom: 0;
  height: auto;
  width: 100%;
  /* overflow: hidden; */
  text-align: center;
}

img {
  max-height:100%; max-width:100%;
}

.comic {
  box-shadow: 0px 0px 25px rgb(212, 212, 212);
}

.zoom:hover {
  transition: transform .2s; /* Animation */
  transform: scale(1.1);
}



.guide {
  /* margin-top: 300px; */
  font-family: 'onionbug', Arial, sans-serif;
  font-size:large;
  text-align: left;
  margin-left: 20px;
  padding-bottom:20px;
  padding-top:10px;
  margin-top:10px;
  padding-left:30px;
  padding-right:30px;
  border-radius: 25px;
  background-color: rgb(249, 249, 249);
  border-style: dashed;
  /* max-width: 800px;
  margin: 350px auto 0 auto; */
  /* text-rendering:optimizeSpeed; */
}

.guideheader {
  font-family: 'onionbug', Arial, sans-serif;
  font-size:xx-large;
  text-align: left;
  margin-top: 120px;
  margin-left:-5px;
  margin-right: auto;
  margin-bottom:0px;
  /* border-radius: 25px; */
  padding-top:9px;
  padding-left:15px;
  /* background-image: linear-gradient(
    -100deg,
    rgba(0, 110, 255, 0),
    rgba(0, 140, 255, 0.52) 95%,
    rgba(0, 119, 255, 0.52)
  ); */
  background-image: url("/IMAGES/blueunderline.png");
  background-repeat: no-repeat;
  background-size: 100% contain;
  /* text-shadow: 
    -1px 1px 2 rgb(255, 255, 255),
		1px 1px 0 rgb(255, 255, 255),
		1px -1px 0 rgb(255, 255, 255),
	  -1px -1px 0 rgb(255, 255, 255); */
}

.guideheadersmol {
  font-family: 'onionbug', Arial, sans-serif;
  font-size:x-large;
  text-align: left;
  margin-top: 5px;
  margin-left:-25px;
  margin-right:auto;
  padding-top:3px;
  padding-left:10px;
  /* background-image: linear-gradient(
    -100deg,
    rgba(255, 0, 0, 0),
    rgba(255, 0, 0, 0.25) 95%,
    rgba(255, 0, 0, 0.25)
  ); */
  background-image: url("/IMAGES/redunderline.png");
  background-repeat: no-repeat;
  /* text-shadow: 
    -1px 1px 0 rgb(255, 255, 255),
		1px 1px 0 rgb(255, 255, 255),
		1px -1px 0 rgb(255, 255, 255),
	  -1px -1px 0 rgb(255, 255, 255); */
}

.guideheadersmoler {
  font-family: 'onionbug', Arial, sans-serif;
  font-size: large;
  text-align: left;
  /* font-weight:bold; */
  margin-top: 5px;
  margin-bottom:-18px;
  margin-left:-5px;
  margin-right:auto;
  padding-top:2px;
  padding-left:7px;
  background-image: url("/IMAGES/greenunderline.png");
  background-repeat: no-repeat;
}





.lightbox {
  /* Default to hidden */
  display: none;

  /* Overlay entire screen */
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  /* A bit of padding around image */
  padding: 1em;

  /* Translucent background */
  background: rgba(0, 0, 0, 0.8);
}

/* Unhide the lightbox when it's the target */
.lightbox:target {
  display: block;
}

.lightbox span {
  /* Full width and height */
  display: block;
  width: 100%;
  height: 100%;

  /* Size and position background image */
  background-position: center;
  background-repeat: no-repeat;
  /* max-height:100%; max-width:100%; */
  background-size:contain;
  image-rendering:auto;
}