html {
	-moz-text-size-adjust: 100%;
	text-size-adjust: 100%;

	box-sizing: border-box;
	font-size: 62.5%;
}

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

body {
	max-width: 120rem;
	width: 96%;
	padding: 0 calc(2rem / 2);
	line-height: 1.6;

	margin: 0 auto;
	margin-top: 7vh;

	background: #282A36;
	color: #F5F5F5;

	font-size: 1.6rem;
	font-family: monospace;
}

nav {
	margin-bottom: 3vh;
}

a {
	color: #0DEE79;
}

nav a {
	margin-right: 2vh;
	font-size: 1.1em;
}

main a {
	color: #39DDFB;
	text-decoration: none;
}

p, label {
	margin-top: 0;
	font-size: 1.4em;
}

h1 {
	margin: unset;
	font-size: 3.1em;
	line-height: 1.2;
}

article {
    background: #435585;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #EDD400;
}

button {
	background: white;
	color: black;
	cursor: pointer;
	border: 1px solid transparent;
	border-radius: 4px;

	font-family: monospace;
	font-size: 1.6rem;
	line-height: 1;
	padding: 1rem 2.5rem;
	margin-bottom: 1vh;

	transform: scale(1);
	transition: opacity 0.2s ease;
}

button:hover {
	background: #EEEEEC;
}

button:active {
	transform: scale(0.98);
	background: #BABDB6;
}

input[type="url"],
select {
	background: #435585;
	color: white;
	border: 1px solid #0CF082;
	border-radius: 4px;

	font-family: inherit;
	font-size: 1.2em;

	padding: 0.8rem 1rem;
	display: block;
	transition: all 0.2s ease;
	width: 100%;
}

input[type="url"]:hover,
select:hover {
	border-color: #bbb;
}

input[type="url"]:focus,
select:focus {
	border-color: #39DDFB;
	box-shadow: 0 0 1px #39DDFB;
	outline: none;
}

button:disabled,
button:disabled:hover,
input:disabled,
input:disabled:hover {
  cursor: not-allowed;
}


.fullwidth {
	width: 100%;
}

.no-select {
	user-select: none;
}
.no-margin {
	margin: unset;
}
.mt-2 {
	margin-top: 2vh;
}
.mb-2 {
	margin-bottom: 2vh;
}
.mb-6 {
	margin-bottom: 6vh;
}




/*
	row & column
	stolen from github.com/jenil/chota v0.9.2 hehe
*/
.row {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	margin-left: calc(2rem / -2);
	margin-right: calc(2rem / -2);
}

.col {
	flex: 1;
}

.col {
	margin: 0 calc(2rem / 2) calc(2rem / 2);
}



@media screen and (max-width: 650px) {
	nav a {
		font-size: 1em;
	}

	h1 {
		font-size: 2.3em;
	}

	p, label {
		font-size: 1.2em;
	}

	.col {
		flex: 0 1 100%;
		max-width: 100%;
	}

	.mobile-reverse {
		flex-flow: row-reverse wrap-reverse;
	}
}

@media screen and (min-width: 900px) {
	.col-2-md {
		flex: 0 0 calc(16.66667% - 2rem);
		max-width: calc(16.66667% - 2rem);
	}
	.col-4-md {
		flex: 0 0 calc(33.33333% - 2rem);
		max-width: calc(33.33333% - 2rem);
	}
	.col-8-md {
		flex: 0 0 calc(66.66667% - 2rem);
		max-width: calc(66.66667% - 2rem);
	}
}

@media screen and (min-width: 1200px) {
	.col-2-lg {
		flex: 0 0 calc(16.66667% - 2rem);
		max-width: calc(16.66667% - 2rem);
	}
	.col-4-lg {
		flex: 0 0 calc(33.33333% - 2rem);
		max-width: calc(33.33333% - 2rem);
	}
	.col-8-lg {
		flex: 0 0 calc(66.66667% - 2rem);
		max-width: calc(66.66667% - 2rem);
	}
}

.is-hidden {
    display: none;
}