*{
	box-sizing: border-box;
}

html{
	height:100%;
	color-scheme: dark;
}

body{
	background: #0b0c0d;
	color: #fff;
	font-family: 'Nunito Sans', sans-serif;
	padding: 20px 0px 20px 0px;
	margin: 0px;
	width: 100%;
	height: 100%;
	min-height: 100%;
	overflow-x: hidden;
}

a{
	color: var(--primary-color);
	text-decoration: none;
}

a:hover{
	color: var(--primary-color);
	text-decoration: underline;
}

hr{
	border:0px;
	border-bottom:1px solid #222;
}

nav{
	width:100%;
}

nav ul{
	display: flex;
	justify-content: space-evenly;
	width: 100%;
	max-width: 500px;
	margin: 0;
	padding: 0;
	list-style: none;
	position: relative;
	margin: 0 auto;
}

nav li{
	display: flex;
}

nav a{
	padding: 10px 0px;
	display: block;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	transition: all 0.3s ease-in-out;	
	font-size: 13px;
	font-weight: 700;
}

nav a:hover, .active a{
	color: var(--primary-color);
}

footer{
	text-align: center;
	font-size: 14px;
	color: #aaa;
	width: 100%;
	padding: 15px;
	margin-bottom: 5px;
	border-width: 1px 0px 0px 0px;
	border-color: rgba(0,0,0,0.1);
	border-style: solid;
}

#name,
#job{
	font-size:30px;
	font-weight:600;
	text-transform:uppercase;
	text-align:center;
	padding: 5px;
}

#job{
	text-transform:none;
	font-size:20px;
	font-weight:400;
	margin-bottom: 10px;
}

#showreel{
	text-align: center;
}

#work h1,
#work h2,
#work h3,
#work h4,
#work h5,
#work h6{
	margin-top: 0.3em;
}

#work h1{
	margin-top: 1em;
	margin-bottom: 0.2em;
}

#work h4{
	color: #888888;
	font-size: 1.2em;
}

#work .aspects{
	margin-top: 0.6em;
	color: #444444;
	font-size: 0.8em;
}

#content{
	width: 100%;
	min-height: 100%;
	overflow: hidden;
}

#nav{
	width: 100%;
}

#tabs{
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	overflow: hidden;
	left: 0px;
	position: relative;
}

#contact-links{
	font-size: 0.9em;
	text-align: center;
}

#contact-profile{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	gap: 40px;
}

#contact-profile-picture{
	width: 150px;
	height: 150px;
	max-width: 200px;
	border-radius: 50%;
    background: url(/img/Nikolai.jpg);
	background-size: cover;
	background-position: center center;
    background-repeat: no-repeat;
}

#contact-profile-text{
	width: 450px;
	flex-grow: 2;
}

section.tab{
	width: 100%;
	overflow:hidden;
}

article{
	font-size: 1em;
	width: 100%;
	margin: 0px auto 0px auto;
	padding: 20px;
}

a.contact_link{
	padding:15px;
	white-space: nowrap;
	display:inline-block;
}

img.icon{
	width:15px;
	margin-bottom:-2px;
}

iframe{
	color-scheme: auto;
}

.vimeo-container{
	position: relative;
	overflow: hidden;
	width: 100%;
}

.vimeo-container.ratio-16-9{
	padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */	
}

.vimeo-container.ratio-cinemascope{
	padding-top: 42.55%; /* 2.35:1 Aspect Ratio (divide 1 by 2.35 = 0.4255) */	
}

.vimeo, .youtube{
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
}

.template,
.hidden{
	display: none !important;
}

@media screen and (min-width: 800px){
    article{
        width: 780px;
    }
	nav a{
		font-size: 16px;
	}
	footer{
		font-size: 15px;
	}
	h1{
		margin: 50px 0px 10px 0px;
	}
	h2{
		margin: 0px 0px 40px 0px;
	}
	div#profile_pic{
		float: left;
	}
	div#profile_text{
		width: 500px;
		margin: 30px 0px 30px 50px;
		float: left;
	}
}

/* Custom styles for Nuke expressions */
.hljs-red {
	color: #ff6464; /* Red color for .r and .red */
}

.hljs-green {
	color: #2be92b; /* Green color for .g and .green */
}

.hljs-blue {
	color: #008eff; /* Blue color for .g and .green */
}

.hljs-alpha {
	color: #dddddd; /* White color for .a and .alpha */
}