<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
	<style>
	body {
	background-color: #f9fdfd;
	font-size: 1em;
    line-height:1.3em;
	}
	h1 {
	font-weight:normal;
	}
	.styled-table {
    border-collapse: collapse;
    margin: 25px 0;
    font-family: sans-serif;
    min-width: 400px;
    max-width: 80%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
.styled-table thead tr {
	background-color: #160d53;
    color: #ffffff;
    font-size: 1.3em;
}
.styled-table th,
.styled-table td {
    padding: 12px 15px;
    text-align: center;
}
.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
	background-color: #ddeef0;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #160d53;
}
.styled-table tbody tr.active-row {
    font-weight: bold;
    color: #223773;
}
.styled-table td a{
    padding: 1em 0.6em;
    text-align: center; 
	line-height:1.3em;
	color:#fff;
	background-color: #1b0d80;
	text-decoration:none;
    display: flex;
    justify-content: center;
    margin: 0.5em 0.5em;
	border: none;
    border-radius: 4px;
}
.styled-table td a:hover{
	background-color: #160d53;
}
br {
display:none;
}
</style>
</head>
<body>
    <div id="contenido">Cargando contenido...</div>

    <script>
        // URL de la que deseas obtener el contenido
        const url = 'https://raw.githubusercontent.com/atun-calvo/judias-main/refs/heads/main/index.html';
        
        // Usamos CORS Anywhere como un servidor proxy
        fetch('https://api.codetabs.com/v1/proxy/?quest=' + url)
            .then(response => response.text()) // Obtiene el contenido como texto HTML
            .then(data => {
                // Inserta el contenido HTML dentro del div con id="contenido"
                document.getElementById('contenido').innerHTML = data;
            })
            .catch(error => {
                console.error('Hubo un error al obtener el contenido:', error);
                document.getElementById('contenido').innerHTML = 'Hubo un error al cargar el contenido.';
            });
    </script>
</body>
</html>