/** ==================== MAIN **/

.row {
    width: 850px;
    margin: 0 auto;
    z-index: 5;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #222;
    font-size: 14px;
    color: #FFFFFF;
    position: relative;
    overflow-x: hidden;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

* {
    font-family: 'Be Vietnam', sans-serif;
}

body.fr .no-fr {
    display: none !important;
}


.font-xl {
    font-size: 100px;
}

.font-lg {
    font-size: 50px;
}

.font-md {
    font-size: 25px;
}

.font-default {
    font-size: 14px;
}

.font-0 {
    font-size: 0;
}

.font-regular {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-bold {
    font-weight: 700;
}

.font-black {
    font-weight: 900;
}

.line-default {
    line-height: 1.05;
}

.line-md {
    line-height: 1.25;
}

.stack-xl {
    margin-bottom: 80px !important;
}

.stack-2lg {
    margin-bottom: 60px !important;
}

.stack-lg {
    margin-bottom: 40px !important;
}

.stack-md {
    margin-bottom: 20px !important;
}

.stack-sm {
    margin-bottom: 10px !important;
}

.stack-xs {
    margin-bottom: 5px !important;
}

.index-0 {
    z-index: -1 !important;
}

.index-5 {
    z-index: 5 !important;
}

.index-10 {
    z-index: 5 !important;
}

.index-15 {
    z-index: 5 !important;
}


.row__title {
    margin: 0;
    vertical-align: bottom;
    line-height: 1;
    margin-bottom: 40px;
}

.row__title span{
    vertical-align: bottom;
    background-color: #FFFFFF;
    height: 5px;
    display: inline-block;
    transform: translateY(-2px);
}

.margin-0 {
    margin: 0;
}

/** ==================== SHAPES **/

.shapes {
    position: relative;
    z-index: 0;
}

.shapes > img {
    position: absolute;
}

/** ==================== NAV **/
#nav {
    position: fixed;
    top:95%;
    left: 125px;
    width: 90vh;
    transform: rotate(-90deg)  translateY(-100%);
    transform-origin: top left;

    display:flex;
    align-items: center;
    justify-content: space-between;
    flex-flow: row-reverse;
}

.nav__item {

    display: inline-block;

    font-size: 6vh;
    color: #ffffff;
    font-weight: 900;

    transition: .2s;
    text-decoration: none;
}

.nav__item--active {
    text-decoration: underline;
}

/** ==================== HEADER **/

.header {
    padding-top: 15vh;
    margin-bottom: 15vh;
}

.header__name {
    -webkit-text-stroke: 2px;
    -webkit-text-stroke-color: #fff;
    color: transparent;
    font-weight: 900;
    margin: 0;
}

.header__baseline {
    color: #FFFFFF;
    margin: 0 0 30px 0;
    font-weight: 400;
    line-height: 1.05;
}

.header__links, .networks__links {
    margin: 0;
    padding: 0;
}

.header__links > li, .networks__links > li {
    margin: 0 20px 0 0;
    list-style-type: none;
    padding: 0;
    display: inline-block;
}

.header__links > li a, .networks__links > li a{
    color: #FFFFFF;
    text-decoration: underline;
    font-weight: 500;
}

/** ==================== INFO **/

.info {
    margin-bottom: 20px;
}

.info > .key {
    display: inline-block;
    vertical-align: text-top;
    width: 120px;
}

.info > .description {
    display: inline-block;
    width: calc(100% - 120px);
    vertical-align: text-top;
}

.info > .description > p {
    margin: 0;
}

/** ==================== PROJECTS **/

.projects_wrapper {
    display: flex;
    flex-flow: column wrap;
    max-height: 1230px;
}

.project_item {
    width: 380px;
}

.project_item img {
    width: 100%;
    display: block;
}

.project_item p {
    margin: 0;
}
.project_item h5 {
    margin: 0;
}

.project_item a {
    display: block;

    color: #FFFFFF;
    text-decoration: underline;
}

@media screen and (max-width: 850px) {
    .row {
        margin: 0 20px;
        width: calc(100vw - 40px);
        min-width: calc(100vw - 40px);
    }

    .shapes {
    }


    .font-xl {
        font-size: 75px;
    }

    .font-lg {
        font-size: 25px;
    }

    .font-md {
        font-size: 18px;
    }

    .font-default {
        font-size: 14px;
    }

    .header {
        margin-bottom: 80px;
    }

    .header__baseline br{
        display: none;
    }

    .project_item{
        max-width: 100%;
        margin-bottom: 40px;
    }

    .projects_wrapper {
        display: block;
        max-height: unset;
    }

    .about h4 img {
        width: 50px;
    }
    .about h4 img {
        width: 50px;
    }
    .about h4 br {
        display: none;
    }

    .info > .key {
        display: block;
        margin-bottom: 5px;
    }

    .info > .description {
        width: 100%;
    }
}

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

    #nav {
        left: 7vh;
        display: none;
    }