﻿/* Fondo animado tipo video */
.Background {
    height: 100vh;
    width: 100%;
    background: url('../imagen/LogoIglesia.jpeg'), linear-gradient(135deg, #000000, #111111);
    background-size: cover;
    background-attachment: fixed;
    animation: moverFondo 20s linear infinite;
    display: flex;
    flex-direction: column;
}

@keyframes moverFondo {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 1000px 1000px;
    }
}

/* Menú navegación */
.navbar {
    width: 100%;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
}

    .navbar .logo {
        font-size: 24px;
        font-weight: bold;
        color: #00bcd4;
    }

    .navbar ul {
        list-style: none;
        display: flex;
        gap: 30px;
    }

        .navbar ul li a {
            text-decoration: none;
            color: white;
            font-weight: 500;
            transition: 0.3s;
        }

            .navbar ul li a:hover {
                color: #ff1744;
                text-shadow: 0 0 8px #00bcd4;
            }

/* Hamburguesa responsive */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

    .hamburger span {
        height: 3px;
        width: 25px;
        background: white;
        margin: 4px;
        border-radius: 5px;
        transition: 0.3s;
    }

/* Contenedor cristal */
.Contenedor {
    margin: auto;
    padding: 40px;
    width: 350px;
    background: rgba(255,255,255,0.08);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    color: white;
}

/* Estilo títulos */
.h1 {
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: bold;
    color: #00bcd4;
}

/* Inputs con placeholder flotante */
.container {
    position: relative;
    margin-bottom: 25px;
    width: 100%;
}

.texto {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: none;
    border-bottom: 2px solid #00bcd4;
    color: black;
    font-size: 20px;
    outline: none;
}

.container label {
    position: absolute;
    top: 12px;
    left: 10px;
    color: #aaa;
    font-size: 14px;
    pointer-events: none;
    transition: 0.3s;
}

.texto:focus + label,
.texto:not(:placeholder-shown) + label {
    top: -8px;
    left: 0;
    font-size: 12px;
    color: #ff1744;
}

/* Botones */
.boton {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #00bcd4, #ff1744);
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

    .boton:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0,0,0,0.7);
    }

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        background: rgba(0,0,0,0.9);
        width: 200px;
        flex-direction: column;
        text-align: right;
        padding: 20px;
    }

        .nav-links.active {
            display: flex;
        }

    .hamburger {
        display: flex;
    }
}
