@import url('https://fonts.googleapis.com/css?family=Montserrat:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

@keyframes fadein{from{opacity:0}to{opacity:1}}@-moz-keyframes fadein{from{opacity:0}to{opacity:1}}@-webkit-keyframes fadein{from{opacity:0}to{opacity:1}}@-o-keyframes fadein{from{opacity:0}to{opacity:1}}

@font-face {
    font-family: 'Handy candy';
    src: url(../fonts/HANDYCANDY.TTF) format('truetype');
}   

a {
    outline: 0;
}

body {
    margin: 0;
}

.container {
    min-height: 800px;
    animation: fadein 2s;
    -webkit-animation: fadein 2s;
       -moz-animation: fadein 2s;
         -o-animation: fadein 2s;
}

h1, h2, h3 {
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}

.center {
    text-align: center !important;
}

.clear {
    clear: both;
}



/* Header */
header {
    width: 100%;
    height: 105px;
    padding: 15px;
    background-color: #a6e161;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    z-index: 2;
    border-bottom: 2.5pt solid rgba(0,0,0,0.15);
}
header .nav {
    width: auto;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: #fff;
    float: right;
}
header .mobile-nav {
    display: none;
}
    @media (max-width: 860px) {
        header {
            position: relative;
            z-index: 1;
        }
        header .nav {
            display: none;
        }
        header .mobile-nav {
            display: block;
            color: #fff;
            font-size: 20pt;
            float: right;
            cursor: pointer;
        }
    }
header .nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
header .nav li {
    float: left;
}
header .nav li a {
    display: block;
    color: #fff;
    padding: 20px 35px 10px 35px;
    text-decoration: none;
    -webkit-transition-duration: .2s;
            transition-duration: .2s;
}
header .nav li a:hover {
    padding: 15px 35px;
}
.logo {
    width: auto;
    float: left;
    margin-left: 25px; 
}
.rdf {
    margin-top: -5px;
    display: block;
    text-indent: -9999px;
    width: 337px;
    height: 82px;
    background-image: url("../img/rdf_logo.svg");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}
@media (max-width: 1366px) {
    header {
        padding: 13px;
        height: 88px;
    }
    header .nav {
        margin-top: -4px;
        width: auto;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        font-size: 1.3rem;
        color: #fff;
        float: right;
    }
    .rdf {
        margin-top: 0;
        width: 275px;
        height: 55px;
        background-size: 100%;
        background-repeat: no-repeat;
    }
}



/* Footer */
footer {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #000;
    font-size: .85rem;
    text-align: left;
    margin: 0;
    padding: 0 0 45px 50px;
    box-sizing: border-box;
}
    @media (max-width: 680px) {
        footer {
            font-size: .65rem;
            margin: auto auto 80px auto;
            width: 100%;
            padding: 0 0 0 20px;
        }
    }
    @media (max-width: 420px) {
        footer {
            font-size: .75rem;
            text-align: center;
        }
    }
    
footer .email, footer .phone, footer .file {
    float: left;
    width: auto;
    padding-right: 30px;
}
    @media (max-width: 680px) {
            footer .email, footer .phone, footer .file {
                padding-right: 20px;
            }
    }
    @media (max-width: 420px) {
            footer .email, footer .phone, footer .file {
                width: 90%;
                margin: 12px auto;
                float: none;
            }
    }
footer .email a, footer .phone a, footer .file a {
    color: inherit;
    text-decoration: none;
    -webkit-transition-duration: .2s;
            transition-duration: .2s;    
}

footer .email a:hover, footer .phone a:hover, footer .file a:hover {
    color: #a6e161;
}



/*About Page*/
.about .left {
    float: left;
}
.about .right {
    float: right;
}
.about .paragraph {
    margin: 105px 0 0 1px;
    width: 55%;
    box-sizing: border-box;
    padding: 50px;  
}
    @media (max-width: 980px) {
        .about .paragraph {
            width: 100%;
        }
    }
    @media (max-width: 860px) {
        .about .paragraph {
            margin: 0 auto;
        }
    }
.about .paragraph p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 300;
    text-align: left;
    color: #000;
}

.about .paragraph h1 {
    font-size: 2.2rem;
    font-weight: 800;
    padding: 10px 0 5px 0;
}
    @media (max-width: 1366px) {
        .about .paragraph h1 {
            font-size: 1.75rem;
            padding: 0 0 5px 0;
            margin: 0;
        }
    }

.about .paragraph h2 {
    font-weight: 600;
    font-size: 1rem;
    text-align: left;
    padding-top: 20px;
    text-transform: initial !important;
}
.about .paragraph h3 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #666;
    margin: 0;
}
    @media (max-width: 1366px) {
        .about .paragraph h3 {
            font-size: .9rem;
        }
    }
.about .paragraph .subtitle {
    width: auto;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #666;
    text-align: left;
    font-size: .95rem;
    height: auto;
    padding: 0;
}

.about .paragraph h1 sup {
    font-size: 0.5rem;
}
.about .paragraph ul {
    font-family: "Montserrat", sans-serif;
    padding: auto;
    margin: 6px auto;
    padding: 0px 0px 20px 15px;
}
.about .paragraph ul li {
    font-size: 1rem;
    line-height: 2rem;
    font-weight: 400;
    list-style-type: none;
}
    @media (max-width: 1366px) {
        .about .paragraph ul li {
            font-size: .85rem;
        }
    }

.about .paragraph ul li i {
    margin: 0 8px 0 0;
}
.about .image {
    margin: 105px 0 0 0;
    width: 40%;
    padding: 50px;
    box-sizing: border-box;
}
    @media (max-width: 980px) {
        .about .image {
            display: none;
        }
    }
.about .image img {
    width: 100%;
}



/* Project Details Page */
.project .details {
    margin: 105px 0 0 1px;
    width: 48%;
    float: left;
    text-align: left;
    color: #000;
    box-sizing: border-box;
    padding: 50px;  
}
    @media (max-width: 980px) {
        .project .details {
            float: none;
            width: 100%;
            padding: 35px;
        }
    }
    @media (max-width: 860px) {
        .project .details {
            margin: 0 auto;
        }
    }
.project .details h1 {
    font-size: 2.2rem;
    font-weight: 800;
    padding: 10px 0 5px 0;
    margin: 0;
}
    @media (max-width: 1716px) {
        .project .details h1 {
            font-size: 1.75rem;
        }
    }
.project .details h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    margin: 0;
}   
.project .details h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: gray;
    font-size: 1rem;
    margin: 0;
    padding: 0 0 1.5rem 0;
    transition: all .3s;
}
.project .details h5:hover {
    color: #a6e161;
}
.project .details h5 i {
    margin-right: .5rem;
}
.project .details h5 a {
    color: inherit;
    text-decoration: none;
}
.project .details p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 300;
}
.project .details p a {
    font-family: 'Montserrat', sans-serif;
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    -webkit-transition-duration: .2s;
            transition-duration: .2s;   
}

.project .details p strong {
    font-weight: 700;
}

.pig {
    height: 100vh;
}
    @media (max-width: 980px) {
        .pig {
            height: auto;
            padding: 50px 50px 0 50px;
        }
    }

.project .details p a:hover {
    color: #a6e161;
}
.project .gallery {
    width: 40%;
    margin: 80px 50px 0 0;
    padding-top: 50px;
    float: right;
}
    @media (max-width: 980px) {
        .project .gallery {
            float: none;
            width: auto;
            margin: 0 auto;
            padding-top: 5px;
        }
    }

.project .animation {
    width: 40%;
    margin: 50px 50px 0 0;
    padding-top: 50px;
    float: right;
    height: 100vh;
    overflow: hidden;
}
    @media (max-width: 980px) {
        .project .animation {
            float: none;
            width: auto;
            margin: -50px auto -120px auto;
            padding-top: 0;
        }
    }

    
.project .gallery img {
    width: 100%;
}
.project .nature {
    width: 35% !important;
    margin: 150px 50px 0 0 !important;
    padding-top: 0 !important;
}



/* Home Page About */
.about-section {
    display: block;
    width: 28%;
    position: fixed;
    height: 100vh;
    right: 0;
    top: 0;
    background-color: rgba(0,0,0,0.04);
    z-index: 1;
    box-sizing: border-box;
    padding: 50px;
    -webkit-box-shadow: inset 15px 2px 25px rgba(0,0,0,0.1);
       -moz-box-shadow: inset 15px 2px 25px rgba(0,0,0,0.1);
            box-shadow: inset 15px 2px 25px rgba(0,0,0,0.1);    
}
    @media (max-height: 1366px) {
        .about-section {
            padding: 45px;
        }
    }

    @media (max-height: 820px) {
        .about-section {
            overflow-y: scroll;
        }
    }

.about-section .profile-image {
    margin: 35% auto auto auto;
    width: 220px;
}
    @media (max-width: 1366px) {
        .about-section .profile-image {
            margin: 30% auto auto auto;
            width: 160px;
        }
    }

.about-section .profile-image img {
    width: 100%;
}

.about-section .title {
    width: auto;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #000;
    text-align: center;
    font-size: 1.8rem;
    height: auto;
    padding: 8px 0 2px 0;
}
    @media (max-width: 1366px) {
        .about-section .title {
            font-size: 1.3rem;
        }
    }
.about-section .subtitle {
    width: auto;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #666;
    text-align: center;
    font-size: .95rem;
    height: auto;
    padding: 0;
}
    @media (max-width: 1366px) {
        .about-section .subtitle {
            font-size: .8rem;
        }
    }

.about-section p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 300;
    padding: 8px 0;
}


.about-section h2 {
    font-weight: 600;
    font-size: 1rem;
}
    @media (max-width: 1366px) {
        .about-section h2 {
            font-size: .78rem;
        }
    }

.about-section .submit-button:hover {
    color: #a6e161;
    background: #fff;
}
.about-section ul {
    font-family: "Montserrat", sans-serif;
    padding: auto;
    margin: 6px auto;
    padding: 0px 0px 0 15px;
}
.about-section ul li {
    font-size: .9rem;
    line-height: 2rem;
    font-weight: 400;
    list-style-type: none;
}
    @media (max-width: 1366px) {
        .about-section ul li {
            font-size: .8rem;
            line-height: 1.5rem;
        }
    }
.about-section ul li i {
    margin: 0 8px 0 0;
}
.about-section .email, .about-section .phone, .about-section .file {
    width: auto;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #000;
    font-size: .85rem;
    padding: 15px 0;
}
.about-section .email a, .about-section .phone a, .about-section .file a {
    color: inherit;
    text-decoration: none;
    -webkit-transition-duration: .2s;
            transition-duration: .2s;    
}
.about-section .email a:hover, .about-section .phone a:hover, .about-section .file a:hover {
    color: #a6e161;
}
    @media (max-width: 1140px) {
        .about-section {
            width: 33%;
        }
    }
    @media (max-width: 860px) {
        .about-section {
            display: none;
        }
    }
.about-section .button-holder {
    width: 100%;
    text-align: center;
}
.about-section .submit-button {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 20px 60px;
    cursor: pointer;
    width: 200px;
    border: none;
    background: #a6e161;
    color: #fff;
    margin: 10px auto auto auto;    
    border: 2pt solid #a6e161;
   -webkit-appearance: none;
      -moz-appearance: none;
           appearance: none;    
    -webkit-transition-duration: .45s;
            transition-duration: .45s;      
}
    @media (max-width: 1366px) {
        .about-section .submit-button {
            width: 170px;
            padding: 15px;
        }
    }

.about-section p strong {
    font-weight: 600;
    font-size: 1rem;
}
    @media (max-width: 1366px) {
        .about-section p strong {
            font-size: .84rem;
        }
    }




/* Home Page Projects */
.projects {
    display: flex;
    flex-wrap: wrap;    
    width: 72%;
    box-sizing: border-box;
    padding: 45px;
    margin-top: 105px;
}
    @media (max-width: 1366px) {
        .projects {
            margin-top: 87px;
        }
    }
    @media (max-width: 1140px) {
        .projects {
            width: 67%;
        }
    }
    @media (max-width: 860px) {
        .projects {
            width: 100%;
            margin-top: 0;
        }
    }
    @media (max-width: 540px) {
        .projects {
            padding: 25px;
        }
    }
    
.projects .clear {
    height: 22px;
}
    @media (max-width: 1366px) {
        .projects .clear {
            height: 14px;
        }
    }
    @media (max-width: 1140px) {
        .projects .clear {
            height: 12px;
        }
    }
    @media (max-width: 540px) {
        .projects .clear {

            height: 7px;
        }
    }   
     
.projects .clear-last {
    height: auto;
    clear: both;
}

.projects h1 {
    font-size: 3.5rem;
    font-weight: 800;
    padding: .5rem;
}

.projects p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.5rem;
    padding: .7rem;
    font-weight: 300;
}

.tile {
    overflow: hidden;
    font-size: 0;
    position: relative;
    width: 48%;
    margin: .5rem;
    height: 600px;
    overflow-y: hidden;
    background-color: #fff;
    border: .35pt solid #d1d1d1;
    cursor: pointer;
    -webkit-transition-duration: .4s;
            transition-duration: .4s;
}
    @media (max-width: 1366px) {
        .tile {
            height: 375px;
            margin: 0;
        }
    }
    @media (max-width: 940px) {
        .tile {
            height: 250px;
        }
    }
    @media (max-width: 460px) {
        .tile {
            width: 48%;
            height: 175px;
        }
    }

.tile:hover .middle {
    opacity: 1;
}



.contact {
    width: 100%;
    border: 1px solid red;
}

.middle {
    opacity: 0;
    width: 105%;
    height: 100%;
    transition: .4s;
    background-color: rgba(255,255,255,0.9);
    position: absolute;
    padding: 80% 0 0 0; 
    top: 50%;
    left: 50%;
    text-align: center;
    -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
}
.text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: #000;
    padding: 16px 32px;
    position: relative;
    left: 0;
    top: 15px;
}
    @media (max-width: 1366px) {
        .text {
            font-size: 1.2rem;
        }
    }

.tony_pax {
    background-image: url("../img/projects/tony_pax_preview.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}
.chiro {
    background-image: url("../img/projects/stam_chiro_preview.png");
    background-repeat: no-repeat;
    background-size: 55%;
    background-position: center;
}
.zday {
    background-image: url("../img/projects/zday_preview.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}
.cvs360 {
    background-image: url(../img/projects/360cvs.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
}
.wtsi_podcast {
    background-image: url("../img/projects/wtsi_preview.jpg");
    background-repeat: no-repeat;
    background-size: 70%;
    background-position: center;
}
.seen {
    background-image: url("../img/projects/seen_preview.png");
    background-repeat: no-repeat;
    background-size: 55%;
    background-position: center;
    background-color: #ed1c24 !important;
}
.pepsi-bowl {
    background-image: url("../img/projects/pepsi_bowl_preview.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.heineken {
    background-image: url("../img/projects/heineken_preview.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.exit {
    background-image: url("../img/projects/exit_preview.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.mandy {
    background-image: url("../img/projects/mandy_preview.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.qatar {
    background-image: url("../img/projects/qatar_preview.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.birra {
    background-image: url("../img/projects/birra_preview.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.photography {
    background-image: url("../img/projects/naturect.jpg");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
}
.piggy {
    background-image: url("../img/projects/pig_preview.jpg");
    background-repeat: no-repeat;
    background-size: 85%;
    background-position: center;
}



/* Contact */
.contact-form {
    font-family: 'Montserrat', sans-serif;
    width: 550px;
    margin: 115px auto auto auto;
    box-sizing: border-box;
    padding: 0 50px 0 50px;
}
    @media (max-width: 1366px) {
        .contact-form {
            width: 470px;
            margin: 100px auto auto auto;
        }
    }
    @media (max-width: 860px) {
        .contact-form {
            width: 90%;
            margin: 0 auto;
        }
    }
.contact-form h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    line-height: 2.5rem;
    font-weight: 800;
}
    @media (max-width: 1716px) {
        .contact-form h1 {
            font-size: 2.2rem;
        }
    }
    @media (max-width: 1366px) {
        .contact-form h1 {
            font-size: 1.75rem;
            line-height: 1.8rem;
        }
    }
.contact-form p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 300;
    padding: 0;
}
    @media (max-width: 1366px) {
        .contact-form p {
            margin: 10px auto;
        }
    }

.contact-form .submit-button {
    float: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 20px 60px;
    cursor: pointer;
    width: auto;
    border: none;
    background: #a6e161;
    color: #fff;
    margin: 25px auto;  
    border: 2pt solid #a6e161;
   -webkit-appearance: none;
      -moz-appearance: none;
           appearance: none;    
    -webkit-transition-duration: .45s;
            transition-duration: .45s;      
}
    @media (max-width: 1366px) {
        .contact-form .submit-button {
            margin: 12px auto 35px auto;
            font-size: .85rem;
            padding: 15px 50px;
        }
    }

.contact-form .submit-button:hover {
    color: #a6e161;
    background: #fff;
}
.contact-form label {
    font-size: .6rem;
    color: #000;
    text-align: left;
    font-weight: 500;
    text-transform: uppercase;
}
.contact-form input {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    display: block;
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    margin: 2px auto 7px auto;
}
    @media (max-width: 1366px) {
        .contact-form input {
            font-size: .65rem;
            padding: 10px;
        }
    }

.contact-form textarea {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;    
    width: 100%;
    margin: 5px auto;
    box-sizing: border-box;
    padding: 10px;
    height: 100px;
}
    @media (max-width: 1366px) {
        .contact-form textarea {
            height: 80px;
        }
    }

.contact-form .g-recaptcha {
    margin: 20px auto auto auto;
}
    @media (max-width: 1366px) {
        .contact-form .g-recaptcha {
            margin: 8px auto auto auto;
        }
    }

.contact-form .status {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: red;
    padding: 2rem 0;
    text-align: left;
}
.contact-form .status span {
    color: red;
}



/* Mobile Nav */
.sidenav {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 2;
    top: 0;
    right: 0;
    background-color: rgba(0,0,0,0.9);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}
.sidenav .x {
    width: auto;
    border-bottom: none;
}
.sidenav a {
    padding: 18px 0 18px 24px;
    text-decoration: none;
    font-size: 15pt;
    color: #fff;
    display: block;
    transition: 0.8s;
    width: 300px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.sidenav .social {
    padding: 18px 0 18px 24px;
    text-decoration: none;
    transition: 0.8s;
    width: 300px;
    display: block;
}
.sidenav .social a {
    width: 50px !important;
    border-bottom: none !important;
    display: inline !important;
}
.sidenav a:hover, .offcanvas a:focus{
    color: #f1f1f1;
}
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}
    @media screen and (max-height: 450px) {
      .sidenav {padding-top: 15px;}
      .sidenav a {font-size: 18px;}
    }
.sidenav .follow-mobile {
    color: #fff !important;
    font-family: 'Raleway', sans-serif;
    font-size: 12pt;
    font-weight:700;
    padding: 0 0 8px 0;
    margin: 0;
}   



/* Pig Animation */
#animation_container {
    position: absolute !important;
    right: 4% !important;
    width: 50px !important;
    height: 50px !important;
}

#animation_container #canvas {
    margin-top: 50px !important;
    width: 425px !important;
    height: 756px !important;
    border: 1px solid rgba(0,0,0,0.25);
    position: absolute;
    right: 80% !important;
}
    @media (max-width: 1366px) {
        #animation_container #canvas {
            width: 300px !important;
            height: 533px !important;
        }
    }
    
#animation_container #dom_overlay_container {
    height: auto !important;
    width: auto !important
}