:root {
	--deg1: #000000;
	--deg2: #060807;
	--deg3: aliceblue;
	--deg4: whitesmoke;
	--deg5: #585858;
}

html {
	margin:				0px;
	height:				100%;
	background-color: 	var(--deg1);
	background-image: 	url("/imgs/lapuertadeallado.jpg");
}
body {
	position: 		relative;
	margin:			auto;
	width:			100%;
	max-width: 		1280px;
	font-family: 	'Times New Roman', Times, serif;
	text-align:		center;
	font-size: 		17px;
	line-height: 	1.3;

}
h2, h3, h4 {
	text-align:     left;
	hyphens: 		none;
}
a:link, a:visited {
	text-decoration:	none;
	color:				var(--deg1);
}
a:hover {
	text-decoration:	underline;
	color:				var(--deg1);
}

.container {
	display: 			block;
	position:       	relative;
	background-color:	var(--deg3);
	text-align: 		left;
	text-align: 		justify;
	hyphens: 			auto;
	padding: 			2%;
}
.header {
	width: 				100%;
	text-align: 		center;
	background-color: 	var(--deg2);
	border-radius: 		4px;
}
.contenido {
	display: 			block;
	width: 				100%;
}
.contenido > div {
	display: 			inline-block;
	width: 				25%;
	vertical-align: 	top;
}
.contenido > div > div:has(div.box) {
	background-color:	var(--deg4);
	padding:			1%;
}
.contenido > div:first-child {
	width: 				70%;
	margin-right: 		4%;
}
.contenido > div > div {
	border-bottom: 		var(--deg1) dotted 1px;
	padding-bottom: 	2%;
	overflow: 			hidden;
}
li {
	list-style-type: 	none;
	padding: 			1%;
	border-bottom: 		var(--deg1) 1px dotted;
}
.box {
	display: 			inline-block;
	width: 				31%;
	vertical-align: 	top;
	padding:  			1%;
	font-size: 			smaller;
}
.box img {
	height: 			120px;
	float: 				left;
	margin-right:		4%;
	border: 			var(--deg5) solid 4px;
	box-shadow:    		5px 10px 15px rgba(0, 0, 0, 0.3);
}
.box2 {
	display: 			inline-block;
	width: 				47%;
	vertical-align: 	top;
	padding-right:  	2%;
}
.tapa {
	height: 			160px;
	float: 				left;
	margin:				0 4% 2% 0;
	border: 			var(--deg5) solid 4px;
	box-shadow:    		5px 10px 15px rgba(0, 0, 0, 0.3);
}

.fotoRnd {
	position: 			relative;
	width: 				126px;
  	height: 			126px;
	background: 		var(--deg5);
	clip-path: 			circle(50%); 
	float: 				left;
	margin-right: 		1%;
}

.fotoRnd img {
  	position: 			absolute;
  	top: 				3px;
  	left: 				3px;
  	width: 				120px;
  	height:  			120px;
	object-fit: 		cover;
	clip-path: 			circle(50%); 
}

.sepia {
	float:    			left;
	width: 				100px;
	height: 			100px;
	margin-right: 		1%;
	border: 			var(--deg5) 3px solid;
	border-radius: 		50%;
	background-repeat: 	no-repeat;
	background-size: 	cover;
	background-position:center;
}

.sepiaSquare {
	width: 				100px;
	height: 			150px;
	border-radius: 		5px;
}
.blocks {
	display: flex;
	flex-wrap: wrap;
}

.blocks > div {
	width: 				48%;
	margin: 			1%;
	border-bottom: 		var(--deg1) 1px dotted;
}

.blocks h2 {
	font-size:			17px;
}

.blocks .sepiaSquare {
	display: 			block;
	width: 				72px;
	height: 			96px;
	filter: 			grayscale();
}

.blocks .sepiaSquare:hover {
	filter:				none;
	transition: 		all .5s ease;
}

.blocks3 {
	display: 			flex;
	flex-wrap: 			wrap;
	position: 			relative;;
}

.blocks3 > div {
	width: 				27%;
	margin: 			1%;
	border-bottom: 		var(--deg1) 1px dotted;
	padding: 			2%;
}

.blocks3 h3 {
	font-size:  		medium;
}

.blocks5 {
	display: 			flex;
	flex-wrap: 			wrap;
	position: 			relative;;
}

.blocks5 > div {
	width: 				12%;
	margin: 			1%;
	border-bottom: 		var(--deg1) 1px dotted;
	padding: 			1%;
	background-color: var(--deg4);
}

.blocks5 div {
	font-family: 		Arial, Helvetica, sans-serif;
	font-size:  		12px;
	margin: 			0;
	text-justify: 		unset;
	text-align: 		left;
}

.blocks5 img {
	width: 				100%;
	border: 			var(--deg5) 3px solid;
	box-shadow:    		5px 10px 15px rgba(0, 0, 0, 0.3);
}

.invert {
	background-color: rgba(0, 0, 0, 0.9);
	color: 				var(--deg3);
	font-size: 			smaller;
	padding: 			5%;
	border-radius: 		4px;
	height: 			90%;
}

.invert h3 {
	text-align: 		center;
}

.invert input {
	margin: 2%;
}

.seccion {
	background-color: 	var(--deg2);
	color: 				var(--deg3);
	padding: 			1%;
	border-radius: 		4px;
}
.pie {
	text-align: 		center;
	background-color: 	var(--deg1);
	color: 				var(--deg3);
	padding: 			1%;
	border-radius: 		4px;
} 

.pie a {
	color: 				var(--deg3);
}

button {
	width: 				100%;
	padding: 			1% 2%;
	margin: 			1%;
}

button:hover {
	cursor: 			pointer;
}

.trivia {
	background-repeat: 	repeat;
}

.prevImg {
	display: 				inline-block;
	width: 					150px;
	height: 				350px;
	cursor: 				pointer;
	text-align: 			right;
	background-repeat: 		no-repeat;
	background-size: 		contain;
	background-position: 	center;
	overflow: 				hidden;
}

@media all and (orientation: portrait) {

	#columnaDer {
		display: 			none;
	}

	.container {
		padding: 			0;
	}
	.contenido {
		padding: 			5%;
		width: 				90%;
	}
	.contenido > div {
		display: 			block;
		width: 				100%;
	}
	.contenido > div:first-child {
		display: 			block;
		width: 				100%;
	}
	.box {
		display: 			block;
		width: 				94%;
		padding:  			5% 3%;
		font-size: 			smaller;
		border-bottom:     	black 1px dotted;
	}
	.box img {
		height: 			120px;
		float: 				left;
		margin-right:		4%;
		border: 			var(--deg5) solid 4px;
		box-shadow:    		5px 10px 15px rgba(0, 0, 0, 0.3);
	}
	.box2 {
		display: 			block;
		width: 				98%;
		padding:     		1%;
		border-bottom:     	black 1px dotted;
	}

	.blocks > div {
		width: 				98%;
	}

	.sepia {
		margin-right: 5%;
	}

	.blocks3 > div {
		width: 				98%;
	}

	.blocks5 > div {
		width: 				20%;
		margin: 			1%;
		border-bottom: 		var(--deg1) 1px dotted;
		padding: 			1%;
		background-color: var(--deg4);
	}

	.blocks5 > div div {
		display: none;
	}

	.blocks5 img {
		box-shadow:    		none;
	}

	.invert {
		height: 			auto;
	}

	button {
		padding: 			5%;
		font-size: 			medium;
	}
}