@font-face{
    font-family: Clutch;
    src: url(../fonts/clutchsans-regular.otf)
}

/* ---------- GLOBAL CSS ---------- */

body{
    margin: 0;
    padding: 0;
}

a{
    color: inherit;
    text-decoration: underline;
}

h1{
    font-family: 'Muli', sans-serif;
}

.no-line{
    text-decoration: none !important;
}

.cta-container{
    width: 100%;
    margin: 30px auto;
}

.cta-container a{
    text-decoration: none;
}

.cta{
    color: #333;
    padding: 15px 10px;
    width: 200px;
    margin: 0 auto;
    font-family: 'Muli', sans-serif;
    text-transform: uppercase;
    font-size: 1.1em;
    font-weight: 900;
    border: solid 2px #333;
    border-radius: 50px;
    letter-spacing: 1.5px;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.cta:hover {
    cursor: pointer;
    background-color: #333;
    color: #fff;
}

.left{
    float: left;
}

.right{
    float: right;
}

.clear{
    clear: both;
}

#terms p{
    text-align: left;
}

.lock{
    overflow: hidden;
}

/* ---------- NAV ---------- */

#nav{
    color: #000;
    padding: 10px 0;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

#nav ul{
    padding-left: 0;
}

.nav-hr{
    width: 100px;
    border: 1px solid #e6e6e6;
    margin: 0;
}

.nav-item{
    display: inline-block;
    list-style: none;
    padding: 5px 10px;
    font-family: 'Roboto', sans-serif;
    font-size: .95em;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.nav-item:hover{
    text-decoration: underline;
    text-decoration-color: #efefef;
}

/* ---------- HOME ---------- */

.frame{
    width: 80%;
    background-color: transparent;
    border: #e6e6e6 2px solid;
    padding: 5%;
    margin: 5% 5% 0 5%;
}

.inner{
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.inner p{
    font-family: sans-serif;
    color: #000;
    text-align: center;
    margin: auto;
    font-size: 1.2em;
    font-family: 'Muli', sans-serif;
}

.text{
    overflow: hidden;
}

.copy{
    font-size: 0.8em;
    padding: 30px 0 50px 0;
    max-width: 950px;
    margin: auto;
}

.copy p{
    margin: 20px auto;
}

.text-section{
    display: inline-block;
    width: 45%;
    padding: 0 2.5%;
    vertical-align: middle;
}

.text-section h2{
    font-family: 'Muli', sans-serif;
    text-align: left;
    margin-top: 0;
}

.text-section p{
    font-size: 0.85em;
    margin: 10px 0;
    text-align: left;
}

.big-text{
    font-family: 'Montserrat',sans-serif;
}

.hr-body{
    border: 1px solid #e6e6e6;
    margin: 50px 0;
}

/* ---------- OUR WORK ---------- */

.tile{
    width: 30%;
    height: 250px;
    background-color: #333;
    display: inline-block;
    margin: 1.5%;
    vertical-align: top;
    overflow: hidden;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.tile:hover{
    opacity: 0.75;
    cursor: pointer;
}

.tile img{
    height: 110%;
    opacity: 0.5;
    position: relative;
    z-index: 0;
    margin-top: -10%;
}

.tile-title{
    color: #fff;
    position: relative;
    top: 50%;
    transform: translate(0, -50%);
    font-family: 'Muli', sans-serif;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1.15em;
    z-index: 2;
}

.tile-title a{
    text-decoration: none;
}

.client-modal{
    display: none;
}

.client-grid{
    max-width: 700px;
    margin: 0 auto;
}

.client-tile{
    width: 25%;
    display: inline-block;
    margin: 1.25%;
    max-width: 250px;
}

.client-tile img{
    width: 100%;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.client-tile img:hover{
    cursor: pointer;
    opacity: 0.5;
}

.modal-bg{
    display: none;
    overflow: hidden;
    height: 110vh;
    width: 100vw;
    position: fixed;
    z-index: 2;
    background-color: rgba(0,0,0,0.75);
    top: -10%;
}

.modal{
    width: 60%;
    height: 60%;
    overflow-y: scroll;
    margin: 10% auto;
    background-color: #fff;
    padding: 5%;
    border-radius: 5px;
}

.escape{
    border-radius: 10px;
    padding:10px;
    font-family: sans-serif;
    background-color: #333;
    color: #fff;
    width: 10px;
    height: 15px;
    position: fixed;
    margin-left: -6%;
    margin-top: -6%;
    border: 1px solid #333;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.escape:hover{
    cursor: pointer;
    background-color: #fff;
    color: #333;
}

.modal h1{
    text-align: center;
    margin-top: 0;
}

.modal p{
    font-family: 'Muli', sans-serif;
    text-align: left !important;
}

.client-modal{
    text-align: center;
}

.client-modal img{
    width: 80%;
    max-width: 600px;
    margin: 30px auto;
}

/* ---------- CONTACT / FORM ---------- */

input, textarea{
    width: 80%;
    padding: 1.5%;
    margin-bottom: 2.5%;
    float: left;
    font-family: sans-serif;
    font-size: 1em;
    font-family: 'Muli', sans-serif;
}

button{
    float: left;
    border: 2px solid #333;
    color: #333;
    background-color: #fff;
    padding: 15px 30px;
    text-transform: uppercase;
    font-family: 'Muli', sans-serif;
    font-weight: 900;
    letter-spacing: 1.5px;
    border-radius: 50px;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

button:hover{
    cursor: pointer;
    background-color: #333;
    color: #fff;
}

#form-complete{
    display: none;
    padding: 2.5%;
    color: #fff;
    background-color: #333;
    margin-top: 20px;
    width: 80%;
    font-family: 'Muli', sans-serif;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

#form-smallprint{
    font-size: 0.65em;
    width: 80%;
    text-align: left;
    float: left;
    margin-bottom: 15px;
}

/* ---------- IMAGES ---------- */

#phone{
    max-width: 100%;
}

/* ---------- FOOTER ---------- */

#footer{
    position: relative;
    text-align: center;
    font-family: sans-serif;
    font-size: 12px;
}

.footer-inner{
    width: 80%;
    margin: 0 auto;
    font-family: 'Muli',sans-serif;
}

.footer-section{
    width: 20%;
    display: inline-block;
    vertical-align: top;
    float: left;
    text-align: left;
    padding: 30px 0;
}

.footer-section h3{
    text-transform: uppercase;
}

.footer-section img{
    width: 150px;
}

#right{
    float: right;
    text-align: right;
}

.fa-envelope, .fa-phone{
    margin-right: 5px;
}

.footer-section a{
    text-decoration: none;
}

.footer-section a:hover{
    text-decoration: underline;
}

/* ---------- MOBILE ---------- */

@media screen and (min-width: 0px) and (max-width: 767px) {
    
    /* Nav */
    
    .nav-hr{
        display: none;
    }
    
    .nav-item{
        padding: 5px;
    }
    
    #nav ul{
        margin: 10px 0;
    }
    
    /* Index */
    
    #logo{
        width: 200px;
    }
    
    .copy{
        padding: 20px 0;
    }
    
    .text-section{
        width: 100%;
        padding: 15px 0;
    }
    
    .cta-container{
        margin: 30px auto 0 auto;
    }
    
    .hr-body{
        
    }
    
    /* Our Work */
    
    .tile{
        width: 100%;
        margin: 1.5% 0;
    }
    
    .client-tile{
        width: 75%;
    }
    
    .modal{
        width: auto;
        position: relative;
        top: 4vh;
        height: 100vh;
    }
    
    .escape{
        position: static;
    }
    
    .client-modal img{
        width: 100%;
    }
    
    /* Contact */
    
    input, textarea{
        width: 95%;
    }
    
    #form-smallprint{
        width: 95%;
    }
    
    /* Footer */
    
    .footer-section{
        width: 100%;
        float: left !important;
        text-align: center !important;
        padding: 10px 0;
    }
    
}