*{
	box-sizing: border-box;
}
html,body{
	padding:0;
	margin:0;
	height:100vh;
	font-size:9px;
	font-family:sans-serif;
	--bs-body-bg:#bfb48fAA;
	--main-color1:#bfb48f;
	--main-color2:#904e55;
	--main-color3:#564E58;
	--main-color3-light:#564E58AA;
	--highlight: rgb(0, 120, 215);
	--bs-body-font-family:'Manrope';
	--fbc-font-size:10px;
}
#timeline-buttons-link{
	display:none;
}
:not(.link).selected{
//outline:1px solid red !important;
}
.link.selected div{
border-color:var(--highlight) !important;
}
.timeline-label-svg.selected{
	outline:2px solid var(--highlight);
	outline-offset:3px;
}
#editor,#viewer{
margin: 1em;
margin-top:0;
flex-grow: 1;
display: flex;
flex-direction: column;
  background-size: 10px 10px;

}
#export-image{
	width:480px;
	height:225px;
	background-repeat:no-repeat;
	background-size:contain;
}
#export-image:not(.loaded){
	display:none;
}
#export-image.loaded + div{
	display:none;
}
#viewer{
height:100%;
background-image: linear-gradient(to right, #eeeeee 1px, #fff 1px), linear-gradient(to bottom, #eeeeee 1px, #fff 1px);
  border-radius: 5px;
  box-shadow: 0px 0px 5px #000;
}
#editor{
background-image:none;
font-family:var(--timeline-font,Arial);
}
#scroll-to-timeline{
	background:var(--main-color2);
	color:#fff;
	font-weight:bold;
	padding:5px;
	font-size:120%;
	position:absolute;
	left:25px;
	top:25px;
	cursor:pointer;
	z-index:9999;
	display:none;
}
.short-add-inputs{
	flex-grow:1;
	display:flex;
	flex-direction:column;
}
.short-add-inputs > div > div{
display:flex;
}
.short-add-inputs > div > div > div{
flex-grow:1;
border-bottom: 1px solid lightgray;
}
.short-add-inputs > div > div > span::before{
content:"to:";
position:absolute;
transform:translate(-50%, -50%);
background:#fff;
padding:0px 5px;
}
.short-add-inputs > div> div > span{
padding:0px 10px;
}
.short-add-time-container input:last-of-type, .short-add-inputs.unique-short-add > input:first-child{
	border-bottom-left-radius: 10px;
}
.short-add-inputs:not(.unique-short-add) > input:first-child{
	display:none;
}
.short-add-inputs.unique-short-add .input-daterange{
	display:none;
}
.short-add-inputs .input-daterange input:first-child{
	border-radius:0px;
}
.short-add-inputs input{
	width:100%;
	border: none;
	padding:5px 3px;
}
.timeline-button.short-add-button{
	border-bottom-right-radius: 10px;
	font-weight:bold;
}
.short-add-inputs:not(.unique-short-add) ~ .timeline-button.short-add-button{
	font-size:1.25rem;
}
.short-add-button span{
	padding:0 5px;
}
.short-add-time-container{
	display:flex;
}
#event-time-description{
	position:absolute;
	top:-9999px;
	left:-9999px;
	background:white;
	border:1px solid gray;
	z-index:500;
}
#editor-container{
	display:flex;
	flex-direction:column;
	height:100vh;
	width:100vw;
	position:fixed;
}
#editor-row{
	display:flex;
	flex-grow:1;
	min-height:0;
}

#right{
	display:flex;
	width:200px;
	position:sticky;
	flex-direction:column;
	padding-right: 5px;
}
.timeline-show-mobile{
	display:none;
}
#timeline-input-show-mobile{
	position:absolute;
	left:-9999px;
	top:-9999px;
}
@media only screen and (max-width: 600px) {
	#right{
		display:none;
	}
	#timeline-input-show-mobile:checked + #editor-container #right{
		display:flex;
	}
	#editor-header{
		display:flex;
	}
	#editor-header nav{
		flex-grow:1;
	}
	.timeline-show-mobile{
		display:block;
		padding: 20px 10px;
		height:100%;
	}
	.timeline-show-mobile div{
		height:100%;
		border-radius:0px;
		background: var(--main-color3-light);
		color: var(--main-color1);
	}
	.timeline-show-mobile label{
		cursor:pointer;
	}
	.timeline-show-mobile button{
		all:unset;
		height:100%;
		pointer-events:none;
	}
	.timeline-show-mobile span{
		transform:scale(2);
		display:block;
		transition:transform 0.5s;
	}
	#timeline-input-show-mobile:checked + #editor-container .timeline-show-mobile span{
		transform:scale(2) rotate(180deg);
	}
}
.event-point{
	cursor:grab;
}
:root .grabbing, :root .grabbing *{
	cursor:grabbing !important;
	user-select:none !important;
}
.custom-clr-segmented{
	border-bottom-right-radius: 0px;
	border-bottom-left-radius: 0px;
	border:none;
	border-bottom:1px solid var(--main-color1);
}
#right .clr-segmented input:checked + label{
	background:#904e55;
}
#right .clr-segmented label{
	background:#564E58;
	color:white;
}
.right-container{
border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
padding:3px;
color:white;
background:#564E58AA;
padding:3px;
flex-grow:0;
flex-shrink:1;
overflow-y:auto;
overflow-x:hidden;
min-height:0;
}
.btn-right{
color: #000;
  height: 2em;
  display: flex;
  align-items: center;
  background: var(--main-color1);
  border-radius: 9999px;
  padding: 5px;
  margin: 2px;
  cursor:pointer;
}
#edit-forms > div{
display:flex;
align-items:center;
gap:2ex;
}
#edit-forms > div > div:first-child{
flex-grow:1;
}
#edit-timeline-container > div.category-title{
	text-align:center;
	background:var(--main-color2);
	padding-left: 1ex;
}
#edit-timeline-container > div{
display:flex;
align-items:center;
gap:2ex;
}
#edit-timeline-container > div > div:first-child{
flex-grow:1;
}
nav .icon{
filter: brightness(0);
}
#list-events-container{
overflow-y: auto;
display:none;
flex-direction:column;
}
#list-events{
flex-grow:1;
margin:0;
padding:0;
}
#list-events li{
	list-style-type:none;
	margin:0;
	padding:3px 1px;
}
#list-events li:nth-of-type(2n){
	background:gray;
}
.event-info-title, .break-info-title{
	display:flex;
	line-height:1.3em;
}
.event-info-title::before, .break-info-title::before{
	content:"";
	background-image:url(icons/event.svg);
	background-size:contain;
	width:1.3em;
	vertical-align:middle;
	height:1.3em;
	line-height:normal;
	margin-right:3px;
}
#svg-bg{
	overflow:visible;
}
.break-info-title::before{
	background-image:url(icons/timeline-break.svg);
}
.event-info-title > span:first-of-type, .break-info-title > span:first-of-type{
	flex-grow:1;
}
.event-info-linked-text{
	display:-webkit-box;
	-webkit-line-clamp:1;
	-webkit-box-orient:vertical;
	line-height:1.3em;
	text-overflow:ellipsis;
	overflow-x: hidden;
	white-space: nowrap;
	font-family:monospace;
}
.event-info-linked-text::before{
	line-height:normal;
	width:1.3em;
	height:1.3em;
	content:"";
	background-image:url(icons/text-box.svg);
	background-size:contain;
	display:inline-block;
	vertical-align:middle;
	margin-right:3px;
}
.elements-row{
	display:flex;
}
.range-input{
	display:flex;
	gap:1ex;
	align-items: center;
}
.range-input input:first-child{
	flex-grow:1;
}
.range-input input:last-child{
	flex-grow:0;
	width:4em;
	align-self: center;
}
.margin-element{
	width:40px;
	background:darkgreen;
	height:40px;
	margin-top:2em;
	position:relative;
}
.element{
	flex-grow:1;
	background:darkgreen;
	height:40px;
	margin-top:2em;
	position:relative;
	display:flex;
}
.moveable-line{
	cursor:move;
}
#edit-timeline-container{
	display:none;
}
.link{
	pointer-events:none;
	position:absolute;
	z-index:600;
	--link-size:1px;
	--link-type: solid;
	color:black;
}
.link div:first-child div{
height: calc(var(--link-size, 1px) + 10px);
  position: absolute;
  bottom: calc(-1 * (var(--link-size, 1px) + 5px));
left:0px;
right:0px;
cursor:row-resize;
pointer-events:all;
}
.link > div:first-child{
	position:relative;
	border-bottom:var(--link-size) var(--link-type) currentColor;
	height: calc( var(--link-top,50) * 1% );
}
.link > div:last-child{
	height: calc( 100% - var(--link-top,50) * 1% );
}
.link.link-left > div:first-child{
	border-left:var(--link-size) var(--link-type) currentColor;
	position:relative;
}
.link.link-left > div:last-child{
	border-right:var(--link-size) var(--link-type) currentColor;
	position:relative;
}
.link.link-right > div:first-child{
	border-right:var(--link-size) var(--link-type) currentColor;
}
.link.link-right > div:last-child{
	border-left:var(--link-size) var(--link-type) currentColor;
	position:relative;
}
.frequency{
	flex-grow:1;
	height:100%;
	position:relative;
	background:lightgreen;
}
.frequency:nth-child(2n){
	background:green;
}
.frequency::before, .margin-element[data-start]::before{
	content:attr(data-label);
	position:absolute;
	bottom:1px;
	left:0px;
	transform:translateY(100%);
	border-left:1px solid black;
}
.event-break + .frequency::before, .event-break + .margin-element[data-label]::before{
	left:-1px;
}
.text-zone{
	width:200px;
	height:50px;
	border:1px solid black;
	position:absolute;
	background:white;
	overflow:hidden;
	padding:2px;
	overflow-wrap:anywhere;
	z-index: 800;
}
/* Z-index :
	500: Events
	600: Link
	800: Text Zones
*/
.timeline-label{
	position:absolute;
	font-weight:bold;
}
.timeline-label-backward{
	transform:translateX(-100%);
}
.timeline-label-inside-svg{
	font-weight:bold;
}
.timeline-label-svg{
	cursor:default;
	user-select:none;
	opacity:var(--timeline-label-opacity, 1);
}
.timeline-frequency-svg.selected{
	stroke:var(--highlight);
}
.timeline-tick-svg{
	font-size:16px;
	font-weight:bold;
}
.timeline-tick{
	height:10px;
	border-left:1px solid currentColor;
	position:absolute;
}
.text-zone:focus{
	cursor:initial;
}
.event-point.selected{
	fill:var(--highlight) !important;
}
.event-period.selected{
	stroke:var(--highlight) !important;
}
.event-period{
    cursor: grab;
}
.event-break{
	width:10px;
	height:100%;
	position:relative;
	background:white;
	border-left:1px solid black;
	border-right:1px solid black;
	z-index:590;
}
.event-break::before{
	content: attr(data-label);
	position:absolute;
	left:0;
	bottom:1px;
	transform:translateY(100%) translateX(-100%);
	border-right:1px solid black;
	padding-right:2px;
}
.arrow{
	flex-grow:0;
	width:0;
	height:0;
	border-top: 40px solid transparent;
	position:relative;
  border-bottom: 40px solid transparent;
  
  border-left: 30px solid darkgreen;
}
/*#editor .selected::after{
	content:"";
	display: block;
	position: absolute;
	top: -3px;
	bottom: -3px;
	left: -3px;
	right: -3px;
	z-index:99;
	pointer-events:none;
	border:2px solid #4af;
}*/

/**** BORDER SELECT ****/

.border-select-container button::before{
	content:"";
	background-image:url(../icons/border-all.svg);
	background-size:cover;
	width:1.5em;
	display:inline-block;
	height: 1.5em;
	vertical-align: middle;
}
.border-select-container div + div button::before{
	background-image:url(../icons/color-text.svg);
}
.border-select-container button{
	position:static !important;
	transform:initial !important;
	width:auto !important;
	height:auto !important;
	pointer-events:initial !important;
	text-indent:0 !important;
}
.border-select-container button::after{
	content:initial !important;
}
.border-select-container input{
	opacity:0;
	width:0;
	padding: 2 0px;
	border: none;
}
body.border-select-open .clr-picker{
	justify-content:start;
}
body:not(.border-select-open) .clr-picker .border-color-element{
	display:none;
}
body .clr-picker .range-input{
	color:#000;
}
body.border-select-open .clr-picker .border-color-element{
	margin-left:5px;
}
body.border-select-open .clr-picker .clr-format.border-color-element{
	display:block;
	order:0;
	margin: 10px 20px;
}
body.border-select-open .clr-custom-transparent, body.text-select-open .clr-custom-transparent{
	display:none;
}
.clr-segmented input:checked + label img{
	filter: invert(1);
}
body.border-select-open .clr-picker img{
	width:2em;
}
.border-color-select{
color:#000;
font-weight:bold;
margin:5px 5px;
}
body.border-select-open:not(.border-select-edit-color) .clr-picker .border-color-select ~ *{
	display:none !important;
}
body:not(.text-select-open) .clr-custom-default{
	display:none;
}
.clr-custom-button {
  order: 2;
  height: 24px;
  margin: 0 20px 20px 0;
  padding: 0 20px;
  border: 1px solid #ddd;
  border-radius: 12px;
  color: #444;
  background-color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
}
.clr-custom-button:hover{
	background-color:#666;
	color:#fff;
	border-color:#666;
}

/**** NAV ****/
nav{
	font-size:14px;
}
.toolbar-group-container{
	display:flex;
	border:1px dotted transparent;
	overflow-x:auto;
}
.toolbar-group-container:focus{
	border-color:#333;
}
.toolbar-group{
	display:flex;
	flex-direction:column;
	border-right: 1px solid rgb(204, 204, 204);
	padding-left:2px;
	padding-right:2px;
	min-width:-webkit-max-content;
	min-width:-moz-max-content;
	min-width:max-content;
}
.toolbar-groups{
	display:flex;
	transition:width 0.3s;
	flex-shrink:0;
	overflow-x:hidden;
}
.toolbar-group > :not(:last-child){
	flex-grow:1;
}
.toolbar-group:last-child{
	border-right:none;
}
.toolbar-groups .toolbar-group:last-child{
	border-right:1px solid rgb(204,204,204);
}
.toolbar-group .group-col, .toolbar-group .group-row{
	display:flex;
	flex-direction:column;
	list-style-type:none;
	padding:0;
	margin:0;
}
.toolbar-group .group-col > *, .toolbar-group .group-row > *, .toolbar-group .dropdown > *{
	flex-grow:1;
}
.toolbar-group .dropdown{
	display:flex;
	margin:0;
}
.toolbar-group .group-row{
	flex-direction:row;
}
.toolbar-group button:not(.btn-caret):only-of-type > span:first-child, .sole-button > span:first-child{
	font-size:2.2rem;
}
.toolbar-group button:not(.btn-caret):only-of-type > *:last-child, .sole-button > *:last-child{
	font-size:1rem;
	padding-top:2px;
}
.toolbar-group button:not(.btn-caret):only-of-type > span, .sole-button > span{
	text-align:center;
	display:block;
}
.toolbar-group button:not(.btn-caret):only-of-type > img, .sole-button > img{
	display:block;
	margin:auto;
	width:2.5rem;
	height:2.5rem;
}
.toolbar-group button:not(.btn-caret):only-of-type > * + span:last-child, .sole-button > * + span:last-child{
	width:8ex;
	line-height:1rem;
}
.toolbar-group button:not(:only-of-type):not(.sole-button) img, .toolbar-group button:not(:only-of-type):not(.sole-button) > .glyphicon{
	font-size:1.4rem;
	width:1.4rem;
	height:1.4rem;
	margin-right:3px;
}
.toolbar-group select{
	padding:2px!important;
	height:20px!important;
	line-height:20px!important;
}
.submenu{
	display:none;
	background:white;
	position:absolute;
	border:1px solid black;
	z-index:9999;
}
.submenu.visible{
	display:block;
}
.submenu li, .submenu ul{
	list-style-type:none;
	padding:0;
	margin:0;
}
.submenu input{
	display:none;
}
.submenu input:checked + *{
background:var(--highlight);
}
.toolbar-group button, .top-menu-btn, .btn-reset{
	appearance:none;
	-webkit-appearance:none;
	-moz-appearance:none;
	-o-appearance:none;
	-ms-appearance:none;
	background:none;
	border:1px dotted transparent;
	cursor:pointer;
	outline:none;
	padding-left:1px;
	padding-right:1px;
	text-align:left;
	font-size:smaller;
	touch-action:manipulation;
	font-size:0.75em;
}
#status-bar{
display:flex;
align-items: center;
}
#status-bar-left{
flex-grow:1;
padding-left:5px;
}
.cross-icon::before{
	display: inline-block;
	content: "";
	background-image: url("data:image/svg+xml,%3Csvg class='bi bi-x' width='1em' height='1em' viewBox='0 0 16 16' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' d='M11.854 4.146a.5.5 0 010 .708l-7 7a.5.5 0 01-.708-.708l7-7a.5.5 0 01.708 0z' clip-rule='evenodd'/%3E%3Cpath fill-rule='evenodd' d='M4.146 4.146a.5.5 0 000 .708l7 7a.5.5 0 00.708-.708l-7-7a.5.5 0 00-.708 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: 1.9em 1.9em;
	color: darkgray;
	position: absolute;
	width: 1.9em;
	left:-0.2em;
	top:-0.2em;
	height: 1.9em;
}
.cross-icon{
	position:relative;
}
#right .icon{
	cursor:pointer;
	height:1.2em;
}
.toolbar-group button:hover, .top-menu-btn:hover, #right .icon:hover{
	background:#ddd;
}
.toolbar-group button.active, .top-menu-btn.active, #right .active{
	background:#aaa;
}
.toolbar-group button:hover + button.btn-caret{
	background:#ddd;
	box-shadow:inset 0 3px 5px rgba(0,0,0,.05);
}
.toolbar-group button:active, .toolbar-group button:focus, .top-menu-btn:active, .top-menu-btn:focus{
	outline:none;
	//background:none;
	padding-left:1px;
	padding-right:1¸px;
}
.toolbar-group button:active, .toolbar-group button:focus, .top-menu-btn:active, .top-menu-btn:focus{
	background:#ccc;
}
.toolbar-group button.active:focus, .toolbar-group button.active:active{
	background:#999;
}
.toolbar-group button:focus, .top-menu-btn:focus{
	border-color:#333;
}
.toolbar-group > span{
	display:block;
	padding-left:4px;
	padding-right:4px;
	border-top:1px solid rgb(204, 204, 204);
	font-size:xx-small;
	text-align:center;
}

/************** TIMELINE NAV ***********************/

#timeline-nav{
  padding: 20px 10px;
  white-space: nowrap;
  max-width: 100%;
  overflow-x: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
#timeline-nav::-webkit-scrollbar { 
  display: none;
}
.timeline-button-group{
	border-radius:100vh;
	background:var(--main-color2);
	display:inline-block;
	padding:0px 15px;
}
#timeline-nav button, .timeline-button{
	appearance:none;
	-webkit-appearance:none;
	-moz-appearance:none;
	-o-appearance:none;
	-ms-appearance:none;
	background:none;
	color:white;
	border:1px dotted transparent;
	font-weight:bold;
	cursor:pointer;
	outline:none;
	padding-left:1px;
	padding-right:1px;
	text-align:left;
	font-size:smaller;
	touch-action:manipulation;
	font-size:0.75em;
	padding:5px 1px;
	background:var(--main-color2);
}
#timeline-nav button:hover, timeline-button:hover, #timeline-nav button.active, .timeline-button.active{
	background:rgba(0,0,0,0.2);
}
#timeline-nav button:active *, .timeline-button:active *{
	transform:translateY(1px);
}
#timeline-nav button img, .timeline-button img{
	height:1.5em;
	padding-right:3px;
}
/*INPUT RANGE*/
input[type=range] {
  height: 36px;
  -webkit-appearance: none;
background:transparent;
  width: 100%;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 0px 0px 1px #000000;
  background: var(--main-color1);
  border-radius: 5px;
}
input[type=range]::-webkit-slider-thumb {
appearance:none;
box-shadow: 0px 0px 1px #000000;
  border: none;
  height: 20px;
  width: 10px;
  border-radius: 6px;
  background: var(--main-color2);
  cursor: pointer;
  transform:translateY(-33%);
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 0px 0px 1px #000000;
  background: var(--main-color2);
  border-radius: 5px;
}
input[type=range]::-moz-range-thumb {
  box-shadow: 0px 0px 1px #000000;
  border: none;
  height: 20px;
  width: 10px;
  border-radius: 6px;
  background: var(--main-color1);
  cursor: pointer;
}
/* Background cycle*/
#background-cycle{
	display: grid;
	grid-template-columns: auto auto auto;
}
#background-cycle > div{
	position:relative;
}
#background-cycle > div:last-child{
	background:#fff;
	color:#000;
	font-weight:bold;
	font-size:140%;
	text-align:center;
	display: flex;
	justify-content: center;
	align-content: center;
	flex-direction: column;
	cursor:pointer;
}
#background-cycle > div:last-child span{
	//position:absolute;
}
#background-cycle .clr-field input{
	width:100%;
}
#background-cycle .clr-field button{
	width:100%;
	height:100%;
}
#background-cycle .background-cycle-btns{
	position:absolute;
	top:0;
	right:0;
}
#background-cycle .background-cycle-btns button{
	all: unset;
	cursor: pointer;
	background:var(--main-color2);
	color:#fff;
	border-radius:100%;
	width:1.1em;
	height:1.1em;
	line-height:1.1em;
	text-align:center;
	margin-right:1px;
}
#background-cycle .background-cycle-btns button:last-child{
	margin-right:0;
}
/* DROPDOWN */

.select-input {
	 margin-bottom: 1em;
	 min-width: 12em;
	 position: relative;
	 display: inline-block;
	 min-height: 2em;
	 max-height: 2em;
	 overflow: hidden;
	 top: 0.5em;
	 cursor: pointer;
	 text-align: left;
	 white-space: nowrap;
	 color: #000;
	 outline: none;
	 border: 0.06em solid transparent;
	 border-radius: 1em;
	 background-color: #fff;
	 transition: 0.3s all ease-in-out;
}
 .select-input input:focus + label {
	 background: #def;
}
 .select-input input {
	 width: 1px;
	 height: 1px;
	 display: inline-block;
	 position: absolute;
	 opacity: 0.01;
}
 .select-input label {
	 border-top: 0.06em solid #d9d9d9;
	 display: block;
	 height: 2em;
	 line-height: 2em;
	 padding-left: 1em;
	 padding-right: 3em;
	 cursor: pointer;
	 position: relative;
	 transition: 0.3s color ease-in-out;
}
 .select-input label:nth-child(2) {
	 margin-top: 2em;
	 border-top: 0.06em solid #d9d9d9;
}
 .select-input input:checked + label {
	 display: block;
	 border-top: none;
	 position: absolute;
	 top: 0;
	 width: 100%;
}
 .select-input input:checked + label:nth-child(2) {
	 margin-top: 0;
	 position: relative;
}
 .select-input::after {
	 content: "";
	 position: absolute;
	 right: 0.8em;
	 top: 0.9em;
	 border: 0.3em solid var(--main-color2);
	 border-color: var(--main-color2) transparent transparent transparent;
	 transition: 0.4s all ease-in-out;
}
 .select-input.expanded {
	 border: 0.06em solid var(--main-color2);
	 background: #fff;
	 border-radius: 0.25em;
	 overflow:auto;
	 padding: 0;
	 box-shadow: rgba(0, 0, 0, 0.1) 3px 3px 5px 0px;
	 max-height: 15em;
}
 .select-input.expanded label {
	 border-top: 0.06em solid #d9d9d9;
}
 .select-input.expanded label:hover {
	 color: var(--main-color2);
}
 .select-input.expanded input:checked + label {
	 color: var(--main-color2);
}
 .select-input.expanded::after {
	 transform: rotate(-180deg);
	 top: 0.55em;
}


@-webkit-keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
/****** TUTORIAL *******/
#tutorial-slide{
	position:absolute;
	left:50%;
	top:50%;
	transform:translate(-50%, -50%);
	background:white;
	z-index:9999;
	width: max-content;
	padding:10px;
	border-radius:5px;
	display:none;
	font-size:120%;
	max-width:20vw;
	min-width:180px;
}
#tutorial-commands{
	display: flex;
	gap: 1ex;
	justify-content: flex-end;
	padding-top:5px;
}
#debug-bar{
	visibility:hidden;
}
.debug #status-bar-left:hover #debug-bar{
	visibility:visible;
}
#tutorial-commands button{
	all:unset;
	cursor:pointer;
	font-weight:bold;
}
#tutorial-commands #tutorial-next{
	color:var(--main-color2);
}

#tutorial-overlay{
	position:fixed;
	z-index:9998;
	background:rgba(0,0,0,0.5);
	left:0;
	right:0;
	bottom:0;
	top:0;
	display:none;
}