.print-only{
    display: none;
}
.resume-wrapper{
    display: flex;
    flex-direction: column;    
    align-items: center;
    justify-content: center;
    padding: 4em 16px 0;
    box-sizing: border-box;
}
.hero,
section{
    width: 100%;
    max-width: 840px;
    box-sizing: border-box;
}
section{
    display: flex;
    flex-direction: column;
    overflow-wrap: anywhere;
}
.hero h1,
.hero h2 {
    display: inline;
    font-size: 3em;
    margin-right: 10px;
}
@media screen {
    h1{
        color:#e8bf31;
    }
    
    .placa{
        position: absolute;
        width: 100%;
        height: 10%;
        background-color: #F4E409;
        transform: skewY(-5deg);
        z-index: -1;
        top: -10%;
    }
}

.final{
    padding-bottom: 10em;
}

.item {
    flex-direction: row;
    display: flex;
}
.item > .m1 {
    flex-shrink: 0;
}
.item > .ctSide,
.item > .c-9 {
    flex: 1;
    min-width: 0;
}

.m1{
    margin:1em;
}

h1,h2,h3 {
    margin-bottom: 0;
}
h3{
    margin-top:0;
}
.certificates .item {
    border-bottom: 1px solid white;
    padding-bottom: 2em;
    margin-bottom: 1em;
}

section.languages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(70px, auto);
    align-content: center;
}
.languages .item {
    align-self: center;
    justify-content: center;
}

.item img {
    border-radius: 10px;
}

.item-opt{
    transition: opacity .3s;
}

.item-hidden{
    opacity: 0;
    display: none;
}

.plusButton button{
    font-size: 1.5em;    
    float: right;
    background: transparent;
    color: #e8bf31;
    border: none;
    cursor: pointer;
    font-weight: bold;
}
.plusButton button:hover{
    color:white;
}
.show{
    display: flex!important;
}

/* shared.css aplica h1 5.5rem abaixo de 1200px; aqui limitamos pela largura da tela */
@media (max-width: 1200px){
    h1{
        font-size: clamp(1.6rem, 7vw, 2.8rem);
    }
}

@media (max-width: 992px){
    .hero h1, .hero h2 {
        display: block;
        font-size: clamp(2rem, 10vw, 3em);
        line-height: 1.1;
        margin: 0;
    }

    .hero h2 {
        margin-bottom: 0.5em;
    }

    section{
        font-size: 0.8em;
    }
}

@media (max-width: 600px){
    section{
        font-size: 0.65em;
    }
    .m1{
        margin: 0.3em 0.8em 0 0;
    }
    .m1 img{
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 425px){
    .resume-wrapper img,.m1{
        display: none;
    }
    section.languages {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 2560px){
    .hero,
    section {
        max-width: 1600px;
    }
    
}


@media print {
    body {
        background:unset;
        color:unset;
    }
    .print-only{
        display: block;
    }
    h1,h2,h3{
        margin: 0;
    }
    h1{
        font-size: 28px;
    }
    .resume-wrapper{
        padding: 0;
    }
    a,
    small,
    #language-switch,
    .footer,
    .hero,
    .plusButton {
        display: none;
    }
    section{
        font-size: 9pt;
        width: 100%;
        max-width: none;
        display: block;
    }
    .certificates .item{
        border-bottom: 0;
        margin-bottom: 0;
        padding-bottom: 0;
        display: block;
    }
    
    .final {
        padding-bottom: 0;
    }
    .pagebreak { page-break-before: always; }
    .item{
        display: block;
    }

    img{
        display:none;
    }
}

.dc {
    display: contents;
}

.highlight{
    position:relative;
}
.highlight::after{
    content: "";
    display: inline-block;
    position:absolute;
    width:100%;
    height: 100%;
    z-index: -1;
    top:0;
    left: 0;
    border-bottom: 2px solid #e8bf31;
    animation-name: hl;
    animation-duration: 1s;
    animation-direction: normal;
}

@keyframes hl {
    0%{
        width: 0;
        opacity: 0;
    }
    100%{
        width: 100%;
        opacity: 1;
    }
}

.skill{
    color: #e8bf31;
}