/**
 * STYLE
 * Main LESS file, compiled in CSS
 * 
 * ANDRIX ® 2026
 */
@font-face {
  font-family: "Tangerine";
  src: local("Tangerine"), url("../fonts/Tangerine-Regular.ttf");
}
@font-face {
  font-family: "Raleway";
  src: local("Raleway"), url("../fonts/Raleway-Regular.ttf");
  font-weight: 400;
}
@font-face {
  font-family: "Raleway";
  src: local("Raleway Light"), url("../fonts/Raleway-Light.ttf");
  font-weight: 300;
}
@font-face {
  font-family: "Raleway";
  src: local("Raleway ExtraLight"), url("../fonts/Raleway-ExtraLight.ttf");
  font-weight: 200;
}
@font-face {
  font-family: "Raleway";
  src: local("Raleway Thin"), url("../fonts/Raleway-Thin.ttf");
  font-weight: 100;
}
@font-face {
  font-family: "Rationale";
  src: local("Rationale"), url("../fonts/Rationale-Regular.ttf");
  font-weight: 400;
}
p,
a,
label,
h1,
h2,
h3,
h4,
button {
  font-family: 'Rationale', 'Raleway', 'Comic Sans MS', serif;
  color: white;
}
html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  border: none;
}
html {
  background: black;
  overflow-x: hidden;
}
html.fullscreen {
  overflow: hidden;
}
body {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
}
section#intro {
  padding-top: 90px;
  margin-bottom: 8px;
  width: 100%;
}
section#intro p {
  line-height: 0.1em;
  text-align: center;
  color: #FFFB;
}
section#intro p em {
  color: white;
  margin-right: 3px;
}
p.caption {
  text-align: left;
  font-family: "Rationale", sans-serif;
  text-transform: uppercase;
  line-height: 0;
  color: #FFFC;
}
main {
  max-width: 100vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 0;
  margin-top: -60px;
}
main p.caption {
  margin: -30px 17px;
  font-size: 20px;
}
main canvas {
  outline: 1px solid red;
  margin: 10px;
  border-radius: 1px;
  margin-top: 60px;
}
section#front-layer {
  width: 100vw;
  height: 100vh;
  background: black;
  position: fixed;
  z-index: 1;
  display: none;
}
section#front-layer .caption {
  position: absolute;
  bottom: 0;
  left: 20px;
  z-index: 2;
  font-size: 50px;
}
section#front-layer .caption.hidden {
  display: none;
}
html.fullscreen section#front-layer {
  display: inherit;
}
canvas {
  cursor: move;
}
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: black;
  border-bottom: 1px solid #FFFA;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
}
header h2,
header #controls {
  display: block;
}
header h2 {
  color: white;
  text-transform: uppercase;
  font-size: 20px;
  margin: 5px 0 1px;
  font-weight: 200;
}
header #controls {
  margin-bottom: 5px;
}
footer {
  margin: 45px 0 0;
  width: 100%;
  opacity: 0.4;
}
footer p {
  text-align: center;
}
.control {
  display: flex;
  flex-flow: row;
  margin: 0 10px;
}
.control .control-core {
  align-self: center;
  display: flex;
  flex-flow: column;
  margin: 0 0.5em;
}
.control .control-core p {
  margin: 0 0;
  line-height: 1em;
  font-size: 1.2rem;
  text-align: center;
}
.square-btn {
  max-width: 30px;
  max-height: 17px;
  min-width: 17px;
  min-height: 18px;
  margin: 5px;
  border: 1px solid white;
  color: white;
  padding: 10px;
  border-radius: 1px;
  text-align: center;
  line-height: 19px;
  cursor: pointer;
  user-select: none;
  background: black;
}
.square-btn:hover:not(:active) {
  border: 1px solid black;
  filter: invert(1);
}
#fps-container {
  display: none;
  position: fixed;
  right: 20px;
  top: 15px;
}
@media (max-width: 400px) {
  #fps-container {
    display: none;
  }
}
#fps-container p {
  font-family: Rationale, Raleway, sans-serif;
}
#stats {
  display: none;
}
#stats.visible {
  display: inherit;
}
