
header ul li:nth-of-type(5) {
	text-decoration: overline;
}

figure img {
	margin: auto;
	width: 100%;
}

figcaption {
	font-size: 20px;
	font-weight: bold;
	text-align: center;
}

.contenedor p {
	margin:auto;
	width: 90%;
	font-size: 18px;
	text-align: justify;

}

.otras p {
	margin: auto;
	width: 90%;
	padding-bottom: 2%;
	font-size: 20px;
	text-align: justify;
}

main p:last-of-type {
	margin: auto;
	width: 90%;
	padding-bottom: 2%;
	font-size: 20px;
	text-align: justify;
}

.Caricaturas img {
	width: calc(100% - 20px);
}

.carousel {
	margin: auto;
	width: 50%;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
	margin-bottom: 1.5%;
}








/* MEDIA QUERIES */
@media (min-width: 950px) {
	
	* {
		padding: 0;
		margin: 0;
		font-size: 16px;
		font-family: Georgia, "Times New Roman", Times, serif;
		line-height: 150%;
	}

	*, *:before, *:after {
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}

	h1 {
		font-size: 175%;
		line-height: 80%;
		margin: 25px 0;
	}

	h1 small {
		font-size: 65%;
		color: #e25353;
	}

	#wrapper {
		width: 90%;
		height: 100%;
		margin: 10px auto;
		border: 1px solid #e73333;
		background-color: burlywood;
		padding: 20px;
	}

	.wrapper p {
		padding: 15px;
		/* padding-bottom: 1%; */
	}

	input[name = "tab"] {
		position: absolute;
		left: -1000em;
		padding: auto;
	}

	label{ 
		display: inline-block; 
		text-align: center; 
		width: 15%; 
		height: 10%; 
		padding: 10px 25px; 
		margin: 0.3%;
		font-weight: bold;
		text-transform: uppercase;  
		border: 1px solid #87b980;
		border-right: none;
		background-color: #c06868;
		float: left;
		position: relative;
		top: 2px;
		z-index: 99;
	} 
	label:last-of-type {
		border-right: 1px solid #cbc6cf;
	}

	div.cont {
		float: left;
		border: 1px solid #e734b2;
		background-color: bisque;
		opacity: 0;
		display: none;
		padding-top: 1%;
		padding-bottom: 1%;
	}

	input:checked+label {
		border-bottom: none;
		background-color: rgb(195, 186, 235);
	}

	@keyframes cambiaTab {   
		0%   { opacity: 0;}   
		100% { opacity: 1;}  
	}
	@-webkit-keyframes cambiaTab {   
		0%   { opacity: 0;}   
		100% { opacity: 1;}  
	}

	input[value = "1"]:checked ~ div.contenedor div.cont:nth-child(1),
	input[value = "2"]:checked ~ div.contenedor div.cont:nth-child(2),
	input[value = "3"]:checked ~ div.contenedor div.cont:nth-child(3) {
		opacity: 1;
		display: block;
		-webkit-animation-name: cambiaTab; 
		-webkit-animation-duration: 1s;
		animation-name: cambiaTab; 
		animation-duration: 1s;
	}

	.clearfix {
		clear:both;
	}

	.otras h3 {
		padding:30px 0 10px 0;
	}

	.otras p {
		padding:10px 0;
	}
	
	p {
		margin: auto;
		width: 85%;
		font-size: 24px;
		margin-top: 1%;
	}

	figure {
		margin: 0% auto;
		width: 80%;
	}

	figure img {
		display: block;       /* Quita el comportamiento inline */
		margin: 0 auto;       /* Centra horizontalmente */
		margin-top: 2%
	}

	figcaption {
		font-size: 24px;
		font-weight: bold;
		text-align: center;
	}

	.Caricaturas {
		margin: auto;
		width: 100%;
		display: inline-block;
	}

	.Caricaturas img {
		width: calc(50% - 20px);
	}

	#Imagen1 {
		margin-left: 1.1%;
	}

	#TamanoImagenes {
		margin: auto;
		width: 100%;
	}

	.carousel {
		display: flex;
		flex-wrap: wrap;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		position: relative;
		margin: auto;
		width: 50%;
		/* height: 20%; */
		overflow: hidden;
		border-radius: 10px;
		box-shadow: 0 4px 15px rgba(0,0,0,0.2);
		margin-bottom: 1.5%;
	}

	.carousel-images {
		display: flex;
		transition: transform 0.5s ease-in-out;
		width: 350%;
		height: 750px;
	}

	.carousel-images img {
		width: 100%;
		flex-shrink: 0;
	}

	.prev, .next {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		background: rgba(0,0,0,0.5);
		color: white;
		border: none;
		padding: 10px;
		cursor: pointer;
		border-radius: 50%;
		font-size: 18px;
	}

	.prev { 
		left: 10px; 
	}

	.next { 
		right: 10px; 
	}

	.prev:hover, .next:hover {
		background: rgba(0,0,0,0.8);
	}

}
