header{
    height: 110px;
}
.cabec {
    background-image: url(../images/fundo_portal_estreito.png);
    margin-top: 15px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: black;
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    background-color: #f1f1f1;
}

.cabec a {
    float: left;
    color: black;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-size: 18px;
    line-height: 25px;
    border-radius: 4px;
}

.header-right{
    padding-top: 20px;
    display: grid;
    text-align: center;
    align-content: center;
    justify-content: center;
    justify-items: center;
}

@media screen and (max-width: 540px) {
    header{
        height: 200px;
    }
    .cabec{
        height: 200px;
    }
    .cabec a {
        float: none;
        display: block;
        text-align: left;
    }
    .header-right {
        float: none;
    }
}

@media (max-width: 760px) {
    .cabec {
        position: center;
        width: 100%;
        height: 200px;
    }
    header{
        height: 200px;
    }
}

@media (max-height: 600px) {
    header{
        height: 110px;
    }
    .cabec{
        height: 110px;
    }
    .midbody{
        margin-top: 0;
        width: 100%;
        margin-bottom: 50%;
    }
}
