
@font-face {
  font-family: 'Orbitron';
  src: url('Fonts/Orbitron-VariableFont_wght.ttf') format('truetype');
}
@font-face {
  font-family: 'Barlow';
  src: url('Fonts/Barlow-Regular.ttf') format('truetype');
}

:root {
    /*define color theme:*/
    --primary: #333333;
    --secondary: white;
    --tertiary: #E29413;

    /*define and name unicode characters*/
    --plus-sign: "\2795";
    --minus-sign: "\2796";
    --download-arrow: "\2B73";
}

body {
    background: var(--primary);
}

.main {
    margin-top: 81px;
}

#navbar-container {
    //display: inline-flex;
    flex-direction: row;
    list-style-type: none;
    margin: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
    z-index: 2;
    top: 0;
    position: fixed;
    float: center;
    background-color: #333;
    text-align: center;
    border-bottom: 1px solid var(--tertiary);
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    font-size: 16px;
    font-kerning: normal;
    text-transform: uppercase;
}

.navbar {
	width: 100%;
}

.nav-menu {
	width: calc(100vw-4.5em);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 5px;
}

.nav-menu.nav-item {
	list-style: none;
}

.nav-menu-mobile {
	display: none;
}

.nav-item {
	display: flex;
}

#nav-sm {
	float: right;
}

.nav-break:not(#nav-end) {
	padding: 0px 6%;
}

#nav-end {
	padding: 0px 8px;
}

.nav-collection {
	display: none;
}

.hamburger {
	display: none;
	cursor: pointer;
}

.bar {
	display: block;
	width: 25px;
	height: 3px;
	margin: 5px auto;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	background-color: white;
}

a#nav-textlink {
    color: var(--secondary);
    text-decoration: none;
    padding-top: 10px;
    padding: 10px 16px;
    margin: 5px;
    width: 100%;
    border-top: 0px solid var(--tertiary);
}

a#nav-textlink:hover {
    border-top: 1px solid var(--tertiary);
    transition-duration: 0.25s;
}

#nav-logo {
    display: inline-flex;
    float: left;
    height: 55px;
    padding-top: 5px;
    margin-left: 20px;
}

.nav-platforms, a#logolink {
    float: right;
    height: 23px;
    transition-duration: 0.5s;
    margin-right: 5px;
    margin-left: 5px;
}

h2#news, h2#about, h2#downloads, h2#resources, h2#faq {
    border-bottom: 4px solid var(--tertiary);
    color: var(--secondary);
    text-align: left;
    padding-left: 25px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 22.4px;
    text-transform: uppercase;
    line-height: 2.25;
}

h3#about-hdr3 {
    border-bottom: 4px solid var(--tertiary);
    color: var(--secondary);
    text-align: left;
    padding-left: 25px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 2.25;
    width: 65%;
}

h3#about-hdr3-flipped {
    border-bottom: 4px solid var(--tertiary);
    color: var(--secondary);
    text-align: right;
    padding-right: 25px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 2.25;
    width: 65%;
    float: right;
}


/*start of modal styling*/
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.9);
}

/*modal content*/
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 75%;
}

/*modal animation*/
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}
/*end of modal styling*/


p {
    color: var(--secondary);
    font-family: 'Barlow', sans-serif;
}

body, html {
    height: 100%;
    z-index: 1;
    scroll-behavior: smooth;
    scroll-padding-top: 75px;
}

/* The hero image */
.hero-image {
    /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
    background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.5)), url("Images/banner.png");

    /* Set a specific height */
    height: 50%;
    margin-top: 45px;
    padding-top: 360px;

    /* Position and center the image to scale nicely on all screens */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;

    border-bottom: solid var(--tertiary) 1px;
}

/* Place text in the middle of the image */
.hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--secondary);
    text-shadow: 0px 4px 4px black;
    line-height: 1.8;
}

#tldr {
	font-size: 11px;
	font-family: 'Barlow', sans-serif;
	margin-top: -60px;
}

.section-container {
    margin-top: 80px;
    margin-left: 200px;
    margin-right: 200px;
}

/*News feed roll*/
.news-row:after {
	content: "";
	display: table;
	clear: both;
}

.news-row {
	display:flex;
	margin-top: 15px;
	width: 100%;
}

.news-bg-img {
	filter: blur(9px);
	-webkit-filter: blur(9px);
	background-size: cover;
	position: relative;
	height: 100%;
}

.news-text {
	background-color: rgba(0,0,0, 0.0);
	text-align: center;
	padding: 10px 5px 5px 0px;
	font-size: 15px;
	text-decoration: none;
	color: #E29413;
	font-family: 'Orbitron';
	line-height: 1.2;
	text-overflow: ellipsis;
	letter-spacing: 1px;
}

.news-box {
	box-shadow: 0 0 8px 8px var(--primary) inset;
	text-align: center;
	position: relative;
	padding: 15px;
	min-height: 225px;
	max-height: 225px;
	display: inline-block;
	vertical-align: top;
	overflow: hidden;
}

.news-box:hover {
	box-shadow: 0 0 8px 6px var(--primary) inset;
}

.link {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: -1;
}

#about-text {
    line-height: 2;
}

.text-content {
    margin: 1% 3% 2% 3%;
    text-align: left;
    color: var(--secondary);
    font-family: 'Barlow', sans-serif;
    line-height: 1.8;
}

.text-content-flipped {
    margin: 5px 3% 2% 3%;
    padding-top: 3.5%;
    text-align: left;
    color: var(--secondary);
    font-family: 'Barlow', sans-serif;
    line-height: 1.8;
}

#text-content-link {
    text-decoration: none;
    color: var(--tertiary);
}

.about-imgs {
    display: inline;
    width: 30%;
    margin-left: 3%;
    margin-top: -4%;
    margin-bottom: 5%;
    float: right;
    outline: var(--tertiary) solid 2px;
}

.hasModal {
	cursor: pointer;
}

.about-imgs-flipped {
    display: inline;
    width: 30%;
    margin-right: 3%;
    margin-top: -2%;
    margin-bottom: 5%;
    float: left;
    outline: var(--tertiary) solid 2px;
}

table,tr,td#downloads-sectioned {
    padding-right: 150px;
}

#resource-block {
    flex: left;
    flex-grow: 1;
}

#resources-content {
    display: flex;
}

#resource-list {
    list-style: disc;
    margin-left: 25px;;
}

#resources-content > #resource-block {
    padding-right: 20px;
}

.resource-btn#moddb {
    padding: 0px;
    background: none; border: none;
    box-shadow: 0px 0px 0px #D7323C;
}

.resource-btn#moddb:hover {
    box-shadow: 0px 0px 5px #D7323C;
    transition-duration: 0.25s;
}

.collapsible {
	background-color: #777;
	color: white;
	cursor: pointer;
	padding: 18px;
	width: 100%;
	border: none;
	text-align: left;
	border: 1px solid rgba(18.3, 18.3, 18.3, 0.6);
	font-size: 0.9375em;
}

.collapsible:after {
	content: var(--plus-sign);
	font-size: 13px;
	color: white;
	float: right;
	margin-left: 5px;
}

.active, .collapsible:hover {
	background-color: #555;
}

.active {
	border-top: 1px solid var(--tertiary);
	border-right: 1px solid var(--tertiary);
	border-left: 1px solid var(--tertiary);
}

.active:after {
	content: var(--minus-sign);
}

.dropdown-content {
	padding: 15px 18px;
	display: none;
	overflow: hidden;
	background-color: #333;
	border-bottom: 1px solid var(--tertiary);
	border-right: 1px solid var(--tertiary);
	border-left: 1px solid var(--tertiary);

}

.footer-container {
    border-top: 2px solid var(--tertiary);
    color: var(--secondary);
    padding-top: 15px;
    padding-bottom: 13px;
    text-align: center;
    font-family: 'Barlow', sans-serif;
	height: 12%;
    font-size: 13px;
    width: 100%;
	
	display: flex;
	align-items: center;
	justify-content: space-around;
	gap: 5%;
	flex-wrap: wrap;
}

#footer-disclaimer {
	width: 50%; padding-top: 20px; padding-bottom: 15px; flex-basis: 50%;
}

.footer-vl {
	border-left: 1px solid var(--tertiary);
	height: 85%;
	flex-shrink: 0;
	flex-basis: 1%;
}

.footer-press {
	display: flex;
	flex-wrap: none;
	flex-basis: 33%;
	align-items: center;
	justify-content: space-evenly;
	gap: 5%;
	font-family: 'Orbitron', sans-serif;
	font-size: 24px;
	font-weight: 700;
}

/*
* this will grow most text fonts for much improved 
* readability and UX on mobile devices and smaller screen sizes
*/
@media(max-width:1600px) {
	.navbar {
		display: none;
	}
	
	.hamburger {
		display: block;
		padding: 16px 26px;
		float: right;
	}

	.hamburger.active, .nav-menu-mobile.active {
		border-top: none;
		border-right: none;
		border-left: none;
		background-color: var(--primary);
	}

	.hamburger.active:after, .nav-menu-mobile.active:after {
		content: none;
	}
	
	.hamburger.active .bar:nth-child(2) {
		opacity: 0;
	}
	
	.hamburger.active .bar:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}
	
	.hamburger.active .bar:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}
	
	.nav-menu-mobile {
		position: fixed;
		right: -100%;
		top: 70px;
		gap: 0;
		flex-direction: column;
		background-color: #262626;
		width: 100%;
		text-align: center;
		transition: 0.3s;
		border-bottom: 1px solid var(--tertiary);
	}
	
	.nav-menu-sublist {
		display: block;
		margin: 16px 0px;
		color: var(--tertiary);
		font-size: 24px;
	}
	
	.nav-menu {
		display: none;
	}
	
	.nav-item {
		display: none;
	}
	
	.nav-menu-mobile.active {
		right: 0px;
	}
	
	.nav-break {
		display: none;
	}
	
	.nav-collection:not(.nav-menu-sublist) {
		display: block;
		margin: 16px 0px;
		color: var(--secondary);
		font-size: 30px;
	}
	
	.nav-platforms, a#logolink {
		max-width: 24px;
		height: auto;
		padding-top: 5px;
		padding-right: 15px;
		padding-left: 15px;
		padding-bottom: 5px;
		//margin-right: 25px;
		//margin-left: 25px;
	}
	
	/*formatting everything else  for mobile:*/
	.section-container {
		margin-top: 80px;
		margin-left: 90px;
		margin-right: 90px;
	}
	
	.text-content {
		font-size: 18px;
	}
	
	h2#news, h2#about, h2#downloads, h2#resources, h2#faq {
		font-size: 24.4px;
	}
	
	.collapsible:after {
		font-size: 15px;
	}
	
	.footer-container {
		font-size: 60%;
		flex-wrap: wrap;
		flex-basis: none;
	}
	
	.footer-press {
		flex-wrap: wrap;
		flex-basis: none;
	}
	
}