.contenedor-encabezado {
    padding-top: 20px;
    padding-bottom: 100px;
    padding-left: 10px;
    padding-right: 10px;
}

.flex-encabezado {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    align-content:flex-end;
    margin-top: 0px;
    padding-top: 0px;
    padding-bottom: 0;
    border-style: none;
    border-width: 0;
    border-bottom-style: solid;
    position:fixed;
}

.contenedor-encabezado .logo {
    float: left;
}

/* Barra de menú y menú sandwich */
ul {
    list-style: none;
}

.header {
    position: sticky;
    top: 0;
    width: 100%;
    border-style: none;
    padding: 0 10px;
}

.nav {
    width: 250px;
    height: 90%;
    position: fixed;
    background-color: white !important;
    overflow: hidden;
    max-height: 0;
    transition: max-height .4s ease-out;
    border-radius: 20px;
}

.menu a {
    display: block;
    padding: 10px 30px;
    color: #8294A6;
}

.menu .nombre-empresa {
    color: #123354;
    font-size: 1.4rem;
    padding-right: 100px;
}

.menu a:hover {
    color: #123354;
}

.hamb {
    cursor: pointer;
    float: right;
    padding: 40px 10px;
}

.hamb-line {
    background: #123354;
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
}

.hamb-line::before,
.hamb-line::after {
    background: #123354;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.hamb-line::before {
    top: 7px;
}

.hamb-line::after {
    top: -7px;
}

.side-menu {
    display: none;
}

.side-menu:checked ~ nav {
    max-height: 100%;
}

.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top: 0;
}

.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top: 0;
}

@media(width >= 880px) {
    .nav {
        max-height: none;
        top: 0;
        position: relative;
        float: right;
        width: fit-content;
        background-color: transparent;
    }

    .menu li {
        float: left;
    }

    .menu a:hover {
        background-color: transparent;
        color: #123354;
    }

    .hamb {
        display: none;
    }
}