/***************************** Global styles ***************************/
body {
    margin: 3% 10% 0% 10%;
    font-family: 'Lato', sans-serif;
    color: black;
    padding-top: 80px;
}

/***************************** Nav bar ***************************/
/* .navbar-default {
     background-color: transparent;
     border-color: transparent;
    font-size: 18px;
     padding: 3% 10% 0% 10%;
     display: block;
}
 .navbar-default .navbar-nav li a {
    color: black;
}
 */

.navbar-inverse {
    background-color: white;
    border-color: transparent;
    padding-top: 3%;
    height: 80px;
}

.navbar-brand {
    font-family: 'Nanum Pen Script', cursive;
    font-size: 40px;
}

.navbar-nav li {
    font-weight: lighter;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
}

.navbar-nav li a.active {
    font-weight: bold;
    color: black;
}

.navbar-inverse .navbar-nav>li>a:hover {
    color: black;
    font-weight: bold;
    background-color: inherit;
}


.btn-primary{
    color: gray;
}

.navbar-inverse .navbar-brand:hover {
    color: black;
    background-color: inherit;
}


/***************************** Home intro ***************************/
.home-intro {
    text-align: center;
    height: calc(100vh - 223px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'Lato', sans-serif;
    padding-top: 80px;
}

.line-1 {
    /*    position: relative;*/
    /*    top: 50%;  */
    font-family: 'Nanum Pen Script', cursive;
    width: 24em;
    margin: 0 auto;
    border-right: 2px solid rgba(255, 255, 255, .75);
    font-size: 240%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    transform: translateY(-50%);
}

/** Partly referenced Codepen tutorial ***/
/* Animation */
.anim-typewriter {
    animation: typewriter 4s steps(30) 0.5s 1 normal both,
        blinkTextCursor 800ms steps(44) infinite normal;
}

@keyframes typewriter {
    from {
        width: 0;
    }

    to {
        width: 6em;
    }
}

@keyframes blinkTextCursor {
    from {
        border-right-color: black;
    }

    to {
        border-right-color: transparent;
    }
}

#home-intro-detail {
    font-size: 20px;
    line-height: 150%;
    font-weight: lighter;
}



/*************************** Project overview ***************************/
.home-project {
    opacity: 0;
}

.home-proj-title-mind a {
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%, #beefed 50%);
    background-position: -0% 0;
    background-size: 200% auto;
    color: #222;
    font-size: 1.25em;
    line-height: 1.15em;
    text-decoration: none;
    transition: background-position 0.5s ease-out;
}

.home-proj-title-mind a:hover {
    background-position: -99.99% 0;
    color: gray;
}

.home-proj-title-hungry a {
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%, orange 50%);
    background-position: -0% 0;
    background-size: 200% auto;
    color: #222;
    font-size: 1.25em;
    line-height: 1.15em;
    text-decoration: none;
    transition: background-position 0.5s ease-out;
}

.home-proj-title-hungry a:hover {
    background-position: -99.99% 0;
    color: gray;
}




.home-pic {
    width: 70%;
}

@import url(https: //fonts.googleapis.com/css?family=Josefin+Sans:300,400);

section {
    width: 100%;
    height: 100%;
    margin-top: 0px;
    margin-bottom: 60px;
}

section::after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 80%;
}

section h1 {
    font-weight: lighter;
    margin-bottom: 10px;
    display: table-cell;
}


section h2 {
    font-weight: lighter;
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 10px;

}

section h3 {
    font-weight: lighter;
    font-size: 16px;
}

/*************************** Scoll button *******************************/
/** Partly referenced W3schools tutorial ***/
.demo {
    text-align: center;
}

.demo a {
    left: 50%;
    text-align: center;
    position: absolute;
    bottom: 20px;
    z-index: 2;
    display: inline-block;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    color: black;
    font: normal 400 20px/1 'Josefin Sans', sans-serif;
    letter-spacing: .1em;
    text-decoration: none;
    transition: opacity .3s;
}

.demo a:hover {
    opacity: .5;
}


.scroll-arrow a {
    font-size: 12px;
    font-weight: lighter;
}

.scroll-arrow a span {
    position: absolute;
    top: -70px;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 1px solid black;
    border-bottom: 1px solid black;
    -webkit-transform: rotateZ(-45deg);
    transform: rotateZ(-45deg);
    -webkit-animation: sdb06 1.5s infinite;
    animation: sdb06 1.5s infinite;
    box-sizing: border-box;
}

@-webkit-keyframes sdb06 {
    0% {
        -webkit-transform: rotateY(0) rotateZ(-45deg) translate(0, 0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        -webkit-transform: rotateY(720deg) rotateZ(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}

@keyframes sdb06 {
    0% {
        transform: rotateY(0) rotateZ(-45deg) translate(0, 0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: rotateY(720deg) rotateZ(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}

/*************************** Footer ***************************/
footer {
    margin-top: 120px;
    margin-bottom: 20px;
}

footer h1 {
    font-weight: lighter;
    padding-bottom: 10px;
    font-size: 30px;
}

footer p {
    margin-bottom: 70px;
    font-size: 20px;
    font-weight: lighter;
}

footer h4 {
    font-size: 14px;
    text-align: center;
    color: gray;
}

footer .about-me {
    padding: 0;
}

/*************************** About me ***************************/
.about-me h1 {
    font-size: 40px;
    margin-top: 0px;
    margin-bottom: 20px;
    font-family: 'Nanum Pen Script', cursive;
}

.about-me p {
    font-size: 16px;
    font-weight: lighter;
    margin-bottom: 50px;
    line-height: 30px;
}

.about-me .btn {
    font-size: 16px;
}

button a {
    text-decoration: none;
    color: black;
}

button a:hover {
    text-decoration: none;
    color: black;
}

.home-proj-title-black a {
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%, black 50%);
    background-position: -0% 0;
    background-size: 200% auto;
    color: #222;
    font-size: 1.25em;
    line-height: 1.15em;
    text-decoration: none;
    transition: background-position 0.3s ease-out;
}

.home-proj-title-black a:hover {
    background-position: -99.99% 0;
    color: white;
}

/*************************** Anchor ***************************/
/** Partly referenced W3schools tutorial ***/
#anchor {
    left: 1%;
    position: fixed;
    margin: 40px 0px;
    padding: 17px;
    list-style: none;
    color: black;
    font-weight: lighter;
    font-size: 12px;
}

#anchor li {
    display: block;
    padding: 8px 10px;
}

.side-projects .section {
    padding: 80px 30px 20px 30px;
}

.side-projects h1 {
    margin: 0 0 20px 0;
}

.side-projects .section a {
    color: #3399FF;
}

.side-projects p {
    font-size: 16px;
    line-height: 35px;
    font-weight: lighter;
    padding-bottom: 18px;
}

.side-projects img {
    border: 1px solid #021a40;
    max-height: 500px;
}

.side-projects img:hover {
    opacity: 0.7;
}

/******************** Detail - Project overview *******************/
.project-overview .hungry{
    position: static;
    height: 80vh;
    max-width: 100%;
    background-color: transparent;
    background-image: url(images/Group%202@2x.png);
    background-position: 50% 50%;
    background-size: 100%;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.project-overview .mindpainter{
    position: static;
    height: 80vh;
    max-width: 100%;
    background-color: transparent;
    background-image: url(images/Asset%203.png);
    background-position: 50% 50%;
    background-size: 100%;
    background-repeat: no-repeat;
    background-attachment: scroll;
    color: white;
}

.project-overview h1 {
    margin-bottom: 10px;
    display: table-cell;
    font-weight: lighter;
}

.project-overview h2 {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 10px;
    font-weight: lighter;
}

.project-overview h3 {
    font-size: 16px;
    font-weight: lighter;
}


.summary {
    text-align: center;
    font-size: 16px;
    margin-top: 80px;
    line-height: 28px;
/*    font-weight: lighter;*/
}

.project-section {
    padding-top: 80px;
}

.project-section header {
    margin-bottom: 60px;
    margin-top: 40px;
}

.project-section h1 {
    text-align: center;
    font-size: 35px;
}

.project-section p {
    font-size: 16px;
    line-height: 35px;
/*    font-weight: lighter;*/
}

.project-section .proto-walk p{
    font-size: 14px;
    line-height: 25px;
    font-style: italic;
/*    font-weight: lighter;*/
}

.project-section .proto-walk ul{
    padding: 20px;
}


.project-section .col-sm-5 {
    padding-left: 40px;
    padding-left: 0px;
padding-right: 0px;
}

/*.project-section img {
    max-height: 400px;
}*/

.project-section h2{
    font-size: 20px;
    text-align: center;
}

.project-section h4 {
    font-size: 25px;
    margin-bottom: 40px;
    margin-top: 70px;
    text-align: center;
}

.project-section .proto-walk h5 {
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: 40px;
}

.project-section .proto-walk .row {
    margin-bottom: 70px;
}
/******************** Detail - Slide show *******************/
/******** Reference for W3school **********/
/************** Slides show ***************/
/* Position the image container (needed to position the left and right arrows) */
img {
    vertical-align: middle;
}

/* Position the image container (needed to position the left and right arrows) */
.container1 {
    position: relative;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
    cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: black;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    color: white;
    background-color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
}

/* Number text (1/3 etc) */
.numbertext {
    color: white;
    font-size: 15px;
    padding: 10px 16px;
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: grey;
    opacity: 0.6;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

/* 3 columns side by side */
.slidesCol {
    float: left;
    width: 33.3%;
}

/* Add a transparency effect for thumnbail images */
.demo1 {
    opacity: 0.6;
    margin-top: 16px;
    padding: 0px 5px;
}

.active,
.demo1:hover {
    opacity: 1;
}

.project-section ol li{
    font-size: 16px;
    line-height: 30px;
}

.project-section ul li{
    font-size: 16px;
    line-height: 30px;
}

.ongoing{
    text-align: center;
    margin-top: 70px;
    font-size: 30px;
    font-weight: lighter;
}

.proto-walk {
    font-size: 18px;
    line-height: 20px;
}

