html {
	height: 100%;
}

body {
	width: 100%;
	height: 100%;
	min-height: 100%;
	background-color: #000;
	margin: 0;
	color: #FFF;
	font-size: 1em;
	overflow: hidden;
}

a	{
	-o-transition: color 0.3s linear;
	-moz-transition: color 0.3s linear;
	-khtml-transition: color 0.3s linear;
	-webkit-transition: color 0.3s linear;
	-ms-transition: color 0.3s linear;
	transition: color 0.3s linear;
	color: #FFF;
	text-decoration: none;
}

a:hover		{ 		
	color: #777; 		
}

header {
	text-align: center;
	padding-top: 20%;
	background-color: rgba(0,0,0,0.8);
}

abbr:hover {
	cursor: help;
}

p {
	line-height: 25px;
}

header > * {
	z-index: 9;
	position: relative;
}

.dn {
	display: none;
}

#logo {
	background-color: transparent;
	margin: 0 auto;
	width: 25%;
	height: 120px;
	padding: 13px 0;
	position: relative;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
}

#sword, #gear, #sidr-id-sword, #sidr-id-gear {
	position: absolute;
	width: 150px;
	height: auto;
}

#sidr-id-sword, #sidr-id-gear {
	left: 40px;
	margin-top: 30px;
}

.header-dropin {
	opacity: 0;
	position: absolute;
	top: -20px;
	font-family: "Marcellus";
	font-size: 1.8rem;
	line-height: 64px;
	height: 70px;
}

.header-title {
	line-height: 70px;
	height: 67px;
	left: 5%;
	margin-left: 70px;
	height: 65px;
	line-height: 70px;
	z-index: 9;
	border-bottom: 3px solid transparent;
	-o-transition: color 0.3s linear, background-color 0.3s linear;
	-moz-transition: color 0.3s linear, background-color 0.3s linear;
	-khtml-transition: color 0.3s linear, background-color 0.3s linear;
	-webkit-transition: color 0.3s linear, background-color 0.3s linear;
	-ms-transition: color 0.3s linear, background-color 0.3s linear;
	transition: color 0.3s linear, background-color 0.3s linear;
}

.header-text:hover {
	background-color: #222;
	border-bottom-color: #999;
}

.header-link:hover {
	cursor: pointer;
}

nav {
	opacity: 0;
	text-align: right;
}

nav ul, .submenu ul, .film-cells 	{
	list-style-type: none;
    margin: 0;
    padding: 0;
    padding-top: 2px;
	font-size: 1.7rem !important;
	color: #FFF;
}

nav li, .submenu-link	{		
	display: inline;		
	padding-right: 40px;
	text-align: right;
}


#main-menu, #mobile-menu {
	position: absolute;
	right: 5%;
	left: auto;
	width: 50%;
	float: right;
	z-index: 9;
}

#main-menu li {
	position: relative;
}

#main-menu a:hover {
	color: #91e6ff;
}

#main-menu a, .submenu a {
	display: inline-block;
	min-height: 70px;
}

#main-menu, .submenu a:hover, .film-cells li img:hover {
	cursor: pointer;
}

#main-menu li:hover:after, .main-menu-selected:after, .main-menu-selected-long:after, .submenu-selected a:after {
	content: '';
    width: 0;
    height: 0;
    top: 47px;
    left: 20%;
    position: absolute;
    border-style: solid;
    border-width: 0 12.5px 6px 12.5px;
    border-color: transparent transparent #666 transparent;
}

#main-menu li:hover:after > *, .submenu li:hover:after > * {
	border-color: transparent !important;
}

.longer:hover:after, .main-menu-selected-long:after, .main-menu-selected-long:hover:after {
	content: '';
	left: 32% !important;
}

.main-menu-selected-long a {
	color: #91e6ff;
}

.no-after:hover:after {
	border: 0 !important;
}

#mobile-menu {
	display: none;
	opacity: 0;
	right: 0;
}

#mobile-menu-button {
	display: block;
    width: 100%;
    height: 100%;
    font-size: 2rem;
    padding-top: 15px;
    border-left: 1px solid #444;
    border-bottom: 1px solid #666;
}

.sidr {
	font-family: "Marcellus";
	font-size: 1.4rem;
	padding-top: 30px;
}

.sidr, .sidr > *, .sidr ul, .sidr ul li:hover>a, .sidr ul li, .sidr ul li:hover   {
	box-shadow: none !important;
	border: none;
	line-height: 4rem;
}

.sidr ul li {
	padding-left: 30px;
}

.sidr ul li a:hover {
	cursor: pointer;
	color: #91e6ff;
}

#sidr-id-title {
	display: none;
}

#main {
	background: url('../images/background_large.jpg') center top no-repeat;
	background-size: 100%;
	background-position-y: -100px;
	font-family: "Arial";
	height: 0;
}

#main > * {
	opacity: 0;
	z-index: 8;
}

section {
	display: none;
	opacity: 0;
    position: relative;
    top: 0;
	border: 1px solid #666;
	background-color: rgba(0,47,104, 0.98);
	margin: 0 auto;
	width: 100%;
    left: auto;
    padding: 2% 5% 5% 5%;
    font-size: 1.2rem;
}

#intro {
	width: 50%;
	height: 50%;
	display: none;
	opacity: 0;
	position: absolute;
	top: 100%;
	left: 10%;
	background-color: #000;
	border: 0px;
	padding-top: 30px;
    border: 2px solid #000;
    border-radius: 10px;
}

#intro p {
	font-family: "Marcellus";
	font-size: 1.6rem;
	font-weight: bold;
	color: #FFF;
	padding: 10px;
	line-height: 2rem;
}

#intro a {
	text-decoration: underline;
	color: #999;
}

#work {
	padding: 20px;
	background-color: rgba(0,47,104, 0.98);
	position: relative;
	z-index: 8;
	line-height: 40px;
}

.submenu {
	width: 20%;
	position: absolute;
	float: left;
	border-right: 1px solid #666;
}

.submenu-open:after {
	content: '';
    width: 1px;
    height: 300px;
    top: 30px;
    left: 21%;
    position: absolute;
    background-color: #666;
}

.submenu li {
	display: block !important;
	font-size: 1.5rem !important;
	padding-bottom: 25px;
}

.submenu li:last-of-type {
	padding-bottom: 100px !important;
}

.submenu-selected a:after {
	content: '';
	border-color: transparent !important;
	border-width: 12.5px 8px 12.5px 0 !important;
	border-color: transparent #91e6ff transparent transparent !important;
	top: 7px !important;
	left: auto !important;
	right: -20px !important;
}

.submenu li:hover a, .main-menu-selected {
	color: #91e6ff;
}

.submenu a {
	min-height: 0 !important;
}

.submenu-selected a {
	color: #91e6ff;
	font-weight: bold;
	position: relative;
}

.submenu-content {
	position: absolute;
	float: right;
	top: 0;
	left: 20%;
	display: none;
	opacity: 0;
	text-align: left;
	font-size: 1.3rem;
	line-height: 1.8rem;
    padding: 0 5% 30px 5%;
}

.submenu-content a, #about a {
	color: #91e6ff;
}

.submenu-content a:hover, #about a:hover {
	color: #999;
	text-decoration: underline;
}

.submenu-content a:after {
	border:  none;
}

.submenu-content h2:first-of-type {
	font-family: "Marcellus";
	font-weight: normal;
}

.submenu-content h5 {
	font-size: 1.1rem;
    margin: 1.5em 0 0 0;
    font-weight: normal;
    color: #aaa;
}

.submenu-content ul {
	list-style: square;
	margin-left: 30px;
	margin-bottom: 60px;
}

.submenu-content li {
	display: list-item !important;
	font-size: 1.4rem !important;
}

.filmstrip {
	background-color: #000;
	padding-bottom: 100px;
	padding-top: 30px;
	top: 150px;
	border-top: 2px solid #666;
}

.filmstrip, .film-img-caption {
    width: 100%;
    position: absolute;
    top: 100%;
    opacity: 0;
    display: none;
}

.film-cells {
	text-align: center;
}

.film-cells li {
	display: inline-block;
}

.film-cells li img {
	max-height: 100px;
	margin-bottom: 15px;
	margin-right: 40px;
	border: 3px solid #222;
	z-index: 10;
}

.film-img-caption {
	top: -100px;
	position: fixed;
	height: 70px;
	padding: 5px;
	background-color: rgba(0,0,0,0.85);
	border-bottom: 2px solid #666;
}

.film-img-caption p {
	font-size: 1.1rem;
	text-align: center;
}

#about {
	padding: 10px 20% 90px 20%;
}

#about h2 {
	font-family: "Marcellus";
}

#about .sword {
	font-family: "Marcellus";
	font-size: 14rem;
	font-weight: bold;
	padding: 60px 0 0 0;
    margin: 0;
    text-align: center;
}

#about .sword img {
	width: 30%;
}

#about .sword span {
	position: relative;
    top: -100px;
}

.buttons {
	display: flex;
	flex-flow: row wrap;
	row-gap: 30px;
	justify-content: flex-start;
	margin-top: 30px;
	margin-bottom: 30px;
}

.buttons a {
	padding: 7px 20px;
    margin-right: 30px;
    font-weight: bold;
    background-color: #91e6ff;
    color: #000 !important;
    border-bottom: 7px solid #000;
    width: 45%;
    max-width: 250px;
    text-align: center;
}

.buttons a:hover {
	background-color: #fff;
	text-decoration: none !important;
}

.skills {
	display: flex;
	flex-flow: row wrap;
	padding: 30px 0 60px 0;
}

.skills:first-of-type {
	padding-bottom: 30px;
}

.skills > * {
	flex: 1;
}

.skills p {
	font-weight: bold;
	margin-top: 0;
}

.skills ul {
	flex: 2;
}

.skills ul li {
	padding-bottom: 7px;
}


/* media queries */

@media all and (max-width: 1650px) {
	nav ul, .submenu li, .film-cells {
		font-size: 1.5rem !important;
	}
	section {
		border-left: none;
		border-right: none;
	}
	.submenu-content li {
		font-size: 1.2rem !important;
	}
	.submenu {
		line-height: 1.6rem;
	}
	#main-menu li:hover:after, .main-menu-selected:after {
		top: 46px;
	}
	.submenu-selected a:after {
		top: 0 !important;
	}
}

@media all and (max-width: 1500px) {
	.submenu-content {
		top: 0;
		font-size: 1.2rem;
    	line-height: 1.5rem;
	}
	.submenu-link h2:first-of-type {
		margin-bottom: inherit;
	}
	#intro p {
		padding: 5px;
	}
	.skills ul {
	    padding-left: 40px;
	}
}

@media all and (max-width: 1300px) {
	#main-menu {
		right: 2%;
	}
	#about {
	    padding: 10px 10% 90px 10%;
	}
	.buttons {
		justify-content: space-around;
	}
}

@media all and (max-width: 1000px) {
	#title {
		display: none;
	}
	#main-menu {
		width: 98%;
	}
	#main-menu .icon {
		padding-right: 20px;
	}
	#main {
		margin-top: 0;
		background-position-y: 0;
	}
	.submenu {
		border: none;
	}
	.submenu li {
		font-size: 1.3rem !important;
		padding-bottom: 20px;
	}
	.submenu-link {
		text-align: left;
		padding-right: 0;
		padding-left: 2%;
	}
	.submenu-selected a:after {
		border: none;
	}
	#about .sword span {
	    top: -40px;
	}
}

@media all and (max-width: 800px) {
	#main {
		/*background-position-y: 60px;*/
	}
	.skills > * {
	    flex: 1 100%;
	}
	.skills ul:first-of-type {
		padding-bottom: 30px;
	}
	div.skills:last-of-type {
		padding-top: 10px;
	}
	#about .sword {
		font-size: 10rem;
	}
	#about .sword span {
	    top: -60px;
	}
}

@media all and (max-width: 600px) {
	#sword, #gear {
		height: 200px;
	}
	#main {
		/*background-position-y: 100px;*/
	}
	#main-menu {
		display: none;
	}
	#main-menu .dn {
		display: block;
	}
	#main-menu .icon {
		display: none;
	}
	#mobile-menu {
		width: 100px;
	    height: 70px;
	    top: 0px;
	}
	.submenu {
	    display: flex;
	    flex-flow: row wrap;
	    justify-content: flex-start;
	    gap: 20px 30px;
	    width: auto;
	    margin: 0 30px;
	    padding-bottom: 30px;
    	border-bottom: 1px solid #666;
	}
	.submenu li {
		padding: 0;
	}
	.submenu li:last-of-type {
	    padding: 0 !important;
	}
	.submenu-content {
		position: relative;
		left: 0;
	    margin-top: 120px;
   		padding: 0 30px 90px 30px;
	}
	.buttons a {
		width: 100%;
	}
	#intro {
		width: 80%;
	}
	#about .sword {
		font-size: 6rem;
	}
	#about .sword span {
	    top: -40px;
	}
}

@media all and (max-width: 450px) {
	.film-cells li img {
		max-height: none;
		max-width: 66%;
		margin-bottom: 30px;
		margin-right: auto;
   }
}