:root {
    --bg-color: #ffffff;
    --svg-color: #6d6d72;
    --text-color: #333333;
    --title-color: #3F4254;
    --border-color: #dedede;
    --body-bg-color: #f6f6f7;
    --primary-color: #007ced;
    --secondary-color: #333333;
    --avatar-gradient-end: #dedede;
    --avatar-gradient-start: #827567;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #161618;
        --svg-color: #99999f;
        --text-color: #dfdfd6;
        --title-color: #dfdfd6;
        --border-color: #242424;
        --body-bg-color: #1e1e20;
        --secondary-color: #d5d5d5;
        --avatar-gradient-end: #473c32;
        --avatar-gradient-start: #161618;
    }
}

html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    min-height: 100%;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -ms-overflow-style: scrollbar;
    -webkit-tap-highlight-color: transparent;
}

body {
    position: initial;
    font-family: Poppins, Helvetica, sans-serif;
    -webkit-overflow-scrolling: touch;
    text-align: left;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background-color: var(--body-bg-color);
    background-position: center center;
    background-size: calc(100% + 25px);
    background-repeat: repeat;
    background-attachment: fixed;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    font-style: normal;
    line-height: 1.75em;
    color: var(--text-color);
}

*,
*::before,
*::after {
    word-break: keep-all;
    -moz-hyphens: manual;
    -ms-hyphens: manual;
    -webkit-hyphens: manual;
    hyphens: manual;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
    text-decoration: none;
    outline: none;
    color: var(--text-color);
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

p {
    font-size: 14px;
    margin: 0 0 10px;
    font-style: normal;
    line-height: 1.75em;
    color: var(--secondary-color);
}

h1, h2, h4, h5 {
    font-weight: 700;
    font-style: normal;
    color: var(--title-color);
}

h1 {
    font-size: 32px;
}

h2 {
    font-size: 27px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 16px;
}

svg {
    width: 22px;
    height: auto;
}

svg path {
    fill: var(--svg-color);
}

footer {
    padding: 10px;
    margin: 0 -40px;
    border-top: 1px solid var(--border-color);
}

.copy {
    margin: 0 10px;
    font-size: 12px;
    color: var(--svg-color);
}

.d-flex {
    display: flex;
}

.max-w-100 {
    max-width: 100%;
}

.text-justify {
    text-align: justify;
}

.gutter-b {
    margin-bottom: 2rem;
}

.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-1, .col-5, .col-7, .col-8, .col-12, .col, .col-sm-1, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-12, .col-sm, .col-md-1, .col-md-5, .col-md-7, .col-md-8, .col-md-12, .col-md, .col-lg-1, .col-lg-5, .col-lg-7, .col-lg-8, .col-lg-12, .col-lg {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
}

.col-1 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
}

.col-5 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
}

.col-7 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
}

.col-8 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.col-12 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 576px) {
    .col-sm {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }

    .col-sm-1 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 8.333333%;
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .col-sm-5 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 41.666667%;
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-sm-6 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-sm-7 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 58.333333%;
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .col-sm-8 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-sm-12 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .col-md {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }

    .col-md-1 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 8.333333%;
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .col-md-5 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 41.666667%;
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-md-7 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 58.333333%;
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .col-md-8 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-md-12 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .col-lg {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }

    .col-lg-1 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 8.333333%;
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .col-lg-5 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 41.666667%;
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-lg-7 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 58.333333%;
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .col-lg-8 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-lg-12 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.block-title h2 {
    display: inline-block;
    position: relative;
    font-size: 21px;
    margin: 0 0 30px;
    z-index: 1;
    padding-bottom: 7px;
}

.block-title h2:after {
    bottom: 0;
    width: 30px;
    height: 2px;
    content: '';
    display: block;
    position: absolute;
    background-color: var(--primary-color);
}

.block-title h2:before {
    bottom: 0;
    width: 100%;
    height: 2px;
    content: '';
    display: block;
    position: absolute;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    padding: 25px 0 20px 40px;
    border-color: var(--primary-color);
}

.timeline-item:before {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    border-color: var(--primary-color);
    background-color: var(--border-color);
    width: 1px;
    left: 15px;
    bottom: 5px;
}

.timeline-item:after {
    content: '';
    position: absolute;
    display: block;
    height: 1px;
    background-color: var(--border-color);
    width: calc(100% - 15px);
    left: 15px;
    bottom: 3px;
}

.timeline-item:first-child {
    padding-top: 3px;
}

.timeline-item:last-child:after {
    display: none;
}

.timeline-item:last-child {
    margin-bottom: 30px;
}

.timeline-item h5 {
    display: inline-block;
    position: relative;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    margin: 0 0 0 -40px;
    padding: 0 10px;
    line-height: 23px;
    border-width: 2px;
    border-style: solid;
    border-radius: 30px;
    color: var(--secondary-color);
    border-color: var(--primary-color);
    background-color: var(--bg-color);
}

.item-label {
    opacity: .7;
    font-size: 12px;
    overflow: hidden;
    margin-left: 5px;
    line-height: 27px;
    white-space: nowrap;
    display: inline-block;
    color: var(--svg-color);
    text-overflow: ellipsis;
}

.item-title {
    font-size: 16px;
    margin: 10px 0 7px;
}

.text {
    font-size: .92em;
}

.align-items-center {
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
}

.page-scroll {
    width: 100%;
    height: auto;
    min-height: 100%;
    vertical-align: middle;
    -ms-flex-pack: center;
    justify-content: center;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-direction: normal;
    -moz-box-direction: normal;
    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-box-align: center;
    -moz-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -ms-flex-align: center;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

.page-container {
    display: flex;
    flex-flow: column;
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 1000px;
    margin: 3% auto;
    padding: 0 40px;
    box-shadow: 0 0 40px -10px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 0 40px -10px rgba(0, 0, 0, .2);
    -webkit-box-shadow: 0 0 40px -10px rgba(0, 0, 0, .2);
    border-radius: 40px;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
    min-height: 100vh;
    background-color: var(--bg-color);
}

.page-content {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    word-wrap: break-word;
}

.page-content h1:first-child {
    margin-top: 0;
}

.page-content a:hover {
    text-decoration: none;
}

.home-content {
    margin: 5% 10%;
}

.home-text {
    text-align: left;
    padding-right: 10px;
}

.home-text.hp-left {
    padding-left: 25px;
    padding-right: 0;
}

.home-text h1 {
    font-size: 44px;
    line-height: 56px;
    margin-top: 0;
    margin-bottom: 20px;
}

.home-text h4 {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 0;
    color: var(--svg-color);
}

.home-photo {
    width: 100%;
    display: block;
    overflow: hidden;
    position: relative;
    border-radius: 1000px;
    background-color: transparent;
    padding-bottom: calc(100% - 20px);
    border: 8px solid var(--border-color);
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, .3);
    -moz-box-shadow: 0 0 25px 0 rgba(0, 0, 0, .3);
    -webkit-box-shadow: 0 0 25px 0 rgba(0, 0, 0, .3);
}

.home-photo .hp-inner {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('/assets/images/avatar.png'), linear-gradient(to left top, var(--avatar-gradient-start) 0%, var(--avatar-gradient-end) 100%);
}

.home-buttons {
    display: flex;
    margin-top: 27px;
    flex-wrap: nowrap;
    justify-content: center;
}

.home-buttons a {
    margin: 0 8px;
}

.project-card {
    height: 100%;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.project-card svg {
    width: 40px;
    min-width: 40px;
}

.project-card .project-card-header {
    margin-left: 20px;
    width: calc(100% - 60px);
}

.project-card .project-card-header .item-title {
    margin: 0;
}

.project-card .project-card-header .item-label {
    margin: 0;
    max-width: 100%;
    line-height: 12px;
}

@media only screen and (max-width: 991px) {
    html {
        position: relative;
        height: auto;
        min-height: 100%;
        width: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }

    body {
        position: relative;
        overflow: hidden;
        height: auto;
    }

    footer {
        margin: 0 -30px;
    }

    .page-container {
        min-width: 100%;
        border-radius: 0;
        margin: 0;
        min-height: 100%;
        width: 100%;
        padding: 0 20px;
    }

    .page-content {
        padding: 0;
    }

    .gutter-b {
        margin-bottom: 20px;
    }
}

@media only screen and (min-width: 991px) {
    .page-container {
        min-height: 100vh;
        border-radius: 0;
        margin: 0;
    }
}

@media only screen and (max-width: 1100px) {
    .home-content {
        margin: 5% 0;
    }
}

@media only screen and (max-width: 767px) {
    .home-photo {
        width: 60%;
        margin: 30px auto;
        padding-bottom: calc(60% - 16px);
    }

    .home-text {
        padding-right: 0;
    }

    .home-text.hp-left {
        padding-left: 0;
    }

    .home-text h1 {
        text-align: center;
    }

    .home-text h4 {
        text-align: center;
    }

    .home-buttons {
        margin-top: 20px;
        text-align: center;
    }
}

@media only screen and (max-width: 648px) {
    .home-photo, .home-photo.hp-left {
        width: 70%;
        padding-bottom: calc(70% - 16px);
    }
}

@media only screen and (max-width: 500px) {
    .home-photo, .home-photo.hp-left {
        width: 90%;
        padding-bottom: calc(90% - 16px);
    }

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

    .home-text h4 {
        font-size: 14px;
        line-height: 1.2;
    }
}
