body {
    position: fixed;
    top: 0px;
    left: 0px;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body:not(.debug) .debug {
    display: none;
}

body.debug div:not(.centerLine) {
    border: 1px solid green;
}

.hideBody{
	display: none;
}

@font-face {
  font-family: "Alfarn2";
  src: url("/data/celines-fonts/Alfarn2.otf") format("OpenType")
}

@font-face {
  font-family: "VariableIcons";
  src: url("/web/fonts/variabletimeicons-Regular.otf") format("OpenType")
}

@font-face {
  font-family: "vtVF";
  src: url("/web/fonts/vtVF.ttf") format("TrueType");
}

@font-face {
  font-family: "OPS-Cubic";
  src: url("/data/fonts/OPSCubic-Regular.otf") format("OpenType")
}

@font-face {
  font-family: "CarmenisTrial-Regular";
  src: url("/data/celines-fonts/CarmenisTrial-Regular.ttf") format("TrueType")
}

@font-face {
  font-family: "Cottagecore";
  src: url("/data/celines-fonts/Cottagecore.ttf") format("TrueType")
}

@font-face {
  font-family: "DarkAcademia-Regular";
  src: url("/data/celines-fonts/DarkAcademia-Regular.ttf") format("TrueType")
}

@font-face {
  font-family: "Lilian-Ampersand-beta-0321-Regular";
  src: url("/data/celines-fonts/Lilian-Ampersand-beta-0321-Regular.ttf") format("TrueType")
}

@font-face {
  font-family: "Rudi15-1";
  src: url("/data/celines-fonts/Rudi15-1.otf") format("OpenType")
}

@font-face {
  font-family: "Tonka_Beta_02-DemiExtended";
  src: url("/data/celines-fonts/Tonka_Beta_02-DemiExtended.ttf") format("TrueType")
}

@font-face {
  font-family: "Tonka";
  src: url("/data/celines-fonts/Tonka_Beta_07VF.ttf") format("TrueType")
}

@font-face {
  font-family: "tonkaflowers-Regular";
  src: url("/data/celines-fonts/tonkaflowers-Regular.otf") format("OpenType")
}

@font-face {
  font-family: "Version-4-var";
  src: url("/data/celines-fonts/Version-4-var.ttf") format("TrueType");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Version-3-var";
  src: url("/data/celines-fonts/Version-3-var.ttf") format("TrueType");
  font-weight: 100 1000;
  font-display: swap;
  /*animation: fontWeightAnimation 15s infinite ease-in-out ;*/
}

@font-face {
  font-family: "Version-2-var";
  src: url("/data/celines-fonts/Version-2-var.ttf") format("TrueType");
  font-weight: 100 1000;
  font-display: swap;
  /*animation: fontWeightAnimation 15s infinite ease-in-out;*/
}

@font-face {
  font-family: "Version-1-var";
  src: url("/data/celines-fonts/Version-1-var.ttf") format("TrueType");
  font-weight: 100 1000;
  font-display: swap;
  /*animation: fontWeightAnimation 15s infinite ease-in-out ;*/
}

#content {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    cursor: grab;
}

.textObject{
  font-family: "Version-2-var";
  font-size: 10em;
  font-variation-settings: "wght" 375;
  right: 0px;
  top: 20px;
  position: absolute;
  max-width: 50%;
  line-height: 1.1em;
  z-index: 1;
  box-sizing: border-box;
}

.textObject:hover .header {
    display: flex;
}

.textObject .header {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    padding: 2px;
    background-color: blue;
    color: white;

    font-family: sans-serif;
    font-size: 11px;
    line-height: 11px;
    z-index: 10;
}

.textObject .header .move,
.textObject .header .duplicate,
.textObject .header .delete {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: move;
    padding: 4px;
    width: 100%;
    border: 1px solid red;
}

.textObject .text {
    position: absolute;
    z-index: 9;
    box-sizing: border-box;
}
.textObject:hover .text.original {
    border: 1px solid red;
}
.textObject:hover .text.mirror_x,
.textObject:hover .text.mirror_y,
.textObject:hover .text.mirror_xy {
    opacity: 0.5;
}

.panel{
  font-size: 10em;
  right: 0px;
  bottom: 10px;
  position: absolute;
  background-color: transparent;
  height: fit-content;
  display: flex;
  z-index: 1000;
}
.panel .header {
    flex-direction: column;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    padding: 2px;
    background-color: blue;
    display: none;
    color: white;

    font-family: sans-serif;
    font-size: 11px;
    line-height: 11px;
}

.panelWrapper:first-child{
    order: 0;
}
.panelWrapper{
    display: flex;
    flex-direction: column;
}

.panel button{
    padding: 5px;
    box-sizing: border-box;
    white-space: nowrap;
    border: none;
    background: white;
    font-family: "Tonka";
    margin-right: 10px;
}
.panel button:hover{
    background-color: #DADADB;
}

.panel .header .move {
    display: flex;
    cursor: move;
}

.exporterChild *{
    font-family: "Tonka";
}
.exporterChild{
    background-color: white;
    min-width: 50%;
    min-height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0px 15px;
}

#loader,
#exporter {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgba(0,0,0,0.5);
}

.loaderChild{
    text-align: center;
}
.loaderChild h1{
    font-size: 1em;
    font-family: 'Tonka';
}

#exporter {
    display: none;
    z-index: 1000;
}

#loader {
    display: flex;
    z-index: 1005;
    font-family: 'monospace';
    background: white;
}

#loader #loader_progress,
#loader #loader_progress_task,
#exporter #export_progress,
#exporter #export_progress_task {
    font-family: 'Tonka';
    background-color: white;
}
.exportButtonsCont button{
    margin: 25px;
    background-color: #91919177;
    border: none;
    cursor: pointer;
    padding: 7px 15px;
    border-radius: 0px;
    font-size: 1em;

}
.exportButtonsCont{
    display: flex;
}

#player {
    display: none;
    position: relative;
    max-width: 80%;
    max-height: 80%;
}
/*.fontFamilyWrapper{
    order: 0;
}
.fontSizeWrapper{
    order: 1;
}
.etterSpacingWrapper{
    order: 2;
}
.lineHeighWrapper{
    order: 3;
}
.textWrapper{
    order: 4;
}
.fontVariationAxesContWrapper{
    order: 5;
}
.xWrapper{
    order: 6;
}
.yWrapper{
    order: 7;
}
.alignButtonsHorizontal{
    order: 8;
}
.alignButtonsVertical{
    order: 9;
}*/

#midiController {
  display: none;
  position: absolute;
  top: 20px;
  left: 20px;
  width: 50%;
  height: 25%;
  background: yellow;
  z-index: 1001;
}
#midiController .midiMessages {
  overflow-y: scroll;
}
#midiController .buttons div {
  cursor: pointer;
}
#timeline {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 20px;
    padding: 0px;
    margin: 0px;
    background: grey;
    z-index: 1002;
}
#timeline_head {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 20px;
    height: 20px;
    padding: 0px;
    margin: 0px;
    background: black;
    z-index: 1002;
}
