body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: #ffffff;
    color: #333;
    text-align: center;
    line-height: 1.6;
}

/* ===== Animaciones de entrada ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
}

.fade-in-delayed {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
}

.fade-in-delayed:nth-child(1) { animation-delay: 0.3s; }
.fade-in-delayed:nth-child(2) { animation-delay: 0.6s; }
.fade-in-delayed:nth-child(3) { animation-delay: 0.9s; }

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Header ===== */
header {
    background-color: #00B1AA;
    color: white;
    padding: 2em 1em;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    text-align: center;
}

header h1, header h2 {
    margin: 0.3em 0;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

.logo {
    width: 140px;
    height: auto;
    margin-bottom: 1em;
}

/* ===== Main ===== */
main {
    padding: 2em 1.5em;
    max-width: 900px;
    margin: auto;
    text-align: left;
}

main p {
    font-size: 1.05em;
    margin-bottom: 1em;
    transition: transform 0.3s, background-color 0.3s;
}

main p:hover {
    transform: scale(1.03);
    background-color: #e0f7f7;
    border-radius: 5px;
}

/* ===== Footer ===== */
footer {
    background: linear-gradient(to right, #00B1AA, #008C85);
    color: white;
    padding: 1em;
    font-size: 0.9em;
    border-top: 1px solid #007A74;
    margin-top: 2em;
    text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
    header h1 { font-size: 1.6em; }
    header h2 { font-size: 1.05em; }
    main { padding: 1em; text-align: left; }
}
