@charset "UTF-8";
@import url(/srv/http/www/2020/luuse.io/typotheque.luuse.io.live/themes/library/luuse/css/reset.css);
/* ---------------------- COLORS ---------------------- */
/* ---------------------- FONT-FACES ---------------------- */
@font-face {
  font-family: 'ocr';
  src: url("../fonts/Ocr-Pbi-pen_x1_y1.ttf");
}

@font-face {
  font-family: 'substitut';
  src: url("../fonts/substitut.ttf");
}

@font-face {
  font-family: 'notCourierReg';
  src: url("../fonts/notCourierSans/NotCourierSans.woff");
}

/* ---------------------- GLOBAL ---------------------- */
html {
  font-size: 14px;
}

body {
  font-family: 'notCourierReg', monospace;
  line-height: 1.5rem;
  color: #3111b9;
  background-color: #cecece;
  /* MENU */
  /* ALL */
  /* PREVIEW MODE */
  /* TESTER MODE */
}

body * {
  box-sizing: border-box;
}

body .errors {
  color: #ff0000;
  margin: 0 0 2rem 0;
}

body .clear {
  clear: both;
}

body a {
  text-decoration: none;
  color: inherit;
}

body a:hover {
  color: #ff0000;
}

body input {
  border: 0;
  background: transparent;
}

body > header,
body > header > nav,
body main > header,
body main > header > #tester,
body main > header > #change-mode {
  position: fixed;
  z-index: 9999;
  background-color: #cecece;
}

body > header,
body main > header {
  top: 0;
  border-bottom: solid 1px #ff0000;
}

body > header {
  width: 20%;
  padding: 0.5rem;
}

body > header h1 > * {
  display: inline-block;
}

body > header h1 .sign {
  margin: 0 0 0 1rem;
  font-size: 0.8rem;
  line-height: 0;
}

body > header h1 .sign::before {
  content: "⤵";
}

body > header h1:hover {
  color: #ff0000;
  cursor: pointer;
}

body > header h1:hover .sign::before {
  content: "+";
  font-size: 1rem;
}

body > header h1.show:hover .sign::before {
  content: "⤴";
}

body > header nav {
  left: 0.5rem;
  bottom: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  width: 16rem;
}

body > header nav > div {
  width: 8rem;
}

body > header nav > div h4 {
  border-bottom: 1px solid #3111b9;
}

body > header nav > div ul {
  position: fixed;
  bottom: 1.75rem;
  display: none;
  padding: 0.25rem;
  background-color: #cecece;
  margin-left: -0.25rem;
}

body > header nav > div ul li {
  border-bottom: 1px solid #3111b9;
}

body > header nav > div:hover {
  cursor: pointer;
}

body > header nav > div:hover ul {
  display: block;
}

body > header nav #search {
  margin: 1.5rem 0 0 0;
}

body main {
  margin: 3rem 0 0 0;
  /* CONTENT */
}

body main > header {
  margin: 0 0 0 20%;
  width: 80%;
}

body main > header #tester {
  display: flex;
  bottom: 0.5rem;
  right: 10px;
  padding: 0.5rem 0 0.5rem 0.5rem;
  background-color: #cecece;
  color: #3111b9;
  width: auto;
}

body main > header #tester input {
  padding: 0;
  margin: 0;
  width: 100%;
  border: none;
}

body main > header #tester > div {
  width: 100px;
}

body main > header #tester > div h5 {
  width: 100%;
}

body main > header #tester .size {
  padding: 0 0.5rem 0 0;
  display: none;
}

body main > header #tester .colors {
  display: flex;
  flex-wrap: wrap;
  width: 65px;
}

body main > header #tester .colors .color {
  width: 50%;
  padding: 0 0.5rem 0 0;
}

body main > header #tester .colors .color input {
  cursor: pointer;
}

body main > header #change-mode {
  right: 0;
  top: 0;
  width: 8rem;
  padding: 0.5rem 0.5rem 0.5rem 0.5rem;
  font-size: 14px;
  text-align: center;
  color: #cecece;
  background-color: #3111b9;
}

body main > header #change-mode:hover {
  cursor: pointer;
  background-color: #ff0000;
}

body main > header .tagLists {
  display: flex;
  flex-wrap: wrap;
  width: calc(100% - 12rem);
}

body main > header .tagLists .tagList.open h4 {
  color: #ff0000;
}

body main > header .tagLists .tagList.open > ul,
body main > header .tagLists .tagList > ul.hasOn {
  position: absolute;
  width: calc(25% - 2rem);
  border-bottom: solid 1px #ff0000;
  border-left: solid 1px #ff0000;
  border-right: solid 1px #ff0000;
}

body main > header .tagLists .tagList.open > ul li {
  display: block;
}

body main > header .tagLists .tagList > ul.hasOn li.on {
  display: block;
}

body main > header .tagLists .tagList {
  width: 25%;
}

body main > header .tagLists .tagList h4 {
  padding: 0.5rem;
}

body main > header .tagLists .tagList.sort h4::before {
  content: "⤷ ";
}

body main > header .tagLists .tagList:hover li {
  border-bottom: 1px solid #ff0000;
  display: block;
}

body main > header .tagLists .tagList:hover li:nth-last-child(1) {
  border-bottom: none;
}

body main > header .tagLists .tagList h4:hover {
  color: #ff0000;
  cursor: pointer;
}

body main > header .tagLists .tagList > ul {
  margin: 0;
  background-color: #cecece;
}

body main > header .tagLists .tagList > ul li {
  padding: 0 0.5rem 0 0.5rem;
  display: none;
}

body main > header .tagLists .tagList > ul li.on {
  display: block;
}

body main > header .tagLists .tagList > ul li:hover {
  cursor: pointer;
  color: #ff0000;
}

body main > header .tagLists .tagList > ul li::before {
  content: "◯ ";
  font-size: 0.8rem;
  padding: 0 1rem 0 0;
}

body main > header .tagLists .tagList > ul li.on:hover::before {
  color: #3111b9;
}

body main > header .tagLists .tagList > ul li.on::before,
body main > header .tagLists .tagList > ul li:hover::before {
  content: "◉ ";
}

body main #about {
  display: none;
}

body main #about #introduction {
  font-size: 20px;
  line-height: 1.1;
  width: 50%;
}

body main #about #credits {
  border-top: 1px solid;
  margin-top: 20px;
  width: 20%;
  right: 10%;
  font-size: 12px;
  line-height: 1.2;
}

body main #about #credits h3 {
  text-transform: uppercase;
  text-decoration: underline;
}

body main #about #credits .title {
  border-bottom: 1px solid;
}

body main #about.show {
  position: fixed;
  top: calc(3.5rem + 1px);
  z-index: 9999999999;
  display: block;
  background-color: #cecece;
  padding: 0.5rem 0.5rem 1rem 0.5rem;
  border-bottom: solid 1px #ff0000;
  width: 100%;
}

body main #fonts {
  -moz-column-width: 30vw;
  -webkit-column-width: 30vw;
  column-width: 30vw;
  -moz-column-gap: 1em;
  -webkit-column-gap: 1em;
  column-gap: 1em;
}

body main #fonts .font.hidden {
  display: none;
}

body main #fonts .font {
  z-index: 1;
  margin: 0 0 6rem 0;
  margin-bottom: 1em;
  padding: 1em;
  width: 100%;
  display: inline-block;
  border-bottom: 1px solid #ff0000;
}

body main #fonts .font header {
  width: 100%;
  margin: 0 0 1rem 0;
  display: flex;
  flex-wrap: wrap;
  border-bottom: none;
}

body main #fonts .font header h2 {
  font-size: 1.5rem;
  line-height: 2rem;
}

body main #fonts .font header h2 .name {
  text-decoration: underline;
  color: #3111b9;
}

body main #fonts .font header h2 a {
  color: #3111b9;
  font-size: 1.25rem;
}

body main #fonts .font header h2 a .icone {
  color: #ff0000;
}

body main #fonts .font header h2 a:hover .icone {
  color: #3111b9;
}

body main #fonts .font header h2 a:hover .name {
  color: #ff0000;
}

body main #fonts .font header h2 form {
  display: inline;
}

body main #fonts .font header h2 form input {
  display: inline-block;
  background-color: inherit;
  font-size: 1.5rem;
  transform: rotate(90deg);
  color: #ff0000;
}

body main #fonts .font header h2 form input:hover {
  color: #3111b9;
  cursor: pointer;
}

body main #fonts .font header ul {
  padding: 0.5rem 0 0 0;
  display: flex;
  flex-wrap: wrap;
}

body main #fonts .font header ul li {
  width: calc(100% / 3);
}

body main #fonts .font header ul .styles .title,
body main #fonts .font header ul .tags .title {
  color: #ff0000;
}

body main #fonts .font header .infos {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

body main #fonts .font header .infos > * {
  width: calc(100% / 3);
}

body main #fonts .font header .infos .name {
  display: inline-block;
  margin: 0 0 3rem 0;
}

body main #fonts .font header .infos .designer {
  margin: 0 0 0.5rem 0;
}

body main #fonts .font header .infos li {
  width: 33%;
}

body main #fonts .font header .infos li .title,
body main #fonts .font header .infos li .value {
  display: block;
}

body main #fonts .font header .infos li .title {
  color: #ff0000;
}

body main #fonts .font .display {
  width: 100%;
}

body main #fonts .font .display h4 {
  color: #ff0000;
  margin: 0 0 0.5rem 0;
}

body main #fonts .font .display .demo {
  width: 100%;
  border: 0;
  font-family: inherit;
  font-size: 100px;
  margin: 0 0 0.5rem 0;
}

body main #fonts .font .display .demo {
  background: transparent;
  width: 100%;
  border: 0;
  font-family: inherit;
  line-height: 110%;
  hyphens: auto;
}

body main #fonts .font .display .demo.letter,
body main #fonts .font .display .demo.word {
  display: block;
}

body main #fonts .font .display .demo.letter .text,
body main #fonts .font .display .demo.word .text {
  text-align: center;
}

body main #fonts .font .display .demo.letter .text {
  line-height: 90%;
  font-size: 20rem;
}

body main #fonts .font .display .demo.word .text {
  font-size: 10rem;
}

body main #fonts .font .display .demo.paragraph {
  font-size: 1.25rem;
}

body main.preview-mode > header #change-mode li[data-mode="preview-mode"] {
  display: none;
}

body main.preview-mode .demo.sentence .text {
  font-size: 5rem;
  display: block;
  line-height: 110%;
}

body main.preview-mode #fonts .font .display input {
  display: none;
}

body main.preview-mode #fonts .font .display .style {
  display: none;
}

body main.tester-mode > header #change-mode li[data-mode="tester-mode"] {
  display: none;
}

body main.tester-mode > header > #tester > .size {
  display: block;
}

body main.tester-mode #fonts {
  -moz-column-width: 90vw;
  -webkit-column-width: 90vw;
  -moz-column-gap: 0;
  -webkit-column-gap: 0;
}

body main.tester-mode #fonts .font > header .infos > * {
  width: calc(100% / 6);
}

body main.tester-mode #fonts .font .display {
  padding: 0;
}

body main.tester-mode #fonts .font .display .demo {
  position: relative;
  line-height: 0;
}

body main.tester-mode #fonts .font .display .text {
  display: none;
}

body main.tester-mode #fonts .font .display input {
  font-size: 7rem;
  font-family: inherit;
  color: inherit;
  width: 100%;
}

body main.tester-mode #fonts .font .display .style {
  font-family: 'notCourierReg';
  font-size: 11px;
  position: absolute;
  left: 0;
  bottom: 0;
  line-height: 0;
}

@media only screen and (max-width: 1300px) {
  html {
    font-size: 12px;
  }
}
