@font-face {
    font-family: "Inkburrow";
    src: url(../fonts/inkburrow.ttf) format("truetype")
}

@font-face {
    font-family: "Rage Italic";
    src: url(../fonts/rage_italic.ttf) format("truetype")
}

@font-face {
    font-family: "Ailerons";
    src: url(../fonts/ailerons-typeface.otf) format("truetype")
}

@font-face {
    font-family: "Stellar Light";
    src: url(../fonts/stellar_light.otf) format("truetype")
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: 'Stellar Light';
    color: #FFF;
    background-color: #111
}

h1 {
    font-family: "Inkburrow";
    font-weight: 400;
    font-size: 75px;
    text-align: center;
    color: #FFF;
    margin: 0;
    padding: 0
}

h2 {
    font-family: 'Ailerons';
    font-weight: lighter;
    font-size: 52px;
    text-align: center;
    padding: 0;
    margin: 40px
}

a {
    text-decoration: none;
    color: #FFF
}

#home,
#works,
#about,
#contact {
    min-height: 100vh
}

section {
    padding: 10vh 0;
    box-sizing: border-box
}

#nav {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 25px;
    position: fixed;
    width: 1200px;
    z-index: 9999;
    left: -50px
}

#nav ul {
    list-style: none;
    display: inline;
    margin-right: -40px
}

#nav li {
    display: inline;
    list-style: outside none none;
    margin: 12px
}

#nav li a {
    opacity: .6;
    font-size: 16px;
    line-height: 36px
}

#nav li.active a,
#nav li:hover a {
    opacity: 1
}

#nav #r_logo {
    transform: rotate(90deg);
    margin-bottom: -30px;
    margin-right: -70px
}

.container {
    position: relative;
    height: 100%;
    width: 100%;
    left: 0;
    margin: 0 auto;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease
}

.parallax {
    -webkit-transition: none!important;
    -moz-transition: none!important;
    -o-transition: none!important;
    transition: none!important
}

.container.open-sidebar {
    left: 240px;
    -webkit-transition: left .4s ease-in-out;
    -moz-transition: left .4s ease-in-out;
    -ms-transition: left .4s ease-in-out;
    -o-transition: left .4s ease-in-out;
    transition: left .4s ease-in-out
}

.swipe-area {
    position: absolute;
    width: 50px;
    left: 0;
    top: 0;
    height: 100%
}

#sidebar {
    background: #111;
    position: absolute;
    width: 240px;
    height: 100%;
    left: -240px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-transition: left .4s ease-in-out;
    -moz-transition: left .4s ease-in-out;
    -ms-transition: left .4s ease-in-out;
    -o-transition: left .4s ease-in-out;
    transition: left .4s ease-in-out
}

#sidebar.show {
    position: fixed;
    left: 0;
    z-index: 9;
    -webkit-transition: left .4s ease-in-out;
    -moz-transition: left .4s ease-in-out;
    -ms-transition: left .4s ease-in-out;
    -o-transition: left .4s ease-in-out;
    transition: left .4s ease-in-out
}

ul#sidebar {
    margin: 0;
    padding: 0;
    list-style: none
}

ul#sidebar li {
    margin: 0
}

ul#sidebar li a {
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 100;
    color: #AAA;
    text-decoration: none;
    display: block;
    -webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    -ms-transition: background .3s ease-in-out;
    -o-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out
}

ul#sidebar li:hover a,
ul#sidebar li.active a {
    background: #e95a44;
    color: #FFF
}

#sidebar-toggle {
    border-radius: 3px;
    margin: 3px;
    display: block;
    position: fixed;
    padding: 10px 7px;
    float: left;
    z-index: 10
}

#sidebar-toggle.opened {
    left: 240px
}

#sidebar-toggle .bar {
    display: block;
    width: 18px;
    margin-bottom: 3px;
    height: 2px;
    border-radius: 1px
}

#sidebar-toggle .bar:last-child {
    margin-bottom: 0
}

form {
    padding: 0 15%
}

footer {
    font-size: 14px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    width: 100%;
    bottom: 0;
    position: fixed;
    color: #333;
    text-align: center;
    z-index: 999;
    display: table
}

footer a {
    color: #333
}

footer .table-cell {
    min-width: 70px;
    width: auto;
    display: table-cell;
    position: relative;
    margin-right: -15px;
    margin-left: -15px;
    text-align: center
}

footer span {
    padding-right: 15px;
    white-space: nowrap
}

footer img {
    margin: auto auto -5px
}

button {
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.3) none repeat scroll 0 0;
    border: solid 1px #444;
    padding: 10px;
    color: #888;
    font-weight: 700;
    display: block;
    padding-left: 0;
    padding-right: 0;
    width: 100%
}

button:hover {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.3) none repeat scroll 0 0;
    border: solid 1px #AAA;
    text-shadow: 1px 1px #111;
    color: #FFF;
    font-weight: 700
}

input,
textarea {
    width: 100%;
    font-family: arial;
    font-size: 16px;
    box-sizing: border-box;
    background: transparent;
    color: #DDD;
    border: none;
    border-bottom: solid 1px #444;
    padding: 10px
}

input:focus,
textarea:focus {
    background: rgba(0, 0, 0, 0.2);
    border-bottom: solid 1px #AAA;
    color: #AAA
}

.rp-row {
    content: " ";
    width: 100%;
    display: table;
    box-sizing: border-box;
    text-align: center
}

.rp-col {
    display: inline-block;
    padding: 25px 0;
    position: relative
}

figure {
    width: 100%;
    margin: 0;
    margin-bottom: -2px
}

.slide-hidden {
    transition: all 1s ease 0;
    opacity: 0
}

.visible {
    opacity: 1!important
}

.my-gallery figcaption {
    display: none
}

#works > .content {
    background: rgba(0, 0, 0, 0.8);
    text-shadow: 2px 2px #111;
    padding: 15px 15% 45px
}

.slide {
    display: table;
    width: 100%
}

.content {
    padding-top: 10px;
    padding-bottom: 10px;
    height: 200px;
    display: table-cell;
    vertical-align: middle
}

#home {
    background: url(../img/home.jpg) no-repeat fixed 0 0;
    background-size: cover;
    text-shadow: 2px 2px #111
}

#home #logo {
    background: url(../img/logow.png) no-repeat;
    width: 120px;
    height: 120px;
    position: relative;
    margin: 0 auto
}

#home h2 {
    font-size: 32px;
    margin: 5px 0
}

#design p,
#about p {
    padding: 60px 15%;
    font-size: 26px;
    text-align: justify
}

#works {
    background-color: #FFF;
    color: #333;
    background-size: cover;
    padding: 15px 0
}

#filter {
    text-align: center
}

ul#filters {
    list-style: none;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center
}

#filters li {
    display: inline;
    list-style: outside none none
}

#filters li:first-child {
    margin: 0 auto
}

#filters li a {
    padding: 5px 20px 10px;
    color: #666;
    cursor: pointer;
    line-height: 36px
}

#filters li a.active {
    background: #e95a44;
    color: #fff
}

#portfoliolist {
    padding-top: 30px
}

#portfoliolist .portfolio {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    margin-bottom: 2px;
    width: calc(100%/3 - (((3 - 1) * 1rem) / 3));
    display: none;
    overflow: hidden
}

.portfolio-wrapper {
    overflow: hidden;
    position: relative!important;
    cursor: pointer
}

.portfolio img {
    width: 100%;
    position: relative;
    top: 0;
    -webkit-transition: all 600ms cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 600ms cubic-bezier(0.645, 0.045, 0.355, 1)
}

.portfolio .label {
    position: absolute;
    width: 100%;
    height: 40px;
    bottom: -40px;
    -webkit-transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1)
}

.portfolio .label-bg {
    background: #e95a44;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0
}

.portfolio .label-text {
    color: #fff;
    position: relative;
    z-index: 500;
    padding: 5px 8px;
    text-align: right
}

.portfolio .text-category {
    display: block;
    font-size: 12px
}

.portfolio:hover .label {
    bottom: 0
}

.portfolio:hover img {
    top: -30px
}

#programs {
    background: linear-gradient(rgba(0, 0, 0, .8), rgba(0, 0, 0, .8)), url(../img/programs.jpg) no-repeat fixed;
    background-size: cover;
    display: table;
    width: 100%
}

#works > .content,
#programs > .content {
    text-shadow: 2px 2px #111;
    padding: 15px 15% 45px
}

#programs p {
    font-family: arial;
    font-size: 22px
}

#programs .rp-col {
    width: calc(100%/5 - (((5 - 1) * 1rem) / 5));
    text-align: center
}

#programs .item {
    width: 50%!important;
    filter: grayscale;
    filter: grayscale(80%);
    -webkit-filter: grayscale(80%)
}

#programs .item:hover {
    transition: all 1s ease 0;
    filter: none;
    -webkit-filter: grayscale(0)
}

#about {
    background: linear-gradient(rgba(0, 0, 0, .8), rgba(0, 0, 0, .8)), url(../img/about-roni-paschoal.jpg) no-repeat fixed;
    background-size: cover;
    display: table
}

.message-error,
#messagesProgress {
    display: block;
    margin-top: 8px;
    text-align: center
}

#contact p {
    font-family: "Ailerons";
    text-align: center;
    font-size: 28px
}

@media only screen and (max-width: 767px) {
    #portfoliolist .portfolio {
        width: 100%
    }
    #programs .rp-col {
        width: calc(100%/2 - (((2 - 1) * 1rem) / 2))
    }
    #filters {
        padding: 0!important
    }
    .rp-xs-hidden {
        display: none!important
    }
    #contact p,
    #about p,
    #programs p,
    #design p {
        font-size: 16px
    }
    #about .content,
    #programs .content {
        padding: 10px 0
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    #portfoliolist .portfolio {
        width: calc(100%/2 - (((2 - 1) * 1rem) / 2))
    }
    #programs .rp-col {
        width: calc(100%/4 - (((4 - 1) * 1rem) / 4))
    }
}

@media (min-width: 768px) {
    .rp-lg-hidden {
        display: none!important
    }
}

.clearfix:before,
.clearfix:after {
    content: '\0020';
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0
}

.clearfix:after {
    clear: both
}

.clearfix {
    zoom: 1
}