/* styles/style.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Altura mínima del viewport */
    background-color: white; /* Fondo blanco */
}

header {
    background-color: #ffffff;
    color: #fff;
    padding: 1em;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 1em;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}


main {
    flex: 1; /* Ocupa el espacio restante para empujar el footer hacia abajo */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

footer {
    background-color: #111;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    width: 100%;
    position: relative;
}

 .footer-links {
        text-align: center;
        font-family: Arial, sans-serif;
        font-size: 14px;
        color: #666;
    }

    .footer-links a {
        color: #666;
        text-decoration: none;
        margin: 0 15px;
        transition: color 0.3s ease-in-out, border-bottom 0.3s ease-in-out;
        padding-bottom: 2px;
    }

    .footer-links a:hover {
        color: #d5d2d2;
        border-bottom: 2px solid black;
    }




/* Estilo para el fondo opaco con desenfoque */
#loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 70%); /* Gradiente radial de blanco a transparente */
    backdrop-filter: blur(8px); /* Aplica desenfoque al fondo */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Estilo para el GIF centrado */
#loader img {
    width: 100px; /* Ajusta el tamaño del GIF */
    height: auto;

}

/* Estilos generales */
.custom-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:  #ffffff;
    padding: 20px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Logo centrado */
.logo-container {
    text-align: center;
    margin-bottom: 15px;
}

.logo {
    width: 150px;
    height: auto;
}

/* Menú principal */
.custom-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 20px;
}

.menu li {
    display: inline-block;
}

.menu a {
    text-decoration: none;
    color: #000;
    font-size: 18px;
    transition: 0.3s ease-in-out;
    padding: 8px 12px;
    border-radius: 5px;
}

.menu a:hover {
    background: #d9d9d9;
    color: #000;
    transform: scale(1.1);
}

/* Menú hamburguesa (oculto en desktop) */
.hamburger {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
}

@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
}

    .hamburger {
        display: block;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100%;
        background: #333;
        display: flex; /* ← Importante: Cambia esto para que se mantenga visible */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease-in-out;
    }

    .mobile-menu ul {
        list-style: none;
        padding: 0;
        text-align: center;
    }

    .mobile-menu li {
        margin: 20px 0;
    }

    .mobile-menu a {
        text-decoration: none;
        color: white;
        font-size: 20px;
        font-weight: bold;
        transition: 0.3s;
    }

    .mobile-menu a:hover {
        color: #ff6600;
    }

    /* Cuando el menú se activa */
    .mobile-menu.active {
        right: 0;
    }
    
    
    
    
    .detail{
        
       border: solid 1px;
    border-radius: 3px;
    padding: 20px;
    border-color: #c1bdbd;
    }
    
    
      /* Efecto hover moderno */
    .nav-link {
        position: relative;
        padding-bottom: 5px;
    }
    
    .nav-link::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 0;
        height: 2px;
        background-color: #007bff;
        transition: all 0.3s ease-in-out;
        transform: translateX(-50%);
    }

    .nav-link:hover::after {
        width: 100%;
    }
    
.separator {
            display: flex;
            align-items: center;
            text-align: center;
        }

        .separator::before,
        .separator::after {
            content: "";
            flex: 1;
            border-bottom: 2px solid black;
            margin: 5px;
        }

        .separator-text {
            padding: 0 10px;
            font-weight: bold;
        }

