/* ********** GENERAL ********** */

@font-face {
    font-family: 'mustang';
    src: url(../fonts/Mustang.otf);
}

body {
    background-color: #f2f2f2;
    font-family: 'Comfortaa', cursive;
    max-width: 2560px;
    color: #6c6c6c;
    margin: 0 auto;
}
.wrapper {
    width: 92.72727272727273%;
    margin: 0 auto;
    padding-bottom: 20px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #6c6c6c;
    letter-spacing: 1px;
}
h1 {
    font-size: 2em;
    margin: .67em 0
}
h2 {
    font-size: 1.5em;
    margin: .75em 0
}
h3 {
    font-size: 1.17em;
    margin: .83em 0
}
h5 {
    font-size: .83em;
    margin: 1.5em 0
}
h6 {
    font-size: .75em;
    margin: 1.67em 0
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bolder
}

a {
    color: #6c6c6c;
}

a:hover {
    color: #000000 !important;
}

/* ********** MOBILE MENU ********** */

.hamburger {
    top: 5px;
    left: 5px;
}

.hamburger__icon {
    margin-top: 11px;
}

i.fa.fa-linkedin, i.fa.fa-twitter, i.fa.fa-github {
    padding-left: 15px;
    padding-right: 15px;
}

.navfat {
    font-size: .9em;
}
.navfat li {
    height: 85px;
}

.logo-white h1 {
    font-family: 'mustang', sans-serif;
}

.logo-white h1 {
    position: relative;
    bottom: 115px;
    font-weight: 100;
    
}

.hamburger a:hover {
    color: #6c6c6c !important;
}

/* ********** HEADER SIDE ********** */

.header-side {
    width: 450px;
    min-height: 100%;
    background-color: #f2f2f2;
    position: fixed;
    overflow: hidden;
    z-index: 100;
    border-right: 1px solid #d8d8d8;
}
.logo {
    text-align: center;
    margin: 0 auto;
    padding-top: 25px;
}

.logo h1 {
    font-family: 'mustang', sans-serif;
    font-size: 4em !important;
    font-weight: 100;
}

.logo a {
    text-decoration: none;
}

nav {
    text-align: center;
    font-size: 1.5em;
    line-height: 2;
}

.nav-links,
.nav-social {
    padding: 0;
}

.nav-links li {
    list-style-type: none;
}

.nav-links li a {
    text-decoration: none;
}

nav div {
    width: 450px;
    text-align: center;
    position: absolute;
    bottom: 0;
}

.nav-social {
    margin-bottom: 0px;
}

.nav-social li {
    display: inline;
    padding: 0 10px;
}

.fa-linkedin,
.fa-twitter,
.fa-github {
    font-size: 1.5em !important;
}

nav p {
    font-size: .55em;
    border-top: 1px solid #000000;
    margin: 3px 100px 20px 100px;
    padding: 10px 0;
}

.header-mobile {
    display: none;
}

/* ********** HEADER MAIN ********** */

.main {
    width: 100%;
    height: 100%;
    padding-left: 450px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    background-color: black;
}

/* ********** HOMEPAGE CONTENT ********** */

.main .portfolio {
/*    display: block;*/
    width: 33.3333%;
    height: auto;
    float: left;
    position: relative;
    overflow: hidden;
}

.main .portfolio .media {
    width: 100%;
    vertical-align: middle;
}

.media {
    opacity: 0;
}

.portfolio img {
    width: 100%;
    height: auto;
}

.main .portfolio .caption {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
}

.main .portfolio a:hover .caption {
    opacity: .85;
    transition: background-color 0.5s ease;
    background-color: black;
}

.portfolio .caption .portfolio_title {
    display: block;
    width: 100%;
    position: absolute;
    text-align: center;
    top: 50%;
    margin-top: -40px;
}

.main .portfolio .caption h2 {
    position: relative;
    display: inline-block;
    max-width: 90%;
    padding: 20px 0;
    z-index: 77;
    color: white;
    font-size: 16px;
    letter-spacing: .5px;
    border-bottom: 1px solid #bfbbbb;
    border-top: 1px solid #bfbbbb;
}

/* ********** HEADER IMAGES ********** */

.header-php {
    background-image: url(../img/header_php.jpg);
    background-position: center;
}

.header-sushigo {
    background-image: url(../img/header_sushigo.jpg);
    background-position: center;
}

.header-ese {
    background-image: url(../img/header_ese.jpg);
    background-position: center;
}

.header-gcps {
    background-image: url(../img/header_gcps.jpg);
    background-position: center;
}

.header-magichours2 {
    background-image: url(../img/header_magichours2.jpg);
    background-position: center;
}

.header-mult127 {
    background-image: url(../img/header_mult127.jpg);
    background-repeat: no-repeat;
    background-position: right;
    background-size: cover;
}

.header-ps {
    background-image: url(../img/header_ps.jpg);
    background-repeat: no-repeat;
    background-position: right;
    background-size: cover;
}

.header-chargers {
    background-image: url(../img/header_chargers.jpg);
    background-repeat: no-repeat;
    background-position: right;
    background-size: cover;
}

.header-email {
    background-image: url(../img/header_email.jpg);
    background-position: right;
    background-size: cover;  
}

.header-statequiz {
    background-image: url(../img/header_statequiz.jpg);
    background-position: center;
    background-size: cover;
}
.header-sfv {
    background-image: url(../img/header_sfv.jpg);
    background-position: center;
}
.header-puffer {
    background-image: url(../img/header_puffer.jpg);
}
.header-sfdojo {
    background-image: url(../img/header_sfdojo.jpg);
}
.header-gdl {
    background-image: url(../img/header_gdl.jpg);
    background-position: center;
}
.header-zhao {
    background-image: url(../img/header_zhao.jpg);
    background-position: center;
}
.header-jquerymobile {
    background-image: url(../img/header_jquerymobile.jpg);
    background-position: center;
}
.header-dentist {
    background-image: url(../img/header_dentistry.jpg);
    background-position: center;
}
.header-magichours {
    background-image: url(../img/header_magichours.jpg);
    background-position: center;
}
.header-gfg {
    background-image: url(../img/header_gfg.jpg);
    background-position: center;
}
.header-harmony {
    background-image: url(../img/header_harmony.jpg);
}
.header-str {
    background-image: url(../img/header_str.jpg);
}
.header-xmania {
    background-image: url(../img/header_xmania.jpg);
}
.header-stgames {
    background-image: url(../img/header_stgames.jpg);
}
.header-tol {
    background-image: url(../img/header_tol.jpg);
}
.header-airport {
    background-image: url(../img/header_airport.jpg);
}
.header-pool {
    background-image: url(../img/header_pool.jpg);
}
.header-thuliasaur {
    background-image: url(../img/header_thul.jpg);
    background-position: center;
}
.header-chelsith {
    background-image: url(../img/header_chelsith.jpg);
    background-position: center;
}
.header-neriak {
    background-image: url(../img/header_neriak.jpg);
    background-position: center;
}
.header-somnium {
    background-image: url(../img/header_somnium.jpg);
    background-position: center;
}
.header-japanese {
    background-image: url(../img/header_japanese.jpg);
    background-position: center;
}
.header-weapons {
    background-image: url(../img/header_weapons.jpg);
}
.header-misc {
    background-image: url(../img/header_misc.jpg);
    background-position: center;
}
.header-about {
    background-image: url(../img/header_about.jpg);
}

.header-statequiz,
.header-puffer,
.header-sfdojo,
.header-zhao,
.header-jquerymobile,
.header-dentist,
.header-magichours,
.header-gfg,
.header-harmony,
.header-str,
.header-xmania,
.header-stgames,
.header-tol,
.header-airport,
.header-pool,
.header-thuliasaur,
.header-chelsith,
.header-neriak,
.header-somnium,
.header-japanese,
.header-weapons,
.header-misc,
.header-about {
    background-size: cover;
    background-repeat: no-repeat;
}
/* ********** MAIN CONTENT ********** */

.mobile-header {
    display: none;
}
.content-header {
    width: 100%;
    height: 350px;
    padding-left: 450px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.header-image {
    width: 750px;
    height: 350px;
    width: 100%;
    border-bottom: 1px solid #d8d8d8;
}
.header-text {
    background-color: rgba(0, 0, 0, .75) !important;
    width: calc(100% - 50px);
    height: 60px;
    position: relative;
    bottom: 100px;
    padding-top: 5px;
    margin-left: 50px;
}
.content-header h2 {
    padding-left: 25px;
    color: #ffffff;
    font-size: 1.8em;
    line-height: .5;
}
.header-text .pe-7s-angle-left,
.header-text .pe-7s-home,
.header-text .pe-7s-angle-right {
    position: absolute;
    color: white;
    line-height: .3 !important;
    font-size: 2.2em;
    color: white;
}
.header-text .pe-7s-angle-left {
    right: 168px;
}
.header-text .pe-7s-home {
    right: 132px;
    font-size: 1.4em !important;
}
.header-text .pe-7s-angle-right {
    right: 68px;
}
.content-header .fa-arrow-left,
.content-header .fa-home,
.content-header .fa-arrow-right {
    position: absolute;
    color: white;
    line-height: .3 !important;
    font-size: 1.25em;
}
.pe-7s-angle-left:hover,
.pe-7s-home:hover,
.pe-7s-angle-right:hover {
    color: #6c6c6c !important;
}
.content {
    width: calc(100%-150px);
    height: 100%;
    padding-left: 450px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    margin: 40px 75px 25px 75px;
}
.content p {
    font-size: 1.15em;
}
.content h2 {
    color: #000000;
    margin-top: 20px;
    margin-bottom: 40px;
}

ul.skills-used {
    padding-left: 0;
    margin-bottom: 40px;
}
        
ul.skills-used li {
    display: inline;
    font-weight: bold;
    font-size: 1.5em;
    color: #000;
}

/*
.content a {
    padding-left: 5px;
}
*/

iframe::-webkit-scrollbar {
    display: none;
}

/* ********** FOOTER ********** */

footer {
    display: none;
}

/* ********** CAROUSEL ********** */

.automatic-slider {
    text-align: center;
    width: 100%;
    min-height: 200px;
    position: relative;
}
.automatic-slider img {
    width: 100%;
    margin-bottom: 15px;
}
.caption {
    font-size: 1.5em;
}

.resume-slider {
    max-width: 50%;
    margin-left: 25%;
    margin-right: 25%;
}

@media (max-width: 960px) {
    .resume-slider {
        max-width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }
}

/* ********** VIDEO CONTAINER ********** */   
    
div.item-text p {
    text-align: center;
    padding-top: 10px;
    font-size: 1.5em;
}

/* ********** CONTACT FORM ********** */

.center {
    text-align: center !important;
    margin-top: 20px;
}
.center input {
    width: 200px !important;
}
.center input:hover,
.cneter input:focus {
    opacity: 0.75;
    cursor: pointer;
}
button {
    display: inline-block;
    border-radius: 3px;
    border: none;
    font-size: 0.9rem;
    padding: 0.5rem 0.8em;
    background: #3d5998;
    border-bottom: 1px solid #498b50;
    color: white;
    font-weight: bold;
    margin: 0;
    width: 100%;
    text-align: center;
}
button:active {
    opacity: 1;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1) inset;
}
.success {
    padding: 1em;
    margin-bottom: 0.75rem;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    color: #468847;
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.error {
    padding: 1em;
    margin-bottom: 0.75rem;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    color: #b94a48;
    background-color: #f2dede;
    border: 1px solid rgba(185, 74, 72, 0.3);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.vanilla-form .notification-box.show-success,
.vanilla-form .notification-box.show-error {
    margin-top: 20px;
}
    
.vanilla-form input[type=submit].state-initial {
    margin-top: 25px;
}
    
.column-100.center {
    text-align: center;
}

/* Accessibility */

.accessibility {
    background-color: #f5f5f5;
    padding: 50px;
}
    
/* ********** MEDIA QUERIES ********** */

@media (max-width:1500px) {
    .header-side { width: 350px; }
    .main { padding-left: 350px; }
    .content-header { padding-left: 350px; }
    .content { padding-left: 350px; }
    nav div { width: 350px; }
    nav p { margin: 3px 50px 20px 50px}
}

@media (max-width:1299px) {
    .main .portfolio, .main .blog {
        width: 50%;
    }
}

@media (max-width: 960px) {
    .hamburger {
        position: absolute;
    }
    .header-mobile {
        display: block;
    }
    .logo {
        padding-top: 15px;
        padding-bottom: 10px;
    }
    .navfat li {
        padding-top: 0;
        padding-bottom: 0;
    }
    .logo-white h1 {
        bottom: 65px;
    }
    
    .header-mobile .logo h1 {
         margin-top: 0;
         margin-bottom: 0;
    }
    .main, .content-header, .content {
        padding-left: 0 !important;
    }
    .main .portfolio, .main .blog {
        width: 50%;
    }
    
    .header-side {
        display: none;
    }
    
    footer {
        display: block;
        padding: 15px 0;
        text-align: center;
        clear: both;
        width: 100%;
    }
    
    .pe-7s-angle-left:hover,
    .pe-7s-home:hover,
    .pe-7s-angle-right:hover {
    color: #000000 !important;
}

    footer ul li a {
        font-size: 2em !important;
    }

@media (max-width: 768px) {
    .main .portfolio {
        width: 100%;
    }
    
    .mobile-header {
        display: block;
        text-align:center;
        color: #4b4848;
    }
    
    .content-header {
        display: none;
    }
    
    .mobile-header span a {
        color: #4b4848;
        font-size: 3em;
    }
    
    .navfat li {
        height: 55px;
    }
    
    .hamburger li {
        font-size: 1.25em;
    }
    
    .fa-linkedin, .fa-twitter, .fa-github {
        font-size: 1.25em !important;
    }
    
    .content {
        margin-left: 15px;
        margin-right: 15px;
    }
    
    ul.skills-used li {
        display: block;
    }
    
    ul.skills-used span {
        display: none;
    }
    
    .header-text {
        margin: 0;
        width: 100%;
        background-color: transparent !important;
        text-align: center;
    }
    
    .header-text h2 {
        display: none;
    }
    
    .header-text span a i {
        display: none;
    }
}