/* HENRY'S WEBSITE - MAXIMUM 2000s CRINGE */

body {
    font-family: 'Comic Sans MS', cursive;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><rect width="10" height="10" fill="%23ff00ff"/><rect x="10" y="10" width="10" height="10" fill="%23ff00ff"/></svg>'),
                linear-gradient(45deg, #ff0066, #00ff66, #0066ff, #ff6600);
    background-size: 20px 20px, 100% 100%;
    animation: backgroundMove 3s infinite;
    margin: 0;
    padding: 20px;
}

@keyframes backgroundMove {
    0% { background-position: 0 0, 0 0; }
    50% { background-position: 10px 10px, 0 0; }
    100% { background-position: 0 0, 0 0; }
}

.titulo-principal {
    font-size: 28px;
    color: #FFFF00;
    text-shadow: 3px 3px 0px #000000, 6px 6px 0px #FF0000;
    animation: blink 1s infinite;
    font-weight: bold;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.subtitulo {
    font-size: 18px;
    color: #00FFFF;
    text-shadow: 2px 2px 0px #000000;
    animation: rainbow 2s infinite;
}

@keyframes rainbow {
    0% { color: #FF0000; }
    16% { color: #FF8000; }
    33% { color: #FFFF00; }
    50% { color: #00FF00; }
    66% { color: #0000FF; }
    83% { color: #8000FF; }
    100% { color: #FF0000; }
}

.contador {
    font-size: 14px;
    color: #FFFFFF;
    background: #000000;
    padding: 5px;
    border: 2px solid #FFFF00;
    display: inline-block;
}

table {
    box-shadow: 5px 5px 15px #000000;
    border-collapse: separate;
    border-spacing: 0;
}

td {
    font-size: 14px;
    font-weight: bold;
}

h2 {
    color: #FF0066;
    text-shadow: 2px 2px 0px #000000;
    font-size: 16px;
}

h3 {
    color: #00FF00;
    text-shadow: 1px 1px 0px #000000;
    font-size: 14px;
}

ul li {
    margin-bottom: 5px;
    color: #000080;
}

marquee {
    color: #FFFFFF;
    font-weight: bold;
    padding: 5px;
    font-size: 14px;
}

img {
    animation: spin 5s infinite linear;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Make blink work in modern browsers */
blink {
    animation: blink 1s infinite;
}

/* Add some sparkle effects */
body::before {
    content: "✨";
    position: fixed;
    top: 10px;
    left: 10px;
    font-size: 30px;
    animation: sparkle 2s infinite;
    z-index: 1000;
}

body::after {
    content: "⭐";
    position: fixed;
    top: 10px;
    right: 10px;
    font-size: 30px;
    animation: sparkle 2s infinite 1s;
    z-index: 1000;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.3; transform: scale(1.5) rotate(180deg); }
}