/* meyer reset */
html,
body,
div,
span,
applet,
object,
iframe,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
label,
legend,
p,
blockquote,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body {
  line-height: 1;
  color: black;
  /* background-color: #B7E1A2; */
}

:focus {
  outline: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption,
th,
td {
  text-align: left;
  font-weight: normal;
}

th,
td {
  text-align: left;
  font-weight: normal;
  width: 6%;
}

fieldset,
img {
  border: 0;
}

address,
caption,
cite,
code,
dfn,
em,
th,
var {
  font-style: normal;
  font-weight: normal;
}

ol,
ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
}

blockquote,
q {
  quotes: '' '';
}

abbr,
acronym {
  border: 0;
}

/* font faces */
@font-face {
  font-family: 'HuaHand';
  src: url('/_fonts/huahand/huahand.woff2') format('woff2'),
    url('/_fonts/huahand/huahand.woff') format('woff');
}

@font-face {
  font-family: 'Open Sans';
  src: url('/_fonts/open_sans/opensans-regular.woff2') format('woff2'),
    url('/_fonts/open_sans/opensans-regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Open Sans';
  src: url('/_fonts/open_sans/opensans-italic.woff2') format('woff2'),
    url('/_fonts/open_sans/opensans-italic.woff') format('woff');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Open Sans';
  src: url('/_fonts/open_sans/opensans-bold.woff2') format('woff2'),
    url('/_fonts/open_sans/opensans-bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Open Sans';
  src: url('/_fonts/open_sans/opensans-bolditalic.woff2') format('woff2'),
    url('/_fonts/open_sans/opensans-bolditalic.woff') format('woff');
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: 'Ubuntu Mono';
  src: url('/_fonts/ubuntu_mono/ubuntumono.woff2') format('woff2'),
    url('/_fonts/ubuntu_mono/ubuntumono.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Ubuntu Mono';
  src: url('/_fonts/ubuntu_mono/ubuntumono-italic.woff2') format('woff2'),
    url('/_fonts/ubuntu_mono/ubuntumono-italic.woff') format('woff');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Ubuntu Mono';
  src: url('/_fonts/ubuntu_mono/ubuntumono-bold.woff2') format('woff2'),
    url('/_fonts/ubuntu_mono/ubuntumono-bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Ubuntu Mono';
  src: url('/_fonts/ubuntu_mono/ubuntumono-bolditalic.woff2') format('woff2'),
    url('/_fonts/ubuntu_mono/ubuntumono-bolditalic.woff') format('woff');
  font-weight: bold;
  font-style: italic;
}

article,
figure,
figcaption,
header,
footer,
section {
  display: block;
  margin: 0;
}

article {
  max-width: 840px;
  margin: 30px auto 0 auto;
}

a {
  text-decoration: none;
  color: #000;
}

article p a {
  font-weight: bold;
  border-bottom: 4px solid #bbd3de;
}

.oculto {
  opacity: 0;
  transition: opacity 1s linear;
}

.esconde_texto {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

body,
ul,
ol {
  font-family: Karla, sans-serif;
  line-height: 1.6em;
}

ul,
ol {
  /* font-size: .9em; */
}

/* cookies */
.cookies,
.cookies p,
.cookies a,
.cookies span {
  vertical-align: middle;
}

.cookies {
  position: fixed;
  left: 0;
  bottom: -100px;
  width: 100%;
  text-align: center;
  transition: all 1s ease-in-out;
  background: transparent url(/_img/fondo_cookies.svg) repeat-x;
  z-index: 1000;
}

.cookies p {
  display: inline-block;
  padding: 1.5em 1.4em 1.3em 0;
  padding-left: 4.5em;
  background-color: #fff;
  color: #333;
  font-size: 0.8em;
  background-size: 3.3em auto;
  line-height: 1.6em;
  background: transparent url(/_img/cookie.svg) no-repeat 1em center;
}

.cookies p a {
  font: normal 0.9em 'Open Sans', sans-serif;
  margin-left: 0.5em;
  text-transform: uppercase;
  border: 1px solid #4296bc;
  display: inline-block;
  padding: 0.3em 0.6em;
  border-radius: 2em;
  cursor: pointer;
}

/* cabecera */
body > header {
  /* background-color: #ABDBF1; */
  /* background-image: linear-gradient(to bottom, #8adaff 0%, #D2EEFA 100%); */
  background: #fff;
}

header .c_dibujo_cabecera {
  width: 100%;
  position: relative;
  overflow: hidden;
  height: 370px;
  text-align: center;
}

header .centrador {
  position: absolute;
  left: 50%;
  top: 0;
  width: 100%;
  height: 300px;
}

header .dibujo_cabecera {
  position: relative;
  width: 2600px;
  height: 250px;
  margin: 120px auto 0 auto;
  transform: translateX(-50%);
}

header .dibujo_cabecera .elementos img {
  position: absolute;
  /* top: 82px; */
  /* left: 97px; */
}

header .dibujo_cabecera .fondo {
  position: absolute;
  top: 0;
  left: 0;
  width: 2600px;
  height: 250px;
  background: url(/_img/cabecera/colinas_sin_ojos_bn.svg);
  z-index: 5;
}

header .logo_puntodepartida {
  margin-top: 55px;
}

/* relojes */
.reloj .horas {
  position: absolute;
  top: 0;
  left: 0;
}

.reloj img {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: center bottom;
  transition: all 2s ease-out;
  /* margin-top: -2px; */
}

.reloj_bigben img {
  transform-origin: center 78%;
}

/* carrusel */
.c_carrusel {
  width: 636px;
  height: 478px;
  overflow: hidden;
}

.carrusel {
  white-space: nowrap;
  font-size: 0;
}

.carrusel img {
  display: inline !important;
}

/* nav */
nav {
  overflow: hidden;
  white-space: nowrap;
  overflow-x: auto;
  position: relative;
  margin-bottom: 1.5em;
  background-color: #fff;
}

nav:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: ' ';
  clear: both;
  height: 0;
}

nav ul {
  white-space: nowrap;
  text-align: center;
}

nav ul li {
  /* padding-bottom: .5em; */
  margin-right: 2em;
}

nav ul li,
nav ul li a {
  display: inline-block;
  text-transform: uppercase;
  color: #555;
  /* filter: grayscale(100%); */
}

nav ul li a {
  /* font-family: 'HuaHand', sans-serif; */
  padding: 0.4em 0;
  font-size: 1em;
  /* padding-left: 1.7em; */
  background-repeat: no-repeat;
  background-position: 0 0.4em;
  background-size: 1.5em auto;
}

body.portafolio li.portafolio,
body.guias li.guias,
body.juegos li.juegos,
body.retro li.retro,
body.iconos li.iconos,
body.contacto li.contacto {
  border-bottom: 2px solid #00beff;
}

/* contenido */
article code {
  background-color: #eee;
  padding: 1em;
  font-family: 'Ubuntu Mono', monospace;
  margin: 1em 0;
  display: block;
  font-size: 0.9em;
}

main {
  max-width: 1002px;
  padding: 2em;
  margin: 0 auto;
  /* background: url(/_img/fondo1.svg) no-repeat top left, url(/_img/fondo2.svg) no-repeat bottom left, #FFFFFF url(/_img/fondo_id.svg) repeat-y; */
  margin-bottom: 2em;
  padding-top: 0;
}

/* footer */
main > footer {
  text-align: center;
  color: #999;
  font-size: 0.7em;
  line-height: 1.4em;
}

section {
  margin-bottom: 3em;
}

figcaption {
  /* font-size: .9em; */
  line-height: 1.2em;
}

figcaption a {
  font-weight: bold;
}

article:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: ' ';
  clear: both;
  height: 0;
}

main > article > h1 {
  /* display: none; */
}

article h1 {
  font-size: 2em;
  /* font-family: 'Chivo'; */
  line-height: 1.2em;
  margin-bottom: 0.5em;
  font-weight: bold;
}

article h2,
article h3 {
  font-size: 1.4em;
  font-weight: normal;
  line-height: 1;
  margin-bottom: 0.6em;
}

article h3 {
  font-size: 1.3em;
}

article article h1,
article section h1 {
  font-size: 1.6em;
  /* text-transform: uppercase; */
}

article p {
  font-size: 0.9em;
  margin-bottom: 1.5em;
  line-height: 1.8;
}

article h1,
article h2,
article p {
  /* font-family: 'Open Sans', Arial, Helvetica, sans-serif; */
}

article aside {
  width: 30%;
  float: right;
  box-sizing: border-box;
}

article aside h1,
article aside h2,
article aside p {
}

article aside.ancho {
  /* width: 100%; */
  float: none;
  font-size: 100%;
  display: block;
  width: auto;
  margin-bottom: 2em;
}

article aside h1 {
  font-size: 1.4em;
  font-weight: normal;
  line-height: 1.3em;
}

article aside h2 {
  font-size: 1em;
  font-weight: bold;
  line-height: 1.5em;
}

article .texto_articulo {
  width: 65%;
  float: left;
}

article img,
aside img {
  max-width: 100%;
  height: auto;
}

table {
  width: 100%;
  border-top: 1px solid #ccc;
  font-size: 1.2em;
  margin: 2em 0;
}

table caption {
  font-weight: bold;
  text-transform: uppercase;
  padding: 0.5em 0;
  text-align: center;
  border-top: 1px solid #ccc;
}

table td,
table th {
  border-bottom: 1px solid #ccc;
  vertical-align: middle;
  font-size: 0.7em;
  line-height: 1.4em;
  text-align: center;
}

table th {
  font-weight: normal;
  text-align: center;
  text-transform: uppercase;
}

/* listados */
.listado figure img {
  width: 100%;
  height: auto;
  display: block;
}

.listado figure figcaption {
  color: #000;
  line-height: 1.4em;
}

.listado li {
  margin: 0;
}

.listado ul:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: ' ';
  clear: both;
  height: 0;
}

.listado li,
.listado figure,
.listado .texto {
  vertical-align: top;
  box-sizing: border-box;
}

.listado figure {
  margin: 0.5em;
}

.listado h2 {
  font-weight: bold;
  font-size: 1.5em;
}

.listado .texto {
  width: 49%;
  float: left;
  padding: 0 0 0 0.7em;
}

.listado.foto_arriba figure,
.listado.foto_arriba .texto {
  width: 100%;
  float: none;
  padding: 0;
}

.listado.foto_arriba li {
  margin-bottom: 2em;
  padding-right: 1%;
}

/* 1 */
.listado_1 li {
  width: 100%;
}

.listado_1 li:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: ' ';
  clear: both;
  height: 0;
}

.listado.listado_1 .texto {
  padding: 0 0 0 1%;
}

/* 2 */
.listado_2 li {
  width: 47%;
  display: inline-block;
  vertical-align: top;
}

/* 3 */
.listado_3 li {
  width: 15%;
  display: inline-block;
  box-sizing: border-box;
}

/* 4 */
.listado_4 li {
  width: 24.5%;
  display: inline-block;
  vertical-align: top;
}

/* 6 */
.listado_5 li {
  width: 18%;
  display: inline-block;
}

/* 6 */
.listado_6 li {
  width: 16%;
  display: inline-block;
}

/* portada */
.portada ul {
  /* background: #fff url(/_img/portada/fondo.svg) no-repeat center center; */
  padding: 1em 0;
  margin-bottom: 2em;
}

.idioma_fr.portada ul {
  background-image: none;
}

.portada ul li {
  margin: 1em;
  margin: 0;
  /* margin-top: 1em; */
}

.portada ul li a {
  font: normal 1.1em 'Karla', sans-serif;
  text-transform: uppercase;
  color: #666;
  display: block;
  padding: 1em;
  background-repeat: no-repeat;
  background-position: 1em center;
  text-align: center;
}

.portada ul li.portafolio a {
  /* background-image: url(/_img/portada/mi_trabajo.svg); */
}

.portada ul li.guias a {
  /* background-image: url(/_img/portada/guias.svg); */
}

.portada ul li.juegos a {
  /* background-image: url(/_img/portada/juegos.svg); */
}

.portada ul li.retro a {
  /* background-image: url(/_img/portada/retro.svg); */
}

.portada ul li.iconos a {
  /* background-image: url(/_img/portada/iconos.svg); */
}

.portada ul li.contacto a {
  /* background-image: url(/_img/portada/contacto.svg); */
}

/* pantallas intermedias */
@media (max-width: 800px) {
  /* header */
  header .logo_puntodepartida {
    width: 70%;
    margin-top: 52px;
  }

  header .dibujo_cabecera {
    transform: translateX(-50%) scale(0.7, 0.7);
    margin-top: 70px;
  }

  header .animados .avion {
    width: 40px;
    height: auto;
    top: 92px;
  }

  header .animados .nube {
    width: 40px;
    height: auto;
  }

  header .c_dibujo_cabecera {
    height: 282px;
  }

  main {
    /* background: url(/_img/fondo1.svg) no-repeat -40px top, url(/_img/fondo2.svg) no-repeat -40px bottom, url(/_img/blanco.svg) repeat-y; */
  }

  .portada ul {
    padding: 0 0 1em 0;
    background-image: none;
  }

  .listado_3 li {
    width: 47%;
  }
}

/* pantallas estrechas */
@media (max-width: 500px) {
  /* header */
  header .dibujo_cabecera {
    transform: translateX(-50%) scale(0.4, 0.4);
    margin-top: 30px;
  }

  header .c_dibujo_cabecera {
    height: 203px;
  }

  header .logo_puntodepartida {
    width: 92%;
  }

  main {
    padding: 1em;
    padding-top: 0;
  }

  article h1 {
    font-size: 1.5em;
  }

  article h2 {
    font-size: 1.2em;
  }

  article h3 {
    font-size: 1em;
  }

  article article h1,
  article section h1 {
    font-size: 1.3em;
  }

  article aside h1 {
    font-size: 1.2em;
  }

  /* articulo */
  article .texto_articulo,
  article aside {
    float: none;
    width: 100%;
    background-color: #f7f5ea;
    padding: 1em;
  }

  /* listados */
  .listado_2 li,
  .listado_3 li {
    width: 100%;
    margin-bottom: 1em;
  }

  .portada.listado_3 li {
    width: 100%;
    display: block;
    clear: both;
    background: url(/_img/portada/fondo_vertical.svg) no-repeat;
    padding-top: 1.2em;
    margin-top: 0;
  }

  .portada.listado_3 li.juegos {
    background-position: -7em top;
  }

  .portada.listado_3 li.retro {
    background-position: -4em top;
  }

  .portada.listado_3 li.iconos {
    background-position: -6em top;
  }

  .portada ul li:first-child {
    background-image: none;
  }

  .portada ul li a {
    padding: 0.8em 0 0.8em 0;
    font-size: 1em;
    background-size: 2em auto;
  }

  .listado_3 li,
  .listado_4 li,
  .listado_5 li,
  .listado_6 li {
    width: 47%;
  }
}

@media (max-width: 350px) {
  .listado_2 li,
  .listado_3 li,
  .listado_4 li,
  .listado_5 li,
  .listado_6 li {
    width: 100%;
    display: block;
    clear: both;
  }
}

/* animaciones */
.globo_es,
.globo_fr {
}

header .idiomas {
  position: absolute;
  top: 6px;
  left: 50%;
  text-transform: uppercase;
  /* right: 0; */
  transform: translate(-50%, 0);
  z-index: 10000;
  white-space: nowrap;
}

header .idiomas a {
  font-size: 0.8em;
  margin-right: 1em;
}

.idioma_es .globo_es,
.idioma_en .globo_en,
.idioma_fr .globo_fr {
  display: inline-block;
  border-bottom: 1px solid #555;
  /* border-radius: 4em; */
  padding-top: 0.3em;
  text-transform: uppercase;
  /* font-size: .9em; */
}

.barco {
  -webkit-animation: def_animacion_barco 30s ease-in-out forwards;
  animation: def_animacion_barco 30s ease-in-out forwards;
}

@keyframes def_animacion_levitar1 {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
  }

  50% {
    -webkit-transform: translate3d(0, -5px, 0);
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
  }
}

@keyframes def_animacion_levitar2 {
  0% {
    -webkit-transform: translate3d(0, -5px, 0);
  }

  50% {
    -webkit-transform: translate3d(0, 0, 0);
  }

  100% {
    -webkit-transform: translate3d(0, -5px, 0);
  }
}

@keyframes def_animacion_barco {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
  }

  100% {
    -webkit-transform: translate3d(70px, 0, 0);
  }
}

.c_dibujo_cabecera .avion {
  position: absolute;
  top: 100px;
  left: 0;
}

.nube {
  position: absolute;
  left: 0;
}

.nube1 {
  top: 30px;
}

.nube2 {
  top: 90px;
}

.nube3 {
  top: 150px;
}

.publicidadhorizontal {
  border: 1px solid #ccc;
  margin: 2em 0;
  text-align: center;
}

@media (prefers-color-scheme: dark) {
  body,
  nav {
    background-color: #333;
    color: #e4e4e4;
  }
  .portada ul li a,
  nav ul li a,
  .listado figure figcaption {
    color: #fff;
  }
  nav {
  }
  a {
    color: #00aeff;
  }
  header .c_dibujo_cabecera {
    background: #333;
  }
  header .c_dibujo_cabecera img.logo_puntodepartida {
    filter: invert(1);
  }
  header .dibujo_cabecera .fondo {
    background: url(/_img/cabecera/colinas_sin_ojos_bn_dark.svg);
  }
}
