/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #111;
    color: #fff;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Contenedor principal */
.container {
    flex: 1;
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background: #222;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    30% { transform: scale(1.1); }
    60% { transform: scale(1); }
    100% { transform: scale(1); }
}

.fade-in {
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    color: #00aaff; /* Azul eléctrico */
    animation: heartbeat 1.5s infinite ease-in-out;
}


.description {
    font-size: 1.1em; 
    line-height: 1.6; 
    text-align: justify; 
    margin: 20px auto; 
    max-width: 800px; 
    padding: 10px; 
}

/* Botones */
.buttons {
    text-align: center;
    margin-top: 20px;
}

.btn {
    display: inline-block;
    background: #e50914;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 1em;
    border-radius: 5px;
    margin: 5px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #ff3333;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background: #333;
    color: white;
    padding: 20px;
    margin: 15% auto;
    width: 50%;
    border-radius: 10px;
    text-align: center;
}

/* Cerrar modal */
.close {
    color: white;
    float: right;
    font-size: 1.5em;
    cursor: pointer;
}

.close:hover {
    color: #e50914;
}


/* Íconos superiores */
#top-icons {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
}

#toggle-theme, #close-page {
    cursor: pointer;
    font-size: 1.5em;
    background: #e50914;
    padding: 5px 10px;
    border-radius: 50%;
    transition: background 0.3s, transform 0.2s;
}

#toggle-theme:hover, #close-page:hover {
    background: #ff5733;
    transform: rotate(180deg);
}

/* Modo claro */
.light-mode {
    background-color: #f8f8f8;
    color: #222;
}

.light-mode .container {
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.light-mode #toggle-theme, 
.light-mode #close-page {
    background: #ff5733;
}

.light-mode #toggle-theme:hover, 
.light-mode #close-page:hover {
    background: #e50914;
}


/* Footer */
.footer {
    margin-top: auto;
    padding: 20px;
    background: #000;
    color: white;
    text-align: center;
}

/* Redes sociales ****/
.social-icons {
    display: inline-flex;
    margin-bottom: 10px;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8ii);
    animation: fadeInScale 0.8s ease-out forwards 0.5s;
}

.social-icons a {
    margin: 0 10px;
    display: inline-block;
    font-size: 20px;
}

.social-icons img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2);
}

/* Copyright pegado al final */
/* Copyright */
.footer .copyright {
    font-size: 0.8em;
    color: #666;
    margin-top: 10px;
}
/* Sección de Copyright con color en modo claro */
.light-mode .footer {
    background: #ddd;
    color: #222;
}


/* Animaciones */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}