@font-face{src:url(/fonts/iAWriterQuattroS-Regular.woff2);font-family:Quattro;font-style:normal;font-weight:400}@font-face{src:url(/fonts/iAWriterQuattroS-Bold.woff2);font-family:Quattro;font-style:normal;font-weight:700}@font-face{src:url(/fonts/iAWriterQuattroS-Italic.woff2);font-family:Quattro;font-style:italic;font-weight:400}@font-face{src:url(/fonts/iAWriterQuattroS-BoldItalic.woff2);font-family:Quattro;font-style:italic;font-weight:700}

html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	overflow-y: auto;
}

body {
	background-color: rgb(255 250 240);
	font-family: "Quattro";
}

body.dark {
	background-color: rgb(0 0 0);
	color: #FFFFFF;
}

#studio-logo {
	position: fixed;
	top: 20px;
	left: 20px;
	width: 50px;
	height: 50px;
}

#title {
	position: fixed;
	writing-mode: vertical-lr;
	text-orientation: sideways;
	top: 90px;
	left: 32px;
}

.container {
	position: absolute;
	left: 70px;
	max-width: calc(100% - 70px);
}

.container > div {
	box-sizing: border-box;
	padding: 20px;
}

.card-list {
	--card-color: #FFFFFF;

	flex: 0 0 1;
	width: 300px;
	display: flex;
	flex-wrap: wrap;
	margin-right: 20px;
	justify-content: start;
	align-items: start;
	/* overflow-y: auto;
	overflow-x: visible; */
}

.card {
	

	flex: 0 0 1;
	display: flex;
	margin: 0;
	position: relative;
	background: var(--card-color);
	border: 1px solid #000;
	width: 100%;
	/* height: 50px; */
	border-radius: 8px;
	overflow: hidden;
	margin-top: -10px;

	margin: 10px 0px;

	border: 1px solid #FFFFFF;
}
body.dark .card-list {
	--card-color: #224488;
}
.card-list:first-child {
	--card-color: #522204 !important;
}
.card .handle {
	flex: 0 0 1;
	width: 12px;
	border: 5px solid var(--card-color);
	border-top-width: 10px;
	border-bottom-width: 10px;
	background: transparent;
	background-image: radial-gradient(#FFFFFF 1.2px, transparent 0);
	background-size: 6px 6px;
	/* background-position: -1px -1px; */
	cursor: move;
}

.card textarea {
	flex: 1;
	border: none;
	outline: none;
	background: none;
	/* margin: 0px 0px 0px 30px; */
	/* width: calc(100% - 30px);
	height: calc(100%); */
	/* background: #EEE; */
	resize: none;
	border-left: 1px solid #FFFFFF;
	transition: all .15s;
	font-family: "Quattro";
	padding: 10px 10px;
	box-sizing: border-box;

}
body.dark .card textarea {
	color: #FFFFFF;
}

.card textarea{
	height: 100px;
}

.progress-bar {
	width: 500px;
	height: 15px;
	border-radius: 8px;
	background: #000000;
	border: 1px solid #000000;
	margin-bottom: 8px;
	overflow: hidden;
	/* margin-bottom: 50px; */
}
body.dark .progress-bar {
	border-color: #FFFFFF;
}

.progress-bar-fill {
	height: 100%;
	background: #FFFFFF;

	animation-name: fill;
  	animation-duration: 4s;
	/* animation-play-state: paused; */
}

.progress-bar:active .progress-bar-fill {
	animation-play-state: running;
}

@keyframes fill {
	0% {
		width: 0% !important;
	}
	50% {
		width: 100% !important;
	}
	100% {
		width: 0% !important;
	}
}

.sortable-chosen {
	/* background: #555555 !important; */
}

.sortable-ghost {
	/* background: #004488 !important; */
	filter: blur(10px) !important;
	mix-blend-mode: screen;
}
.sortable-ghost > * {
	visibility: hidden;
}



.hbox {
	flex: 1;
	display: flex;
	align-items: start;
	justify-content: start;
}

.vbox {
	flex: 1;
	display: flex;
	flex-direction: column;
	max-height: 100%;
	box-sizing: border-box;
}


.mode {
	display: inline-flex;
	align-items: center;
	padding: 3px;
	/* border: 1px solid #FFFFFF; */
	cursor: pointer;
}
.mode svg {
	opacity: 0.5;
	border: 1px solid transparent;
	border-radius: 3px;
}
.mode input[checked] + svg {
	background: #000000;
	border: 1px solid #000000;
	opacity: 1;
	filter: invert();
}

/* .mode input[checked] + svg * {
	background: #FFFFFF;
	border: 1px solid #FFFFFF;
	opacity: 1;
} */


.container[data-mode="smol"] .card {
	margin-bottom: 0px;
}
.container[data-mode="smol"] .card textarea:not(:focus) {
	height: 40px !important;
}

.container[data-mode="cozy"] .card textarea:not(:focus) {
	height: 100px !important;
}

.disable-transitions {
	transition: none !important;
}


.card textarea.invisible {
	height: 0 !important;
	opacity: 0 !important;
	position: absolute;
	pointer-events: none;
	width: calc(100% - 22px);
	/* visibility: hidden; */
	/* padding: 0; */
	/* z-index: -1; */
	top: 0;
	left: 0;
	/* background: # */
}


.card-list button.new-card {
	width: 100%;
	height: 50px;
	border: 1px solid #FFFFFF;
	border-radius: 8px;
	background: none;
	outline: none;
	margin-top: 20px;
	opacity: 0.5;
	color: #FFFFFF;
	font-size: 18px;
	font-weight: thin;
	transition: all .1s, color .25s;
	font-family:'Courier New', Courier, monospace;
	margin-bottom: 200px;
}

.card-list button.new-card:hover {
	background: var(--card-color);
	cursor: cell;
	opacity: 0.8;
	/* color: #FFFFFF55; */
}

/* body.dark .card {
	--card-color: #224488;
}
.card-list:first-child .card {
	--card-color: #522204;
} */


h2 {
	font-size: 12pt;
	font-weight: normal;
	margin: 10px 0px;
}

.card-list:not([data-editable="true"]) textarea {
	pointer-events: none;
}

.card textarea {
	min-height: 40px;
}