/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

#orientation-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #211722;
  color: #f5e6d3;
  text-align: center;
  touch-action: none;
}

.orientation-panel {
  padding: 24px 32px;
  border: 16px solid transparent;
  border-image: url("./assets/pixel_quest/menu_elements/F_UI_Panel_M.png") 16 fill stretch;
  image-rendering: pixelated;
}

.orientation-panel h1 {
  margin: 12px 0 8px;
  font-size: 24px;
  color: #ffe0a1;
}

.orientation-panel p { font-size: 16px; }

.orientation-phone {
  width: 28px;
  height: 44px;
  margin: 0 auto;
  border: 3px solid #d5a755;
  border-bottom-width: 7px;
  border-radius: 4px;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: Fantasypixelfont !important;
  color: rgba(255, 255, 255, 0.87);
  background-color: #000000;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#app {
  box-sizing: border-box;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

#game-container {
  box-sizing: border-box;
  touch-action: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#game-container canvas {
  display: block;
}

@font-face {
  font-family: Fantasypixelfont;
  src: url("./assets/pixel_quest/font/Fantasypixelfont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
