/* Border-box */

html {
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
}

*, *::before, *::after {
  box-sizing: inherit;
}

/* Main CSS */

body {
	font-family: 'Cabin', sans-serif;
	font-size: 16px;
	background-color: white;
}

a:link {
  color: #aaa;
}
a:visited {
  color: #777;
}
a:hover {
  color: #699;
}
a:active {
  color: #fff;
}

#options{
	display: block;
	color: #d9e3f2;
	background-color: #184449;

	padding: 5px;
}

h1 {
	margin: 1em 0;
}

h2 {
	margin: 0em 0 1em 0;
}

h1, h2 {
	font-size: 18px;
	font-weight: bold;

}

p {
	margin: .5em 0;
}

em {
	font-style: italic;
	font-size: .9em;
}

form {
	display: block;
	margin: 0 auto;
	width: 300px;
	max-width: 300px;

/*	padding: 5px;
	background-color: #fff;
	color: #000;
	border-radius: 5px;*/
}

select, input, button {
	margin: 1.5em 0;
}

select {
	width: 80%;
}

.input-group {
	display: block;
	margin: 5px 0;
	padding-top: 10px;
	font-size: 0;
}

.input-element {
	display: block;
	font-size: 0; /* percentage hack */
}

.text {
	margin: 1em 0 2em 0;
	max-width: 300px;
	margin: 0 auto;
}

.full {
	width: 100%;
}

.half {
	display: inline-block;
	width: 50%;
}

label, span {
	font-size: 15px;
}

.range {
	display: block;
	vertical-align: middle;
	margin: 5px 0;
}

#range-label {
	display: inline-block;
	width: 10%;
}


input[type=range] {
	display: inline-block;
	width: 90%;
	margin: .5em 0;
}

.circle {
	display: inline-block;
	width: 40px;
	height: 40px;
	border-radius: 20px;
	margin: 10px;
}

.color-label {
	font-size: 13px;
	text-align: center;
	font-family: monospace;
	width: 100%;
}

.swatch {
	width: 60px;
	float: left;
	margin-bottom: 10px;
}

#color-space {
	display: block;
	width: 300px;
	margin: 0 auto;
}

.hidden {
	display: none;
}



/* Tablet and Desktop Views */

@media screen and (min-width:600px) {
	.circle {
		width: 60px;
		height: 60px;
		border-radius: 30px;
	}

	.swatch {
		width: 80px;
		margin-bottom: 20px;
	}

	#color-space {
		width: 500px;
		display: block;
		padding: 0 10px;

	}
}

@media screen and (min-width:800px){
	body, html, #options, #color-space {
		height: 100%;
		overflow-y: auto;
	}

	#options{
		display: block;
		float: left;
	}

	.clearfix {
		display: block;
		clear: both;
		margin: 0;
	}

	#color-space {
		width: auto;
	}
}

@media screen and (min-width:1280px){
	.circle {
		width: 80px;
		height: 80px;
		border-radius: 40px;
	}

	.swatch {
		width: 100px;
		margin: 0 15px 10px 15px;

	}
}

.article {
	width: 300px;
	max-width: 300px;
	margin: 0 auto;
}

input[type='checkbox'] { display: none; } .wrap-collabsible {  } .lbl-toggle { display: block; font-weight: bold; font-family: monospace; font-size: 1.2rem; text-transform: none; text-align: center; padding: 1rem; color: #DDD; background: rgba(128, 128, 128, 0); cursor: pointer; border-radius: 7px; transition: all 0.25s ease-out; } .lbl-toggle:hover { color: #FFF; } .lbl-toggle::before { content: ' '; display: inline-block; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 5px solid currentColor; vertical-align: middle; margin-right: .7rem; transform: translateY(-2px); transition: transform .2s ease-out; } .toggle:checked+.lbl-toggle::before { transform: rotate(90deg) translateX(-3px); } .collapsible-content { max-height: 0px; overflow: hidden; transition: max-height .25s ease-in-out; } .toggle:checked + .lbl-toggle + .collapsible-content { max-height: 350px; } .toggle:checked+.lbl-toggle { border-bottom-right-radius: 0; border-bottom-left-radius: 0; } .collapsible-content .content-inner { background: grey(0, 105, 255, .2); border-bottom: 1px solid grey; border-bottom-left-radius: 7px; border-bottom-right-radius: 7px; padding: .5rem 1rem; } .collapsible-content p { margin-bottom: 0; }