.img_cabecera {
    width: auto;
    height: auto;
    margin: 2px auto;
}

.img_cabecera img {
    object-fit: cover;
    height: auto;
    width: 40em;
    margin: auto;
}

.navbar {
    height: 50px;
    display: flex;
    flex-direction: row;
    color: #000;
    width: 100%;
    font-size: 12pt;
    border-top: 1px solid #d3d3d3;
    border-bottom: 1px solid #d3d3d3;
}

.navbar a {
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
}

.logo {
    width: 15vh;
    height: auto;
    margin-top: auto;
    margin-bottom: auto;
}

.etiqueta {
    padding-left: 3vh;
    width: 35%;
    justify-content: flex-start;
}

.menu-items {
    display: flex;
    flex-direction: row;
    margin: auto;
    z-index: 2;
}

.etiqueta,
.lista {
    display: flex;
    flex-direction: row;
}

.etiqueta .titulo {
    font-weight: 700;
    font-size: 1.3rem;
    margin: auto auto auto 5%;
}

.lista {
    display: flex;
    justify-content: flex-end;
    flex-grow: 1;
    margin: 0;
    flex-wrap: wrap;
    gap: 30px;
}

.lista-items {
    background-color: transparent;
    cursor: pointer;
    border: none;
}

.item-desplegable>a::after {
    content: "";
    color: inherit;
    margin-left: 1vh;
    border-top: 0.35em solid;
    border-right: 0.35em solid transparent;
    border-left: 0.35em solid transparent;
    border-bottom: 0;
    display: inline-block;
    width: 0;
    height: 0;
}


.item-desplegable>.clicked:after {
    border-top: 0;
    border-bottom: 0.35em solid;
}

.desplegable-contenido {
    display: none;
    background: #ffffff;
    position: absolute;
    min-width: 5rem;
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
    text-align: left;
    z-index: 1;
    border: 1px solid #d3d3d3;
}

.display {
    display: block;
}


.desplegable-contenido .lista-items {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0 !important;
    margin: 0rem 0.65rem !important;
}

.checkbtn {
    font-size: 30px;
    color: #000000;
    float: right;
    display: none;
    padding-left: 12px;
}

#check {
    display: none;
}

@media (max-width: 952px) {

    .lista {
        flex-direction: column;
        display: flex;
        justify-content: flex-end;
        flex-grow: 1;
        margin: 0;
        flex-wrap: wrap;
        gap: 20px;
    }

    .navbar {
        flex-wrap: wrap;
    }

    .logo {
        width: 12vh;
    }

    .etiqueta {
        flex-grow: 1;
    }

    .checkbtn {
        display: block;
    }

    #check:checked~.menu-items {
        display: flex;
    }

    .menu-items {
        display: none;
        width: 100%;
        background: #fff;
        min-width: 5rem;
        padding-top: 1.4rem;
        padding-bottom: 1.4rem;
        text-align: center;
        border-bottom: 1px solid #c1c1c1;
        font-size: 15pt;
    }

    .desplegable-contenido {
        position: relative;
        background: #fff;
        border-top: 1px solid #c1c1c1;
    }

    .menu-items {
        padding-right: 0;
    }

}

@media (max-width: 858px) {

    .etiqueta .titulo {
        display: none;
    }

    .logo {
        width: 16vh;
    }

    .img_cabecera img {
        width: 100%;
    }
}

@media (max-width: 412px) {

    .logo {
        width: 10vh;
    }
}