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

body {
    font-family: 'Open Sans', sans-serif;
    background: #e5e5e5;
    color: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Fondo con ondas y puntitos animados */
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: moveDots 15s linear infinite;
    z-index: 0;
}

.background::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.05), transparent 70%);
    animation: waves 12s linear infinite;
}

@keyframes waves {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes moveDots {
    from { background-position: 0 0; }
    to { background-position: 40px 40px; }
}

.container {
    text-align: center;
    z-index: 1;
    animation: fadeIn 2s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px; /* más cerca */
    min-height: 80vh;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.logo {
    max-width: 500px;
    width: 100%;
    height: auto;
    animation: fadeIn 2.5s ease;
}

.slogan {
    font-size: 1.4rem;
    text-align: center;
    animation: fadeInUp 3s ease;
    color: #333333;
    margin-top: -4cm; /* movemos el texto aún más arriba */
}

.contact {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1;
    animation: fadeIn 3.5s ease;
}

.contact a {
    text-decoration: none;
    color: #333333;
    font-size: 1rem;
}

.icon {
    color: #333333;
    font-size: 1.2rem;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .logo {
        max-width: 300px;
    }
    .slogan {
        font-size: 1.1rem;
        padding: 0 10px;
        margin-top: -2cm; /* ajuste proporcional en móviles */
    }
    .contact a {
        font-size: 0.9rem;
    }
}
