* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #ffff;
    min-height: 100vh;
    padding: 40px 20px;
}


.Titulo {
    text-align: center;
    color: black;
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.Titulo h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.Subtitulo {
    font-size: 1.8rem;
    font-weight: 300;
    opacity: 0.95;
}
.Leyenda {
    text-align: center;
    width: 40%;
    margin: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.Leyenda h3 {
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
}

.qr_container {
    max-width: 300px;
    width: 50%;
    margin: 40px auto;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 1px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}


.qr_container img {
    width: 100%;
    height: auto;
}

/* Contenedor para las imágenes */
body > div:not(.Titulo):not(.logo_unad):has(img) {
    max-width: 900px;
    margin: 0 auto 40px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 1px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body > div:not(.Titulo):not(.logo_unad):has(h3) {
    max-width: 900px;
    margin: 0 auto 40px;
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 1px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* Estilo para las imágenes */
img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .Titulo h1 {
        font-size: 1.8rem;
    }
    
    .Subtitulo {
        font-size: 1.3rem;
    }
    
    body > div:not(.Titulo) {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .Leyenda {
        width: 80%;
    }
    
    .Leyenda h3 {
        font-size: 0.75rem;
        line-height: 1.5;
    }
    
    .qr_container {
        max-width: 250px;
        padding: 20px;
    }
}