/*
Dimension by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/

/*
Homepage Wrapper
Defines the primary structural container used by the Cyberflight Studios
homepage.

Standalone content pages use the shared wrapper defined in site-shell.css.
*/

body:not(.standalone-page) #wrapper {
display: -moz-flex;
display: -webkit-flex;
display: -ms-flex;
display: flex;

-moz-flex-direction: column;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;

-moz-align-items: center;
-webkit-align-items: center;
-ms-align-items: center;
align-items: center;

-moz-justify-content: space-between;
-webkit-justify-content: space-between;
-ms-justify-content: space-between;
justify-content: space-between;

position: relative;

min-height: 100vh;
width: 100%;

padding: 4rem 2rem;

z-index: 3;
}

body:not(.standalone-page) #wrapper:before {
content: '';
display: block;
}

/* Homepage Wrapper - Small Desktop */

@media screen and (max-width: 1680px) {

body:not(.standalone-page) #wrapper {
	padding: 3rem 2rem;
}
}

/* Homepage Wrapper - Tablet */

@media screen and (max-width: 736px) {

body:not(.standalone-page) #wrapper {
	padding: 2rem 1rem;
}
}

/* Homepage Wrapper - Mobile */

@media screen and (max-width: 480px) {

body:not(.standalone-page) #wrapper {
	padding: 1rem;
}
}

/* 
Homepage Header
The homepage interface is primarily contained within #header.
This includes the logo, company information, navigation, and social links.
*/

#header {
display: -moz-flex;
display: -webkit-flex;
display: -ms-flex;
display: flex;
-moz-flex-direction: column;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-moz-align-items: center;
-webkit-align-items: center;
-ms-align-items: center;
align-items: center;
-moz-transition: -moz-transform 0.325s ease-in-out, -moz-filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
-webkit-transition: -webkit-transform 0.325s ease-in-out, -webkit-filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
-ms-transition: -ms-transform 0.325s ease-in-out, -ms-filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
transition: transform 0.325s ease-in-out, filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
background-image: -moz-radial-gradient(rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 55%);
background-image: -webkit-radial-gradient(rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 55%);
background-image: -ms-radial-gradient(rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 55%);
background-image: radial-gradient(rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 55%);
max-width: 100%;
text-align: center;
}

#header > * {
	-moz-transition: opacity 0.325s ease-in-out;
	-webkit-transition: opacity 0.325s ease-in-out;
	-ms-transition: opacity 0.325s ease-in-out;
	transition: opacity 0.325s ease-in-out;
	position: relative;
	margin-top: 3.5rem;
}

	#header > *:before {
		content: '';
		display: block;
		position: absolute;
		top: calc(-3.5rem - 1px);
		left: calc(50% - 1px);
		width: 1px;
		height: calc(3.5rem + 1px);
		background: #ffffff;
	}

#header > :first-child {
	margin-top: 0;
}

#header > :first-child:before {
	display: none;
}

#header .logo {
	background: none;
	box-shadow: none;
	border-radius: 0;
}

#header .logo img {
	width: 12rem;
	height: 12rem;
	object-fit: contain;
	border-radius: 50%;
	display: block;
	margin: 0 auto;
}

#header .content .location {
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.2rem;
	margin-top: -1.25rem;
	margin-bottom: 1rem;
}

#header .content {
	border-style: solid;
	border-color: #ffffff;
	border-top-width: 1px;
	border-bottom-width: 1px;
	max-width: 100%;
}

	#header .content .inner {
		-moz-transition: max-height 0.75s ease, padding 0.75s ease, opacity 0.325s ease-in-out;
		-webkit-transition: max-height 0.75s ease, padding 0.75s ease, opacity 0.325s ease-in-out;
		-ms-transition: max-height 0.75s ease, padding 0.75s ease, opacity 0.325s ease-in-out;
		transition: max-height 0.75s ease, padding 0.75s ease, opacity 0.325s ease-in-out;
		-moz-transition-delay: 0.25s;
		-webkit-transition-delay: 0.25s;
		-ms-transition-delay: 0.25s;
		transition-delay: 0.25s;
		padding: 3rem 2rem;
		max-height: 40rem;
		overflow: hidden;
	}

		#header .content .inner > :last-child {
			margin-bottom: 0;
		}

	#header .content p {
		text-transform: uppercase;
		letter-spacing: 0.2rem;
		font-size: 0.8rem;
		line-height: 2;
	}

/* Homepage Social Media Links */

#header .home-socials {
display: flex;
justify-content: center;
align-items: center;
gap: 1.75rem;
list-style: none;

/* Social box */
width: fit-content;
padding: 0.4rem 1.1rem;
margin: 1.75rem auto 0 auto;

border: solid 1px #ffffff;
border-radius: 4px;
}

#header .home-socials li {
padding: 0;
}

#header .home-socials a {
border-bottom: none;
font-size: 1.55rem;
transition: transform 0.2s ease, opacity 0.2s ease;
}

#header .home-socials a:hover {
transform: scale(1.15);
opacity: 0.75;
}

#header nav ul {
display: -moz-flex;
display: -webkit-flex;
display: -ms-flex;
display: flex;
margin-bottom: 0;
list-style: none;
padding-left: 0;
border: solid 1px #ffffff;
border-radius: 4px;
}

#header nav ul li {
padding-left: 0;
border-left: solid 1px #ffffff;
}

#header nav ul li:first-child {
	border-left: 0;
}

#header nav ul li a {
	display: block;
	min-width: 7.5rem;
	height: 2.75rem;
	line-height: 2.75rem;
	padding: 0 1.25rem 0 1.45rem;
	text-transform: uppercase;
	letter-spacing: 0.2rem;
	font-size: 0.8rem;
	border-bottom: 0;
}

	#header nav ul li a:hover {
		background-color: rgba(255, 255, 255, 0.075);
	}

	#header nav ul li a:active {
		background-color: rgba(255, 255, 255, 0.175);
	}

#header nav.use-middle:after {
content: '';
display: block;
position: absolute;
top: 0;
left: calc(50% - 1px);
width: 1px;
height: 100%;
background: #ffffff;
}

#header nav.use-middle ul li.is-middle {
border-left: 0;
}

body.is-preload #header {
-moz-filter: none;
-webkit-filter: none;
-ms-filter: none;
filter: none;
}

body.is-preload #header > *:not(.logo) {
opacity: 0;
}

body.is-preload #header .content .inner {
max-height: 0;
padding-top: 0;
padding-bottom: 0;
opacity: 0;
}

/* Header - Small Desktop */

@media screen and (max-width: 980px) {

	#header .content p br {
		display: none;
		}
	}

/* Header - Tablet */

@media screen and (max-width: 736px) {

	#header > * {
		margin-top: 2rem;
	}

		#header > *:before {
			top: calc(-2rem - 1px);
			height: calc(2rem + 1px);
		}

	#header .logo {
		width: 4.75rem;
		height: 4.75rem;
		line-height: 4.75rem;
	}

	#header .content .inner {
		padding: 2.5rem 1rem;
	}

	#header .content p {
		line-height: 1.875;
		}
	}

/* Header - Mobile */

@media screen and (max-width: 480px) {

#header {
	padding: 1.5rem 0;
}

	#header nav ul {
		-moz-flex-direction: column;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		width: 100%;
		min-width: 0;
		max-width: 100%;
	}

		#header nav ul li {
			border-left: 0;
			border-top: solid 1px #ffffff;
		}

			#header nav ul li:first-child {
				border-top: 0;
			}

			#header nav ul li a {
				height: 3rem;
				line-height: 3rem;
				width: 100%;
				min-width: 0;
				padding-left: 1rem;
				padding-right: 1rem;
			}

	#header nav.use-middle:after {
		display: none;
	}

#header .logo {
	width: 7rem;
	height: 7rem;
	display: flex;
	justify-content: center;
	align-items: center;
}

#header .logo img {
	width: 7rem;
	height: 7rem;
	border-radius: 50%;
}

#header > .content::before {
	display: none;
}

#header .content {
	width: 100%;
	max-width: 100%;
}

#header .content .inner {
	width: 100%;
	max-width: 100%;
	padding: 2.5rem 1rem;
}

#header nav {
	width: 100%;
	max-width: 100%;
}

#header h1 {
	letter-spacing: 0.25rem;
	word-break: break-word;
}
}