/*HTML5 Boilerplate*/
html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}
::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}
::selection {
    background: #b3d4fc;
    text-shadow: none;
}
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}
audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}
textarea {
    resize: vertical;
}
.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
.clearfix:before, .clearfix:after {
    content: " "; 
    display: table; 
}
.clearfix:after {
    clear: both;
}
button:focus { 
    outline: none; 
}
/*General*/
body {
    background: #313131;
    font-family: proxima-nova-condensed, sans-serif;
}
p {
    color: #B3BCBC;
}
/*Header*/
header {
    /*margin: 0 0 50px 0;*/
}
.contact {
    position: absolute;
    top: -1000px;
    background: #D34396;
    color: #fff;
    transition: all 0.5s;
    width: 100%;
    height: 0;
    z-index: 4;
}
.contact h1 {
    margin-bottom: 50px;
}
.contact p {
    color: #fff;
    font-weight: 300;
}
.contact a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px dotted #fff;
}
.contact.is-active {
    top: 0;
    height: 100%;
    position: fixed;
}
.contact .inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 9;
}
.logo {
    text-align: center;
    position: relative;
    transition: all 1s;
}
.logo.is-active {
    opacity: 0;
    margin-top: 200px;
}
nav {
    position: fixed;
    top: 20px;
    right: 20px;
    text-align: right;
    z-index: 999;
}
nav button:hover {
    cursor: pointer;
}
/*Main*/
main {
    max-width: 1100px;
    margin: 0 auto 200px auto;
    position: relative;
    transition: all 2s;
    z-index: 5;
}
main.is-active {
    opacity: 0.2;
}
h1 {
    text-transform: uppercase;
    font-weight: 900;
    color: #fff;
    line-height: 1em;
    transition: color 1s;
}
h1 em {
    color: #D34396;
    font-style: normal;
}
main.is-active h1 {
    color: #D34396;
}
main.is-active h1 em {
    color: #fff;
}
h1 span {
    font-weight: 100;
}
/*Footer*/
footer {
    background-image: url("../images/pattern.png");
    background-image: -webkit-image-set(url("../images/pattern.png") 1x, url("../images/pattern@2x.png") 2x, url("../images/pattern@3x.png") 3x);
    background-position: left bottom;
    background-repeat: repeat-x;
}

footer .inner {
    max-width: 1100px;
    margin: 0 auto;
}
footer .inti {
    padding: 0 20px 0 0;
    vertical-align: bottom;
    float: left;
}
footer p {
    margin: 0;
    font-weight: 100;
    padding: 70px 0 0 0;
}
/*Media Queries*/
@media screen and (min-width: 320px) {
    .contact .inner {
        padding: 100px 20px;
    }
    .contact p {
        font-size: 25px;
    }
    .logo {
        margin: 80px auto 60px;
    }
    main {
        padding: 0 20px;
        margin-bottom: 100px;
    }
    h1 {
        font-size: 40px;
        margin-bottom: 40px;
    }
    footer {
        background-position: left bottom;
    }
    footer .inner {
        padding: 0 20px 45px 20px;
    }
    footer p {
        padding-top: 64px;
    }
}
@media screen and (min-width: 425px) {
    h1 {
        font-size: 50px;
        margin-bottom: 50px;
    }
}
@media screen and (min-width: 768px) {
    .contact .inner {
        padding: 100px 60px;
    }
    .contact p {
        font-size: 35px;
    }
    .logo {
        margin: 100px auto;
    }
    main {
        padding: 0 60px;
        margin-bottom: 100px;
    }
    h1 {
        font-size: 70px;
        margin: 0 0 70px 0;
    }
    footer {
        background-position: 0% 100%;
    }
    footer .inner {
        padding: 0 60px 45px 60px;
    }
}
@media screen and (min-width: 1024px) {
    .contact .inner {
        padding: 100px;
    }
    main {
        padding: 0 100px;
        margin-bottom: 200px;
    }
    h1 {
        font-size: 80px;
        margin: 0 0 90px 0;
    }
    footer .inner {
        padding: 0 100px 45px 100px;
    }
}