/*  ================================================
	Author: Codeberry
	Name: Luna
	URL: https://codeberry.net/product/luna
	Version: 1.0
	================================================ */

/* Import fonts and icons */
@import url("font-awesome.min.css");
@import url("https://fonts.googleapis.com/css?family=Montserrat:400,600,700");
@import url("https://fonts.googleapis.com/css?family=Source+Serif+Pro:400,600");

/* 1. Reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
	-webkit-text-size-adjust: none;
}

*,
*:before,
*:after {
	box-sizing: border-box;
}

/* 2. Content elements */
::-moz-selection {
	background: #e5e5e5;
	text-shadow: none;
}

::selection {
	background: #e5e5e5;
	text-shadow: none;
}

.wrapper {
	margin: 0 auto;
	padding: 0 30px;
	width: 100%;
	max-width: 1000px;
}

html,
body {
	color: #2a292b;
	height: 100%;
	width: 100%;
	background: #2a292b;
}

img {
	max-width: 100%;
}

* {
	-webkit-transition: all ease 200ms;
			transition: all ease 200ms;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Montserrat", Helvetica, sans-serif;
}

h1 {
	color: #ffffff;
	font-size: 50px;
	text-transform: uppercase;
	line-height: 1.2em;
}

@media screen and (max-width: 480px) {
	h1 {
		font-size: 27px;
	}
}

h2 {
	color: #ffffff;
	font-size: 20px;
	font-weight: 700;
	display: table;
	margin: 0 auto 25px auto;
	width: auto;
	letter-spacing: -.1rem;
}

@media screen and (max-width: 480px) {
	h2 {
		font-size: 27px;
	}
}

h2 span {
	color: rgba(0, 0, 0, 0.4);
	font-family: "Source Serif Pro", serif;
	font-style: italic;
	text-transform: none;
}

h3 {
	color: #ffffff;
	font-size: 20px;
	font-weight: 700;
	display: table;
	margin: 2em auto .25em auto;
	width: auto;
}

@media screen and (max-width: 480px) {
	h3 {
		font-size: 27px;
	}
}

p {
	font-family: "Source Serif Pro", serif;
	font-size: 25px;
	line-height: 1.35em;
	text-align: center;
	margin: 0 auto;
	max-width: 780px;
}

@media screen and (max-width: 480px) {
	p {
		font-size: 20px;
	}
}

a {
	color: #ffffff;
	font-size: 0.9375rem;
	text-decoration: none;
	-webkit-transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
	   -moz-transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
		-ms-transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
			transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

a:hover {
	color: #63ace5;
	outline: none;
}

/* Buttons */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
	font-family: "Montserrat", Helvetica, sans-serif;
	font-size: 16px;
	font-weight: 400;
	background: #503d5e;
	border: none;
	color: #ffffff;
	display: table;
	margin: 0 auto;
	padding: 1.2em 3em;
	border-radius: 0;
	text-decoration: none;
	text-transform: capitalize;
	opacity: 1;
	cursor: pointer;
}

@media screen and (max-width: 480px) {
	.button,
	button,
	input[type="submit"],
	input[type="reset"],
	input[type="button"] {
		width: 100%;
	}
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
	background: #4b86b4;
	color: #e7eff6;
}

/* Loading elements */
.loading {
	background: rgba(255,255,255,1);
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 9999;
}

/* Header, logo, and navigation elements */
header {
	padding: 70px 0;
	text-align: center;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	z-index: 999;
	-webkit-animation: fadeIn 700ms 600ms;
	-webkit-animation-fill-mode: backwards;
	-webkit-transition: all ease 300ms;
			transition: all ease 300ms;
}

@media screen and (max-width: 700px) {
	header {
		padding: 40px 0;
		background: #2b3136;
	}
}

header .logo {
	position: absolute;
    left: 50%;
    top: 50%;
    margin: -30px 0 0 -65px;
    width: 165px;
}

@media screen and (max-width: 780px) {
	header .logo {
		width: 270px;
		margin: -33px 0 0 -135px;
	}
}

@media screen and (max-width: 700px) {
	header .logo {
		margin-top: 0;
		top: 16px;
	}
}

@media screen and (max-width: 480px) {
	header .logo {
		width: 200px;
		top: 16px;
		margin: 0 0 0 -100px;
	}
}

header .logo.main {
	-webkit-transform: scale(1);
			transform: scale(1);
}

/*header .logo.main img {
	width: 100%;
}*/

header .logo.small {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 50px;
	margin: -20px 0 0 -25px;
	opacity: 0;
	-webkit-transform: scale(0.6);
			transform: scale(0.6);
}

/*header .logo.small img {
	width: 100%;
}*/

@media screen and (max-width: 768px) {
	header .logo.small {
		top: 18px;
		width: 50px;
		margin: -5px 0 0 -25px;
	}
}

@media screen and (max-width: 700px) {
	header .logo.small {
		top: 10px;
	}
}

@media screen and (max-width: 480px) {
	header .logo.small {
		top: 10px;
	}
}

header .logo.small a {
	display: inline-block;
}

header .logo.small a:hover {
	-webkit-transform: scale(0.95);
			transform: scale(0.95);
}

header .logo a {
	display: inline-block;
}

header .toggle-nav {
	font-size: 18px;
	position: absolute;
	color: rgba(255, 255, 255, 0.5);
	right: 2px;
	top: 26px;
	width: 35px;
	height: 35px;
	padding-top: 6px;
	text-decoration: none;
	display: none;
}

header .toggle-nav:hover {
	color: rgba(255, 255, 255, 0.8);
}

@media screen and (max-width: 700px) {
	header .toggle-nav {
		display: block;
	}
}

@media screen and (max-width: 700px) {
	header nav {
		display: none;
	}
}

header nav ul {
	position: relative;
	left: -8px;
}

@media screen and (max-width: 700px) {
	header nav ul {
		margin-top: 36px;
		left: 0;
	}
}

header nav ul li {
	text-align: center;
	width: 110px;
	display: inline-block;
}

@media screen and (max-width: 700px) {
	header nav ul li {
		padding: 15px;
		width: 100%;
	}
}

header nav ul li a {
	font-family: "Montserrat", Helvetica, sans-serif;
	font-size: 16px;
	text-transform: none;
	color: rgba(255, 255, 255, 0.9);
	background-image: none;
	background-position: bottom left;
	background-repeat: repeat-x;
	text-decoration: none;
	padding-bottom: 6px;
}

header nav ul li:nth-child(2) {
	margin-right: 160px;
}

@media screen and (max-width: 780px) {
	header nav ul li:nth-child(2) {
		margin-right: 120px;
	}
}

@media screen and (max-width: 710px) {
	header nav ul li:nth-child(2) {
		margin: 0;
	}
}

header nav ul li:nth-child(3) {
	margin-left: 160px;
}

@media screen and (max-width: 780px) {
	header nav ul li:nth-child(3) {
		margin-left: 120px;
	}
}
@media screen and (max-width: 700px) {
	header nav ul li:nth-child(3) {
		margin: 0;
	}
}

header.scrolled {
	padding: 30px 0;
	background: #2b3136;
	-webkit-transition: all ease 300ms;
			transition: all ease 300ms;
}

header.scrolled .logo.main {
	opacity: 0;
	z-index: -2;
	-webkit-transform: scale(0.45);
			transform: scale(0.45);
}

header.scrolled .logo.small {
	opacity: 1;
	z-index: 3;
	-webkit-transform: scale(1);
			transform: scale(1);
}

header.scrolled .toggle-nav {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	position: absolute;
	display: none;
	top: 15px;
}

header.scrolled .toggle-nav:hover {
	color: #ffffff;
}

@media screen and (max-width: 700px) {
	header.scrolled .toggle-nav {
		display: block;
	}
}

@media screen and (max-width: 700px) {
	header.scrolled ul {
		margin-bottom: 0;
		padding-bottom: 0px;
		left: 0;
	}
}

header.scrolled li a {
	color: #ffffff;
}

header.scrolled li a:hover {
	border-bottom: 2px solid rgba(255, 255, 255, 1);
}

header.scrolled li:nth-child(2) {
	margin-right: 120px;
}

@media screen and (max-width: 710px) {
	header.scrolled li:nth-child(2) {
		margin: 0;
	}
}

header.scrolled li:nth-child(3) {
	margin-left: 120px;
}

@media screen and (max-width: 700px) {
	header.scrolled li:nth-child(3) {
		margin: 0;
	}
}

/* Introduction elements */
#introduction {
	background: #21201e;
	background: url("../images/background-2.png") center;
	background-size: cover;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	min-height: 400px;
	height: 100%;
}

#introduction .wrapper {
	display: table;
	text-align: center;
	height: 100%;
	max-width: 730px;
	position: relative;
	animation: 2s fadeIn  2s;
	animation-fill-mode: backwards;
}

@media screen and (max-width: 760px) {
	#introduction .wrapper {
		padding-top: 2em;
	}
}

@media screen and (max-width: 480px) {
	#introduction .wrapper {
		padding-top: 1em;
	}
}

#introduction .wrapper h1 {
	font-weight: 700;
	vertical-align: middle;
	display: table-cell;
	-webkit-animation: fadeIn 300ms;
	-webkit-animation-fill-mode: backwards;
	text-shadow: 0px 0px 10px #000;
}

@media screen and (max-width: 900px) and (max-height: 400px) {
	#introduction .wrapper h1 {
		font-size: 30px;
		padding-top: 50px;
	}
}

@media screen and (max-width: 500px) and (max-height: 400px) {
	#introduction .wrapper h1 {
		font-size: 30px;
		padding-top: 5px;
	}
}

@media screen and (max-width: 760px) {
	#introduction .wrapper h1 {
		font-size: 35px;
	}
}

#introduction .wrapper h1 span.headline {
    font-size: 35px;
    font-weight: normal;
    color: #fff;
    text-transform: none;
    display: block;
    margin-bottom: 0px;
    text-shadow: 0px 0px 10px #503d5e;
}

@media screen and (max-width: 760px) {
	#introduction .wrapper h1 span.headline {
		font-size: 24px;
	}
}

@media screen and (max-width: 480px) {
	#introduction .wrapper h1 span.headline {
		font-size: 20px;
	}
}

#introduction .wrapper h1 a {
	font-size: 16px;
	font-weight: 400;
	color: #e7eff6;
	background: #503d5e;
	display: table;
	width: 100%;
	max-width: 12em;
	height: 3em;
	border-radius: 0;
	margin: 0 auto;
	text-decoration: none;
	text-transform: capitalize;
	margin-top: 45px;
	position: relative;
	overflow: hidden;
	text-shadow: 0px 0px 10px #503d5e;
}

@media screen and (max-width: 900px) and (max-height: 400px) {
	#introduction .wrapper h1 a {
		padding-top: 6px;
		max-width: 12em;
		height: 3em;
	}
}

@media screen and (max-width: 767px) {
	#introduction .wrapper h1 a {
		padding-top: 6px;
		max-width: 12em;
		height: 3em;
	}
}

#introduction .wrapper h1 a:hover {
	color: #e7eff6;
	background: #4b86b4;
}

#introduction .wrapper h1 a img {
	position: absolute;
	margin-left: -7px;
	left: 50%;
	top: -20px;
}

#introduction .wrapper h1 a:hover img {
	top: 22px;
	-webkit-transition: top cubic-bezier(0.19, 1, 0.22, 1) 300ms;
			transition: top cubic-bezier(0.19, 1, 0.22, 1) 300ms;
}

@media screen and (max-width: 600px) {
	#introduction .wrapper h1 a:hover img {
		top: -20px;
	}
}

#introduction .wrapper a.down {
	position: absolute;
	width: 50px;
	height: 50px;
	bottom: 20px;
	left: 50%;
	margin-left: -25px;
	-webkit-animation-fill-mode: backwards;
			animation-fill-mode: backwards;
	-webkit-transform: rotate(90deg);
			transform: rotate(90deg);
	-webkit-animation: slideUp 250ms ease 900ms;
			animation: slideUp 250ms ease 900ms;
}

a.intro-down {
	display: block;
	height: 100%;
	width: 100%;
	position: relative;
	margin-bottom: 116px;
	box-sizing: content-box;
	-webkit-animation: fadeIn 700ms 600ms;
	-webkit-animation-fill-mode: backwards;
}

/* About elements */
#about {
	background: #503d5e;
	color: #e7eff6;
	padding: 125px 0 125px 0;
	position: relative;
	-webkit-animation: fadeIn 700ms 600ms;
	-webkit-animation-fill-mode: backwards;
	-webkit-transition: none;
			transition: none;
}

#pricing {
	background: #e7eff6;
	color: #503d5e;
	padding: 125px 0 125px 0;
	position: relative;
	-webkit-animation: fadeIn 700ms 600ms;
	-webkit-animation-fill-mode: backwards;
	-webkit-transition: none;
			transition: none;
}

@media screen and (max-width: 480px) {
	#about,
	#pricing {
		padding: 50px 0 50px 0;
	}
}

#about.fixed,
#pricing.fixed {
	padding-top: 182px;
}

#about h2 {
	font-size: 70px;
}

#pricing h2 {
	font-size: 70px;
	color: #503d5e;

}

@media screen and (max-width: 760px) {
	#about h2,
	#pricing h2 {
		font-size: 60px;
	}
}

@media screen and (max-width: 480px) {
	#about h2,
	#pricing h2 {
		font-size: 40px;
	}
}

#about p,
#pricing p {
	margin-bottom: 40px;
}

#about .services,
#pricing .services {
	font-family: "Source Serif Pro", serif;
	font-size: 20px;
	text-align: center;
}

#about .services:after,
#pricing .services:after {
	content: "";
	display: table;
	clear: both;
}

@media screen and (max-width: 480px) {
	#about .services,
	#pricing .services {
		font-size: 18px;
	}
}

#about .services li,
#pricing .service li {
	padding: 15px 0;
	margin: 0 1.5%;
	width: 30.33333%;
	float: left;
}

@media screen and (max-width: 480px) {
	#about .services li,
	#pricing .services li {
		margin: .15em 0;
	}
}

#about .services li:nth-child(1),
#about .services li:nth-child(2),
#about .services li:nth-child(3),
#pricing .services li:nth-child(1),
#pricing .services li:nth-child(2),
#pricing .services li:nth-child(3) {
	border: none;
}

@media screen and (max-width: 650px) {
	#about .services li,
	#pricing .service li {
		width: 47%;
	}
}

@media screen and (max-width: 480px) {
	#about .services li,
	#pricing .service li {
		width: 100%;
		margin: 0 auto;
	}
}

/* Work elements */
#portfolio {
	background: #1d1d1f;
	background-size: cover;
	background-attachment: fixed;
	position: relative;
	overflow: hidden;
}

#portfolio * {
	-webkit-backface-visibility: hidden;
}

#portfolio .thumbnails {
	display: block;
	margin: 0 auto;
	overflow: hidden;
	width: 100%;
	height: auto;
	position: relative;
	left: 0;
	opacity: 1;
	backface-visibility: visible;
	-webkit-transition: -webkit-transform 1000ms;
			transition: -webkit-transform 1000ms;
}

#portfolio .thumbnails:after {
	content: "";
	display: table;
	clear: both;
}

#portfolio .thumbnails:hover a {
	opacity: .4;
}

#portfolio .thumbnails:hover a:hover {
	opacity: 1;
}

#portfolio .thumbnails a {
	display: block;
	width: 25%;
	padding: 0;
	line-height: 0;
	float: left;
	position: relative;
}

@media screen and (max-width: 900px) {
	#portfolio .thumbnails a {
		width: 50%;
	}
}

#portfolio .thumbnails a img {
	width: 100%;
}

#portfolio .thumbnails a a {
	display: block;
}

#portfolio .thumbnails a a:hover {
	background: #63ace5;
}

#portfolio .thumbnails a a:hover img {
	opacity: 0;
}

/* Image elements */
.image {
	display: inline-block;
	border: 0;
	position: relative;
}

.image img {
	display: block;
}

/* Fade in/out elements */
@-webkit-keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@-webkit-keyframes fadeOut {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

@keyframes fadeOut {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

@-webkit-keyframes fadeScaleIn {
	from {
		opacity: 0;
		-webkit-transform: scale(0.5);
	}

	to {
		opacity: 1;
		-webkit-transform: scale(1);
	}
}

@keyframes fadeScaleIn {
	from {
		opacity: 0;
		transform: scale(0.5);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

body.modal-open {
	overflow: hidden;
}

/* Contact elements */
#contact {
	color: rgba(0, 0, 0, 0.8);
	background: #f7f7f7;
	padding: 70px 0 120px 0;
	position: relative;
}

#contact h2 {
	color: rgba(0, 0, 0, 0.8);
	font-size: 60px;
}

@media screen and (max-width: 760px) {
	#contact h2 {
		font-size: 50px;
	}
}

@media screen and (max-width: 480px) {
	#contact h2 {
		font-size: 40px;
	}
}

#contact p {
	margin-bottom: 50px;
}

#contact form {
	text-align: center;
	opacity: 1;
	-webkit-transition: all 400ms ease;
			transition: all 400ms ease;
}

#contact form input,
#contact form textarea {
	font-family: "Montserrat", Helvetica, sans-serif;
	font-size: 16px;
	color: rgba(0, 0, 0, 0.7);
	background: #fafbfd;
	width: 100%;
	max-width: 600px;
	border: 1px solid #63ace5;
	margin: 0 auto 20px 0;
	padding: 10px 15px;
	border-radius: 0;
}

#contact form input:focus,
#contact form textarea:focus {
	background: #ffffff;
	border: 1px solid #cdcdcd;
	outline: none;
}

#contact form input::-webkit-input-placeholder,
#contact form textarea::-webkit-input-placeholder {
	color: rgba(100, 100, 100, 0.4);
}

/* Footer elements */
footer {
	color: #ffffff;
	font-family: "Montserrat", Helvetica, sans-serif;
	font-size: 13px;
	line-height: 1.8em;
	text-align: center;
	text-transform: capitalize;
	background: #2b3136;
	background-size: cover;
	background-attachment: fixed;
	padding: 30px 0;
	position: relative;
}

footer a {
	padding: 15px 10px;
	display: inline-block;
}

footer span {
	color: rgba(255, 255, 255, 0.3);
}

footer ul li {
	display: inline-block;
	position: relative;
	padding: 0 .5rem;
}

@media screen and (max-width: 480px) {
	footer ul li {
		padding: 0 .5rem;
	}
}