  
/* Lista y elementos */
ul {
    padding: 10;
    list-style-type: none;
    margin: 0;
    background-color: #2e2c2c00;
      position: relative;
  z-index: 2; /* alto para que quede por encima */
}

li {
    font-size: 25px;
    width: 8em;
    height: 2em;
    color: #fffffffe;
    border-left: 0.08em solid;
    position: relative;
    margin-top: 0.8em;
    cursor: pointer;
}

/* Efecto de 3 palitos */
li::before,
li::after {
    content: '';
    position: absolute;
    width: inherit;
    border-left: inherit;
    z-index: -1;
}

li::before {
    height: 80%;
    top: 10%;
    left: calc(-0.15em - 0.08em * 2);
    filter: brightness(0.8);
}

li::after {
    height: 60%;
    top: 20%;
    left: calc(-0.15em * 2 - 0.08em * 3);
    filter: brightness(0.6);
}

li span {
    position: relative;
    height: 120%;
    top: -10%;
    box-sizing: border-box;
    border: 0.08em solid;
    background-image: linear-gradient(135deg, #006fcb 10%, #006fcb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: capitalize;
    transform: translateX(calc(-0.15em * 3 - 0.08em * 2));
    transition: 0.3s;
    color: #ffffff;
}

li:hover span {
    transform: translateX(0.15em);
}

/* Contenido dinámico */
.cuerpo {
  border-radius: 6px;
  padding: 1rem;
  width: 75%;
  height: 100%;
}
@media screen and (max-width: 768px) {
  body {
    flex-direction: column;
  }

  .contenedor-del-contenedor {
    width: 100%;
    height: auto;
    border: none;
    border-bottom: 2px solid black;
  }

  .cuerpo {
    width: 80vh;

    padding: 0.5rem;
    height: auto;
  }

  ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  li {
    margin: 0.5rem;
    width: auto;
  }

  li span {
    flex-direction: row;
    font-size: 16px;
  }
}
