@font-face 
{
	font-family: lemon milk;
	src: url("fonts/LEMONMILK-Regular.otf");
}

@font-face 
{
	font-family: kozuka gothic;
	src: url("fonts/KozGoPr6N-Medium.otf");
}

@font-face 
{
	font-family: kozuka gothic;
	font-weight: bold;
	src: url("fonts/KozGoPr6N-Bold.otf");
}

html {
	scroll-behavior: smooth;
}
body 
{
	background-color: #000000;
	margin: 0px;
	padding: 0px;	
	color: #FFFFFF;
	font-family: kozuka gothic;
	font-size: 50px;
}

@media screen and (min-width: 1141px) { 
	.mobile {
		display: none;
	}
	
	img.slide_border
	{
		position: absolute;
		top: 200px;
		right: 40px;
		width: 1000px;
		max-width: 45%;
		transform: translateY(-35%);
	}

	img.slide_photo
	{
		position: absolute;
		top: 200px; 
		right: 40px;
		width: 980px;
		max-width: 44%;
		transform: translateY(-34.5%) translateX(-1.2%);
	}
}

video.bgvideo {
	position: fixed;
	right: 0;
	bottom: 0;
	min-width: 100%;
	min-height: 100%;
	transform: translateX(calc((100% - 100vw) / 2));
}

video.topvideo {
	position: absolute;
	right: 0;
	top: 0;
	min-width: 100%;
	max-height: 1080px;
	object-fit: cover;
}

div.uppergradient {
	position: absolute;
	min-width: 100%;
	width: 100%;
	max-width: 100%;
	top: 0;
	height: 350px;
	background-image: linear-gradient(rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0));
}

div.lowergradient {
	position: fixed;
	min-width: 100%;
	bottom: 0;
	height: 350px;
	background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.95));
}

table.games {
	width: 100%; 
	height: 1200px;
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	padding: 0px; 
	margin: 0px; 
	border: 0px; 
	border-collapse: collapse;
}

table.about {
	width: 100%; 
	height: 1080px;
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	padding: 0px; 
	margin: 0px; 
	border: 0px; 
	border-collapse: collapse;
	position: relative;
}

td.game_table {
	padding: 0px;
	position: relative; 
	z-index: 1;
}

td.bottomtext {
	text-align: center;
	padding-right: 15%;
	padding-left: 15%;
	font-size: min(22px, 3.5vw);
}

table.careers {
	width: 100%;
	padding: 0px; 
	margin: 0px; 
	border: 0px; 
	border-collapse: collapse;
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	background-image: url('images/cdl_lab_hallway_01.jpg');
}

table.contact {
	width: 100%;
	padding: 0px; 
	margin: 0px; 
	border: 0px; 
	border-collapse: collapse;
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	background-image: url('images/cdl_ship_01.jpg');
}

table.joblist {
	margin: auto; 
	padding: 10px; 
	background-color: rgba(22, 22, 22, 0.85); 
	max-width: 100%; 
	width: min(100%, 1400px);
}

table.condensed {
	padding: 0px; 
	margin: 0px; 
	border: 0px; 
	border-collapse: collapse;
}

td.perks_icon {
	padding-left: 40px;
	padding-right: 10px;
	vertical-align: middle;
}

td.perks_text {
	font-size: 24px;
	font-family: lemon milk;
	vertical-align: middle;
}

img.jobicons
{
	width: 80px;
}

div.slideshow
{
	animation-name: fade;
	animation-iteration-count: infinite;
	animation-duration: 25s;
}

div.slideshow:nth-child(1) {
	animation-delay: 0s;
}

div.slideshow:nth-child(2) {
	animation-delay: -20s;
}

div.slideshow:nth-child(3) {
	animation-delay: -15s;
}

div.slideshow:nth-child(4) {
	animation-delay: -10s;
}

div.slideshow:nth-child(5) {
	animation-delay: -5s;
}

@keyframes fade{
  0% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  95% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

td.career_title
{
	background-color: rgba(39, 39, 39, 0.85);
	vertical-align: top;
	padding-top: 0px;
	padding-left: min(1%, 30px);
}

img.career_title 
{
	max-width: 30%;
	width: 500px;
}

td.career_splash
{
	background-color: rgba(39, 39, 39, 0.85);
	padding-left: min(3%, 90px);
}

img.career_splash
{
	max-width: 50%;
	width: 850px;
}

td.career_perks {
	background-color: rgba(22, 22, 22, 0.85);
	width: 75%;
	padding-top: 20px;
	padding-bottom: 20px;
}

img.scale 
{ 
	max-width: 100%;
	height: auto;
}

img.social_icons
{
	width: 30px;
	height: auto;
}

img.title_splash
{
	position: fixed; 
	left: 0; 
	top: 60%; 
	width: 750px; 
}

img.left_splash
{
	width: 750px;
	max-width: 95%;
}

img.right_splash
{
	width: 850px;
	max-width: 95%;
}

img.left_splash_larger
{
	width: 900px;
	max-width: 95%;
}

img.right_splash_larger
{
	width: 900px;
	max-width: 95%;
}

img.arrow_splash
{
	width: 100px;
	max-width: 15%;
	opacity: 65%;
}

td.job_table
{
	font-size: 22px;
	font-family: kozuka gothic;
	text-align: left;
	vertical-align: top;
}

td.job_sidepanel
{
	font-size: min(22px, 1.2vw);
	font-family: kozuka gothic;
	text-align: left;
	vertical-align: top;
}

table.perks_table
{
	width: min(1000px, 50%);
}

hr.line
{
	border: 0;
	background-color: #bc3333;
	height: 2px;
	margin-bottom: 1vw;
	margin-top: 1vw;
}

hr.neutralline
{
	border: 0;
	background-color: #2b2b2b;
	height: 3px;
	width: 80%;
}

hr.neutralline_wide
{
	border: 0;
	background-color: #2b2b2b;
	height: 3px;
	width: 100%;
}

ul.nobullets 
{
	list-style-type: none;
}

a 
{ 
	text-decoration: none;
	color: #FF0000;
}

a:hover 
{ 
	color: #FFFFFF;
}

img.opacity
{
	transition: opacity 200ms;
}

img.opacity:hover
{
	opacity: 100%;
}

a.navbar
{
	transition: background-color 200ms;
    color: #FFFFFF;
    font-size: 26px;
	font-family: lemon milk;
	padding: 3px 15px 5px 15px;
}

a.navbar:hover
{
	background-color: #d5061e;
	box-sizing: border-box;
}

a.navbar_small
{
	font-size: 18px;
	padding: 2px 8px 2px 8px;
}

a.navbar_socialicons
{
	padding-bottom: 0px; 
	padding-top: 8px; 
	padding-left: 8px; 
	padding-right: 8px;
	margin-left: 20px;
}

td.footertext
{
	text-align: left;
	font-size: 16px;
	vertical-align: bottom;
	font-family: lemon milk;
}

td.footertext_small
{
	font-size: 12px;
}

td.navbutton
{
	padding-top: 0px;
	padding-bottom: 30px;
	vertical-align: top;
}

td.newsspacer
{
	width: 5%;
}

td.contentheading
{
	background-color: #1b1b1b;
	font-size: max(26px, 1.4vw);
	font-family: kozuka gothic;
	font-weight: bold;
	padding: 0px 25px 0px 25px;
	white-space: nowrap;
	width: 40%;
}

td.contenttext
{
	font-size: max(20px, 1.2vw);
	font-family: kozuka gothic;
	height: 100%;
	padding-left: 10px;
}

div.contenttext
{
	font-size: min(24px, 3.5vw);
	font-family: kozuka gothic;
	height: 100%;
	padding-left: 40px;
}

.smallcontent
{
	font-size: max(16px, 1.0vw);
	font-family: kozuka gothic;
	padding-left: 10px;
	height: 100%;
}

.smallercontent 
{
	font-size: max(12px, 0.75vw);
}

td.smallheading
{
	font-size: max(26px, 1.6vw);
	font-family: kozuka gothic;
}

table.contenttable
{
	border-collapse: collapse;
	border-spacing: 0px;
	margin: 0px;
}

.flat_lineheight
{
	line-height: 100%;
}

.zero_lineheight
{
	line-height: 0px;
}

iframe.steamframe
{
	width: min(100%, 646px);
	height: 190px;
	border: none;
}

span.highlight
{
	background-color: #d5061e;
	font-weight: bold;
	padding: 7px;
}

span.titlehighlight
{
	background-color: #d5061e;
	font-weight: bold;
	font-size: min(24px, 3.0vw);
	padding: 10px;
}

span.smallhighlight
{
	background-color: #d5061e;
	font-weight: bold;
	font-size: max(18px, 1.1vw);
	padding: 10px;
}

span.mildhighlight
{
	background-color: #2b2b2b;
	font-weight: bold;
	font-size: min(24px, 3.5vw);
	padding: 10px;
}

span.bighighlight
{
	background-color: #2b2b2b;
	font-size: min(36px, 4.5vw);
	font-family: lemon milk;
	padding: 10px;
}

span.mediumhighlight
{
	font-size: min(28px, 3.5vw);
	font-family: lemon milk;
	padding: 10px;
}

span.smalltext
{
	font-size: max(16px, 1.0vw);
}

ul.contactlist
{
	margin: 0px 0px 50px 0px;
}

/* MOBILE */

@media screen and (max-width: 1140px) { 
	.web {
		display: none;
	}
	
	td.newsspacer
	{
		width: 5%;
	}
		
	td.contentheading
	{
		text-align: center;
	}
	
	a.navbar
	{
		text-align: center;
	}
	
	a.navbar_small
	{
		font-size: 17px;
	}
	
	td.footertext
	{
		text-align: center;
		font-size: 12px;
	}
	
	td.footertext_small
	{
		font-size: 10px;
	}

	a.navbar_socialicons
	{
		margin-left: 3px;
		margin-right: 3px;
	}

	img.title_splash
	{
		left: 0;
		max-width: 100%;
	}
	
	table.games {
		height: 720px;
	}
	
	table.about {
		height: 720px;
	}
	
	div.uppergradient {
		height: 250px;
	}
	
	div.lowergradient {
		height: 250px;
	}
	
	img.left_splash
	{
		width: 650px;
	}
	
	img.right_splash
	{
		width: 750px;
	}
	
	td.career_title
	{
		padding: 0px;
		padding-left: 0px;
	}
	
	img.career_title 
	{
		max-width: 50%;
	}

	td.career_splash
	{
		padding: 0px;
		padding-left: 0px;
		text-align: center;
	}
	
	img.career_splash
	{
		max-width: 100%;
	}
	
	table.perks_table
	{
		width: 100%;
	}
	
	img.slide_border
	{
		position: absolute;
		transform: translate(-50%, -1.5%);
		max-width: 92%;
	}

	img.slide_photo
	{
		position: absolute;
		transform: translate(-50%);
		max-width: 90%;
	}
	
	img.jobicons
	{
		max-width: 100%;
	}

	td.perks_text {
		font-size: 3.0vw;
	}
	
	td.perks_icon {
		padding: 0px;
		padding-left: 10px;
		padding-right: 10px;
	}
	
	td.career_perks {
		width: 100%;
		padding-top: 5px;
		padding-bottom: 5px;
	}
	
	table.careers {
		background-image: none;
	}
	
	video.topvideo {
		max-height: 720px;
	}
	
	div.contenttext
	{
		padding-left: 10px;
	}
	
}

#menu_toggle {
	display: none;
}

#menu_toggle:checked + .menu_button > span {
	transform: rotate(45deg);
}

#menu_toggle:checked + .menu_button > span::before {
	top: 0;
	transform: rotate(0deg);
}

#menu_toggle:checked + .menu_button > span::after {
	top: -4px;
	transform: rotate(-90deg);
}

#menu_toggle:checked ~ .menu_box {
	right: 0 !important;
}
.menu_button {
	position: relative;
	cursor: pointer;
	z-index: 10;
	text-align: right;
}
.menu_button > span,
.menu_button > span::before,
.menu_button > span::after {
	display: block;
	position: relative;
	width: 40px;
	height: 3px;
	background-color: #FFFFFF;
	transition-duration: 200ms;
}
.menu_button > span::before {
	content: '';
	top: -12px;
}
.menu_button > span::after {
	content: '';
	top: 9px;
}
.menu_box {
	display: block;
	position: fixed;
	top: 150px;
	right: -100%;
	width: 250px;
	margin: 0;
	padding: 20px 0;
	list-style: none;
	background-color: #1b1b1b;
	box-shadow: -4px -4px 10px rgba(0, 0, 0, .6);
	transition-duration: 250ms;
	z-index: 10;
}
.menu_item {
	text-align: left;
	display: block;
	padding: 12px 24px;
	color: #FFFFFF;
	font-family: lemon milk;
	font-size: 24px;
	transition-duration: 200ms;
}
.menu_item:hover {
	background-color: #d5061e;
}


