@font-face {
    font-family: Roboto;
    src: url('../font/Roboto-Regular.ttf');
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0 auto;
    background-color: #F8F8F8;
    font-family: Roboto;
}

.container {
    width:100%;
    margin: 0 auto;
}

#header {
    background-color: #000000; 
    color: #FFFFFF;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
    border-bottom: 3px solid #F6821F;
    clear: both;    
}

#title {
    float: left;
    width: 70%;
    padding: 20px;
    box-sizing: border-box;
}

#title #cv {
    background-color: #454547;
    padding: 5px;
    display: inline-block;
    margin-bottom: 10px;
}

#title #name {
    font-size: 5vw;
    font-weight: bold;
}

#title #profession {
    font-size: 2.2vw;
}

#picture {
    float: right;
    width: 30%;
    box-sizing: border-box;
    padding: 20px 20px 0px 0px;
    text-align: right;
}

#picture img {
    margin-bottom: -15px;
    width: 230px;
}

#menu {
    z-index: 999;
    margin-top: 20px;
}

.menu-mini {
    display: block;
    box-sizing: border-box;
    width: 100%;
    position: absolute;
    background-color: #000000;
    border-bottom: 3px solid #F6821F;
    left: 0;
    top: 0;
    margin-top: 0px !important;
    padding: 15px 20px;
}

.menu-mini img {
    position: relative;
    animation:animatezoom 0.5s;
}

#menu ul {
    list-style: none;
    display: inline-block;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
}

#menu ul li {
    display: inline-block;
    padding-right: 10px;
    font-weight: bold;
}

#menu ul li a {
    cursor: pointer;
    text-decoration: none;
    color: #F6821F;
}

#menu ul li a:hover {
    color: #FFFFFF;
}

#menu ul li.active a {
    color: #FFFFFF;
}

#content {
    box-sizing: border-box;
    padding: 20px;
    min-height: 400px;
}

.content-box {
    border: 1px solid #A9AAAC;
    box-sizing: border-box;
    padding: 20px;
    margin-bottom: 20px;
    overflow: auto;
}

.content-box:nth-child(odd) {
    background-color: #FFFFFF;
}

.content-title {
    font-weight: bold;
    color: #000;
    font-size: larger;
}

.content-title > hr {
    margin-top: 0px;
    margin-bottom: 20px;
    border: 1px solid #F6821F;
    width: 50px;
}

.educationbackground-list {
    clear: both;
    overflow: auto;
    margin-bottom: 20px;
    font-weight: bold;
    color: #000;
}

.educationbackground-list:last-child {
    margin-bottom: 0px;
}

.educationbackground-list span.sub-title{
    font-size: small;
    color: #606062;
}

.educationbackground-list span.title {
    color: #F58634 !important;
}

.educationbackground-title-left {
    float: left;
}

.educationbackground-title-right {
    float: right;
    text-align: right;
}

.educationbackground-list {
    clear: both;
    overflow: auto;
    margin-bottom: 20px;
    font-weight: bold;
    color: #000;
}

.educationbackground-list:last-child {
    margin-bottom: 0px;
}

.workexperience-list {
    clear: both;
    overflow: auto;
    margin-bottom: 20px;
    font-weight: bold;
    color: #000;
}

.workexperience-list span.sub-title{
    font-size: small;
    color: #606062;
}

.workexperience-list span.title {
    color: #F58634 !important;
}

.workexperience-title-left {
    float: left;
}

.workexperience-title-right {
    float: right;
    text-align: right;
}

#interesting {
    clear: both;
    overflow: auto;
}

.interestinglist {
    display: inline-block;
    border: 1px solid #A9AAAC;
    box-sizing: border-box;
    padding: 15px;
    width: 295px;
    margin: 10px;
    border-radius: 5px;
    overflow: auto;
}

.interestinglist img {
    width: 50%;
}

.interestinglisttitle {
    font-weight: bold;
    font-size: 22px;
}

.interestinglistcontent {
    font-weight: lighter;
    color: #454547;
}

#meetup {
    padding: 30px;
    font-size: 20px;
}

#meetup a {
    font-weight: bold;
    color: #F6821F;
    text-decoration: none;
}

#meetup a:hover {
    color: #25D366;
}

#footer {
    background-color: #000000; 
    color: #ffffff;
    box-sizing: border-box;
    padding: 15px;
    border-top: 3px solid #F6821F;
    overflow: auto;
    text-align: center;
}

.footerlist {
    text-align: left;
    display: inline-block;
    margin: 15px;
    width: 400px;
    color: white;
}

.footerlisttitle {
    box-sizing: border-box;
    background-color: #454547;
    padding: 10px;
    margin-bottom: 10px;
}

.footerlistcontent {
    box-sizing: border-box;
    padding: 10px;
}

.footerlistcontent img {
    width: 70%;
}

.footerlistcontent div {
    margin-bottom: 10px;
}

.footerlistcontent a {
    text-decoration: none;
    color: white;
}

.splist:nth-child(odd) {
    font-size: 25px;
}

a {
    color: #000000;
    text-decoration: none;
}

.text-orange{ 
    color: #F58634 !important;
}

.label-text-orange{ 
    display: inline-block;
    box-sizing: border-box;
    background-color: #F58634;
    color: #FFF !important;
    padding: 3px;
}

.label-text-green{ 
    display: inline-block;
    box-sizing: border-box;
    background-color: #00A859;
    color: #FFF !important;
    padding: 3px;
}

.website:hover {
    color: #F6821F;
}

.gmail:hover {
    color: #D44638;
}

.linkedin:hover {
    color: #0E76A8;
}

.facebook:hover {
    color: #3B5998;
}

.instagram:hover {
    color: #BC2A8D;
}

.github:hover {
    color: #4078C0;
}

.flex {    
    display: flex;
    justify-content: center;
}

.clear {
    clear: both;
}

.left {
    text-align: left;
}

.center {
    text-align: center;
}

.justify {
    text-align: justify;
}

.invisible {
    display: none;
}

dt {
    margin-bottom: 5px;
    margin-left: 15px;
    color: #F6821F; 
    font-weight: bold;
}

dd {
    margin-bottom: 20px;
}

.listitem {
    list-style-type: none;
    margin-left: 20px;
}

.listitem li {
    margin-bottom: 5px;
}

.listitem .bullet {
    width: 8px;
    height: 8px;
    margin-left: -20px;
    margin-top: 6px;
    background-color: #F6821F;
    border-radius:100px;
    position: absolute;
}

#contact div {
    margin-bottom: 10px;
    margin-left: 15px;
}

#contact div:nth-child(1) {
    margin-left: 0px;
}

#contact a {
    text-decoration: none;
}

#topup {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    font-size: 40px;
    color: #F6821F;
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
}

#topup:hover {
    color: rgba(246,130,31,0.7);
}

.animate-fading{
    animation:fading 3s;
}

.animate-left{
    position:relative;
    animation:animateleft 2s;
}

.animate-right {
    position:relative;
    animation:animateright 2s;
}

.animate-zoom {
    animation:animatezoom 2s;
}

.timeline {
    border-left: 4px solid black;
    border-radius: 2px;
    margin-left: 220px;
    margin-bottom: 20px;
}

.timeline .year {
	display: inline-block;
	position: relative;
    left: -180px;
    top: 20px;
}

.timeline .bullet {
    width: 18px;
    height: 18px;
    background-color: #F6821F; 
    border-radius:100px;
	position: relative;
	left: -11px;
}

.timeline .content {
    position: relative;
    top: -20px;
    margin-left: 20px;
    margin-bottom: -20px;
}

@keyframes fading {
    0%{opacity:0}
    100%{opacity:1}
}

@keyframes animatetop{
    from{top:-300px;opacity:0} 
    to{top:0;opacity:1}
}

@keyframes animateleft {
    from{left:-300px;opacity:0}
    to{left:0;opacity:1}
}

@keyframes animateright {
    from{right:-300px;opacity:0}
    to{right:0;opacity:1}
}

@keyframes animaterightout {
    from{right:0;opacity:1}
    to{right:-300px;opacity:0}
}

@keyframes animatezoom {
    from{transform:scale(0)}
    to{transform:scale(1)}
}

@media screen and (max-width: 1190px) {
    body {
        font-size: 18px;
    }
    
    #title #name {
        font-size: 5vw;
    }
    
    #title #profession {
        font-size: 2.2vw;
    }
}

@media screen and (max-width: 1000px) {
    #picture img {
        width: 200px;
    }
}

@media screen and (max-width: 800px) {    
    #title {
        float: none;
        width: 100%;
    }
    
    #title #name {
        font-size: 7vw;
    }
    
    #title #profession {
        font-size: 3vw;
    }
    
    .menu-mini {
        padding: 10px 15px;
    }

    .workexperience-title-left, .educationbackground-title-left {
        float: none;
        width: 100%;
    }

    .workexperience-title-right, .educationbackground-title-right {
        float: none;
        width: 100%;
        text-align: left;
    }

    #interesting .flex {
        display: block;
    }
}

@media screen and (max-width: 720px) {    
    .menu-mini img {
        display: none;
    }
}

@media screen and (max-width: 610px) {
    .flex {
        display: block;
    }

    .footerlist {
        box-sizing: border-box;
        margin: 0px;
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    body {
        font-size: 15px;
    }

    .interestinglist {
        display: block;
        position: relative;
        box-sizing: border-box;
        width: 100%;
        margin: 10px 0px;
    }

    .interestinglist img {
        width: 30%;
    }

    #meetup {
        font-size: 15px;
    }
}