/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body, html, button, input, select, textarea {
    font-size: 1em;
    line-height: 1.4;
    font-family: 'Noto Sans', sans-serif;
    background: #fff;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;

}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

h2 {
    font-size: 30pt;
    margin: 10px 0 5px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

* {
    margin: 0;
}

html, body {
    height: 100%;
}

img {
    max-width: 100%;
}

a {
    color: rgb(0, 105, 180);
    text-decoration: none;
}

.content-row a[href^="http"]:before {
    content: "\f0a4";
    margin: 0 2px 0 1px;
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a:hover {
    color: rgb(10, 65, 103);
}

.wrapper {
    z-index: 1;
    background: #fff;
    padding-bottom: 20px;
    margin-bottom: 380px;
}


.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #0069b4;
    color: #fff;
    display: block;
    font-size: 100px;
    text-align: center;
    vertical-align: middle;
    line-height: 33px;
    opacity: 0.3;
    height: 40px;
    width: 40px;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -ms-transition: 0.5s all;
    -o-transition: 0.5s all;
    transition: 0.5s all;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    z-index: 500;
    font-size: 40px;
    text-align: center;
}

.back-to-top:hover {
    opacity: 1;
}

.header-spacing {
    width: 100%;
    height: 77px;
}

header {
    background: rgb(0, 105, 180);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    width: 960px;
    margin: auto;
}

nav ul {
    padding: 0;
    margin: 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 50px 0;
    display: inline-block;
    transition: 0.2s all;
    font-size: 20pt;
    text-align: center;
    width: 100%;
}

nav ul li a:hover {
    background: #0A4167;
    color: #fff;
}

nav ul li {
    float: left;
    width: 20%;
    min-height: 1px;
}

nav ul #me > div {
    background: #fff;
    border-radius: 100px;
    height: auto;
    width: 80px;
    padding: 10px 19px;
    margin: 8px 20px;
    vertical-align: top;
    transition: 0.2s all;
}

#me {
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -85px;
    width: 164px;

}

nav ul #me > div img {
    height: 98px;
    width: auto;
    transition: 0.2s all;
}

.content-row {
    width: 960px;
    margin: 40px auto 0;
}

.content-row p {
    margin: 0 0 10px 0;
}

.about .right {
    float: right;
    width: 20%;
    padding-left: 5%;
}

.about .left {
    float: left;
    width: 75%;
    padding: 0;
    margin: 0;
    text-align: justify;
}

.skill {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 2%;
    transition: 0.3s all;
    position: relative;
    clear: left;
}

.skill img {
    width: 10%;
    float: right;
    margin-left: 2%;
}

.contact {
    margin-bottom: 20px;
}

.contact form input {
    width: 47%;
    box-sizing: content-box;
    margin: 0 10px 10px 0;
}

.contact form input[type="text"] {
    float: left;
    clear: left;
    border: none;
    color: #616161;
    padding: 1%;
}

.contact form input[type="submit"] {
    background: #3a99f7;
    border: none;
    color: #fff;
    padding: 1%;
    transition: 0.5s all;
}

.contact form input[type="submit"]:hover {
    background: #0084d5;
}

.contact .contact-description {
    width: 49%;
    float: left;
    padding-right: 1%;
}

.contact form {
    width: 50%;
    float: left;
    position: relative;
    height: 140px;
}

.contact form textarea {
    position: absolute;
    top: 0;
    right: 0;
    width: 46%;
    height: 104px;
    color: #616161;
    resize: none;
    padding: 1%;
    border: none;
}

.project-list:hover .next,
.project-list:hover .prev {
    opacity: 0.5;
}

.next, .prev {
    top: 50%;
    height: 80px;
    width: 40px;
    position: absolute;
    z-index: 200;
    -webkit-transition: 0.5s opacity;
    -moz-transition: 0.5s opacity;
    -ms-transition: 0.5s opacity;
    -o-transition: 0.5s opacity;
    transition: 0.5s opacity;
    margin-top: -40px;
    opacity: 0;
    background: rgba(0, 0, 0, 0.8);
    font-family: FontAwesome;
}

.next:after, .prev:after {
    color: rgb(255, 255, 255);
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    left: 50%;
    top: 50%;
    font-size: 40px;
    margin-top: -20px;
    margin-left: -10px;
}

.project-list .next:hover,
.project-list .prev:hover {
    cursor: pointer;
    opacity: 1;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.prev:after {
    content: "\f0d9";
}

.next:after {
    margin-right: -10px;
    margin-left: 0;
    left: auto;
    right: 50%;
    content: "\f0da";
}

.projects .project {
    width: 100%;
}

.projects .project a:before {
    content: '';
}

.projects .project img {
    width: 100%;
    height: auto;
}

.project-list {
    width: 100%;
}

.project-list .project:nth-child(4n) {
    margin-right: 0;
}

.project-description {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    width: 96%;
    padding: 2%;
    color: #fff;
}

.project-description h3 {
    margin: 0;
}

.project-description p {
    margin: 0;
}

#googleMaps {
    z-index: 5;
    width: 100%;
    height: 90%;
}

#map .infoWindow {
    color: #000000;
}

.checkbox {
    font-size: 60%;
}

label {
    cursor: pointer;
}

label .checkbox .fa-times {
    color: rgb(0, 0, 0);
    margin-top: -1px;
    margin-left: 0;
    font-size: 14px;
    opacity: 0;
    -webkit-transition: 0.2s all;
    -moz-transition: 0.2s all;
    -ms-transition: 0.2s all;
    -o-transition: 0.2s all;
    transition: 0.2s all;
}

label:hover .checkbox .fa-times {
    opacity: 1;
    -webkit-transition: 0.2s all;
    -moz-transition: 0.2s all;
    -ms-transition: 0.2s all;
    -o-transition: 0.2s all;
    transition: 0.2s all;
}

.social-icons .fa {
    font-size: 30px;
    display: inline-block;
    color: #fff;
    padding: 5px;
    float: left;
    margin-right: 10px;
    height: 30px;
    width: 30px;
    text-align: center;
    opacity: 1;
    -webkit-transition: 0.3s opacity;
    -moz-transition: 0.3s opacity;
    -ms-transition: 0.3s opacity;
    -o-transition: 0.3s opacity;
    transition: 0.3s opacity;
}

.contact .social-icons a:before {
    content: '';
}

.social-icons .fa:hover {
    opacity: 1;
    cursor: pointer;
}

.social-icons .fa-github {
    background: #333333;
}

.social-icons .fa-twitter {
    background: #00aced;
}

.social-icons .fa-google-plus {
    background: #dd4b39;
}

.social-icons .fa-xing {
    background: #126567;
}

.social-icons .fa-youtube {
    background: #bb0000;
}

body > footer {
    width: 100%;
    height: 380px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: -1;
    background: rgb(56, 56, 56);
    color: rgb(255, 255, 255);
}

body > footer > h3 {
    position: absolute;
    left: 50%;
    margin: 0 0 0 -25%;
    top: 35px;
    color: rgb(39, 106, 199);
    font-size: 87px;
}

@media only screen and (max-width: 960px) {

    nav {
        width: 100%;
    }

    .content-row {
        width: 98%;
        padding: 0 1%;
    }

    .about .right {
        width: 30%;
    }

    .about .left {
        width: 65%;
    }

}

@media only screen and (min-width: 800px) {

    .small nav ul li a {
        color: #fff;
        text-decoration: none;
        display: inline-block;
        transition: 0.2s all;
        font-size: 20pt;

        padding-top: 20px;
        padding-bottom: 20px;
    }

    .small nav ul #me > div {
        -webkit-transform: scale(0.5);
        margin-top: -23px;
    }

    .small + .wrapper > .header-spacing {
        width: 100%;
    }
}

@media only screen and (max-width: 800px) {

    .back-to-top {
        display: none;
    }

    .contact .contact-description {
        width: 100%;
    }

    .contact form {
        margin-top: 2%;
        width: 100%;
    }

    nav ul li:first-child a {
        margin-top: 180px;
    }

    header nav ul li {
        float: left;
        width: 100%;
        padding: 0;
    }

    header {
        position: relative;
    }

    .header-spacing {
        height: 0;
    }

    nav ul {
        padding-top: 170px;
    }

    nav ul li a {
        padding: 20px 0;
    }

    .about .right {
    float: right;
    }

    .about .left {

        float: left;
}

    .skill img {
        width: 20%;
    }

}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
