header {
 padding: 5px;
 text-align: center
}

#logo > img {
  height: 100px;
}

#toggle-menu {display: none}
#mainnav {
  margin: 10px;
  font-weight: bold;
}

a {
  color: #ad1457;
  text-decoration: none;
  transition: all 0.5s;
}
a:hover {
  color: #212121;
}
.cabecera {
  background-color: #e0e0e0;
  padding: 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}

footer {
  text-align: center;
  border-top: 1px solid #bdbdbd;
  margin-top: 10px;
  padding-top: 10px
}

#cc-link {font-size: 2em;}

ul.article-link-list {list-style: none}

/* Estilos para los articulos */
.article-data {
  margin-bottom: 5px;
  display: block;
}

.article-autor {font-weight: bold}

.button {
  color: #ad1457;
  border-color: #ad1457;
}

[class^=icon] + * {
  padding-left: 0.5em
}

.share-article {
  margin-bottom: .5em;
}

.share-article a {
  font-size: 1.2em
}

/* La paginación */

#pagination a {
  border: 1px solid #ad1457;
  display: inline-block;
  height: 28px;
  padding: 0 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: .1rem;
  border-radius: 4px;
}

#pagination a[class*=icon-]:before {
  line-height: 26px;
  padding: 0;
  margin: 0;
  font-weight: 600;
}

#pagination a:hover {border-color: #212121}

/* Para el listado de juegos */

#listado_juegos article {
  text-align: center;
  border: 1px solid #ddd;
  box-sizing: border-box;
  padding: 5px;
  border-radius: 3px;
}
.titulo_juego {
  margin-bottom: 1rem;
}
.autor_juego {
  display: block;
  font-weight: bold;
}

/* Pruebas con Flexbox */

.grid {
  display: flex;
  flex-wrap: wrap;
}

.grid.three-childs > * {
  width: calc((100% - 3em) / 3);
  margin: 0.5em;
}

.resp-cont {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
}

.resp-cont > iframe, .resp-cont > video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.portada_juego {
	width: 90%;
	height: 150px;
	margin: auto;
	position: relative;
	text-align: center;
} 

.portada_juego > img {
	width: auto;
	height: auto;
	max-height: 100%;  
  max-width: 100%; 
	position: absolute;
	display: block;
	min-height: 50px;
	min-width: 50px;
	top: 0;
	bottom: 0;
	left: 0;  
  right: 0;  
  margin: auto;
}