
* {
	margin: 0;
	padding: 0;
}

body, html {
	height: 100%;
}
body {
	display: flex;
	flex-direction: column;
	text-align: justify;
}
h1 {
	font-size: 75px;
	text-align: left;
}
h2 {
	font-size: 25px;
	text-align: left;
}
h3 {
	font-size: 50px;
	text-align: left;
}
h6 {
	border-bottom: 1px solid black;
	font-size: 18px;
	text-align: left;
}
header {
	border-bottom: 1px solid black;
}
hr {
	border: 0;
	border-bottom: 1px solid black;
}
main {
	display: flex;
	flex-direction: column;
	grid-gap: 20px;
	height: 100%;
	margin: 20px;
}

.articleCache {
	font-size: 30px;
	height: 100%;
	position: absolute;
	width: 100%;
}
.articleCache button {
	font-size: 20px;
	padding: 5px 20px;
}
.articleCache * {
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translateX( -50% ) translateY( -50% );
}
.articleContent {
	font-size: 12px;
	padding: 10px;
	width: 100%;
}
.articleContent p {
	margin-top: 10px;
	text-align: left;
}
.articleObjective {
	background-image: linear-gradient( 0deg, #B60, #FD8 );
}
.displayNone {
	display: none;
}
.progressBar {
	position: relative;
}
.progressBarContent {
	color: white;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding: 5px;
	position: relative;
}
.progressBarPositive {
	background-color: #080;
}
.progressBarPositive .progressBarTop {
	background-color: #0D0;
}
.progressBarNegative {
	background-color: #A00;
}
.progressBarNegative .progressBarTop {
	background-color: #F00;
}
.progressBarTop {
	height: 100%;
	position: absolute;
	width: 27%;
}
.progressLabel {
	margin: auto;
	text-align: right;
	width: 100%;
}
.scollerMenu {
	background-color: black;
	border: 1px solid black;
	display: flex;
	flex-direction: row;
	overflow: auto;
	padding: 10px;
}
.scollerMenuBody {
	display: flex;
	grid-gap: 10px;
}
.scollerMenuBody article {
	background-color: white;
	display: flex;
	position: relative;
}
.shopBegin {
	background-image: linear-gradient( 0deg, #BBB, #FFF );
}
.shopEconomy {
	background-image: linear-gradient( 0deg, #DDF, #EEF );
}
.shopEnd {
	background-image: linear-gradient( 0deg, #222, #777 );
	color: #DDD;
}
.shopExpension {
	background-color: linear-gradient( 0deg, #092, #7D7 );
}
.shopExtraterrestrial {
	background-image: linear-gradient( 0deg, #C5C, #FCF );
}
.shopHumanity {
	background-image: linear-gradient( 0deg, #902, #FDD );
}
.shopPhysics {
	background-image: linear-gradient( 0deg, #FFF, #DDD );
}

#gameMain {
	display: grid;
	grid-template-rows: auto auto auto auto 1fr 1fr;
	grid-gap: 10px;
	height: 100%;
}
#sectionChangeLanguage {
	align-items: center;
	background-color: #FFF;
	border: 1px solid #000;
	display: flex;
	grid-gap: 5px;
	padding: 5px;
	position: absolute;
	right: 0;
	top: 0;
}
#sectionChangeLanguage img {
	box-shadow: 0 0 2px #0008;
	width: 40px;
}
#sectionChangeLanguage p {
	line-height: 0;
}
#sectionEnding {
	padding: 20px;
	text-align: center;
}
#sectionEnding h4 {
	font-size: 35px;
}
#sectionEnding h5 {
	border-bottom: 1px solid black;
	border-top: 1px solid black;
	font-size: 20px;
	margin: 10px 0;
}
#sectionLanguage {
	padding: 30px;
}
#sectionLanguage div {
	align-items: center;
	display: flex;
	grid-gap: 20px;
	justify-content: center;
}
#sectionLanguage img {
	box-shadow: 0 0 10px #0008;
}
#sectionLanguage h5 {
	font-size: 30px;
	margin-bottom: 20px;
	text-align: center;
}
#sectionLanguage > p {
	margin: auto;
	margin-bottom: 30px;
	width: 50%;
}
#sectionNews article {
	width: 250px;
}
#sectionNews .articleCache {
	background-color: #000B;
}
#sectionProgress {
	display: grid;
	font-size: 25px;
	grid-gap: 10px;
	grid-template-columns: auto 1fr;
}
#sectionShop article {
	width: 150px;
}
#sectionShop article:last-child .articleCache {
	background-image: linear-gradient( 0deg, #222, #888 );
	color: #DDD;
}
#sectionShop .articleCache {
	background-color: #CCC;
}
#sectionShop .articleContent {
	display: grid;
	grid-template-rows: auto 1fr auto;
}
#sectionStats {
	display: flex;
	flex-direction: column;
	grid-gap: 0px;
}
#sectionStatsMisc {
	display: flex;
	flex-direction: row;
	grid-gap: 10px;
}
#sectionStatsMisc * {
	width: 100%;
}
#sectionStatsMisc button {
	font-size: 25px;
}
#sectionStatsMiscDetails {
	font-size: 25px;
}

@media ( max-width: 500px ){
	body * {
		font-size: 12px;
	}
	h1 {
		font-size: 50px;
	}
	h2 {
		font-size: 15px;
	}
	h3 {
		font-size: 25px;
	}
	main {
		grid-gap: 5px;
		margin: 10px;
	}

	#gameMain {
		grid-gap: 5px;
	}
	#sectionEnding h4 {
		font-size: 40px;
	}
	#sectionEnding h5 {
		font-size: 20px;
		margin: 10px 0;
	}
	#sectionEnding p {
		font-size: 15px;
	}
	#sectionStatsMisc button {
		font-size: 12px;
	}
}

@media ( min-aspect-ratio: 1/1 ){
	#gameMain {
		display: grid;
		grid-template-rows: auto auto auto auto 1fr;
	}
	#sectionEnding h4 {
		font-size: 80px;
	}
	#sectionEnding h5 {
		font-size: 30px;
		margin: 20px 0;
	}
	#sectionEnding p {
		font-size: 20px;
	}
	#sectionStatsMisc button {
		font-size: 12px;
	}
	#sectionNews {
		flex-direction: column;
		grid-row: 1 / 6;
		grid-column: 2;
		max-width: 500px;
	}
	#sectionNews article {
		width: auto;
	}
	#sectionNews .scollerMenuBody {
		flex-direction: column;
	}
	#sectionShop {
		height: 300px;
		margin-bottom: auto;
	}
	#sectionShop article {
		width: 200px;
	}
}
