@import '../r/r.css';

/*------------ GENERAL ------------*/

    @keyframes loading {
        0% {
        transform: rotate(0deg);
        }
    
        100% {
        transform: rotate(360deg);
        }
    }

    img.anim-cargar {
        background: url('./img/cargando.svg');
        background-repeat: no-repeat;
        background-position: center;
        min-height: 100px;
        min-width: 100px;
    }

    .btn.btn-primary {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
        max-width: 200px;
        font-size: var(--size-texto);
        font-family: "poppins-medium";
        border-radius: 0.5rem;
        padding: 1.2rem;
    }

    body {
        position: relative;
        font-family:'poppins';
    }

    #content_pastores figure {
        display: flex;
        height: 100%;
        width: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        overflow: hidden;
    }
    

    .logo {
        max-height: 40px;
    }

    img {
        transition: all 0.5s ease-in-out;
        object-fit: cover;
        width: 100%;
    }


    a:visited {
        color: inherit;
    }

    span, p {
        user-select: none;
        font-family:'poppins';
    }

    .activo {
        opacity: 1;
    }

    .inactivo {
        opacity: 0;
    }

    .ver-blanco {
        color: var(--blanco-principal) !important;
    }

    .ver-negro {
        color: var(--negro-principal) !important;
    }

    .form-input-hint {
        display: none;
    }

    .max-ancho {
        width: 100%;
        display:block;
        margin: 0 auto; 
        padding: 0.5rem;
        max-width: 1440px
    }

    .modal-container {
        padding: 2rem;
    }

/*------------ TEXTOS ------------*/

    .titulo {
        font-family:'poppins-bold';
        font-weight: bold;
        font-size: var(--size-titulo);
    }

    .sub-titulo {
        font-family:'poppins-semibold';
        font-weight:700;
        font-size: var(--size-subtitulo);
    }

    .texto-general {
        font-size: var(--size-texto);
        margin: 0;
        text-align: justify;
        font-family:'poppins';
    }

    .content-text li {
        list-style-type: none;
    }


/*------------ Botones Fixed ------------*/

    #botonesFixed {
        position: fixed;
        z-index: 10;
        right: 0;
        bottom: 0;
        transform: translate(-1rem, -1rem);
    }

    #botonesFixed a {
        background-color: var(--blanco-principal);
        display: block;
        border-radius: 50%;
        padding: 0.3rem;
    }

    #botonesFixed a figure i {
        font-size: 1.5rem;
        transition: all 0.5s;
        color: var(--verde-principal);
    }



    #botonesFixed a:hover figure i {
        color: var(--azul-principal);
    }

/*------------ NAVEGADOR / HEADER ------------*/

    #nav_main {
        position: fixed;
        height: 10vh;
        max-height: 150px;
        min-height: 75px;
        background-color: #f6f6f6;
        width: 100%;
        padding: 0 2rem;
        display: flex;
        box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.3);
        z-index: 10;
    }

    #nav_content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        flex-direction: row;
        width: 100%;
        margin: 0 auto;
    }
    
    #cev_logo {
        transition: all 1s;
        transform: scale(1);
        filter: invert(1);
    }

    .contenedor_nav_logo:hover #cev_logo {
        transform: scale(1.2);
    }

    .contenedor_nav {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-evenly;
        align-items: center;
        width: -webkit-fill-available;
        max-width: 500px;
        height: 100%;
    }

    .item_nav {
        height: 100%;
        display: flex;
        align-items: center;
        transition: all 0.5s;
        box-shadow: 0px 0px 3px -3px transparent inset;
    }

    .item_nav .enlace_nav {
        transition: all 0.5s;
        height: 100%;
        display: flex;
        align-items: center;
    }    

    .item_nav .enlace_nav span {
        font-weight: bold;
        font-size: 0.75rem;
    }

    .item_nav:hover {
        
        box-shadow: 0px -5px 3px -3px var(--azul-secundario) inset;
    }

    .item_nav:hover .enlace_nav {
        color: var(--azul-secundario);
        transform: scale(1.1);
    }

    /* BOTON HAMBURGUESA*/

        #menu .contenedor_nav_logo {
            margin: 1rem 0;
        }

        #menuToggle
        {
            display: block;
            position: fixed;
            
            top: 1.5rem;
            left: 1.5rem;
            
            z-index: 100;
            
            -webkit-user-select: none;
            user-select: none;

            background-color: var(--blanco-principal);
            border-radius: 50%;
            padding: 0.75rem 0.5rem 0.5rem 0.55rem;
        }
        
        #menuToggle a
        {
        text-decoration: none;
            color: #232323;
            
            transition: color 0.3s ease;
        }
        
        #menuToggle a:hover
        {
            color: var(--azul-secundario);
        }
        
        
        #menuToggle input
        {
        display: block;
            width: 40px;
            height: 32px;
            position: absolute;
            top: -7px;
            left: -5px;
            
            cursor: pointer;
            
            opacity: 0; /* hide this */
            z-index: 2; /* and place it over the hamburger */
            
            -webkit-touch-callout: none;
        }
    
    /*
     * Just a quick hamburger
     */
        #menuToggle span
        {

            display: block;
            width: 33px;
            height: 4px;
            margin-bottom: 5px;
            position: relative;
            
            background: var(--negro-principal);
            border-radius: 3px;
            
            z-index: 1;
            
            transform-origin: 4px 0px;
            
            transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                        background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                        opacity 0.55s ease;
        }
        
        #menuToggle span:first-child
        {
            transform-origin: 0% 0%;
        }
        
        #menuToggle span:nth-last-child(2)
        {
            transform-origin: 0% 100%;
        }
        
        /* 
        * Transform all the slices of hamburger
        * into a crossmark.
        */
        #menuToggle input:checked ~ span
        {
            opacity: 1;
            transform: rotate(45deg) translate(-2px, -1px);
            background: #232323;
        }
        
        /*
        * But let's hide the middle one.
        */
        #menuToggle input:checked ~ span:nth-last-child(3)
        {
            opacity: 0;
            transform: rotate(0deg) scale(0.2, 0.2);
        }
        
        /*
        * Ohyeah and the last one should go the other direction
        */
        #menuToggle input:checked ~ span:nth-last-child(2)
        {
            transform: rotate(-45deg) translate(0, -1px);
        }
        
        /*
        * Make this absolute positioned
        * at the top left of the screen
        */

        #nav_hamburger {
            position: absolute;
            display: none;
        }

        #menu
        {
            transform: translate(-100%, 0);
            transform-origin: 0% 0%;
            margin: 0;
            padding-top: 125px;
            background: #ededed;
            list-style-type: none;
            transform-origin: 0% 0%;
            transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
            width: 100%;
            height: 100%;
            left: 0;
            position: fixed;
            display: flex;
            flex-direction: column;
            align-items: center;
            flex-wrap: nowrap;
            top: 0;
        }
        
        #menu li
        {
            padding: 0.5rem 0;
            font-size: 22px;
        }
        
        /*
        * And let's slide it in from the left
        */
        #menuToggle input:checked ~ ul
        {
            transform: none;
        }

/*------------ FOOTER ------------*/

    #footer_main {
        width: 100%;
        background-color: var(--azul-principal);
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 2rem;
    }


    #footer_main .footer_content {
        width: 100%;
        margin: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }

    .contenedor_foot {
        width: 40%;
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: center;
        align-items: center;
    }

    .cuadro-foot .texto, .cuadro-foot, .cuadro-ubicacion {
        color: var(--blanco-principal);
    }

    .separador-footer {
        width: 1px;
        background-color: var(--blanco-principal);
        height: 100%;
        min-height: 50px;
    }
    
    .titulo-foot {
        color: var(--blanco-principal);
        font-weight: 700;
    }

    .cuadro-foto-foot {
        border-radius: 0.5rem;
        overflow: hidden;
        height: auto;
        width: fit-content;
        float: left;
    }

    .cuadro-foto-foot a figure { 
        display: flex;
    }

    .foto-foot {
        height: 50px;
    }

    .cuadro-foot ul li { 
        cursor: pointer;
    }

    .cuadro-foot ul li:hover {
        font-weight: bold;
    }

    .cuadro-foot.contenedor_redes {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-content: flex-start;
        align-items: flex-start;
        justify-content: flex-start;
        margin-left: 2rem;
        
    }

    a.enlace-general.enlace-foot {
        color: #ffffff;
    }

    .cuadro-foot {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        align-content: flex-start;
        justify-content: flex-start;
        align-items: center;
        gap: 1rem;
        margin: .5rem 0;
    }

    .cuadro-ubicacion {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
        gap: 1rem;
        margin: .5rem 0;
    }

    .cuadro-ubicacion span {
        text-align: center;
    }

    img.icono-footer {
        height: 100%;
        width: 40px;
    }

    /* Swiper general */

    .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 1.2rem;
    }

    .swiper {
        height: 100%;
        padding: 1rem;
        display: flex;
        justify-content: center;
    }

    .item-swiper figure
    {
        max-width: 200px;
    }

    /* BANNER */
    #background_banner {
        position: relative;
        height: 40vw;
        overflow: hidden;
    }

    #background_banner figure {
        transform: translateY(-10vh);
    }

    .banner-completo figure {
        min-height: 300px;
        display: flex;
    }

    .banner-completo figure img {
        object-fit: cover;
    }