html {
	overflow-y: auto;
	min-width: 320px;
	font-family: 'Roboto', sans-serif;
	line-height: 1.5;
	background: linear-gradient(to bottom, #00151c, #002735) #00151c;
	color: white;
}

body {
	margin: 0;
	display: flex;
	flex-direction: column;
	background: radial-gradient(
		ellipse 400px 100px at 50% 100px,
		rgba(100%, 100%, 100%, 13%),
		rgba(100%, 100%, 100%, 4%),
		/* Smoother gradient */ rgba(100%, 100%, 100%, 0%)
	);

	border: 0.5px solid;
	border-bottom: none;
}

main {
	margin: 20px;
	margin-bottom: 0;
	padding-bottom: 40px;
	position: relative;
	display: flex;
	flex-direction: column;
}

main > * {
	margin: 24px 0;
}

main > :not(h2),
footer > * {
	width: 100%;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

img, video {
	max-width: 100%;
	height: auto;
}

h1 {
	margin: 7vh auto 7vh;
	font-size: 1.2em;
	text-align: center;
}

h1 img {
	width: 320px;
	display: block;
	margin: auto;
}

h1 a {
	text-decoration: none;
}

h1,
h2,
h3 {
	font-weight: 300;
	font-family: 'Roboto Slab', serif;
}

h2 {
	font-size: 30px;
	display: flex;
	flex-direction: row;
}

h2:before,
h2:after {
	content: '';
	flex-grow: 1;
	border-bottom: 0.5px solid;
	margin: 0 20px 1.2ex;
}

textarea,
.field,
.CodeMirror {
	display: block;
	border: solid 3px silver;
	border-radius: 4px;
	min-height: 100px;
	background: white;
	color: black;
}
field textarea {
	font: inherit;
	padding: 0.7em;
}

ol {
	list-style: none;
	padding-left: 0;
}

ul {
	list-style: none;
	padding-left: 3.5em;
}

ul li::before {
	content: '→ ';
	position: absolute;
	margin-left: -1.5em;
}

.apps {
	padding-left: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	list-style: none;
}

.apps li {
	display: flex;
	flex-direction: column;
}

.apps li:before {
	content: none;
}

.apps li a {
	display: block;
}

.apps li img {
	margin: 0.5em;
}

/* Optical adjustment for square icon */
.apps li img[alt='Safari'] {
	margin-left: 0.7em;
	margin-right: 0.7em;
}

a {
	color: inherit;
}

.d-inline-block {
	display: inline-block;
}

[data-style='centered'],
.text-align-center {
	text-align: center;
}

footer {
	text-align: center;
	background-color: #00151c;
	color: rgba(100%, 100%, 100%, 80%);
	padding: 1px 20px;
}

footer.fregante {
	background: #2c5700;
	color: white;
	padding-top: 50px;
	padding-bottom: 50px;
}
