.imagen-principal {
    width: 100%;
    max-width: 200px;
    height: auto;

    border-radius: 20px;        /* Bordes redondeados */
    box-shadow: 0px 10px 10px rgba(0,0,0,0.3);  /* Sombra */

    border: 5px solid #4CAF50;  /* Borde verde */

    transition: transform 0.3s ease;  /* Animación suave */
}

/* Efecto al pasar el mouse */
.imagen-principal:hover {
    transform: scale(2.05);  /* Hace zoom */
}
body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(to right, #22C1C3, #fdbb2d);
    color: #333;
}

/* NAV */
nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    background-color: rgba(0,0,0,0.2);
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 6px;
    transition: 0.3s;
}

nav a:hover {
    background-color: rgba(255,255,255,0.2);
}

/* IMAGEN */
img {
    display: block;
    margin: 0 auto;
    max-width: 150px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* DATOS */
.datos-sitio {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.datos-sitio h2 {
    margin-top: 0;
    color: #22C1C3;
}

.datos-sitio a {
    color: #22C1C3;
    text-decoration: none;
}

.datos-sitio a:hover {
    text-decoration: underline;
}

/* TABLA */
h3 {
    text-align: center;
    margin-top: 30px;
    color: white;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

th {
    background: linear-gradient(to right, #22C1C3, #1a9fa1);
    color: white;
    padding: 12px;
}

td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

tr:hover {
    background-color: #f5f5f5;
}

/* RESPONSIVO */
@media (max-width: 600px) {
    nav {
        flex-direction: column;
        align-items: center;
    }

    img {
        max-width: 120px;
    }
}