body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #FAFAFA;
    font: 12pt 'Josefin Sans', sans-serif;
}
* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}
.page {
    width: 210mm;
    min-height: 297mm;
    padding: 20mm;
    margin: 10mm auto;
    border: 1px #D3D3D3 solid;
    border-radius: 5px;
    background: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    position: relative;
}
.page-helper{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% - 40mm);
    height: calc(100% - 40mm);
    color: white;
    opacity: 1;
    transition: opacity 0.4s;
}
.page-helper:before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 5;
}
.page-helper.hide {
    opacity: 0;
}
.page-helper p{
    margin-top: 82px;
    z-index: 6;
}
.page-helper p.small{
    margin-top: 0;
    font-size: 0.8em;
}
.subpage {
    border: 5px #007bff solid;
    height: 257mm;
    outline: 2cm #EAEAFF solid;
    position: relative;
}
.subpage h1,
.subpage h2,
.subpage p{
    padding-left: 1cm;
    padding-right: 1cm;
}
.subpage p{
    color: #666;
    padding: 0px 1cm 10px 1cm;
    margin: 0;
    font-size: 14px;
}
.subpage p a{
    color:#007bff;
    text-decoration: none;
}
.subpage p a:hover{
    text-decoration: underline;
}
.header-name{
    text-align: center;
    margin:0;
    font-size: 50px;
    padding-top: 8px;
    color: #000;
    font-weight: 900;
}
.job-searched{
    width: 100%;
    padding:12px;
    text-align: center;
    border:1px solid #252525;
    border-left: 0;
    border-right: 0;
    color: #252525;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
}

#picture-me{
    height: 100px;
    width: 100px;
    position: absolute;
    right: 30px;
    top: 38px;
    border-radius: 50%;
    box-shadow: 0px 0px 6px 1px rgba(0,0,0,0.75);
    -webkit-box-shadow: 0px 0px 6px 1px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 6px 1px rgba(0,0,0,0.75);
}

.subpage h2{
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 0;
    padding-bottom: 2px;
    margin-top: 10px;
}

.subpage .mt-1{
    margin-top: 8px;
}
.subpage .b-0{
    margin-bottom: 0;
    padding-bottom: 0;
}

.subpage #skills{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    justify-items: start;
    align-items: center;
    padding-left: 1cm;
    padding-right: 1cm;
}
.subpage #skills .skill{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 3px 0px;
}
.subpage #skills .skill img{
    margin-right: 5px;
    height: 20px;
    width: auto;
}
.subpage #skills .skill i{
    margin-right: 10px;
    font-size: 20px;
}

.resume-item{
    padding-left: 1cm;
    padding-right: 1cm;
    margin: 5px 0;
}

.resume-item .title{
    color: black;
}
.resume-item .title .name,
.resume-item .title .company{
    text-transform: uppercase;
}

.resume-item p{
    margin: 0;
    padding: 0;
}
.resume-item .dates{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.resume-item .dates .description{
    margin-left: 10px;
}
.resume-item .dates .skills{
    font-size: 12px;
}
.resume-item .dates .date{
    border: 1px solid #151515;
    padding: 2px 10px;
    margin: 0 0 0 6px;
    min-width: 120px;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
}
.resume-item .dates .date:first-child{
    margin: 0 0 0 0;
}
.resume-item .dates .skills span:after{
    content:',';
}
.resume-item .dates .skills span:last-child:after{
    content:none;
}
.resume-item .skills{
    margin-left: 10px;
}
#langs{
    display: flex;
    flex-direction: row;
}

#langs .lang{
    display: flex;
    flex-direction: column;
}

#langs .lang .name{
    font-weight: 900;
    color: black;
    font-size: 16px;
}
#langs .lang .level{
    font-size: 13px;
}

@page {
    size: A4;
    margin: 0;
}
@media print {
    html, body {
        width: 210mm;
        height: 297mm;        
    }
    .page {
        margin: 0;
        border: initial;
        border-radius: initial;
        width: initial;
        min-height: initial;
        box-shadow: initial;
        background: initial;
        page-break-after: always;
    }
    .page-helper{
        display: none;
    }
    .subpage {
        border: 5px transparent solid;
        height: 257mm;
        outline: 2cm transparent solid;
        position: relative;
    }
}