@import url("/css/vars.css");
@import url("/css/cabecera.css");
/* Fuente personalizada generada en Font Squirrel */
@font-face {
  font-family: "mi_comic";
  src:
    url("tipos/fuente1.woff2") format("woff2"),
    url("tipos/fuente1.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

/* Estilos */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 18px;
  font-family: "Kanit", sans-serif;
}
body {
	background-color: var(--color-base);
}

h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
  font-family: "Zen Dots", cursive;
}

h2,
h3,
h4 {
  font-family: "Zen Dots", cursive;
}

.contenedor {
	width: 90%;
	max-width: 1600px;
	margin: 0 auto;
	border-radius: 0.8rem;
	overflow: hidden;
	background-color: var(--color-base);
}

.contenido {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.bloque-portada {
  width: 49%;
}
.bloque-portada:nth-child(1) {
  width: 40%;
}
.bloque-portada:nth-child(2) {
  width: 58%;
}

.contenido h2 {
  font-size: 2.5rem;
  color: var(--color-base-osc);
  margin: 1rem 0;
  text-align: center;
}

/* CONTENIDO */
.enlaces li {
  font-size: 2.2rem;
  background-color: var(--color-base);
  box-shadow: 1px 1px 2px var(--color-base-osc);
  margin: 1rem;
  list-style: none;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.5s;
}

.enlaces > li:hover {
  box-shadow: 0px 0px 2px inset var(--color-base-luz);
  background-color: var(--color-mono-osc);
}

.enlaces a {
  text-decoration: none;
  color: var(--color-mono-osc);
  font-weight: 100;
  letter-spacing: -1px;
  padding: 0.5rem 2rem;
  display: block;
  transition: all 0.5s;
}
.enlaces li:hover .subapuntes {
  height: 200px;
  border-top: 1px solid var(--color-base-luz);
}
.enlaces li:hover a {
  color: var(--color-base-luz);
}

.enlaces a::before {
  font-family: iconos;
  content: "\eae4";
  font-size: 1.5rem;
  margin-right: 1rem;
  display: inline-block;
  transition: all 0.5s;
}
.grupo-css a::before {
  content: "\eae6";
}
.grupo-js a::before {
  content: "\e900";
}
.grupo-ejemplos a::before {
  content: "\e900";
}

.enlaces a:hover::before {
  transform: rotate(90deg);
}
.subapuntes {
  border-top-color: transparent;
  background-color: var(--color-base-osc);
  height: 0;
  transition: all 0.5s 0.5s;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
.subapuntes li {
  border: none;
  margin: 0 2rem;
  font-size: 1.5rem;
  box-shadow: none;
  background-color: transparent;
}

.subapuntes li:hover {
  box-shadow: none;
}

.enlaces li:hover .subapuntes a {
  color: var(--color-base-luz);
}

.subapuntes a::before {
  font-size: 1rem;
}

.subapuntes a:hover::before {
  transform: rotate(0) scale(1.3);
}
