body, html {
    width: 100%;
    height: 100%;    
}

body {
    font-family: 'Roboto', sans-serif;
    color: #fff;
    background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 35px;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

p {
    margin: 0 0 25px;
    font-size: 18px;
    line-height: 1.5;
}

a {
    color: #222;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

a:hover,
a:focus {
    text-decoration: none;
    color: #11505d;
}

.light {
    font-weight: 400;
}

.navbar-custom {
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    background-color: rgba(117,117,117,.94);
    font-size: 14px;
}

.navbar-header a {
    line-height: 50px;
    height: 50px;
    font-size: 20px;
    font-weight: 500;     
}

.navbar-custom .navbar-header .navbar-toggle {
    font-size: 20px;
}

.navbar-custom a {
    color: #fff;
}

.nav > li > a {
    font-weight: 500;
}

.nav > li > a:hover, .nav > li > a:focus, .nav > li > a:active, .nav > li.active {
    text-decoration: none;
    outline: none;
}

.nav > li > a:hover, .nav > li > a:focus, .nav > li > a:active {
    background-color: transparent;
}

.nav > li.active {
    background-color: rgba(0,0,0,.2);
    -webkit-transition: background .6s ease-in-out;
    -moz-transition: background .6s ease-in-out;
    transition: background .6s ease-in-out;
}

#intro, #about, #portfolio, #contact {
    display: table;
    width: 100%;
    height: 100%;
    overflow:auto;
    padding: 100px 0;
    text-align: center;
    color: #222;
    background-color: #fff;
    background: no-repeat bottom center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

#intro {
    background-image: url(../img/intro-bg.jpg);
    background-position: top;
}

#about {
    background-image: url(../img/about-bg.jpg);
}

#portfolio {
    background-image: url(../img/portfolio-bg.jpg);
}

#contact {
    background-image: url(../img/contact-bg.jpg);
}

.fill-page {
    display: table-cell;
    vertical-align: middle;
}

#intro .fill-page .brand-heading {
    font-size: 36px;
}

#intro .fill-page #intro-text {
    font-size: 18px;
}

.btn-circle {
    width: 50px;
    height: 50px;
    line-height: 50px;
    padding: 0;
    border-radius: 35px;
    font-size: 30px;
}

@-webkit-keyframes pulse {    
    0 {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-moz-keyframes pulse {    
    0 {
        -moz-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -moz-transform: scale(1.2);
        transform: scale(1.2);
    }

    100% {
        -moz-transform: scale(1);
        transform: scale(1);
    }
}

.content-section {
    padding-top: 100px;
}

.btn {
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.btn-default {
    border: 1px solid #222;
    color: #222;
    background-color: transparent;
}

.btn-default:hover,
.btn-default:focus {
    border: 1px solid rgba(0,0,0,0);
    outline: 0;
    color: #ddd;
    background-color: rgba(117,117,117,.94);
}

ul.banner-social-buttons {
    margin-top: 0;
}

footer {
    padding: 50px 0;
}

footer p {
    margin: 0;
}

::-moz-selection {
    text-shadow: none;
    background: #fcfcfc;
    background: rgba(255,255,255,.2);
}

::selection {
    text-shadow: none;
    background: #fcfcfc;
    background: rgba(255,255,255,.2);
}

img::selection {
    background: 0 0;
}

img::-moz-selection {
    background: 0 0;
}

body {
    webkit-tap-highlight-color: rgba(255,255,255,.2);
}

/* shadows */
.shadow {
    -webkit-box-shadow: 10px 10px 40px 0px rgba(0,0,0,0.35);
       -moz-box-shadow: 10px 10px 40px 0px rgba(0,0,0,0.35);
            box-shadow: 10px 10px 40px 0px rgba(0,0,0,0.35);
}

.btm-edge-shadow {
    -webkit-box-shadow: 0px 10px 40px 0px rgba(0,0,0,0.35);
       -moz-box-shadow: 0px 10px 40px 0px rgba(0,0,0,0.35);
            box-shadow: 0px 10px 40px 0px rgba(0,0,0,0.35);
}

/* polaroids */
.polaroid-images a {
    background-color: #fff;
    display: inline-block;
    margin: 24px;
    padding: 10px 10px 25px;
    text-align: center;
    text-decoration: none;
    -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, .3);
       -moz-box-shadow: 0 4px 6px rgba(0,0,0,.3);
    box-shadow: 0 4px 6px rgba(0,0,0,.3);
    -webkit-transition: all .15s linear;
       -moz-transition: all .15s linear;
            transition: all .15s linear;
    z-index:0;
    position:relative;
}
.polaroid-images a:after {
    color: #333;
    font-size: 16px;
    content: attr(title);
    position: relative;
    top:15px;
}
.polaroid-images img { 
    display: block; 
    width: inherit;
}
.mw1 {
    -webkit-transform: rotate(4deg);  
       -moz-transform: rotate(4deg); 
            transform: rotate(4deg); 
}
.mw2 { 
    -webkit-transform: rotate(-6deg);  
       -moz-transform: rotate(-6deg); 
            transform: rotate(-6deg); 
}
.mw3 {
    -webkit-transform: rotate(14deg);  
       -moz-transform: rotate(14deg); 
            transform: rotate(14deg); 
}
.mw4 {
    -webkit-transform: rotate(-18deg);  
       -moz-transform: rotate(-18deg); 
            transform: rotate(-18deg); 
}
.polaroid-images a:hover {
    -webkit-transform: rotate(0deg); 
       -moz-transform: rotate(0deg);
            transform: rotate(0deg);
     -webkit-transform: scale(1.2); 
        -moz-transform: scale(1.2);
             transform: scale(1.2);
    z-index:10;
    -webkit-box-shadow: 0 10px 20px rgba(0,0,0,.7);
       -moz-box-shadow: 0 10px 20px rgba(0,0,0,.7);
            box-shadow: 0 10px 20px rgba(0,0,0,.7);
}

/* extras */
.mywork {
    padding-bottom: 40px;
}

/* responsive */
@media(min-width:767px) {
    p {
        margin: 0 0 35px;
        font-size: 20px;
        line-height: 1.6;
    }
    .navbar {
        padding: 20px 0;
        border-bottom: 0;
        letter-spacing: 1px;
        background: 0 0;
        -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
        -moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
        transition: background .5s ease-in-out,padding .5s ease-in-out;
    }

    .top-nav-collapse {
        padding: 0;
        background-color: rgba(117,117,117,.94);
        box-shadow: 0 0 4px rgba(0,0,0,.14), 0 4px 8px rgba(0,0,0,.28);
        /*box-shadow: 0 4px 4px 0px rgba(0,0,0,0.14), 0 4px 8px rgba(0,0,0,.28);*/
        /*box-shadow: 0 4px 4px 0px rgba(0,0,0,0.36);*/
    }

    #intro .fill-page .brand-heading {
        font-size: 48px;
    }

    #intro .fill-page #intro-text {
        font-size: 25px;
    }
}
@media(max-width:767px) {
    ul.banner-social-buttons li {
        display: block;
        margin-bottom: 20px;
        padding: 0;
    }
    ul.banner-social-buttons li:last-child {
        margin-bottom: 0;
    }
    .navbar-header a {
        line-height: 64px;
        height: 64px;
        margin-left: 24px;
    }
}
@media screen and (max-width: 767px) {
    .img-responsive{
        max-height: 175px;
    }
    .polaroid-images a {
        margin: 10px 0;
    }
    .navbar-custom {
        box-shadow: 0 0 4px rgba(0,0,0,.14), 0 4px 8px rgba(0,0,0,.28);        
    }      
}
@media (max-width: 992px) {
    #portfolio .row:last-of-type .polaroid-images {
        opacity: .7;
    }
    #portfolio .row:last-of-type .polaroid-images a {
        color: currentColor;
        cursor: not-allowed;
        text-decoration: none;
        pointer-events: none;
    }
    #portfolio .row:last-of-type .polaroid-images a:before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        background-color: rgba(158,158,158,.8);
    }
    #portfolio .row:last-of-type .polaroid-images a div:before {
        content: "Application usable on tablet (layout mode) and above";
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        padding: 0 20px;
        display:flex;
        flex-direction:row;
        align-items: center;
        justify-content: center;        
        color: #ffffff;
        font-size: 20px;
        font-weight: 600;                
    }
}
@media(max-width:1199px) {
    ul.banner-social-buttons {
        margin-top: 15px;
    }
}