
html {
  scroll-behavior: smooth;
}

body {
	background-image: url('images/grad.png');
	background-repeat: repeat-x;
	background-size: 100% 45%;
	background-position: fixed;
	
	background-color: #222;
	font-size: 1.8dvh;
	font-family: 'Yantramanav', sans-serif;
	color: #EEE;
	
	padding: 0;
	margin: 0;
}

.card {
	position: relative;
	padding: 1dvh;
    box-sizing: border-box;
	font-size: 1.8dvh;
	font-family: 'Yantramanav', sans-serif;
	text-align: center;
}

#about
{
	background-color: #656e65;
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

#contact
{
	background-color: #222;
	background-position: center;
	background-image: url('images/ngo.png');
	background-size: 900px 750px;
	background-repeat: no-repeat;
	
	height: 750px;
	text-align: right;
}

#contacttext
{
	position: absolute;
	width: 20em;
	max-width: 100%;
	margin-right: 10%;
	top: 30%;
	right: 10%;
	padding: 1em;
	background-color: rgba(0, 0, 0, 0.6);	
}

#home {
	margin: 2em 2em 2em 4em;
	background-image: url('images/sudo.png');

	width: 10em;
	height: 3em;
	display: block;
	
	float: left;
	display: table-cell;
}

.bgimg {
	background-size: contain;
	background-repeat: no-repeat;
}

#navbar {
	color: #72bd7e;
	display: table;
	width: 100%;
	vertical-align: center;
}

a:link, a:visited, a:hover, a:active {
  color: #bbf7c6;
  text-decoration: none;
}

.navlink {
	float: right;
	display: table-cell;
	font-size: 1.8dvh;
	font-family: 'Yantramanav', sans-serif;
	margin: 1em;
	font-weight: bold;
}

#content {
	margin: 0 auto;
	width: 100%;
}

#sudo {
	background-image: url('images/sudo_green.png');
	background-size: contain;
	background-position: center;
	max-width: 50em;
	height: 40em;
	margin: 0 auto;
	padding: 0;
	
	position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    z-index: -1;
}

#steam {
	background-image: url('images/steam.png');

	max-height: 50vh;
	width: 100%;
	aspect-ratio: 2 / 1;
	margin: 0 auto;
}

.posting {
	display: none;
}

#jobtable {
	width:100%;
	table-layout: fixed;
}

#jobtable td {
	vertical-align: top;
}

#joblinks {
	padding: 1em;
}

.stores {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.gallery {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	padding: 1em;
	gap: 1em;
	
	a > img {
		height: 100%;
		border-radius: 1em;
	}
}

#trailer {
	display: grid;
	max-width: 80%;
	margin: 0 auto;
	gap: 20px;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	justify-content: center;
	height: 50dvh;
	
	iframe {
		max-width: 800px;
		aspect-ratio: 16 / 9;
	}
}

@media screen and (max-width: 1100px) {
	.gallery {
		grid-template-columns: 1fr 1fr;
	}
	
	.guide {
		padding: 0 1em !important;
		padding-bottom: 6em !important;
	}
}

.nightBanner {
	position: relative;
	display: flex;
	flex-direction: column;
}

#metalink {
	img {
		margin: -20px;
	}
}

.blurb {
	padding: 3em;
}

.seventh {
	display: block !important;
	text-align: center;
	
	a {
		color: #eb1a09;
		font-weight: bold;
	}
}

#reddit {
	width: 32px;
	height: 32px;
}

#storeLinks {
	position: absolute;
	width: 100%;
	top: 80%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4em;
	
	a {
		background: none;
		border: 2px white solid;
		border-radius: 999px;
		padding: 15px 30px;
		font-size: 1.8dvh;
		width: 200px;
		aspect-ratio: 4/1;
		color: white;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	
	a:hover {
		background: rgba(255, 255, 255, 0.1) !important;
	}
}

img {
	max-width: 100%;
}

#the7thNight {
	background-color: #000403;
}

.guide {
	padding: 0 6em;
	padding-bottom: 6em;
	
	> div {
		display: flex;
		flex-direction: row;
		justify-content: center;
		gap: 1em;
	}
	
	img {
		max-height: 30dvh;
	}
}

.tip {
	flex-grow: 1;
	display: flex;
	max-width: 20em;
	align-items: center;
}