html {
    font-size: calc(1em + 1vw);
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
}

body {
    background-color: #212121;
    font-family: 'Raleway', sans-serif;
    font-size: 0.618rem;
    line-height: 1.5;
    color: #eeeeee;
    overflow-x: hidden !important;
    -webkit-user-select: none;
    /* Chrome all / Safari all */
    -moz-user-select: none;
    /* Firefox all */
    -ms-user-select: none;
    /* IE 10+ */
    user-select: none;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

a {
    color: #eeeeee;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid white;
}

a:hover {
    color: #ffeb3b !important;
    border-bottom: 1px solid #ffeb3b;
}

h1 {
    font-size: 4.236rem;
    font-weight: 700;
    letter-spacing: -.2rem;
    line-height: 1.2;
    margin: 0;
    transition: font-size 0.2s;
}
h2 {
    font-size: 2.618rem;
    font-weight: 700;
    letter-spacing: -.1rem;
    line-height: 1.618;
    max-width: 60rem;
    margin: 0;
    transition: font-size 0.2s;
}
h3 {
    font-size: 1.618rem;
	font-weight: 700;
	letter-spacing: -.04rem;
	line-height: 1.2;
	max-width: 60rem;
	margin: 0;
	transition: font-size 0.2s;
	margin-bottom: 1rem;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #212121;
    z-index: 99;
}

#logo {
    width: 100%;
    padding: 1rem;
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    background: -moz-linear-gradient(top, rgba(33, 33, 33, 1) 0%, rgba(33, 33, 33, 0) 92%, rgba(33, 33, 33, 0) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(33, 33, 33, 1) 0%, rgba(33, 33, 33, 0) 92%, rgba(33, 33, 33, 0) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(33, 33, 33, 1) 0%, rgba(33, 33, 33, 0) 92%, rgba(33, 33, 33, 0) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#212121', endColorstr='#00212121', GradientType=0);
    /* IE6-9 */
}

.alignR{
	text-align: right !important;
}


/* MENU */

.button_container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    height: 27px;
    width: 30px;
    cursor: pointer;
    z-index: 4;
    transition: opacity .25s ease;
}

.button_container span:hover {
    background: #ffeb3b;
}

.button_container.active .top {
    transform: translateY(11px) translateX(0) rotate(45deg);
    background: #ffeb3b;
}

.button_container.active .middle {
    opacity: 0;
    background: #ffeb3b;
}

.button_container.active .bottom {
    transform: translateY(-11px) translateX(0) rotate(-45deg);
    background: #ffeb3b;
}

.button_container span {
    background: #eeeeee;
    border: none;
    height: 1px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .35s ease;
    cursor: pointer;
}

.button_container span:nth-of-type(2) {
    top: 11px;
}

.button_container span:nth-of-type(3) {
    top: 22px;
}

.overlay {
    position: fixed;
    z-index: 3;
    background: #212121;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s, height .35s;
    overflow: hidden;
}

.overlay.open {
    opacity: .96;
    visibility: visible;
    height: 100%;
}

.overlay.open li {
    animation: fadeInRight .5s ease forwards;
    animation-delay: .35s;
}

.overlay.open li:nth-of-type(2) {
    animation-delay: .4s;
}

.overlay.open li:nth-of-type(3) {
    animation-delay: .45s;
}

.overlay.open li:nth-of-type(4) {
    animation-delay: .50s;
}

.overlay nav {
    position: relative;
    height: 70%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.618rem;
    font-weight: 400;
    text-align: center;
    padding: 0 !important;
}

.overlay ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    position: relative;
    height: 100%;
}

.overlay ul li {
    display: block;
    height: 25%;
    height: calc(100% / 4);
    min-height: 50px;
    position: relative;
    opacity: 0;
}

.overlay ul li a {
    display: block;
    position: relative;
    color: #eeeeee;
    text-decoration: none;
    overflow: hidden;
}

.overlay ul li a:hover:after,
.overlay ul li a:focus:after,
.overlay ul li a:active:after {
    width: 100%;
}

.overlay ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    transform: translateX(-50%);
    height: 3px;
    background: #ffeb3b;
    transition: .35s;
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }
    100% {
        opacity: 1;
        left: 0;
    }
}

.heart:hover {
    color: #d32f2f;
}

.hero {
    width: 100%;
    height: 100vh;
    z-index: -1;
    position: fixed;
    top: 0;
    left: 0;
    background: -moz-radial-gradient(center, ellipse cover, rgba(117, 117, 117, 1) 0%, rgba(33, 33, 33, 1) 100%);
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(117, 117, 117, 1)), color-stop(100%, rgba(33, 33, 33, 1)));
    background: -webkit-radial-gradient(center, ellipse cover, rgba(117, 117, 117, 1) 0%, rgba(33, 33, 33, 1) 100%);
    background: -o-radial-gradient(center, ellipse cover, rgba(117, 117, 117, 1) 0%, rgba(33, 33, 33, 1) 100%);
    background: -ms-radial-gradient(center, ellipse cover, rgba(117, 117, 117, 1) 0%, rgba(33, 33, 33, 1) 100%);
    background: radial-gradient(ellipse at center, rgba(117, 117, 117, 1) 0%, rgba(33, 33, 33, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#757575', endColorstr='#212121', GradientType=1);
}

.heroGrad {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    background: linear-gradient( to bottom, rgba(13, 13, 13, .3) 0%, rgba(13, 13, 13, 0) 10%, rgba(13, 13, 13, 0) 90%, rgba(13, 13, 13, .3) 100%);
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.heroCopy {
    opacity: .8;
    text-align: center;
    cursor: default;
    -webkit-user-select: none;
    /* Chrome all / Safari all */
    -moz-user-select: none;
    /* Firefox all */
    -ms-user-select: none;
    /* IE 10+ */
    user-select: none;
}

.heroCopy p {
    width: 17.942em;
    margin: 0 auto;
    padding: 2.618em 0;
    border-bottom: 1px solid white;
    margin-top: 2.618em;
}

.heroCopyH {
    padding-bottom: 2.618em;
}


/* ArroW */

.arrow {
    margin-bottom: -60px;
    margin-left: -75px;
    position: absolute;
    bottom: 10vh;
    left: 400px;
}

.arrow-wrap {
    position: absolute;
    z-index: 2;
    right: 1rem;
    bottom: 1rem;
    font-size: 1.618rem;
}

@-webkit-keyframes arrows {
    0% {
        top: 0;
    }
    10% {
        top: 12%;
    }
    20% {
        top: 0;
    }
    30% {
        top: 12%;
    }
    40% {
        top: -12%;
    }
    50% {
        top: 12%;
    }
    60% {
        top: 0;
    }
    70% {
        top: 12%;
    }
    80% {
        top: -12%;
    }
    90% {
        top: 12%;
    }
    100% {
        top: 0;
    }
}

.arrow-wrap .arrow {
    -webkit-animation: arrows 2.8s 0.4s;
    -webkit-animation-delay: 3s;
}

.container {
    height: 100%;
    /*     background-color: #212121; */
    position: relative;
    width: 100%;
    width: 96%;
    max-width: 1440px;
    margin: 0 auto;
}

#about p{
	font-size: 1rem;
	line-height: 1.4rem;
}

#clients {
    padding: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#212121+0,212121+100&0+0,1+61 */
    background: -moz-linear-gradient(top, rgba(33, 33, 33, 0) 0%, rgba(33, 33, 33, 1) 61%, rgba(33, 33, 33, 1) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(33, 33, 33, 0) 0%, rgba(33, 33, 33, 1) 61%, rgba(33, 33, 33, 1) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(33, 33, 33, 0) 0%, rgba(33, 33, 33, 1) 61%, rgba(33, 33, 33, 1) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#00212121', endColorstr='#212121', GradientType=0);
    /* IE6-9 */
}

#clients h1 {
    font-weight: 300;
    opacity: .8;
    margin: 1rem 0;
}

.clients-item {
    float: left;
    width: 20%;
    text-align: center;
}

#clients img{
	width: 100%;
}

#work {
    padding: 1rem 0rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
	color: #212121;
}

#work h3 {
	font-size: 1.618rem;
	font-weight: 700;
	letter-spacing: -.04rem;
	line-height: 1.2;
	max-width: 60rem;
	margin: 0;
	transition: font-size 0.2s;
	margin-bottom: 1rem;
}
#work h3 a {
	color: #212121;
	border-bottom: 1px solid black;
}
#work h3 a:hover {
	border-bottom: 1px solid #ffeb3b;
}

#work h1, #about h1 {
    font-weight: 300;
    opacity: .8;
    margin: 1rem 1rem;
	text-align: center;
}

.work-item {
    float: left;
    width: 50%;
    text-align: center;
	padding: .5rem;
}

.work-copy {
	float: left;
	width: 50%;
	padding: .5rem;
}

.aos-item {
    float: left;
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.618rem;
        font-weight: 700;
        letter-spacing: -.1rem;
        line-height: 1;
        max-width: 60rem;
        margin: 1.618rem 0;
    }
    .overlay nav {
        font-size: 1.618rem;
    }
}
@media (min-width: 1680px) {
	#work p{
		font-size: .6rem;
	}
	#work h3 a{
		font-size: 1.5rem;
	}
	.container{
		max-width: 1920px;
	}
}

#load {
    position: absolute;
    width: 600px;
    height: 36px;
    left: 50%;
    top: 40%;
    margin-left: -300px;
    overflow: visible;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

#load div {
    position: absolute;
    width: 20px;
    height: 36px;
    opacity: 0;
    animation: move 2s linear infinite;
    -o-animation: move 2s linear infinite;
    -moz-animation: move 2s linear infinite;
    -webkit-animation: move 2s linear infinite;
    transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    color: yellow;
}

#load div:nth-child(2) {
    animation-delay: 0.2s;
    -o-animation-delay: 0.2s;
    -moz-animation-delay: 0.2s;
    -webkit-animation-delay: 0.2s;
}

#load div:nth-child(3) {
    animation-delay: 0.4s;
    -o-animation-delay: 0.4s;
    -webkit-animation-delay: 0.4s;
    -webkit-animation-delay: 0.4s;
}

#load div:nth-child(4) {
    animation-delay: 0.6s;
    -o-animation-delay: 0.6s;
    -moz-animation-delay: 0.6s;
    -webkit-animation-delay: 0.6s;
}

#load div:nth-child(5) {
    animation-delay: 0.8s;
    -o-animation-delay: 0.8s;
    -moz-animation-delay: 0.8s;
    -webkit-animation-delay: 0.8s;
}

#load div:nth-child(6) {
    animation-delay: 1s;
    -o-animation-delay: 1s;
    -moz-animation-delay: 1s;
    -webkit-animation-delay: 1s;
}

#load div:nth-child(7) {
    animation-delay: 1.2s;
    -o-animation-delay: 1.2s;
    -moz-animation-delay: 1.2s;
    -webkit-animation-delay: 1.2s;
}

footer{
	height: 100vh;
	    padding: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#212121+0,212121+100&0+0,1+61 */
    background: -moz-linear-gradient(bottom, rgba(33, 33, 33, 0) 0%, rgba(33, 33, 33, 1) 95%, rgba(33, 33, 33, 1) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(bottom, rgba(33, 33, 33, 0) 0%, rgba(33, 33, 33, 1) 95%, rgba(33, 33, 33, 1) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to top, rgba(33, 33, 33, 0) 0%, rgba(33, 33, 33, 1) 95%, rgba(33, 33, 33, 1) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#212121', endColorstr='#00212121', GradientType=0);

}
footer a {

	margin: 0 30px;
}
#contact{
	margin-top: 40vh;
}
@keyframes move {
    0% {
        left: 0;
        opacity: 0;
    }
    35% {
        left: 41%;
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        opacity: 1;
    }
    65% {
        left: 59%;
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        opacity: 1;
    }
    100% {
        left: 100%;
        -moz-transform: rotate(-180deg);
        -webkit-transform: rotate(-180deg);
        -o-transform: rotate(-180deg);
        transform: rotate(-180deg);
        opacity: 0;
    }
}

@-moz-keyframes move {
    0% {
        left: 0;
        opacity: 0;
    }
    35% {
        left: 41%;
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
        opacity: 1;
    }
    65% {
        left: 59%;
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
        opacity: 1;
    }
    100% {
        left: 100%;
        -moz-transform: rotate(-180deg);
        transform: rotate(-180deg);
        opacity: 0;
    }
}

@-webkit-keyframes move {
    0% {
        left: 0;
        opacity: 0;
    }
    35% {
        left: 41%;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        opacity: 1;
    }
    65% {
        left: 59%;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        opacity: 1;
    }
    100% {
        left: 100%;
        -webkit-transform: rotate(-180deg);
        transform: rotate(-180deg);
        opacity: 0;
    }
}

@-o-keyframes move {
    0% {
        left: 0;
        opacity: 0;
    }
    35% {
        left: 41%;
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        opacity: 1;
    }
    65% {
        left: 59%;
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        opacity: 1;
    }
    100% {
        left: 100%;
        -o-transform: rotate(-180deg);
        transform: rotate(-180deg);
        opacity: 0;
    }
}
