/* =========================
   ESTILOS GENERALES
========================= */

body {
    background-color: #000000;
    color: #e5e2e1;
}

img {
    image-rendering: auto;
}

/* Selección de texto */
::selection {
    background-color: #00FFEF;
    color: #000000;
}

/* =========================
   ICONOS MATERIAL SYMBOLS
========================= */

.material-symbols-outlined {
    font-variation-settings:
            'FILL' 0,
            'wght' 400,
            'GRAD' 0,
            'opsz' 24;
}

/* =========================
   EFECTOS Y UTILIDADES
========================= */

.glow-hover:hover {
    box-shadow: 0 0 20px rgba(0, 255, 239, 0.3);
}

.turq-border {
    border: 1px solid #00FFEF;
}

.silver-border {
    border: 1px solid rgba(192, 192, 192, 0.2);
}

.glass-nav {
    background: rgba(19, 19, 19, 0.8);
    backdrop-filter: blur(12px);
}

/* =========================
   FORMULARIOS
========================= */

input:focus,
textarea:focus {
    outline: none;
    border-bottom-color: #00FFEF !important;
    border-bottom-width: 2px !important;
}

/* =========================
   BOTÓN VOLVER ARRIBA
========================= */

#backToTop {
    z-index: 1000;
}
@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin-slow {
    animation: spinSlow 20s linear infinite;
}
/* Animación entrada perfil */

.profile-img {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease;
}

.profile-img.active {
    opacity: 1;
    transform: scale(1);
}
/* =========================
   MENÚ MÓVIL ANIMADO
========================= */

#mobileMenu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: all 0.3s ease;
}

#mobileMenu.menu-open {
    max-height: 400px;
    opacity: 1;
    transform: translateY(0);
}
.success {
    box-shadow: 0 0 20px rgba(0, 255, 239, 0.2);
}

.error {
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
}
#notification {
    opacity: 0;
    transform: translate(-50%, -10px);
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}
/* Notificación animada */

#notification {
    opacity: 0;
    transform: translate(-50%, -10px);
    animation: fadeInOut 5s ease forwards;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -10px);
    }
    10% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    90% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -10px);
    }
}
