@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
	font-family: 'Inter', Arial, 'sans-serif';
	box-sizing: border-box;
	margin: 0px;
	padding: 0px;
	font-weight: inherit;
}

#body {
	margin: 0px;
	padding: 16px 0px;
	min-height: 100vh;
	background-size: cover;
	background-attachment: fixed;
	font-weight: 500;
	background-color: #121212;
	background-image: url("/_images/body/low-poly-grid-haikei-dark.svg");
	color: #ffffff;
	
	nav {
		margin: 0px 0px 36px;
		background-color: #990000;
		background: linear-gradient(#990000, #660000);
		
		.sub-nav {
			display: none;
		}
		
		.sub-nav-home {
			display: none;
		}
	
		ul {
			font-size: 0px;
			display: flex;
			align-items: stretch;
			min-height: 60px;

			li {
				display: inline-block;
				font-size: 18px;
				font-weight: 500;
				transition: all 0.15s;

				a {
					display: flex;
					color: #ffffff;
					text-decoration: none;
					text-align: center;
					padding: 8px 8px;
					height: 100%;
					align-items: center;
					transition: all 0.15s;
				}

				&:hover {
					background-color: #550000;
				}

				&.link-org {
					margin-left: auto;
				}

				&.link-home {
					height: 0px;
					opacity: 0.8;
					align-self: center;

					a {
						height: 80px;
						width: 80px;
						padding: 0px;
						margin: -40px 8px 0px 0px;
					}

					&:hover {
						background-color: transparent;
						opacity: 1;
					}
				}

				&.link-store {
					background-color: #ED9321;
					background: linear-gradient(#ED9321, #BD8531);

					&:hover {
						background-color: #9C5505;
						background: linear-gradient(#9C5505, #9C5505);
					}
				}
			}
		}
	}
	
	#alert, .alert {
		
		p {
			margin: 0px 0px 24px;
			padding: 24px 32px;
			line-height: 1.4em;
			font-size: 20px;
			border-left: 5px solid #990000;
			background-color: #66000066
		}
		
		a {
			color: #ffffff;

			&:hover {
				color: #ff9999;
			}

			&.btn {
				display: inline-block;
				padding: 16px;
				color: #ffffff;
				text-decoration: none;
				text-shadow: none;

				&.btn-store {
					background-color: #ED9321;
					transition: all 0.15s;

					&:hover {
						background-color: #9C5505;
						color: #ffffff;
					}
				}
			}
		}
	}
	
	main {
		padding: 32px 0px;
		
		section {
			padding: 64px 0px;
			
			p {
				margin: 0px 0px 24px;
				line-height: 1.4em;
				font-size: 20px;
			}

			ul {
				margin: 0px 0px 24px 24px;
				line-height: 1.4em;
				font-size: 20px;
			}

			li {
				padding: 0px 0px 0px 8px;
			}

			a {
				color: #ffffff;

				&:hover {
					color: #ff9999;
				}

				&.btn {
					display: inline-block;
					padding: 16px;
					color: #ffffff;
					text-decoration: none;
					text-shadow: none;

					&.btn-store {
						background-color: #ED9321;
						transition: all 0.15s;

						&:hover {
							background-color: #9C5505;
							color: #ffffff;
						}
					}
				}
			}
			
			&:last-child {
				margin: 0px 0px 64px;
			}
		
			&.off {
				background-color: rgba(100,100,100,0.1);
			}
			
			&.focus {
				background-color: #660000;
				background: linear-gradient(#660000, #330000);
			}
			
			&.game-banner {
				background-size: cover;
				background-position: center;
				text-shadow: 2px 2px 5px black;

				p {
					font-size: 24px;
					margin-left: 32px;
					margin-right: 32px;
				}
				
				&.gg-banner {
					background-image: url("/_images/games/general-glens/banner.png");
				}
				
				&.ig-banner {
					background-image: url("/_images/games/injurius-games/banner.png");
				}
				
				&.rss-banner {
					background-image: url("/_images/games/red-shirt-smash/banner.png");
				}
				
				&.sd-banner {
					background-image: url("/_images/games/showdown/banner.png");
				}
				
				&.d12-banner {
					background-image: url("/_images/games/d12-fantasy/origins0729.jpg");
				}
			}
		}
	}
	
	footer {
		background-color: #990000;
		background: linear-gradient(#990000, #660000);
		position: relative;
		bottom: 0px;
		padding: 8px;
		text-align: center;
		color: #ffffff;
		
		p {
			margin: 0px;
			font-size: 16px;
		}
	}
}

.text-center {
	text-align: center;
}

.img-responsive {
	display: block;
	width: 100%;
}

.v-media {
	display: block;
	max-width: 100%;
	max-height: 100px;
	margin: 0px auto 16px;
}

.container {
	width: 100%;
	max-width: 1600px;
	padding: 0px 16px;
	margin: 0px auto;
	font-size: 0px;
}

h1, .h1 {
	font-size: 72px;
	line-height: 72px;
	margin: 0px 0px 32px;
	font-weight: 900;
	border-bottom: 1px solid #660000;
	
	span.sub-title {
		display: block;
		font-weight: normal;
		font-size: 48px;
		color: #aaaaaa;
	}
}

h2, .h2 {
	font-size: 48px;
	line-height: 48px;
	margin: 0px 0px 16px;
	font-weight: 800;
	
	span.sub-title {
		display: block;
		font-weight: normal;
		font-size: 32px;
		color: #aaaaaa;
	}
}

h3, .h3 {
	font-size: 32px;
	line-height: 32px;
	margin: 0px 0px 16px;
	font-weight: 800;
	
	span.sub-title {
		display: block;
		font-weight: normal;
		font-size: 24px;
		color: #aaaaaa;
	}
}

h4, .h4 {
	font-size: 24px;
	line-height: 24px;
	margin: 0px 0px 16px;
	font-weight: 700;
}

h5, .h5 {
	font-size: 22px;
	line-height: 22px;
	margin: 0px 0px 16px;
	font-weight: 700;
}

.wb-inv {
	display: none;
}

.red {
	color: #990000;
}


figure.quote {
	border-left: 4px solid #cc0000;
	padding: 24px 48px;
	margin: 0px 0px 24px;
	background-color: rgba(102,102,102,0.1);
}

blockquote p {
	margin: 0px 0px 12px;
	position: relative;
	
	&:first-of-type::before {
		content: "“";
		font-size: 96px;
		position: absolute;
		left: -44px;
		top: 20px;
		color: #cc0000;
	}
	
	&:last-of-type::after {
		content: "”";
		font-size: 96px;
		position: absolute;
		color: #cc0000;
		bottom: -32px;
		margin-left: 6px;
		right: -36px;
	}
}

p.author {
	font-size: 14px;
	margin: 0px;
	
	&::before {
		content: "—";
	}
}



.row {
	margin: 0px -16px;
	font-size: 0px;
}

.wb-mid div[class^="col"] {
	vertical-align: middle;
}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
	padding: 0px 16px;
	display: inline-block;
	vertical-align: top;
	margin: 0px 0px 24px;
}

.single-col {
	margin: 0px auto;
	display: block;
}

.col-1 {
	width: 8.33%;
}

.col-2 {
	width: 16.66%;
}

.col-3 {
	width: 25%;
}

.col-4 {
	width: 33.33%;
}

.col-5 {
	width: 41.66%;
}

.col-6 {
	width: 50%;
}

.col-7 {
	width: 58.34%;
}

.col-8 {
	width: 66.67%;
}

.col-9 {
	width: 75%;
}

.col-10 {
	width: 83.34%;
}

.col-11 {
	width: 91.67%;
}

.col-12 {
	width: 100%;
}

/*.col-1 h1, .col-2 h1, .col-3 h1, .col-4 h1, .col-5 h1, .col-6 h1, .col-7 h1, .col-8 h1, .col-9 h1, .col-10 h1, .col-11 h1, .col-12 h1, .col-1 h2, .col-2 h2, .col-3 h2, .col-4 h2, .col-5 h2, .col-6 h2, .col-7 h2, .col-8 h2, .col-9 h2, .col-10 h2, .col-11 h2, .col-12 h2, .col-1 h3, .col-2 h3, .col-3 h3, .col-4 h3, .col-5 h3, .col-6 h3, .col-7 h3, .col-8 h3, .col-9 h3, .col-10 h3, .col-11 h3, .col-12 h3, .col-1 h4, .col-2 h4, .col-3 h4, .col-4 h4, .col-5 h4, .col-6 h4, .col-7 h4, .col-8 h4, .col-9 h4, .col-10 h4, .col-11 h4, .col-12 h4, .col-1 h5, .col-2 h5, .col-3 h5, .col-4 h5, .col-5 h5, .col-6 h5, .col-7 h5, .col-8 h5, .col-9 h5, .col-10 h5, .col-11 h5, .col-12 h5, .col-1 .h1, .col-2 .h1, .col-3 .h1, .col-4 .h1, .col-5 .h1, .col-6 .h1, .col-7 .h1, .col-8 .h1, .col-9 .h1, .col-10 .h1, .col-11 .h1, .col-12 .h1, .col-1 .h2, .col-2 .h2, .col-3 .h2, .col-4 .h2, .col-5 .h2, .col-6 .h2, .col-7 .h2, .col-8 .h2, .col-9 .h2, .col-10 .h2, .col-11 .h2, .col-12 .h2, .col-1 .h3, .col-2 .h3, .col-3 .h3, .col-4 .h3, .col-5 .h3, .col-6 .h3, .col-7 .h3, .col-8 .h3, .col-9 .h3, .col-10 .h3, .col-11 .h3, .col-12 .h3, .col-1 .h4, .col-2 .h4, .col-3 .h4, .col-4 .h4, .col-5 .h4, .col-6 .h4, .col-7 .h4, .col-8 .h4, .col-9 .h4, .col-10 .h4, .col-11 .h4, .col-12 .h4, .col-1 .h5, .col-2 .h5, .col-3 .h5, .col-4 .h5, .col-5 .h5, .col-6 .h5, .col-7 .h5, .col-8 .h5, .col-9 .h5, .col-10 .h5, .col-11 .h5, .col-12 .h5 {
	margin-top: 0px;
}*/

.float-left {
	float: left;
	margin-left: -16px;
	margin-right: 16px;
}

.float-right {
	float: right;
	margin-right: -16px;
	margin-left: 16px;
}

.clear {
	clear: both;
}

.home-page-games .home-page-game {
	aspect-ratio: 5 / 7;
}

.home-page-games .home-page-game a {
	position: relative;
	display: block;
	text-decoration: none;
}

.home-page-games .home-page-game a .home-page-game-inside {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	padding: 100% 16px 16px 16px;
	background-color: rgba(0,0,0,0.85);
	transition: all 0.25s;
	opacity: 0;
	overflow-y: hidden;
}

.home-page-games .home-page-game a:hover .home-page-game-inside {
	padding: 20% 16px 16px 16px;
	opacity: 1;
}

.home-page-games .home-page-game a .home-page-game-inside h3 {
	text-align: center;
	color: #ffffff;
	text-decoration: none;
}

.home-page-games .home-page-game a .home-page-game-inside p {
	color: #ffffff;
	margin: 0px;
	text-decoration: none;
}

.mrgn-0 {
	margin: 0!important;
}

.mrgn-xs {
	margin: 4px!important;
}

.mrgn-sm {
	margin: 8px!important;
}

.mrgn-md {
	margin: 16px!important;
}

.mrgn-lg {
	margin: 32px!important;
}

.mrgn-xl {
	margin: 48px!important;
}

.mrgn-lft-0 {
	margin-left: 0!important;
}

.mrgn-lft-xs {
	margin-left: 4px!important;
}

.mrgn-lft-sm {
	margin-left: 8px!important;
}

.mrgn-lft-md {
	margin-left: 16px!important;
}

.mrgn-lft-lg {
	margin-left: 32px!important;
}

.mrgn-lft-xl {
	margin-left: 48px!important;
}

.mrgn-rght-0 {
	margin-right: 0!important;
}

.mrgn-rght-xs {
	margin-right: 4px!important;
}

.mrgn-rght-sm {
	margin-right: 8px!important;
}

.mrgn-rght-md {
	margin-right: 16px!important;
}

.mrgn-rght-lg {
	margin-right: 32px!important;
}

.mrgn-rght-xl {
	margin-right: 48px!important;
}

.mrgn-tp-0 {
	margin-top: 0!important;
}

.mrgn-tp-xs {
	margin-top: 4px!important;
}

.mrgn-tp-sm {
	margin-top: 8px!important;
}

.mrgn-tp-md {
	margin-top: 16px!important;
}

.mrgn-tp-lg {
	margin-top: 32px!important;
}

.mrgn-tp-xl {
	margin-top: 48px!important;
}

.mrgn-bttm-0 {
	margin-bottom: 0!important;
}

.mrgn-bttm-xs {
	margin-bottom: 4px!important;
}

.mrgn-bttm-sm {
	margin-bottom: 8px!important;
}

.mrgn-bttm-md {
	margin-bottom: 16px!important;
}

.mrgn-bttm-lg {
	margin-bottom: 32px!important;
}

.mrgn-bttm-xl {
	margin-bottom: 48px!important;
}

@media only screen and (max-width: 1200px) {

	.col-lg-1 {
		width: 8.33%;
	}

	.col-lg-2 {
		width: 16.66%;
	}

	.col-lg-3 {
		width: 25%;
	}

	.col-lg-4 {
		width: 33.33%;
	}

	.col-lg-5 {
		width: 41.66%;
	}

	.col-lg-6 {
		width: 50%;
	}

	.col-lg-7 {
		width: 58.34%;
	}

	.col-lg-8 {
		width: 66.67%;
	}

	.col-lg-9 {
		width: 75%;
	}

	.col-lg-10 {
		width: 83.34%;
	}

	.col-lg-11 {
		width: 91.67%;
	}

	.col-lg-12 {
		width: 100%;
	}
	
}

@media only screen and (max-width: 959px) {
	
	#body.sub-nav-open {
		overflow: hidden;
	}
	
	#body nav {
		height: 54px;
	}
	
	#body nav .container {
		display: inline-block;
		height: 100vh;
		width: 100%;
		max-width: 250px;
		position: absolute;
		top: 0px;
		left: -250px;
		overflow: scroll;
		z-index: 99;
		padding: 0px;
		background-color: #990000;
		background: linear-gradient(#990000, #660000);
		transition: all 0.25s;
	}
	
	#body.sub-nav-open nav .container {
		left: 0px;
	}
	
	#body nav .sub-nav {
		display: block;
		position: absolute;
		top: 19px;
		left: 16px;
		width: 48px;
		height: 48px;
		background-color: rgba(0,0,0,0.3);
		cursor: pointer;
		transition: all 0.15s;
	}
	
	#body nav .sub-nav:hover {
		background-color: rgba(0,0,0,0.5);
	}
	
	#body nav .sub-nav-home {
		display: block;
		position: absolute;
		top: 3px;
		left: 50%;
		width: 80px;
		height: 80px;
		margin: 0px 0px 0px -40px;
	}
	
	#body nav ul {
		flex-direction: column;
	}
	
	#body nav ul li {
		display: block;
	}
	
	#body nav ul li a {
		padding: 16px;
		text-align: left;
	}
	
	#body nav ul li.link-org {
		margin: 0px;
	}
	
	#body nav ul li.link-home {
		height: auto;
		opacity: 1;
	}
	
	#body nav ul li.link-home a {
		margin: 3px auto 16px;
	}
	
	#body #anti-nav {
		display: none;
		width: 100vw;
		height: 100vh;
		position: fixed;
		top: 0px;
		left: 0px;
		background-color: rgba(0,0,0,0.9);
		z-index: 90;
	}
	
	#body.sub-nav-open #anti-nav {
		display: block;
	}
	
	#body main section {
		padding: 32px 0px;
		
		h2 {
			margin-top: 24px;
		}
	}
	
	.container {
		padding: 0px 16px;
	}

	.col-md-1 {
		width: 8.33%;
	}

	.col-md-2 {
		width: 16.66%;
	}

	.col-md-3 {
		width: 25%;
	}

	.col-md-4 {
		width: 33.33%;
	}

	.col-md-5 {
		width: 41.66%;
	}

	.col-md-6 {
		width: 50%;
	}

	.col-md-7 {
		width: 58.34%;
	}

	.col-md-8 {
		width: 66.67%;
	}

	.col-md-9 {
		width: 75%;
	}

	.col-md-10 {
		width: 83.34%;
	}

	.col-md-11 {
		width: 91.67%;
	}

	.col-md-12 {
		width: 100%;
	}
	
}

@media only screen and (max-width: 767px) {

	h1, .h1 {
		font-size: 56px;
		line-height: 56px;
	}

	h2, .h2 {
		font-size: 36px;
		line-height: 36px;
	}

	h3, .h3 {
		font-size: 30px;
		line-height: 30px;
	}

	h4, .h4 {
		font-size: 24px;
		line-height: 24px;
	}

	h5, .h5 {
		font-size: 22px;
		line-height: 22px;
	}

	h1 span.sub-title {
		font-size: 38px;
	}

	h2 span.sub-title {
		font-size: 26px;
	}

	h3 span.sub-title {
		font-size: 22px;
	}
	
	#body main {
		padding: 16px 0px;
	}
	
	#body main section:last-child {
		margin: 0px 0px 16px;
	}
	
	.sm-hide {
		display: none;
	}

	.col-sm-1 {
		width: 8.33%;
	}

	.col-sm-2 {
		width: 16.66%;
	}

	.col-sm-3 {
		width: 25%;
	}

	.col-sm-4 {
		width: 33.33%;
	}

	.col-sm-5 {
		width: 41.66%;
	}

	.col-sm-6 {
		width: 50%;
	}

	.col-sm-7 {
		width: 58.34%;
	}

	.col-sm-8 {
		width: 66.67%;
	}

	.col-sm-9 {
		width: 75%;
	}

	.col-sm-10 {
		width: 83.34%;
	}

	.col-sm-11 {
		width: 91.67%;
	}

	.col-sm-12 {
		width: 100%;
	}
	
	.float-left {
		margin-right: 8px;
		margin-left: -8px;
		padding: 0px 8px;
	}
	
	.float-right {
		margin-right: -8px;
		margin-left: 8px;
		padding: 0px 8px;
	}

	.v-media {
		margin: 0px auto 8px;
	}

	.home-page-games .home-page-game {
		aspect-ratio: auto;
	}

	.home-page-games .home-page-game a {
		position: relative;
		display: flex;
		background-color: rgba(0,0,0,0.5);
	}

	.home-page-games .home-page-game a .game-image {
		display: inline-block;
		flex: 0 0 200px;
	}

	.home-page-games .home-page-game a .home-page-game-inside {
		display: inline-block;
		position: relative;
		bottom: auto;
		top: auto;
		left: auto;
		height: auto;
		opacity: 1;
		overflow-y: auto;
		padding: 16px 16px 16px 16px;
		background-color: transparent;
	}

	.home-page-games .home-page-game a:hover .home-page-game-inside {
		padding: 16px 16px 16px 16px;
		background-color: transparent;
	}

	.home-page-games .home-page-game a .home-page-game-inside h3 {
		text-align: center;
		color: #ffffff;
	}

	.home-page-games .home-page-game a .home-page-game-inside p {
		color: #ffffff;
	}
	
}

@media only screen and (max-width: 500px) {

	h1, .h1 {
		font-size: 42px;
		line-height: 42px;
	}

	h1 span.sub-title {
		line-height: 28px;
	}
	
	.xs-hide {
		display: none;
	}

	.col-xs-1 {
		width: 8.33%;
	}

	.col-xs-2 {
		width: 16.66%;
	}

	.col-xs-3 {
		width: 25%;
	}

	.col-xs-4 {
		width: 33.33%;
	}

	.col-xs-5 {
		width: 41.66%;
	}

	.col-xs-6 {
		width: 50%;
	}

	.col-xs-7 {
		width: 58.34%;
	}

	.col-xs-8 {
		width: 66.67%;
	}

	.col-xs-9 {
		width: 75%;
	}

	.col-xs-10 {
		width: 83.34%;
	}

	.col-xs-11 {
		width: 91.67%;
	}

	.col-xs-12 {
		width: 100%;
	}
	
	#body nav .sub-nav {
		left: 8px;
	}
	
	.container {
		padding: 0px 8px;
	}
	
	.row {
		margin: 0px -8px 16px;
		font-size: 0px;
	}

	.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
		padding: 0px 8px;
	}

	.home-page-games > div {
		overflow-x: scroll;
	}

	.home-page-games .home-page-game {
		width: auto;
		padding-right: 8px;
		min-width: 472px;
	}

	.home-page-games .home-page-game a {
		min-width: 464px;
	}
	
	.float-left {
		margin-right: 0px;
		margin-left: 0px;
		padding: 0px 32px;
	}
	
	.float-right {
		margin-right: 0px;
		margin-left: 0px;
		padding: 0px 32px;
	}
	
}