:root{
    /*--dark_blue: #393185;
    --hover_blue: #4176cb;
    --lik_blue: #3D31A8;
    */

    --dark_blue: #0B3142;
    --light_blue: #5DB7DE;
    --icon_blue: #C1EBF6;
    --hover_color: #ECFFB0;
    --hover_color: #FAFFD8;

}

* {
    font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    margin: 0;
    background-color: var(--light_blue);
}

.top-header {
    position: sticky;
    top: 0;

    display: flex; 
    justify-content: space-evenly;
    width: 100%;
    background: var(--dark_blue);

    border-bottom: solid 1px var(--light_blue);
    z-index: 1;
}

.logo {
    height: 100px;
}

.navbar {

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex: auto;
    justify-content: flex-end;
    align-items: center;
    gap: 2%;

    .navlink {        
        color: var(--light_blue);
        padding: 0 2rem;
        
        cursor: pointer;
        text-decoration: none;
        transition: color 400ms ease-in,
                    scale 800ms ease-out;

        font-size: 1.4em;
        scale: 1;

        &:hover {
            color: var(--hover_color);
            scale: 1.1;
        }
    }
}

.modal-contacto {

    width: 50%;
    inset: 0;
    margin: auto;

    text-align: center;
    font-size: 1rem;

    border-radius: 20px;
    border-color: black;

    background-color: var(--dark_blue);
    color: var(--light_blue);

    .cerrar {        
        padding: 1px 6px;
    }

    .redes{
        color: var(--light_blue);
    }
}

.introduccion {
    background-color: var(--light_blue);
    color: var(--dark_blue);


    display:flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    text-align: center;

    .carrusel {

        width: 50vw;
        overflow: hidden;
        margin: 20px 0;

        .imagenes-carrusel {
            padding: 0;

            display: flex;
            width: 500%;
                
            animation: slide 20s infinite alternate ease-in-out;
        
        }        

        .elemento-carrusel {
            list-style: none;
            width: 100%;
        }

        .imagen-carrusel {
            width: 100%;
            aspect-ratio: 1122/869;            
        }
    }

    .descripcion {
       
        width: 600px;
        line-height: 30px;
        padding: 20px 10px;

        .titulo-descripcion {
            font-size: 1.6em;
        }

        .informacion {            
            padding: 16px 0;
            font-size: 1.3em;
            margin: 20px 20px;
        }
    }
}

@keyframes slide {
    16% {margin-left: 0;}

    21% {margin-left: -100%;}
    37% {margin-left: -100%;}
    
    42% {margin-left: -200%;}
    58% {margin-left: -200%;}

    63% {margin-left: -300%;}
    79% {margin-left: -300%;}

    84% {margin-left: -400%}
    100% {margin-left: -400%}
}

@media (width <= 500px){
    .introduccion {
        .carrusel {
            width: 600px;
        }
    }
}

@media (width <= 604px) {
    .top-header .navbar {
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
    }
}

.boton {
    cursor: pointer;
    text-decoration: none;
    
    color: var(--light_blue);
    background-color: var(--dark_blue);

    padding: 10px;
    font-size: 1.1rem;

    
    border-radius: 5px;

    scale: 1;

    transition: color 0.4s ease;
    
}

.boton:hover {
    color: var(--hover_color);
}

.caracteristicas {

    text-align: center;
    background-color: var(--light_blue);

    .titulo-seccion {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: var(--dark_blue);
        color: var(--icon_blue);

        font-size: 1.5em;

        width: 100%;
        height: 100px;
        

    }

    .container-caracteristicas{

        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        align-items: baseline;

        padding: 10px 0 40px 0;
        background-color: var(--dark_blue);
        color: var(--icon_blue);

        .caracteristica {
            position: relative;
            width: 200px;
            line-height: 30px;
        }
    }
}

@media (width <= 751px) {
    .caracteristicas .titulo-seccion{
        font-size: 1.2em;
    }
}
.section-marquee {    

    width: 100%;
    overflow: hidden;

    position:relative;

    .marquee {

        
        display: flex;
    
        width: 100%;
    
        animation: marquee 15s infinite linear;
    
        .imagenes-marquee {
            width: 35%;
            height: auto;

        }

        .religiosos{
            width: 25%;
            height: auto;
        }
    }

    .fondo-marquee {
        position: absolute;
        top: 0;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        width: 100%;
        height: 100%;

        background-color: rgb(0 0 0 / 60%);
        color: var(--icon_blue);

        .titulo-marquee {
            font-size: 5vw;
        }
    }
}


@keyframes marquee {
    0% {
        transform: translateX(0px);
    }

    100% {
        transform: translateX(-235.5%);
    }

}

.bottom-footer {
    display: flex;
    justify-content: space-between;

    padding: 20px 20px;
    background-color: var(--dark_blue);
    color: var(--light_blue);
    
    .copyright {
        line-height: 20px;
    }

    .contacto {
        text-align: center;

        .redes {
            display: flex;
            justify-content: center;
            gap: 10px;
        }
    }

}

.link {
    text-decoration: none;
    color: var(--light_blue);

    transition: color 0.4s ease;
}

.icono {
    width: 35px;
    height: auto;

    scale: 1;

    &:hover {
        scale: 1.1;
    }
}

.seleccion {
    text-align: center;
    font-size: 3vw;
}

.categorias {

    margin: 20px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;

    .categoria {     
        position: relative;

        display: flex;
        justify-content: center;
        align-items: center;
        
        border-radius: 10px;

        scale: 1;

        transition: scale .5s ease;
        
        &:hover {
            scale: 1.05;
        }


        .imagen-categoria {
            width: 100%;

            border-radius: 10px;
        }

        .difuminado {
            position: absolute;
            inset: 0;
        
            display: flex;
            justify-content: center;
            align-items: center;
        
            background-image: linear-gradient(
                rgb(93 183 222/ 80%),
                rgb(11 49 66/ 80%)
            );
            
            border-radius: 10px;
        }

        .titulo-categoria {
            font-size: 5vw;
        }
        
    }

    .link {
        color: snow;
    }
}

.link:hover {
    color: var(--hover_color);
}

.catalogo {
    margin: 30px;
    display: grid;
    justify-content: center;
    justify-items: center;    
    grid-template-columns: repeat(auto-fill, minmax(290px, 0.5fr));
    gap: 30px 10px;

}

.item-catalogo {
    display: flex;
    flex: auto;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    width: 320px;
    border: 0.2rem solid var(--dark_blue);
    border-radius: 10px;
    box-sizing: border-box;

    .imagen-producto {
        width: 80%;
        height: auto;
        aspect-ratio: 1084/1479;

        scale: 1;

        transition: scale 500ms ease-out;

        &:hover {
            scale: 1.1;
        }
    }    

    .imagen-cuadrada {
        width: 80%;
        height: 50%;
    }

    .tipo-producto {
        display: block;
        width: 80%;
    }
}