.header-relacionamentos {
    background-image: url(../../img/cimento-lixado.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: space-between;
    backface-visibility: hidden;
    position: relative;
    height: 88px;
}
.aba-input {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    cursor: pointer;
    opacity: 0;
}
.aba-container {
    text-align: center;
    display: flex;
    align-items: flex-end;
    flex: 1;
    position: relative;

}
.aba-container:not(:last-child){
    margin-right: 10px;
}
.aba-label {
    background-color: #484848;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0 1rem;
    position: relative;
    cursor: pointer;
    z-index: 10;
    position: relative;
}
.aba-label:hover {
    padding: 2rem 0 2rem;
}
.aba-text {
    font-family: Light;
    font-size: 4rem;
    color: #fff;
}
.aba-input:checked ~ .aba-label {
    background-color: #c3261f;
    padding: 2rem 0 2rem;
    
}
.aba-input:checked ~ .aba-label .aba-text {
    font-family: Bold;
}
.aba-input:checked ~ .aba-label::after {
    content: '';
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    bottom: -13px;
    width: 30px;
    height: 13px;
    background-color: #c3261f;
    -webkit-clip-path: polygon(100% 0%, 50% 100%, 50% 100%, 0% 0%);
    clip-path: polygon(100% 0%, 50% 100%, 50% 100%, 0% 0%);
    z-index: 1;
}
.relacionamentos-container{
    display: flex;
    position: relative;
    overflow: hidden;
}
.relacionamentos-content {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transform: translateX(-50%);
    transition: transform .5s, opacity .2s
}
.relacionamentos-content.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

@media only screen and (max-width: 800px) {
    .aba-text {
        font-size: 3rem;
    }
    .header-relacionamentos {
        flex-wrap: wrap;
        height: auto;
    }
    .section-relacionamentos .aba-container {
        flex: 100%;
    }
    .section-relacionamentos .aba-container:not(:last-child) {
        margin: 0;
    }
    .section-relacionamentos .aba-input:checked ~ .aba-label::after {
        display: none;
    }
}

/* Alto contraste */
.high-contrast .description {
    background-color: #000;
    background-image: unset;
}
.high-contrast .header-relacionamentos {
    background-color: #000;
    background-image: unset;
}
.high-contrast .aba-label, .high-contrast .aba-input:checked ~ .aba-label {
    background-color: #7e7e7e;
}
.high-contrast .aba-input:checked ~ .aba-label::after {
    background-color: #7e7e7e;
}