


:root {
  --pop-color: hsl(320, 100%, 70%);
  --darkpop-color: hsl(320, 100%, 40%);
  --accent-color: hsl(220, 100%, 70%);
}

html {
	font-family: "basic", Roboto, sans-serif;
	width: 100%;
	height: 100%;
	background: hsl(220, 7%, 70%);
	background-image: url("retina_wood.png");
}


body {
	position: absolute;
	margin: 0px;
	width: 100%;
	height: 100%;
}

@font-face {
	font-family: title;
	src: url(font/Sniglet-ExtraBold.ttf);
}
@font-face {
	font-family: code;
	src: url(font/CutiveMono-Regular.ttf);
}

@font-face {
	font-family: basic;
	src: url(font/Nunito-Regular.ttf);
}


.main-columns {
	display: flex;
	flex-direction: row;
}

main {
	position: absolute;
	height: 100%;
	width: 100%;
	display: flex;
	flex-direction: column;
}


.app {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;

}


.main {
	overflow: hidden;
	flex: 1;
	display: flex;
	flex-direction: column;
}

#app-header {
	background-color: hsla(50, 100%, 100%, 1);
	z-index: 50;
}

#app-content {
	overflow: hidden;
	flex: 1;
	border: 3px solid red;
	display: flex;
	flex-direction: row;
}

#main-sections {
	background-color: hsla(50, 100%, 80%, 1);

	flex: 1;
	display: flex;
	flex-direction: row;
}

#side-column {
	box-shadow: 0px 0px 10px rgba(0, 0, 0, .5);
	width: 200px;
	background-color: hsla(250, 100%, 70%, 1);
	display: flex;
	flex-direction: column;
}

.section-main {
	overflow:hidden;
	display: flex;
	flex-direction: column;
	flex: 1;
	margin: 10px;
	background-color: hsla(350, 100%, 70%, 1);
}

.work-view {
	display: flex;
	flex-direction: row;
}

.work-view .work-view-info {
	flex: 1;
}

.work-view .work-tags {
	width: 100%;
	background-color: hsla(250, 100%, 80%, 1);

}
.work-view .work-tags input {
	width: 100%;
}


.main-footer {
	padding: 4px 1px;
	width: 100%;
	text-align: right;
	font-size: 60%;
	opacity: 60%;
		background-color: hsla(250, 0%, 98%, 1);

}




.content {
	
	position: relative;
	z-index: 10;
	flex: 1;
	
	display: flex;
	flex-direction: column;

}

.header-image {
	padding: 3px;
	box-sizing: border-box;
	width: 64px;
	height: 64px;
}

.header-image img {
	box-sizing: border-box;
	width: 100%;
	height: 100%;
}


header {
	background-color: white;
	position: relative;
	z-index: 20;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	box-shadow: 0px 3px 3px rgba(0, 0, 0, .2);

}




.header-doublerow {
	flex-direction: column;
}


.header-main {
	display: flex;
	flex-direction: row;
	flex: 1;
}

.header-main-title {
	font-size: 200%;
	margin: 0px 0px -8px 0px;

}
.header-main-subsubtitle {
	margin: 0px 0px -3px 0px;
	
	font-size: 60%;
	font-style: italic;
	font-weight: bold;
	color: var(--pop-color);
}

.header-main-subtitle {
	margin: 0px 0px -3px 0px;
	font-size: 80%;
	font-style: italic;
	font-weight: bold;
	color: var(--pop-color);
}
.detail {
	display: inline-block;
	font-size: 70%;
	font-style: italic;
	font-weight: bold;
	color: var(--pop-color);
	background-color: hsla(320, 50%, 95%, 1)
}

.header-controls {
	display: flex;
	flex-direction: row;

	background-color: hsla(320, 50%, 50%, .3);
}

.header-top {
	box-sizing: border-box;
	min-height: 20px;
	display: flex;
	flex-direction: row;
	background-color: hsla(320, 50%, 50%, .3);

}

.header-tray {
	box-sizing: border-box;
	min-height: 20px;
	display: flex;
	flex-direction: row;
	background-color: hsla(220, 50%, 90%, 1);
	justify-content: flex-end;
}

.header-tray.vertical {
	flex-direction: column;
}

.header-thumbnail img {
	width: 64px;
	height: 64px;

}


/*---------------------*/
 
 /*Witch styles*/

 .section {
 	background-color: hsla(20, 90%, 97%, 1);
	box-shadow: 0px 2px 4px rgba(0, 0, 0, .4);
	padding: 2px 4px;
	margin: 2px;
	border-radius: 20px;
 }

 .cackle-card {
	display: block;
	width: 300px;
	background-color: hsla(220, 90%, 97%, 1);
	box-shadow: 0px 2px 4px rgba(0, 0, 0, .8);
	padding: 2px 4px;
	margin: 2px;
	border-radius: 10px;
}


.witch-card {
	display: block;
	width: 300px;
	background-color: hsla(20, 90%, 97%, 1);
	box-shadow: 0px 2px 4px rgba(0, 0, 0, .8);
	padding: 2px 4px;
	margin: 2px;
	border-radius: 10px;
}

/*---------------------*/
 
#popup {

	z-index: 50;
	
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: hsla(220, 50%, 20%, .5);
	
}

#popup-container {
	padding: 15px;
	min-height: 300px;
	min-width: 200px;
	border-radius: 14px;
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	background-color: hsla(220, 50%, 100%, 1);
	box-shadow: 0px 3px 10px rgba(0, 0, 0, .4);

}

.debug-log-message {
 	color: hsla(320, 100%, 40%, 1);
 	font-style: italic;
 	font-size: 80%;
}

.fade-enter-active {
  transition: opacity .2s;
}

.fade-leave-active {
  transition: opacity .5s;
}
.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
  opacity: 0;
}

.slide-leave-active,
.slide-enter-active {
  transition: .3s;
}
.slide-enter {
  transform: translate(100%, 0);
}
.slide-leave-to {
  transform: translate(100%, 0);
}


/*-----------------------------------------------------------*/
/* Main sections */

.column-work {
	flex: 1;
}
.column-files {
	
}

.column-filter {
	flex: .2;
}
.column-preview {
	flex: 1;

}

.column.column-browser {
	width: 700px;

}

.column-editor {
	min-width: 400px;
	flex: 1;

}

.column-simulator {
	width: 400px;

}


.column.column-files:focus-within {
	background-color: hsla(340, 90%, 45%, 1);
}
.column-editor {
	display: flex;
	flex-direction: column;
}

.user-settings {
	padding: 3px 6px;

	justify-content: center;
	display: flex;
	flex: 1;
}


.user-widget {
	
	display: flex;
	flex-direction: row;
}

.user-provider {
	color: var(--darkpop-color);
	
	font-size: 70%;
	
}

.user-data {
	padding: 4px;
}

/*-----------------------------------------------------------*/
/* Icons */
.icon-inline {
	display: inline-block;
	height: 32px;
	width: 32px;
	padding: 0px 0px 0px 0px;
	vertical-align: top;
}

.icon-flag {
	border-radius: 90px;
	background-color: hsla(0, 100%, 50%, 1);
	vertical-align: top;
}
.icon-inline.flag-true{
	
	background-color: hsla(170, 100%, 50%, 1);
}


.icon-button:active {
	top: 1px;
}
.icon-button {
	box-shadow: 0px 1px 3px rgba(0, 0, 0, .5);
	position: relative;
	border: none;
	margin: 2px;
	padding: 0px;
	border-radius: 40px;
	height: 24px;
	width: 24px;
	vertical-align: top;

}


.icon-button img {
	height: 100%;
	width: 100%;
}

.icon-inline img {
	height: 100%;
	width: 100%;
	vertical-align: top;
}

/* Tiles for the browse mode */
.tile.selected {
	box-shadow: 1px 2px 1px 10px rgba(0, 0, 0, .5);
}
.tile header {
	background-color: hsla(0, 0%, 100%, .8);
	box-shadow: 0px 0px 4px rgba(0, 0, 0, .4);
}
.tile-row {
	max-width: 400px;
	display: flex;
	flex-direction: row;
}

.tile-row header {
	display: flex;
}

.tile-square {
	display: inline-block;
	width: 150px;
	height: 150px;
}


.tile {
	position: relative;
	
	box-sizing: border-box;
	text-align: left;
	border-radius: 5px;
	
	margin: 4px;
	vertical-align: top;

	overflow: hidden;
	background-color: hsla(30, 90%, 99%, 1);

	box-shadow: 1px 2px 1px rgba(0, 0, 0, .5);
}
.tile-image {
	z-index: 0;
}


.tile-icon img {
	width: 16px;
	height: 16px;
}
.tile-icon {
	display: inline-block;
	margin: 2px;
	background-color: hsla(30, 90%, 99%, 1);
	position: relative;
	width: 16px;
	height: 16px;
	border-radius: 100px;
	box-shadow: 0px 1px 2px 2px rgba(0, 0, 0, .4);
}

.tile-icons {
	
	margin: 4px;

	right: 0px;
	top: 0px;
	position: absolute;
	z-index: 20;
}
.tile-icons img {
	

}
.tile-image img {
	width: 64px;
	height: 64px;
}	

.tile-square .tile-image {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}

.tile-square .tile-image img {
	position: absolute;
	width: 100%;
	height: 100%;
}	


.tile-square .tile-data { 
 	position: absolute;
 	
 	width: 100%;
 	left: 0px;
 	bottom: 0px;
}

.tile-data header { 
 	padding: 4px;
}


.tile-data {
	
	flex: 1;
	
}

/* Browser */

.work-browser {
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: row;
}

.work-browser-column {
	flex: 1;
	box-sizing: border-box;
	overflow: scroll;
}
.work-browser-column-filters {
	padding: 3px 6px;
	background-color: hsla(40, 10%, 95%, 1);
	box-shadow: 5px 0px 6px rgba(0, 0, 0, .2);
	flex: none;
	width: 30px;
}

.work-browser-column-filters.open {
	width: 200px;
}

.work-editor {
	flex: 1;

	display: flex;
	flex-direction: column;
}


.work-editor-json {
	flex: 1;
	padding: 4px;}

.json-editor {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.json-editor-holder {
	flex: 1;
}


.debug-view {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	border: 2px solid magenta;
	width: 100%;
	height: 100%;
}

.work-list {
	border: 2px solid magenta;
	flex: 1;
	overflow: scroll;
}

button {
	border-radius: 10px;
	background-color: hsla(190, 10%, 95%, 1);
}

.input-fullwidth {
	position: relative;
	
	width: 100%;
	box-sizing: border-box;
}
.inspector-desc {
	margin: 1px 3px;
	position: relative;
	box-sizing: border-box;

}
.inspector-tags {
	margin: 1px 3px;
	position: relative;
	box-sizing: border-box;

}
/* ------------------------------------------------------------------------- */
/* User formatting */

.user-displayname {
	font-weight: 900;

}


.user-username {
	
	color: hsla(220, 100%, 30%, 1);
	font-style: italic;
	font-weight: bold;
	font-size: 80%;
}
.user-uid {
	color: var(--pop-color);
	font-style: italic;
	font-size: 70%;
}


.label {
	color: var(--darkpop-color);
	font-style: italic;
	font-size: 70%;
}

.hidden-value {
	color: var(--darkpop-color);
	font-style: italic;
	font-size: 70%;
}
/* ------------------------------------------------------------------------- */
/* Media */

@media only screen and (max-aspect-ratio: 6/8) {
#main-sections {
    background-color: lightblue;
    flex-direction: column;
  }
