/* global */

* {
	font-family: 'Trispace', sans-serif;
	font-weight: 200;
	font-size: 1em;
	line-height: 1.4em;
}

body, main{
	max-width: 100%;
	display: flex;
	flex-direction: column;
	background: black;
	color: #f1f1f1;
}

p {
	font-weight: 200;
	font-size: 1em;
	line-height: 1.4em;
}

h1 {
	font-weight: 700;
	font-size: 2em;
	text-align: center;
}

/* footer + navigation */

footer {
	max-width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly;
	background-color: black;
}

footer div {
	margin: 30px;
	background-color: black;
}

.navigation, .navigation a {
	font-size: 24px;
	font-weight: 700;
	color: #ff4c00;
}

.navigation a:hover {
	color: #f1f1f1;
	text-decoration: underline wavy;
}

/* start page */

.start {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	background-color: black;
}

.start div {
	background-color: black;
	margin: 30px;
	text-align: center;
}

/* media boxes */

.txtbox {
	display: flex;
	flex-flow: column wrap;
	align-items: center;
	margin-top: 15px;
	margin-bottom: 15px;
}

.txtbox div {
	width: 640px;
	margin-top: 15px;
	margin-bottom: 15px;
}

.txtbox img {
	margin-top: 20px;
	margin-bottom: 20px;
	width: 100%;
}

.imgbox {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
	align-items: center;
	margin-top: 15px;
	margin-bottom: 15px;
}

.imgbox img {
	width: 100%;
}

.imgbox div {
	width: 45vw;
	margin-top: 15px;
	margin-bottom: 15px;
}

.imgbox .txt {
	flex-grow: 0;
	max-width: 500px;
	height: 100%;
	padding-right: 15px;
	padding-left: 15px;	
	margin-top: 15px;
	margin-bottom: 15px;
}

.imgbox .img {
	flex-grow: 2;
	padding-right: 15px;
	padding-left: 15px;	
	margin-top: 15px;
	margin-bottom: 15px;
}

/* pseudo twine-style text insert */

button {
	color: #ff4c00;
	text-decoration: underline;
	background-color: black;
	border: 0px;
	padding: 0px;
}

button:hover {
	color: #f1f1f1;
	text-decoration: underline wavy;
}

/* text on image */

.txtonimg {
	position: relative;
	width: 100%;
	color: #f1f1f1;
	margin-top: 15px;
	margin-bottom: 15px;
}

.txtonimg img {
	width: 100%;
}

.centered {
	font-weight: 500;
	position: absolute;
	max-width: 640px;
	top:  50%;
	left: 50%;
	transform: translate(-50%, -50%);
}


/* mobile stuff for mobile perverts */

@media (max-width: 800px) {

	* {
		font-size: 14px;
		line-height: 1.4em;
	}

	.txtbox div, .imgbox div {
	width: 80%;
	}

	.imgbox {
	display: flex;
	flex-flow: column wrap;
	align-items: center;
	}
}
