:root {
	--style-bg-color: rgb(42,42,61);
	--style-panel-color: rgb(14,26,50);
	--style-menu-color: rgb(47,56,75);
	--style-menu-color-trans: rgba(47,56,75,0.8);
	--style-fg-color: rgb(255,255,255);
	--style-highlight-color: rgb(214,150,49);
	--style-feature-color: rgb(43,67,140);
	--style-dark-bg-color: rgb(24,24,34);
}

::-webkit-scrollbar {
	background: var(--style-dark-bg-color);
	width: 12px;
	height: 12px;
}

::-webkit-scrollbar-thumb {
	background: var(--style-feature-color);
	border-radius: 16px;
	border: 2px solid var(--style-dark-bg-color);
}

* {
	box-sizing: border-box;
}

div, nav, body, ol, ul {
	margin: 0;
	padding: 0;
}

body {
	background-color: var(--style-bg-color);
	color: var(--style-fg-color);
	font-family: 'DM Sans', sans-serif;
	padding-top: 60px;
}

a {
	text-decoration: none;
	color: inherit;
}

h1 {
	font-size: 32pt;
}

h2 {
	font-size: 24pt;
	margin-top: 16px;
	margin-bottom: 8px;
}

h3 {
	font-size: 18pt;
}

h4 {
	font-size: 16pt;
}

#pagecontainer {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.pagecontent {
	display: flex;
	max-width: 1920px;
	min-width: 800px;
	width: 66%;
	margin: 0 auto 0 auto;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
}

#pageheader {
	display: block;
	height: 60px;
	left:0;
	right:0;
	top: 0;
	background-color: var(--style-panel-color);
	position: fixed;
	z-index: 1;
}

#sitelogo {
	display: inline-block;
	height: 60px;
	width: 172px;
	background-image: url("BYONDLogo.svg");
	background-size: 160px 48px;
	background-position: 6px 6px;
	background-repeat: no-repeat;
}

#navigation {
	display: inline-block;
}

#navigation > li {
	display: inline-block;
	margin: 0 16px 0 16px;
	border-bottom: 0px solid var(--style-highlight-color);
	padding: 20px 0 19px 0;
	transition: all 0.1s ease;
	cursor: pointer
}

#navigation > li:hover {
	border-bottom: 4px solid var(--style-highlight-color);
	padding: 20px 0 15px 0;
	transition: all 0.1s ease;
}

.rollover {
	display: none;
	background-color: var(--style-menu-color);
}

#navigation > li:hover > .rollover {
	display: inline-block;
	position: absolute;
	top:60px;
	list-style-type: none;
	margin: 0;
	padding: 4px 8px 8px 0;
}

#navigation > li:hover > .rollover > a {
	display: block;
	text-decoration: none;
	color: var(--style-fg-color);
	padding: 4px 20px 4px 8px;
	border-left: 0 solid var(--style-highlight-color);
	transition: all 0.1s ease-out;
}

#navigation > li:hover > .rollover > a:hover {
	padding: 4px 0 4px 24px;
	border-left: 4px solid var(--style-highlight-color);
	transition: all 0.1s ease-in;
}

#sitelogin {
	list-style: none;
	display: inline-block;
}

#pagebody {
	flex-grow: 1;
}

#pagefooter {
	display: block;
	background-color: var(--style-panel-color);
}

#pagefooter > .pagecontent {
	flex-direction: column;
}

#pagefooter > .pagecontent > nav {
	flex-direction: row;
	margin-bottom: 32px;
	font-size: 8pt;
}

#pagefooter > .pagecontent > nav a {
	text-decoration: none;
	color: var(--style-fg-color);
}

#pagefooter > .pagecontent > nav a:hover {
	text-decoration: none;
	color: var(--style-highlight-color);
}

#pagefooter > .pagecontent > nav > *:not(:last-child)::after {
	content: "\1F784";
	margin: 0 8px;
}

#pagebody > .pagecontent {
	flex-direction: column;
	background-color: rgba(0,0,0,0.2);
}

.carousel {
	position: relative;
	width: 100%;
	background-color: var(--style-feature-color);
	box-shadow: inset 0 0 8px #000;
}

.carousel::before, .carousel::after {
	position: absolute;
	font-size: 72pt;
	top: 50%;
	transform: translateY(-50%);;
}

.carousel .prev, .carousel .next {
	font-size: 0;
	width: 3rem;
	height: 4rem;
	z-index: 1;
	text-align: center;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	text-decoration: none;
	color: #FFF;
	outline: 0;
}

.carousel .prev {
	left: 0;
}

.carousel .next {
	right: 0;
}

.carousel::before {
	content: "<";
	left: -1rem;
	pointer-events: none;
}

.carousel::after {
	content:">";
	right: -1rem;
	pointer-events: none;
}

.carousel ol {
	list-style: none;
}

.carousel .viewport {
	position: absolute;
	padding: 0;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	display: flex;
	overflow-x: hidden;
	counter-reset: item;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	-ms-overflow-style: none;
	scrollbar-color: transparent transparent;
  	scrollbar-width: 0px;
}

.carousel .viewport::-webkit-scrollbar {
	width:0;
}

.carousel .viewport::-webkit-scrollbar-track {
	background: transparent;
}

.carousel .viewport::-webkit-scrollbar-thumb {
	background: transparent;
	border: none;
}

.carousel .slide {
	position: relative;
	flex: 0 0 100%;
	width: 100%;
	transform: translateY(-40vh);
}

.carousel .slide > * {
	transform: translateY(40vh);
}

.carousel .snapper {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	scroll-snap-align: center;
}

.carousel > .navigation {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	text-align: center;
}

.carousel > .navigation > a {
	display: inline-block;
	width: 1rem;
	height: 1rem;
	background-color: #FFF;
	background-clip: content-box;
	border 0.25rem solid transparent;
	border-radius: 50%;
	font-size: 0;
	transition: transform 0.1s;
	text-decoration: none;
	color: var(--style-fg-color);
}

.carousel > .navigation > a:hover {
    background-color: var(--style-highlight-color);
}

section.agreement {
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

section.agreement > .body {
	display: block;
	margin: 32px 15%;
	text-align: left;
}

section.agreement a {
	color: var(--style-highlight-color);
}

section.agreement a:hover {
	text-decoration: underline;
}

section.agreement ul {
	margin: 12px 128px;
	line-height: 1.5;
}

section.agreement ul.plain {
	margin: 12px 80px;
	line-height: 1.5;
	list-style: none;
}

section.agreement ul.plain p {
	margin: 0 0 0 64px;
	line-height: 1.5;
	text-indent: 0;
}

section.agreement p {
	margin: 12px 48px;
	text-indent: 32px;
	line-height: 1.5;
}

section.agreement p.plain {
	text-indent: 0;
}

section.agreement h3 {
	margin: 36px 0 8px 0;
	padding-left: 8px;
	padding-right: 32px;
	display: inline-block;
	border-left: 8px solid var(--style-highlight-color);
	border-bottom: 2px solid var(--style-highlight-color);
	border-bottom-left-radius: 8px;
	border-top-left radius: 8px;
}

section.agreement .h3bg {
	margin: 36px 0 8px 8px;
	padding-left: -8px;
	background-image: linear-gradient(to right,rgba(0,0,0,0.4),transparent);
}

section.agreement .h3bg > h3 {
	margin: 0;
}

section.agreement h2 {
	display: inline;
	margin: 120px auto 12px auto;
	padding: 0 32px;
	border-bottom: 4px solid var(--style-highlight-color);
}

section.agreement h5 {
	display: inline;
}