@font-face {
  font-family: cunia;
  src: url(../fonts/cunia.ttf);
}

@font-face {
  font-family: rustico;
  src: url(../fonts/rustico-regular.otf);
}

@font-face {
  font-family: tuesday-night;
  src: url(../fonts/tuesday-night-regular.otf);
}

* {
	box-sizing: border-box;
}

html {
	font-size: 62.5%;
}

html, body {
	height: 100%;
}

body {
	margin: 0px;
	background: #1E2C33;
	background-image: url(../images/background.png);
	color: #333;
	font-family: cunia;
	font-size: 1.2rem;
}

h2 {
	font-family: rustico;
	font-size: 5.0rem;
	font-weight: normal;
	color: #222;
	margin: 10px 0px;
	text-align: left;
}

h3 {
	display: inline-block;
	margin-top: 30px;
	margin-bottom: 20px;
	border-bottom: 1px dotted #4DB6AC;
}

@media only screen and (max-width: 1200px) {
	h2 {
		text-align: center;
	}
}


#logo {
	position: absolute;
	left: 30px;
	top: 0px;
	font-family: rustico;
	font-size: 50px;
	font-weight: bold;
	text-shadow: 2px 2px #1e2f30;
	text-decoration: none !important;
	color: #FFF;
	z-index: 200;
}

#logo-s {
	position: relative;
}
#logo-m {
	position: relative;
	right: 24px;
	top: 18px;
}

@media only screen and (max-width: 600px) {
	#logo {
		display:none;
	}
}


#top-nav {
	position: absolute;
	top: 0;
	left: 50%;
	width: 1400px;
	height: 50px;
	transform: translateX(-50%);
	background: rgba(0, 0, 0, 0.4);
	color: #FFF;
	text-align: right;
	box-sizing: border-box;
	z-index: 100;
}

#top-nav a {
	color: #FFF;
	margin-right: 40px;
	padding-bottom: 5px;
	line-height: 50px;
	text-decoration: none;
	text-transform: uppercase;
	text-align: center;
	border-bottom: 2px solid #FFFFFF00;
	-webkit-transition: all 0.5s; /* Safari */
	transition: all 0.5s;
}
#top-nav a:hover
{
	border-bottom: 2px solid #4DB6AC;
}

#top-nav a span {
	vertical-align: middle;
}
#top-nav a span.short {
	display: none;
}


@media only screen and (max-width: 1400px) {
	#top-nav {
		left: 0;
		width: 100%;
		transform: unset;
	}
}
@media only screen and (max-width: 1100px) {
	#top-nav a span.long {
		display: none;
	}
	#top-nav a span.short {
		display: inline;
	}
}
@media only screen and (max-width: 600px) {
	#top-nav {
		text-align: center;
	}
	#top-nav a {
		margin-right: 25px;
	}
}

@keyframes header-anim {
	from { transform: scale(1.0); }
	to { transform: scale(1.05); }
}

#header-img {
	max-width: 1400px;
	height: 680px;
	margin: 0 auto;
	overflow: hidden;
}

@media only screen and (max-width: 1000px) {
	#header-img {
		height: 700px;
	}
}

#header-img > .background {
	width: 100%;
	height: 100%;
	background-image: url(../images/background.jpg);
	background-color: #000;
	background-position: 0% center;
	background-size: cover;
	animation: header-anim 10s infinite alternate;
}

.max-width {
	margin: 0 auto;
	max-width: 1400px;
}

@media only screen and (max-width: 1400px) {
	.max-width {
		width: 100%;
	}
}

.center-cntr {
	margin-left: auto;
	margin-right: auto;
	position: relative;
	max-width: 1400px;
}
.center-cntr.max1200 {
	max-width: 1200px;
}
.center-cntr.center {
	text-align: center;
}
@media only screen and (max-width: 1200px) {
	.center-cntr {
		text-align: center;
	}
}

#name-cntr {
	height: 700px;
	float: left;
	box-sizing: border-box;
	padding: 80px 50px;
	text-align: center;
	font-weight: normal;
}

#first-name {
	font-family: tuesday-night;
	font-size: 150px;
	font-style: italic;
	color: #FFF;
	text-shadow: 2px 4px #1e2f30;
}

#last-name {
	position: relative;
	top: -150px;
	left: 43px;
	font-family: tuesday-night;
	font-size: 130px;
	font-style: italic;
	color: #FFF;
	text-shadow: 2px 4px #1e2f30;
}

#title-txt {
	position: relative;
	top: -220px;
	left: -75px;
	font-family: rustico;
	font-size: 30px;
	color: #FFF;
	text-align: center;
	text-shadow: 2px 4px #1e2f30;
}

#portfolio-txt {
	float: right;
	font-family: rustico;
	font-size: 150px;
	color: #FFF;
	line-height: 750px;
	text-shadow: 2px 4px #1e2f30;
}

@media only screen and (max-width: 1500px) {
	#name-cntr {
		margin-left: 50px;
	}
	#portfolio-txt {
		margin-right: 50px;
	}
}
@media only screen and (max-width: 1300px) {
	#name-cntr {
		margin-left: 100px;
	}
	#portfolio-txt {
		font-size: 100px;
		margin-right: 100px;
	}
}
@media only screen and (max-width: 1100px) {
	#portfolio-txt {
		font-size: 80px;
	}
}
@media only screen and (max-width: 1000px) {
	#name-cntr {
		float: none;
		padding: 50px;
		margin-left:0px;
	}
	#portfolio-txt {
		float: none;
		position: relative;
		top: -170px;
		left: 70px;
		line-height: 120px;
	}
}	
@media only screen and (max-width: 600px) {
	#name-cntr {
		padding: 60px 20px;
	}
	#first-name {
		font-size: 120px;
	}
	#last-name {
		top: -100px;
		left: 0px;
		font-size: 100px;
	}
	#title-txt {
		top: -110px;
		left: 0px;
	}
	#portfolio-txt {
		left: 0px;
		margin-left: auto;
		margin-right: auto;
		font-size: 60px;
	}
}


section {
	max-width: 1400px;
	margin: 0 auto;
	border-left: 10px solid #FFF;
	border-right: 10px solid #FFF;
	padding: 50px;
	background-color: #EAE9E3;
	text-align: left;
}
section:nth-child(even) {
	background-color: #E0DFD6;
}

.projects-cntr {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 20px;
}

@media only screen and (max-width: 1200px) {
	.projects-cntr {
		grid-template-columns: 1fr 1fr 1fr;
	}
}
@media only screen and (max-width: 900px) {
	.projects-cntr {
		grid-template-columns: 1fr 1fr;
	}
}
@media only screen and (max-width: 600px) {
	.projects-cntr {
		grid-template-columns: 1fr;
	}
}

.project {
	width: 100%;
	text-align: center;
	transition: transform 0.5s ease;
}
.project:hover {
	transform: scale(1.05);
	z-index: 2;
}

.project > .img-cntr {
	display: block;
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 71.42%;
	overflow: hidden;
	border: 10px solid #FFF;
	border-radius: 3px;
	box-shadow: 1px 1px #bdbcb0;
}

.project > .img-cntr > .bg {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	transition: transform 0.5s ease;
}
.project:hover > .img-cntr > .bg {
	transform: scale(1.1)	;
}

.project > .img-cntr > .img-count {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 6px 10px;
	background: rgba(0, 0, 0, 0.9);
	border-top-right-radius: 3px;
	color: #FFF;
	font-weight: normal;
}

.project > .img-cntr > .img-count > i {
	margin-right: 4px;
}

.project .title {
	height: 35px;
	margin-top: 20px;
	line-height: 1.8rem;
	color: #444;
}	

.project .title a {
	color: #444;
	text-decoration: none;
}

.project .title em {
	color: #999;
}

.project .date {
	color: #4DB6AC;
	margin-top: 8px;
	margin-bottom: 30px;
	font-style: italic;
}


.skills-cntr {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 20px;
}

@media only screen and (max-width: 1200px) {
	.skills-cntr {
		grid-template-columns: 1fr 1fr 1fr;
	}
}
@media only screen and (max-width: 900px) {
	.skills-cntr {
		grid-template-columns: 1fr 1fr;
	}
}

.skill-cntr .skill-bar-cntr {
	position: relative;
	width: 100%;
	height: 30px;
	border: 2px solid #CCC;
	background-color: #FFF;
}

.skill-cntr .skill-name {
	font-size: 11px;
}

.skill-cntr .skill-bar-cntr .skill-bar {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: 2px;
	background: #4DB6AC; /* Old browsers */
	background: -moz-linear-gradient(left, #4DB6AC 0%, #0BA27C 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, #4DB6AC 0%,#0BA27C 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, #4DB6AC 0%,#0BA27C 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4DB6AC', endColorstr='#0BA27C',GradientType=1 ); /* IE6-9 */
}

.skill-cntr .skill-bar-cntr .skill-bar-mask {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	background: #FFF;
}


#footer {
	text-align: center;
	background-color: #EAE9E3;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.hidden {
	display: none;
}


/* LIGHTBOX OVERRIDES */
.lb-data .lb-caption {
	display: block !important;
	font-family: cunia;
	font-size: 1.2rem !important;
	color: #FFFFFF !important;
	margin-bottom: 1rem !important;
}

.lb-data .lb-number {
	color: #00ffca !important;
	font-size: 1.6rem !important;
}