body {
	display: flex; /* Usa flexbox para centrar imagen */
	justify-content: center; /* Centrar horizontalmente */
	background-color: #f0f0f0;
	color: #333;
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 20px;
	}

.header {
	position: absolute;
	top: 22px;
	left: 60px;
	z-index: 1000;
	width: auto;
	text-align: left;
	}

.header a {
	text-decoration: none;
	}

/************* MENÚS *****************/
.menu-icon {
	color: #000;
	background-color: #fff;
	cursor: pointer;
	font-size: 33px;
	font-weight: bold;
	padding: 0 15px 2px 0;
	margin: 0;
	position: fixed;
	top: 20px;
	left: -8px;
	z-index: 1001;
	}

.nav {
	display: none;
	background-color: #fff;
	font-size: 0.95rem;
	position: fixed;
	top: 44px;
	left: -1px;
	z-index: 1000;
	width: 160px;
	}

.nav ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
	}

.nav ul li {
	padding: 10px 0;
	/* border: 1px solid #bbb;*/
	}

.nav ul a {
	margin: 0;
	padding: 0;
	text-decoration: none;
	font-weight: bold;
	color: #000;
	}
	
.nav ul li a:hover {
	color: #fff;
	background-color: #000;
	}


.tb1, .tb2, .tb3 {
	position: absolute;
	width: 158px;
	height: 25px;
	line-height: 25px;
	background-color: white;
	border-bottom: 1px solid #bbb;
	border-right: 1px solid #bbb;
	}

.texto-tecla {
	text-align: center;
	margin-left: 92px;
	}

.tb1 {top:50px; border-top:1px solid #bbb;}
.tb1:hover {background-color: red;}

.tb2 {top:97px; z-index:101;}
.tb2:hover {background-color: #ff0;}

.tb3 {top: 144px;}
.tb3:hover {background-color: #00f;}

.tb1:hover, .tb2:hover, .tb3:hover {
	color: #fff;
	text-shadow:-1px -1px 0 #555,  
                 1px -1px 0 #555,
                -1px  1px 0 #555,
                 1px  1px 0 #555;
	}
	
.tn1, .tn2 {
	position:absolute;
	width: 90px;
	color: #fff;
	background-color: black;
	margin-bottom: 27px;
	height: 13px;
	line-height: 13px;
	text-align: center;
	}

.tn1 {
	top: 77px;
	border-top: 1px solid #bbb;
	border-right: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
	z-index: 102;
	}

.tn1:hover {
	background-color: orange;
	color: #000;
	}

.tn2 {
	top: 124px;
	border: 1px solid #bbb;
	z-index: 102;
	}
	
.tn2:hover {
	background-color: #0f0;
	color: #000;
	}

/********* Enlaces *************/
a {
	font-weight: bold;
	color: #000;
	}
		
a:hover {
	color: #b33;
	}

.container {
	width: 80%;
	margin: 95px 10% auto auto;
	overflow: hidden;
	position: relative;
	background-color: #e9e9e9;
	height: auto;
	}

.container img {
	position: relative; 
	float: left;
	width: 50%;
	margin: 20px 20px 10px 20px;
	border: 1px solid #fff;
	loading: lazy;
	}

.container p {
	padding: 10px 20px 0 20px;
	font-size: 1.15rem;
	line-height: 1.5rem;
	text-align: justify;
	}

.container a {
	text-decoration: none;
	}

.container a:hover {
	text-decoration: underline;
}

/************* ENCABEZADOS *****************/
h1 {
	color: #000;
	text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
	text-align: left;
	padding: 0;
	margin-top: 0;
	margin-bottom: 0;
	font-size: 2.4rem;
	}
		
h2 {
	color: #fff;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
	text-align: left;
	margin-top: -5px;
	margin-left: 141px;
	font-size: 2.4rem;
	}

h3 {
	font-size: 1.7rem;
	}

h4 {
	font-size: 1.3rem;
	text-decoration: underline;
	}

hr {
	border: none;
	border-top: 2px dashed #888;
	height: 1px;
	margin: 20px 0;
	}

footer {
	position: absolute;
	bottom: 3px;
	left: 35px;
	text-align: left;
	z-index:2002;
	font-size: 0.7rem;
	color: #000;
	}

@media (max-width: 768px) {
	h1 { font-size: 2rem; }
	h2 { font-size: 2rem; margin-left: 165px; }
	footer { bottom: 0; color: #fff; }
	}