* { margin: 0; padding: 0;}
body {
	font-family: 'Roboto', Helvetica, Arial, sans-serif;
	background: #FFFFFF;
	color: #565E71;
}
h1 {
	color: #7E718F;
	margin-bottom: 20px;
	line-height: 1;
	text-align: center;
}
h2 {
	font-size: 16px;
}
h3 {
	font-size: 14px;
}
h2, h3, h4 {
	font-weight: 300;
	margin-bottom: 20px;
	line-height: 1.2;
}
p, li{
	font-size: 12px;
}
li { list-style: inside; }

li::first-letter {
	text-transform: capitalize;
}

#container {
	width: 100%;
	max-width: 600px;
	margin: 0  auto;
	overflow: hidden;
}

.personaje {
	background: #F2F4F7;
	width: 150px;
	height: 150px;
	min-height: 100px;
	display: inline-block;
	margin: 2% 3%;
	position: relative;
	border: 1px solid #D5D2E3;
	cursor: pointer;
}
.personaje:hover {
	opacity: 0.7;
}
.personaje:active {
	border: 1px solid #8A5988;
}
.personaje img {
    width: 100%;
}
.name-display {
	position: absolute;
	bottom: 0;
	color: #FFF;
	padding: 5px 10px;
	font-weight: 300;
	text-shadow:
   	-1px -1px 0 #000,  
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
}
.datos {
	background: #F2F4F7;
	padding: 10px;
	border: 1px solid #D5D2E3;
	display: none;
}
.datos p {
	margin-bottom: 10px;
}
.datos p::before {
	font-weight: 900;
	text-transform: capitalize;
	border-bottom: 1px solid #D5D2E3;
}

.profesion::before {content: "profesión: ";}
.cargos::before {content: "cargos: ";}
.premios::before {content: "premios: ";}
.actualmente::before {content: "actualmente: ";}

@media only screen and (min-width:463px) and (max-width: 565px) {
	.personaje {
    margin: 2% 0;
	}
}
@media only screen and (max-width: 462px) {
	.personaje {
    width:  30%;
    height: auto;
    margin: 2% 0;
	}
}
@media only screen and (max-width: 235px) {
	.name-display {
		padding: 0;
	}
}