/*==================================================================================================
1. Base Elements
================================================================================================= */
*,
*:before,
*:after {
    box-sizing: inherit;
}

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    box-sizing: border-box;
}

body {
    margin: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    background: #fff;
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: #666;
    overflow: hidden;
}

a {
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
    text-decoration: none;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    padding-bottom: 2px;
    -webkit-transition: all .3s;
    transition: all .3s;
}

a:active,
a:hover,
a:focus {
    outline-width: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Josefin Sans', sans-serif;
    margin: 0
}

.container {
    position: relative;
    max-width: 1180px;
    padding: 0 25px;
    margin: 0 auto
}

.row::after,
.container::after {
    content: "";
    display: block;
    clear: both;
}

.row {
    margin: 0 -25px;
}

.col {
    padding: 25px;
    float: left;
    width: 100%
}


/*==================================================================================================
2. Header
================================================================================================= */
.site-header {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    line-height: 75px;
    -webkit-transition: all .3s;
    transition: all .3s;
}

.site-header.is-sticky {
    background: #fff;
    box-shadow: 0px -2px 10px 0px rgba(0, 0, 0, .07);
    height: 55px;
    line-height: 55px
}

.logo {
    position: absolute;
    top: 50%;
    margin-top: -20px;
    font-size: 0;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
    text-align: center;
    height: 40px;
    width: 40px;
    line-height: 40px;
    border: 2px solid rgba(255, 255, 255, .8);
    color: rgba(255, 255, 255, .8);
    border-radius: 50%;
    display: block;
}

.logo::before {
    font-size: 18px;
    content: "HB"
}

.site-header.is-sticky .logo {
    color: #888;
    border-color: #888
}

.navigation {
    float: right;
}

.menu {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600
}

.menu li {
    list-style: none;
    display: inline-block;
    margin-left: 10px
}

.menu li a {
    color: rgba(255, 255, 255, .8);
    text-transform: uppercase;
    font-size: 12px;
    border: none;
    -webkit-transition: color .3s;
    transition: color .3s;
}

.menu li a:hover {
    color: #fff
}

.site-header.is-sticky .menu li a {
    color: #888
}

.site-header.is-sticky .menu li a:hover {
    color: #333
}


/*==================================================================================================
3. About Me
================================================================================================= */
.about-me {
    position: relative;
    padding: 120px 0 55px 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    color: rgba(255, 255, 255, .7);
}

.about-me::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #5a6cb3;
    opacity: .9;
}

.about-me a {
    border-color: rgba(255, 255, 255, .2);
    color: #fff;
}

.about-me a:hover {
    background: rgba(255, 255, 255, .1)
}

.intro-text {
    font-size: 30px;
    line-height: 42px;
}

.basic-info {
    margin-top: 50px;
    font-size: 14px;
    line-height: 1;
}

.info-box {
    display: inline-block;
    margin: 25px 15px 0 0;
}

.info-box h3 {
    display: inline-block;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 4px;
    padding-top: 15px;
    border-top: 2px solid rgba(255, 255, 255, .2)
}

.info-box p {
    margin: 0
}

.info-box a {
    color: inherit;
    display: block;
}

.info-box a:hover {
    color: #fff
}

@media only screen and ( min-width: 480px) {
    .about-me {
        padding: 150px 0 55px 0;
    }
    .intro-text {
        font-size: 40px;
        line-height: 52px;
    }
}

@media only screen and ( min-width: 768px) {
    .intro-text {
        font-size: 50px;
        line-height: 62px;
    }
}


/*==================================================================================================
4. Resume
================================================================================================= */
.cv {
    padding: 20px 0;
}

.cv::after {
    content: "";
    display: block;
    clear: both;
}

.cv-box {
    position: relative;
    padding-bottom: 30px;
    padding-left: 30px;
}

.cv-box:last-child {
    padding-bottom: 0
}

.cv-box::before,
.cv-box::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 0
}

.cv-box::before {
    top: 23px;
    bottom: 0;
    left: 3px;
    width: 4px;
    background: #eee
}

.cv-box::after {
    height: 10px;
    width: 10px;
    background: #5a6cb3;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #fff
}

.cv-col h3 {
    font-size: 18px;
    color: #5a6cb3;
    margin-bottom: 35px;
    display: inline-block;
    border-bottom: 2px solid #5a6cb3
}

.cv-info h4 {
    font-size: 18px;
    line-height: 1.3;
    color: #555
}

.cv-info span {
    font-size: 12px;
    color: #999
}

.cv-info p {
    margin: 5px 0
}

.progress-bar {
    position: relative;
    overflow: hidden;
    margin-bottom: 35px
}

.progress-bar-background {
    display: block;
    height: 3px;
    background: #eee
}

.progress-bar-line {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #5a6cb3;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    will-change: transform;
    -webkit-transition: -webkit-transform .3s;
    transition: transform .3s;
    -webkit-transition-delay: .3s;
    transition-delay: .3s;
}

.no-js .progress-bar-line,
.progress-bar.is-animated .progress-bar-line {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.progress-bar-label {
    display: block;
    font-size: 15px
}

.progress-bar-unit {
    float: right;
}

@media only screen and ( min-width: 900px) {
    .cv {
        padding: 70px 0;
    }
    .cv-col {
        width: 33.33%;
    }

    .cv-col h3 {
        margin-bottom: 50px
    }
}


/*==================================================================================================
5. Projects
================================================================================================= */
.projects {
    background: #fafafa;
    padding: 20px 0;
    font-size: 0;
    text-align: center;
}

.project {
    width: 100%;
    display: inline-block;
    padding: 25px;
}

.project > a { position: relative; display: block; padding-bottom: 50.85%; margin-bottom: 15px; border: 1px solid #ddd }

.project img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;   
}

.project h4 {
    font-size: 14px;
    text-transform: uppercase;
    color: #555
}

.project-links a {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #5a6cb3;
    text-transform: uppercase;
    border-width: 2px;
    border-color: #ddd;
    margin-right: 10px;
}

@media only screen and ( min-width: 580px) {
    .project {
        width: 50%;
    }
}

@media only screen and ( min-width: 900px) {
    .projects {
        padding: 70px 0
    }
    .project {
        width: 33.33%;
    }
}


/*==================================================================================================
6. Animations
================================================================================================= */
.animate {
    opacity: 0;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-animation-duration: .3s;
    animation-duration: .3s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.animate.is-animated,
.no-js .animate {
    opacity: 1
}


/* animate.css */
@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 20px, 0);
        transform: translate3d(0, 20px, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 20px, 0);
        transform: translate3d(0, 20px, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}