@media screen and (max-width: 1100px) {
  .contenedor {
    width: 100%;
  }
}

@media screen and (max-width: 960px) {
  pre,
  .pizarra {
    width: 95%;
  }
  .tema-completo {
    display: block;
  }
  .contenido-apunte {
    width: 90%;
    margin: auto;
  }
  .relacionados {
    width: 90%;
    margin: 2rem auto;
  }
  .naveg-ctxt {
    display: flex;
    justify-content: center;
  }
  .listado-lateral {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.5rem;
    margin: 1rem;
  }
  .item-lateral {
    width: calc(33.3% - 0.33rem);
    margin: 0;
  }
  .bloque-menu-ejemplos ul {
    display: flex;
    justify-content: center;
  }
  .temas {
    margin: 5rem 0rem;
  }
  .temas > h2 {
    line-height: 1;
  }
}
@media screen and (max-width: 790px) {
  .definicion span {
    width: 60%;
  }
}
@media screen and (max-width: 768px) {
  /*.submenu {
    display: flex;
    position: relative;
    flex-direction: column;
    height: auto;
    width: auto;
  }*/

  /*.item-submenu {
    width: 100%;
  }*/

  .cabecera .menu {
    height: 170px;
  }

  .cabecera {
    overflow: visible;
  }

  .submenu-2 {
    display: block;
    position: relative;
    width: auto;
    bottom: 0;
    margin: 0 0 0 5%;
    text-align: right;
    border: none;
    background-color: var(--color-cuad-izq);
    box-shadow: none;
  }

  .item-submenu:hover .submenu-2 {
    display: inherit;
  }

  .item-submenu-2 a:hover {
    transform: scale(1);
  }
  .item-submenu > a {
	padding: 0.1rem;
  height: auto;
}
  .item-submenu-2 a {
    padding: 0.1rem;
  }

  .menu-html > span {
    background-color: var(--color-comple);
    color: var(--color-base-osc);
  }
  .menu-css > span {
    background-color: var(--color-tri-1);
    color: var(--color-base-osc);
  }
  .menu-js > span {
    background-color: var(--color-analog-1);
    color: var(--color-base-osc);
  }
  .menu-ejemplos > span {
    background-color: var(--color-cuad-izq);
    color: var(--color-base-osc);
  }
}
