

@font-face { font-family: "UI-Light";   src: url("../fonts/EncodeSansSemiExpanded-Light.ttf");  }
@font-face { font-family: "UI-Regular"; src: url("../fonts/EncodeSansSemiExpanded-Regular.ttf");  }
@font-face { font-family: "UI-Bold";    src: url("../fonts/EncodeSansSemiExpanded-Bold.ttf"); }
@font-face { font-family: "UI-Black";   src: url("../fonts/EncodeSansSemiExpanded-Black.ttf");   }

:root {
	/* --accentGreen: #00b300; */
	--accentGreen: #08c208;
	--xxbackground: #262626; /* defined in App.svelte */
}


*, *:after, *:before {
	-webkit-box-sizing: border-box;
			box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
  }


html, body {
	margin: 0;
	width: 100%;
	height: 100%;
	padding: 0em;
	user-select: none;
	position: relative;
	/* background-color: rgba(0,64,128,0.1); */
}

body {
	color: white;
	box-sizing: border-box;
	font-family: "UI-Regular";
}

a {
	color: rgb(0,100,200);
	text-decoration: none;
}

a:hover {
	text-decoration: none;
	cursor: pointer;
	text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

a:visited {
	color: rgb(0,80,160);
}

label {
	display: block;
}

input, button, select, textarea {
	margin: 0;
	border-radius: 2px;
	font-size: inherit;
	font-family: inherit;
	padding: 0.4em 0.6em;
	/* color: rgb(0, 0, 0); */
	box-sizing: border-box;
	accent-color: var(--accentGreen);
	background-color: rgb(200, 200, 200);
	border: 1px solid rgba(0, 0, 0, 0.5);
	cursor: pointer;
}

input:disabled {
	color: #ccc;
}


.zone {
    background-color: rgba(255,255,255,0.05);
	padding: 0.2em;
	display: flex;
	flex-direction: column;
	gap: 0.2em;
}

.collapsible {
	border: 0;
	width: 100%;
	opacity: 0.5;
	outline: none;
	color: white;
	font-size: 0.8rem;
	cursor: pointer;
	text-align: left;
	padding: 0.5em 1.0em;
	font-family: "UI-Regular";
	text-transform: uppercase;
	background-color: rgba(0,0,0,0.6);
}

.collapsible:hover {
	opacity: 1;
}

.collapsible.active {
	opacity: 0.7;
}

.collapsible.active:hover {
	color: rgb(87, 217, 87);
}

.collapsible::before{
	content: "\25B6";
	display: inline-block;
	margin-right: 12px;
	transform: rotate(0deg) scale(0.7);
	transition: transform 0.2s ease-in-out;
}

.active::before {
	content: "\25B6";
	transform: rotate(90deg)  scale(1) !important; 
	transition: transform 0.2s ease-in-out !important;
	color: rgb(42, 189, 42);
}


.comment {
	display: block;
	font-family: monospace;
	color: rgb(0, 213, 255);
	background-color: rgba(0, 0, 0, 0.5);
	padding: 0.5em;
}

.w100 { width: 100%; }
.w90 { width: 90%; }
.w80 { width: 80%; }
.w70 { width: 70%; }
.w60 { width: 60%; }
.w50 { width: 50%; }
.w40 { width: 40%; }
.w30 { width: 30%; }
.w20 { width: 20%; }
.w10 { width: 10%; }


.bg_body { background-color: #414C5A; }
.darkBg { background-color: rgba(0, 0, 0, 0.2); }
.bg_green { background-color: #54af3c; }
.green { color: #5f9750; }
.bg_yellow { background-color: #e5c310; }
.bg_orange { background-color: #e57010; }
.bg_blue { background-color: #1752b8; }
.bg_red { background-color: #9c1a29; }
.bg_black { background-color: #000000; }
.bg_white { background-color: #ffffff; }
.bg_grey80 { background-color: #272833; }
.bg_grey { background-color: #485a6b; }
.bg_grey60 { background-color: #2f303e; }
.bg_grey40 { background-color: #343D48; }
.bg_grey15 { background-color: #656e7a; }
.bg_grey10 { background-color: #9aa4b1; }
.black { color: black; }
.bg_darken { background-color: rgba(0,0,0,0.07); }
.bg_lighten { background-color: rgba(255,255,255,0.05); }

.btn {
    height: 2.4em;
    font-size: 0.8em;
    color: white;
    border: 2px solid transparent;
    text-transform: uppercase;
    font-family: "UI-Bold", Arial, Helvetica, sans-serif;
    text-shadow: rgb(0, 0, 0, 0.4) 0 0px 8px;
    box-shadow: rgb(0, 0, 0, 0.4) 0 3px 8px;
    user-select: none;
    cursor: pointer;
    padding: 0.4em 0; 
    margin-bottom: 0.1em;
}

.btn:hover {
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
}

.btn:active {
    background-color: rgba(255,255,255,0.8);
	transition: all 100ms ease-in-out;
}

.btn:focus{
    outline: none;
}

.disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none;}
.disabled:before {
	content: "⚠ TODO:";
	opacity: 1.0;
	cursor: not-allowed; pointer-events: none;}


/* TODO ========================================== */
.todo {
	margin: 0.5em;
	list-style: none;
	padding: 0 0.2em;
	font-size: 0.8em;
	border-left: 3px solid rgba(206, 18, 18, 0.666);
}
.todo > li {
	padding: 0.3em;
	color: rgb(175, 175, 52);
	line-height: 1.5em;
	background-color: rgba(0, 0, 0, 0.271);
}
.todo > li:before {
	content: "⚠ TODO:";
	color: rgb(60, 171, 35);
	font-weight: bold;
	display: inline-block;
	margin-left: 0em;
	margin-right: 0.5em;
} /* ================================== end of todo */

.heading {
    font-size: 0.7em;
    opacity: 0.7;
    vertical-align: middle;
    text-transform: uppercase;
}


/* tags in footer */
.free,
.subs {
	border:0;
	margin: 0 0.2em;
	line-height: 1em;
	font-size: 0.8em;
	border-radius: 0.5em;
	padding: 0.05em 0.6em 0.2em 0.5em;
	color: #4fef6d87;
	background-color: rgba(0, 255, 21, 0.2);
}

.free {
	color: rgba(255, 255, 255, 0.7);
	background-color: rgba(255,128,0,0.5);
}


.pointer:hover {
	cursor: pointer;
	color: white;
	text-decoration: none;
	transition: all 0.2s ease-in-out;
}

.roundedBottomInLast:last-of-type {
	border: 0px solid green;
	border-radius: 0 0 1.2em 1.2em;
}