html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
html{
    font-family: 'Varela', sans-serif;
    height: 100%;
}
body{
    height: 100%;
}
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a, a:hover, a:visited{
    text-decoration: none;
    color: inherit;
}

.social{
    display: flex;
    justify-content: space-around;
    background-color: #FFF;
}

.social a{
    width: calc(100% / 6);
    text-align: center;
    padding: 20px;
    font-size: 4em;
}

.fa-file-pdf {
    color: #cd0f16;
}

.fa-soundcloud{
    color: #ff561d;
}

.fa-facebook{
    color: #4266ae;
}

.fa-google-plus{
    color: #d84b36;
}

.fa-linkedin{
    color: #0079b1;
}

.fa-instagram{
    color: #000000;
}

.fa-gitlab{
    color: #db5424;
}

#palette {
    color: #EBEBEB;
    color: #D6D6D6;
    color: #A6A6A8;
    color: #061C30;
    color: #6FB4AC;
}

/* FONTS */
h1{
    font-family: 'Montserrat', sans-serif;
    line-height: 65px;
}
h2, h3, h4{
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}
h1{
    font-weight: 600;
    font-size: 3.5em;
}
h2{
    font-weight: 400;
    font-size: 1em;
}
p{
    line-height: 20px;
    font-size: 14px;
}
.handwritten{
    font-family: 'Nothing You Could Do', cursive;

}

/* styles */

.main-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    min-width: 360px;
    margin: 0 auto;
}

.header {
    color: #061C30;
    background-color: #E6EFF2;
    padding: 50px 50px;
}
.about-info {
    display: inline-block;
    width: 250px;
    margin-top: 20px;
}
.about-info h3:before {
    display: inline-block;
    vertical-align: top;
    content: "";
    width: 0;
    height: 0;
    border-bottom: 35px solid #061C30;
    border-left: 20px solid #FFF;
    margin-right: 10px;
}
.about-info h3:after {
    display: inline-block;
    vertical-align: top;
    content: "";
    width: 0;
    height: 0;
    border-top: 35px solid #061C30;
    border-right: 20px solid #FFF;
    margin-left: 60px;
}
.about-info h3 {
    display: inline-block;
    vertical-align: top;
    background-color: #061C30;
    color: #EBEBEB;
    line-height: 35px;
}
.about-info table {
    margin-top: 20px;
}

.about-info table tr td:first-child {
    padding-right: 10px;
    padding-bottom: 5px;
}

.about-info table tr td:first-child i {
    font-weight: bold;
    font-size: 1.1em;
    background-color: #061C30;
    color: #EBEBEB;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 30px;
    text-align: center;
}

.about-presentation {
    display: inline-block;
    width: calc(100% - 255px);
    box-sizing: border-box;
    border: 2px solid #061C30;
    border-top: none;
    border-left: none;
    vertical-align: top;
    margin-top: 20px;
    height: 200px;
}

.about-presentation-picture {
    width: 175px;
    height: 175px;
    background: url(./me.jpg) 50% 50%;
    background-size: cover;
    border-radius: 200px;
    filter: grayscale(30%);
    display: inline-block;
    vertical-align: top;
}

.about-presentation p{
    display: inline-block;
    width: calc(100% - 220px);
    margin-left: 20px;
    text-align: justify;
    vertical-align: top;
    padding-top: 20px;
}

.technologies{
    margin-top: 20px;
}

.technologies table{
    width: 100%;
}

.technologies table tr {
    text-align: center;
}

.technologies table td {
    height: 30px;
}

.technologies table th {
    color: #6FB4AC;
    font-size: 1.2em;
    padding: 10px 20px;
}

.technologies table th:first-child {
    background-color: #061C30;
}

.technologies table td:first-child {
    background-color: #061C30;
    color: #6FB4AC;
    font-size: 1em;
    padding: 5px 20px;
}

.past {
    margin-top: 20px;
    background-color: #061C30;
    padding: 20px 20px 0 20px;
    color: #EBEBEB;
}
.past h3:before {
    display: inline-block;
    vertical-align: top;
    content: "";
    width: 0;
    height: 0;
    border-bottom: 35px solid #6FB4AC;
    border-left: 20px solid #061C30;
    margin-right: 10px;
}
.past h3:after {
    display: inline-block;
    vertical-align: top;
    content: "";
    width: 0;
    height: 0;
    border-top: 35px solid #6FB4AC;
    border-right: 20px solid #061C30;
    margin-left: 60px;
}
.past h3 {
    display: inline-block;
    vertical-align: top;
    background-color: #6FB4AC;
    color: #EBEBEB;
    line-height: 35px;
    margin-left: 10px;
}

.experiences{
}

.experiences{
    margin-bottom: 20px;
}

.experience, .education{
    padding: 20px;
}

.experience .period, .education .period {
    color: #6FB4AC;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    float: right;
}

.experiences h4, .educations h4{
    display: inline-block;
    margin-bottom: 10px;
}

.experience ul, .education ul{
    line-height: 20px;
    font-size: 14px;
    list-style-type: disc;
}

.fit{
    margin-top: 20px;
}

.fit h3{
    color: #6FB4AC;
    font-family: 'Montserrat', sans-serif;
    text-transform: none;
    font-size: 2.5em;
    display: inline-block;
    margin-bottom: 210px;
}

.fit ul{
    font-size: 1.2em;
    color: #A6A6A8;
    float: right;
}

.fit ul li{
    margin-top: 5px;
}

.fit ul li i {
    padding: 5px 10px 5px 5px;
}

.relatives{
    color: #061C30;
    background-color: #E6EFF2;
    border-radius: 5px;
}

.relatives table{
    text-align: center;
    width: 100%;
    table-layout: fixed;
}

.relatives table tr{
    height: 100px;
}

.relatives td div{
    padding: 20px;
    max-width: 50%;
    text-align: center;
    margin: 0 auto;
}

.relatives td div p{
    margin-bottom: 10px;
}

.relatives td div span{
    color: #6FB4AC;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* MOBILE */

@media (max-width: 1000px) {

    .about-info{
        display: block;
        margin: 0 auto;
    }

    .about-info h3{
        display: none;
    }

    .about-presentation{
        display: block;
        width: 100%;
        height: auto;
        border: none;
    }

    .about-presentation p{
        display: block;
        width: 80%;
        margin: 0 auto;
    }

    .about-presentation-picture {
        display: block;
        margin: 0 auto;
    }

    .technologies table {
        font-size: 0.8em;
    }

    .fit h3 {
        margin-bottom: 20px;
        padding: 20px;
    }

    .fit ul {
        display: block;
        float: none;
        margin-bottom: 20px;
        padding: 20px;
    }

    .relatives td{
        width: 100%;
    }

    .relatives td.empty{
        display: none;
    }

    .social a {
        padding: 0;
    }

    .social a i {
        width: 100%;
        font-size: 0.8em;
    }
}

@media print {

    body{
        padding: 0 50px;
    }

    .header{
        margin: 0;
        background: none;
    }

    .header h1{
        font-size: 2em;
        padding: 0;
        margin: 0;
    }

    .about-info{
        display: inline-block;
        margin: 0 auto;
        vertical-align: top;
    }

    .about-info table tr td:first-child {
        padding-right: 0px;
        padding-bottom: 0px;
    }

    .about-info table{
        margin: 0;
        padding: 0;
    }

    .about-presentation-picture {
        display: none;
    }

    .about-presentation{
        display: inline-block;
        width: 50%;
        vertical-align: top;
    }

    .about-presentation p{
        display: inline-block;
        width: 100%;
        margin: 0;
        vertical-align: top;
        padding: 0;
    }

    .past, .past h3{
        color: #000;
    }

    .past{
        border-radius: 5px;
        border: 2px solid #061C30;
        background: none;
    }

    .technologies table td {
        height: 10px;
    }

    .social{
        display: none;
    }

    .past h3:before {
        display: none;
    }

    .past h3:after {
        display: none;
    }

    .fit, .relatives {
        display: none;
    }

}
