:root {
	--body: #e1e1e1;
	--body-shift: rgba(51, 51, 51, .3);
	--body-text: #333;
	--body-font: 'Roboto', sans-serif;
	
	--h1-font: 'Changa One', cursive;
	--h1-size: 2rem;
	--h1-size-big: 3rem;
	--h1-weight: 700;
	--h1-height: 1.2;
	
	--h2-font: var(--body-font);
	--h2-size: 1rem;
	--h2-weight: 400;
	--h2-transform: uppercase;
	
	--content-font: var(--body-font);
	--content-size: 1rem;
	--content-height: 1.4;
	
	--callout: #4281a4;
	--callout-shift: rgba(40, 93, 122, .6);
	--callout-alt: #3cacbd;
	--callout-text: #fff;
	
	--focus: #D67AB1;
	--focus-shift: rgba(214, 122, 177, .6);
	--focus-alt: #974ba6;
	
	--easeInOut: cubic-bezier(0.615, 0.000, 0.440, 1.005);
	
	--sectionPadding: 6rem;
	--itemSpacing: 1.5rem;
}

html {
	overflow-x: hidden;
}
body {
	background-color: var(--body);
	
	color: var(--body-text);
	font-family: var(--body-font);
	
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	
	overflow-x: hidden;
}









.contentCol {
	
	--colpadding: 4rem;
	--halfcolpadding: 2rem;
	--doublecolpadding: 8rem;
	
	width: 100%;
	max-width: 90rem;
	padding: 0 var(--colpadding);
	margin: 0 auto;
	
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
.contentCol.full {
	max-width: none;
}
.contentCol.text {
	max-width: 50rem;
}
.contentCol.slim {
	max-width: 30rem;
}
.contentCol.max {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}




section.standard,
.contentCol.standard {
	padding-top: var(--sectionPadding);
	padding-bottom: var(--sectionPadding);
}




.row {
	display: flex;
	display: -webkit-flex;
	align-items: center;
	-webkit-align-items: center;
	-moz-align-items: center;
	justify-content: space-between;
	-webkit-justify-content: space-between;
	-moz-justify-content: space-between;
}
.row > * {
	margin-bottom: 0;
	margin-right: var(--colpadding);
}
.row > *:last-child {
	margin-right: 0;
}

.col {
	display: flex;
	display: -webkit-flex;
	align-items: center;
	flex-direction: column;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-webkit-align-items: center;
	-moz-align-items: center;
	justify-content: space-between;
	-webkit-justify-content: space-between;
	-moz-justify-content: space-between;
}
.col.stretch {
	align-items: stretch;
	-webkit-align-items: stretch;
	-moz-align-items: stretch;
}
.col > * {
	margin-bottom: var(--colpadding);
}
.col > *:last-child {
	margin-bottom: 0;
}











img {
	max-width: 100%;
}










h1, h2, h3, h4, h5, h6 {
	font-family: var(--h1-font);
	font-weight: var(--h1-weight);
	line-height: var(--h1-height);
	
	margin: 0 0 1em 0;
}
h1 {
	font-size: var(--h1-size);
}
h1.big {
	font-size: var(--h1-size-big);
}

h2 {
	font-family: var(--h2-font);
	font-size: var(--h2-size);
	font-weight: var(--h2-weight);
	text-transform: var(--h2-transform);
}

header h1,
header h2 {
	margin-bottom: .25rem;
}
header h1:last-child,
header h2:last-child {
	margin-bottom: 0;
}










p.caption,
figcaption {
	font-style: italic;
}
p,
figcaption {
	font-family: var(--content-font);
	font-size: var(--content-size);
	line-height: var(--content-height);
	
	margin: 0 0 1em 0;
}
p:last-child {
	margin-bottom: 0;
}










a,
a:active,
a:visited {
	color: var(--callout-alt);
	text-decoration: none;
	
	transition: all .3s linear;
	-webkit-transition: all .3s linear;
	-moz-transition: all .3s linear;
	transition-property: color;
	-webkit-transition-property: color;
	-moz-transition-property: color;
}
a:hover {
	color: var(--focus);
}









button {
	cursor: pointer;
	
	background-color: transparent;
	
	padding: 0;
	margin: 0;
	border: 0;
	outline: 0;
	
	color: inherit;
	font-face: inherit;
	font-weight: inherit;
	font-size: inherit;
	font-family: inherit;
	
	transition: all .3s linear;
	-webkit-transition: all .3s linear;
	-moz-transition: all .3s linear;
	transition-property: color, background-color;
	-webkit-transition-property: color, background-color;
	-moz-transition-property: color, background-color;
}
button:disabled {
	cursor: default;
}









a.btn,
a.btn:visited,
a.btn:hover {
	text-decoration: none;
}
a.btn,
button.btn {
	color: #fff;
	
	background-color: #5c5c5c;
	
	padding: .75rem 1rem;
	
	transition: all .3s linear;
	-webkit-transition: all .3s linear;
	-moz-transition: all .3s linear;
	transition-property: background-color;
	-webkit-transition-property: background-color;
	-moz-transition-property: background-color;
}
a.btn:hover,
button.btn:hover {
	background-color: #757575;
}

a.btn > .fas:first-child,
a.btn > .fa-solid:first-child,
a.btn > .far:first-child,
a.btn > .fab:first-child,
button.btn > .fas:first-child,
button.btn > .fa-solid:first-child,
button.btn > .far:first-child,
button.btn > .fab:first-child {
	margin-right: .5rem;
}
a.btn > .fas:last-child,
a.btn > .fa-solids:last-child,
a.btn > .far:last-child,
a.btn > .fab:last-child,
button.btn > .fas:last-child,
button.btn > .fa-solid:last-child,
button.btn > .far:last-child,
button.btn > .fab:last-child {
	margin-left: .5rem;
}



a.iconBtn,
button.iconBtn {
	color: inherit;
	text-decoration: none;
	text-align: center;
	
	display: inline-block;
}
.iconBtn .far,
.iconBtn .fas,
.iconBtn .fa-solid,
.iconBtn .fab {
	font-size: 2rem;
}
.iconBtn .label {
	margin-top:.5em;
	display: block;
}




.appicon {
	width: 4rem;
}
.appicon.wide {
	width: 7rem;
}
.appicon.tall {
	width: 3rem;
}
.appicon .img {
	width: 100%;
	height: 4rem;
	margin-bottom: .5rem;
	
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	
	display: flex;
	display: -webkit-flex;
	align-items: center;
	-webkit-align-items: center;
	-moz-align-items: center;
}
.appicon .img img {
	width: 100%;
	height: auto;
	max-height: 100%;
}
.appicon .label {
	text-align: center;
	font-family: 'Raleway', sans-serif;
	text-transform: uppercase;
	font-size: .8rem;
	font-weight: 500;
	color: #fff;
	
	margin-left: -100%;
	margin-right: -100%;
}

.apptitle {
	display: flex;
	display: -webkit-flex;
	align-items: center;
	-webkit-align-items: center;
	-moz-align-items: center;
	
	height: 4rem;
	margin-bottom: .5rem;
	
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
.apptitle .title {
	font-family: 'Patua One', "Mermaid", cursive;
	font-size: 1.25rem;
	color: #fff;
}









a.btn,
a.btn:active,
a.btn:visited,
button.btn {
	font-family: var(--h1-font);
	color: #fff;
	
	background-color: var(--callout);
	
	position: relative;
	top: 0;
	left: 0;
}
a.btn.opposite,
button.btn.opposite {
	background-color: transparent;
	
	border: 2px solid var(--focus);
}
a.btn:hover,
button.btn:hover {
	color: #fff;
	
	background-color: var(--focus);
}



a.btn.fancy:hover,
button.btn.fancy:hover {
	background-color: var(--callout);
}
a.btn.fancy.opposite:hover,
button.btn.fancy.opposite:hover {
	background-color: transparent;
}
a.btn.fancy span,
button.btn.fancy span {
	position: relative;
	top: 0;
	left: 0;
	z-index: 5;
}
a.btn.fancy:before,
button.btn.fancy:before {
	content: "";
	
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	
	width: 100%;
	height: 100%;
	
	background-color: var(--focus);
	
	clip-path: polygon(-100% 0%, -1rem 0%, 0% 50%, -1rem 100%, -100% 100%);
	
	transition: all .3s ease-out;
	-webkit-transition: all .3s ease-out;
	-moz-transition: all .3s ease-out;
	transition-property: clip-path;
	-webkit-transition-property: clip-path;
	-moz-transition-property: clip-path;
}
a.btn:hover:before,
button.btn:hover:before {
	clip-path: polygon(0% 0%, 100% 0%, calc(100% + 1rem) 50%, 100% 100%, 0% 100%);
}

button.iconBtn {
	background-color: transparent;
	
	font-size: 1.5rem;
}

button.textBtn {
	background-color: transparent;
	
	color: var(--callout);
}
button.textBtn:hover {
	color: var(--focus);
}

button.moreBtn,
a.moreBtn,
a.moreBtn:active,
a.moreBtn:visited {
	font-family: var(--h1-font);
	font-weight: var(--h1-weight);
	line-height: var(--h1-height);
	font-size: 1.5rem;
	
	display: flex;
	display: -webkit-flex;
	align-items: center;
	-webkit-align-items: center;
	-moz-align-items: center;
	justify-content: flex-end;
	-webkit-justify-content: flex-end;
	-moz-justify-content: flex-end;
}
button.moreBtn i,
a.moreBtn i,
a.moreBtn:active i,
a.moreBtn:visited i {
	font-size: 2.5rem;
	
	margin-left: .5rem;
}









nav.stack {
	display: flex;
	display: -webkit-flex;
	flex-direction: column;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	align-items: center;
	-webkit-align-items: center;
	-moz-align-items: center;
}

nav a,
nav button.textBtn {
	font-weight: 700;
	
	padding: .5rem 1rem;
}
nav > * {
	margin-right: 1.5rem;
}
nav.stack > * {
	margin-right: 0;
	margin-bottom: 1.5rem;
}

nav > *:last-child {
	margin-right: 0;
}
nav.stack > *:last-child {
	margin-bottom: 0;
}

nav.portraitmodal > button.portraitmodal {
	display: none;
}




nav.settings {
	
	--settingscolor: var(--body-text);
	
	border-top: 1px solid var(--settingscolor);
}

nav.settings > * {
	width: 100%;
	min-height: 3rem;
	padding: .5rem 1rem;
	margin: 0;
	border-bottom: 1px solid var(--settingscolor);
	
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	
	display: flex;
	display: -webkit-flex;
	align-items: center;
	-webkit-align-items: center;
	-moz-align-items: center;
	justify-content: center;
	-webkit-justify-content: center;
	-moz-justify-content: center;
}

nav.settings > button,
nav.settings > a,
nav.settings > a:active,
nav.settings > a:visited {
	color: var(--settingscolor);
}
nav.settings > button:hover,
nav.settings > a:hover {
	background-color: var(--callout-shift);
}




nav.blocknav {
	display: flex;
	display: -webkit-flex;
	align-items: stretch;
	-webkit-align-items: stretch;
	
	overflow: hidden;
	
	border-radius: 1rem;
}

nav.blocknav > * {
	margin-right: 0;
	
	flex-grow: 1;
	-webkit-flex-grow: 1;
	
	position: relative;
	top: 0;
	left: 0;
}

nav.blocknav > *:after {
	content: "";
	
	position: absolute;
	top: .5rem;
	right: 0;
	z-index: 100;
	
	width: 1px;
	height: calc(100% - 1rem);
	
	background-color: var(--body-text);
}
nav.blocknav > *:last-child:after {
	content: none;
}

nav.blocknav a {
	padding: 0;
	
	display: flex;
	display: -webkit-flex;
	align-items: center;
	-webkit-align-items: center;
	justify-content: center;
	-webkit-justify-content: center;
}

nav.blocknav .callout {
	margin-bottom: 0;
}
nav.blocknav .callout a {
	padding: 0;
	
	color: var(--body-text);
}









label {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	font-family: inherit;
	line-height: inherit;
}
input,
textarea,
select {
	font-size: inherit;
	font-weight: inherit;
	font-family: inherit;
	line-height: inherit;
}

.fieldset {
	
}









.field {
	margin-bottom: 1rem;
}

.field.inline {
	display: flex;
	display: -webkit-flex;
	align-items: center;
	-webkit-align-items: center;
	-moz-align-items: center;
}
.fieldset.inline .field {
	margin-bottom: 0;
	margin-right: .5rem;
}

.field label {
	display: block;
	
	margin-bottom: .3rem;
}
.field.inline label {
	margin-bottom: 0;
}

.field input,
.field textarea,
.field select {
	display: block;
	
	width: 100%;
	padding: .5rem;
	
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	
	resize: none;
}
.field textarea {
	height: 5.8em;/* (1.2rem * 4) + (.5rem * 2) */
}








/*
Element order matters, example:
<div class="field radio btn">
	<input type="radio" id="display_cols" name="display" value="columns" checked />
	<label for="display_cols">Columns</label>
</div>
*/
.field.radio.btn {
	display: inline-block;
	
	position: relative;
	top: 0;
	left: 0;
}
.field.radio.btn label {
	color: #fff;
	font-size: .8rem;
	
	background-color: #9e9e9e;
	
	border-radius: 1rem;
	
	height: 2rem;
	padding: 0 1rem;
	margin: .25rem 0;
	
	display: inline-flex;
	display: -webkit-inline-flex;
	align-items: center;
	-webkit-align-items: center;
	-moz-align-items: center;
	
	cursor: pointer;
	
	transition: all .3s linear;
	-webkit-transition: all .3s linear;
	-moz-transition: all .3s linear;
	transition-property: background-color;
	-webkit-transition-property: background-color;
	-moz-transition-property: background-color;
}
.field.radio.btn label:hover {
	background-color: #808080;
}

.field.radio.btn input {
	visibility: hidden;
	
	position: absolute;
	top: 0;
	left: 0;
}
.field.radio.btn input:checked + label,
.field.radio.btn input:checked + label:hover {
	background-color: #2196F3;
}









/*
<div class="field switch">
	<label for="columns">
		<input type="checkbox" id="columns">
		<span class="slider round"></span>
	</label>
</div>
*/
.field.switch label {
	position: relative;
	display: inline-block;
	width: 3.75rem;
	height: 2.25rem;
}

.field.switch input {
	opacity: 0;
	width: 0;
	height: 0;
	padding: 0;
}

.field.switch .slider {
	cursor: pointer;
	
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	
	background-color: #ccc;
	
	transition: all .3s linear;
	-webkit-transition: all .3s linear;
	-moz-transition: all .3s linear;
	transition-property: background-color;
	-webkit-transition-property: background-color;
	-moz-transition-property: background-color;
	
	border-radius: 1.125rem;
}
.field.switch input + .slider {
	background-color: var(--callout);
}
.field.switch input + .slider:hover {
	background-color: var(--callout-alt);
}
.field.switch input:checked + .slider {
	background-color: var(--focus);
}
.field.switch input:checked + .slider:hover {
	background-color: var(--focus-alt);
}

.field.switch .slider:before {
	content: "";
	
	height: 2rem;
	width: 2rem;
	border-radius: 50%;
	
	position: absolute;
	left: .125rem;
	bottom: .125rem;
	
	background-color: white;
	
	transition: all .3s ease-out;
	-webkit-transition: all .3s ease-out;
	-moz-transition: all .3s ease-out;
	transition-property: transform;
	-webkit-transition-property: -webkit-transform;
	-moz-transition-property: -moz-transform;
}
.field.switch input:checked + .slider:before {
	-webkit-transform: translateX(1.5rem);
	-ms-transform: translateX(1.5rem);
	transform: translateX(1.5rem);
}

.field.switch.inline .label {
	margin-left: .25rem;
}









/*

*/
.field.number.custom {
	
}
.field.number.custom input[type="number"] {
	-webkit-appearance: textfield;
	-moz-appearance: textfield;
	appearance: textfield;
}
.field.number.custom input[type=number]::-webkit-inner-spin-button, 
.field.number.custom input[type=number]::-webkit-outer-spin-button { 
	-webkit-appearance: none;
}