@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

:root{
    --color-texto: #2F3845;
    --color-texto-bold: #547A8F;

    --color-fondo-header: #FFF;
    --color-fondo-icono-header: #29B0A9;
    --color-fondo-icono-header-hover: #fc0003;
    --altura-header : 60px;

    --color-fondo-nav: #e8f9fa;
    --color-btn-menu: #29B0A9;
    --altura-nav : 70px;

    --color-fondo-resultados-en-linea: #ff006c;
    --color-texto-resultados-en-linea: #FFFFFF;

    --font-roboto: 'Roboto', sans-serif;
    --font-ubuntu: 'Ubuntu', sans-serif;

    --color-borde: #9dcfec;

    --opacidad-negro: 0.3;

    --padding-main: 40px 0;
}
@media(min-width: 768px){
    :root{
        --altura-header : 70px;
        --altura-nav : 90px;
        --padding-main: 50px 0;
    }
}

@media(min-width: 1024px){
    :root{
        --altura-header : 80px;
        --altura-nav : 100px;
        --padding-main: 60px 0;
    }
}
@media(min-width: 1200px){
    :root{
        --padding-main: 70px 0;
    }
}
@media(min-width: 1440px){
    :root{
        --padding-main: 80px 0;
    }
}
@media(min-width: 1990px){
    :root{
        --padding-main: 100px 0;
    }
}

/*** GENERALES ***/
*,
*:before,
*:after {
    box-sizing: inherit;
    padding: 0;
    margin: 0;
}

body, html {
    color: var(--color-texto);
    height: 100%;
    width: 100%;
}
html {
    box-sizing: border-box;
    font-size: 13px;
    overflow-x: hidden;
    font-family: var(--font-roboto);
}
a{
    text-decoration: none;
}

/*** Content Wrapper ***/
.content-wrapper{
    height: 100%;
    margin: 0 auto;
    width: 90%;
}
    @media(min-width: 768px){
        .content-wrapper{
            width: 85%;
        }
    }

    @media(min-width: 1440px){
        .content-wrapper{
            max-width: 1600px;
        }
    }

/*** Underline ***/
.underline {
    display: inline-block;
    position: relative;
    color: var(--color-fondo-resultados-en-linea);
}
    .underline::after {
        content: '';
        position: absolute;
        width: 4px;
        transform: scaleY(0);
        height: 100%;
        bottom: 0;
        left: 0;
        background-color: var(--color-fondo-resultados-en-linea);
        transform-origin: bottom right;
        transition: transform 0.25s ease-out;
    }
        .underline:hover::after {
            transform: scaleY(1);
            transform-origin: top left;
        }
    @media(min-width: 800px){
        .underline::after {
            width: 100%;
            transform: scaleX(0);
            height: 3px;
            bottom: -2px;
        }
        .underline:hover::after {
            transform: scaleX(1);
            transform-origin: bottom left;
        }
    }
.menu-activo{
    color: var(--color-fondo-resultados-en-linea) !important;
}
/*** Animación ***/
@keyframes show {
    from {
        opacity: 0;
        scale: 25%;
    }

    to {
        opacity: 1;
        scale: 100%;
    }
}

section {
    view-timeline-name: --image;
    view-timeline-axis: block;

    animation-timeline: --image;
    animation-name: show;

    animation-range: entry 25% cover 30%;
    animation-fill-mode: both;
}
/*** INICIO NO FOUND ***/
#nofound{
    position: relative;
    height: calc(100% - 200px);
    text-align: center;
    padding: 60px 0;
    width: 100%;
    background-image: url("../img/image2.jpg");
    background-size: cover;
    background-position: center;
}
#nofound img{
    width: 300px;
}
@media(min-width: 1200px){
    #nofound{
        height: calc(100% - 100px);
        /*padding-top: 80px;*/
    }
    #nofound img{
        width: 530px;
    }
}
/*** FIN NO FOUND ***/

/*** HEADER ***/
header{
    background-color: var(--color-fondo-header);
    height: var(--altura-header);
    width: 100%;
}
    .content-element-header{
        display: flex;
        justify-content: space-between;
        height: 100%;
        width: 100%;
    }
        .content-element-header-box{
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            width: auto;
            position: relative;
        }
            .element-header{
                display: flex;
                align-items: center;
                gap: 5px;
                width: inherit;
            }
                .icono-header{
                    background-color: var(--color-fondo-icono-header);
                    color: #FFFFFF;
                    border-radius: 50%;
                    height: 30px;
                    width: 30px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    font-size: 18px;
                    transition: background-color 0.7s ease;
                }
                    .icono-header:hover{
                        background-color: var(--color-fondo-icono-header-hover);
                        box-shadow: 0 0 3px 1px rgba(0,0,0,0.3);
                    }
                    .icon-whatsapp{
                        font-size: 20px;
                    }
                .texto-icono{
                    display: none;
                }
            .resultado-en-linea{
                background-color: var(--color-fondo-resultados-en-linea);
                border-radius: 16px;
                color: var(--color-texto-resultados-en-linea);
                cursor: pointer;
                font-family: var(--font-ubuntu);
                height: 30px;
                padding: 6px 10px;
                position: relative;
            }
                .resultado-en-linea:hover{
                    box-shadow: 0 0 3px 1px rgba(0,0,0,0.2);
                }
                .content-options-resultado-en-linea{
                    background-color: #FFF;
                    border-radius: 8px;
                    color: var(--color-texto);
                    position: absolute;
                    right: 0;
                    top: 95%;
                    z-index: 30;
                    box-shadow: -2px 2px 15px -4px rgba(20, 20, 20, 0.3);
                    width: 0;
                    height: 0;
                    opacity: 0;
                    overflow: hidden;
                    padding: unset;
                    transition: all 0.7s cubic-bezier(0.75, 1, 0.25, 1);
                }
                    .show-resultados-en-linea{
                        padding: 20px;
                        height: unset;
                        opacity: 1;
                        overflow: unset;
                        width: max-content;
                    }

                    .content-options-resultado-en-linea:before{
                        position: absolute;
                        content: "";
                        height: 10px;
                        width: 10px;
                        background-color: #FFF;
                        top: -5px;
                        right: 20px;
                        transform: rotate(45deg);
                        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
                    }
                        .resultado-en-linea-titulo{
                            font-family: var(--font-ubuntu);
                            font-size: 15px;
                        }
                        .content-options{
                            display: flex;
                            justify-content: space-between;
                            padding-top: 20px;
                        }
                            .content-options-element a{
                                display: flex;
                                flex-direction: column;
                                text-align: center;
                                gap: 5px;

                            }
                                .content-options-element a:hover .icono-option-resultado{
                                    background-color: var(--color-borde);
                                }
                                .content-options-element a:hover .icono-linea{
                                    color: #FFF;
                                }
                                .icono-option-resultado{
                                    border: thin solid var(--color-borde);
                                    border-radius: 50%;
                                    padding-top: 5px;
                                    height: 70px;
                                    width: 70px;
                                    transition: all 0.7s ease;
                                }
                                    .icono-linea{
                                        color: var(--color-borde);
                                        font-size: 50px;
                                    }
                                .titulo-option-resultado{
                                    color: var(--color-borde);
                                    font-family: var(--font-ubuntu);
                                    font-size: 14px;
                                }

    @media(min-width: 768px){
        .content-element-header-box{
            gap: 20px;
        }
            .element-header{
                gap: 8px;
            }
                .element-header:hover .icono-header{
                    background-color: #fc0003;
                }
                .icono-header{
                    height: 35px;
                    width: 35px;
                }
                .texto-icono{
                    color: var(--color-texto);
                    display: block;
                    font-family: var(--font-ubuntu);
                }
                    .texto-icono-caption{
                        font-size: 13px;
                        font-weight: 300;
                    }
                    .texto-icono-number{
                        color: var(--color-texto-bold);
                        font-size: 16px;
                        font-weight: 600;
                    }
            .resultado-en-linea{
                height: 35px;
                padding: 9px 15px;
            }
            .content-options-resultado-en-linea{
                padding: 20px 40px;
            }
                .resultado-en-linea-titulo{
                    font-size: 17px;
                }
    }

/*** NAV ***/
nav{
    background-color: var(--color-fondo-nav);
    height: var(--altura-nav);
    width: 100%;
    box-shadow: 0 4px 4px #00000026;
    z-index: 10;
}
    .sticky {
        position: fixed;
        top: 0;
        left: 0;
    }
    .sticky-main{
        margin-top: var(--altura-nav);
    }

    .content-element-nav{
        height: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        width: 100%;
    }
        .logo-nav{
            padding-top: 5px;
        }
            .logo-nav img{
                max-height: 55px;
            }
        #btn-menu{
            border: 2px solid var(--color-btn-menu);
            border-radius: 8px;
            cursor: pointer;
            height: 38px;
            padding: 0;
            transition: all 0.7s ease;
            width: 38px;
            z-index: 25;
        }
            @media(min-width: 1024px){
                #btn-menu{
                    display: none;
                }
                .resultados-en-linea{
                    position: relative;
                    left: unset;
                    transform: unset;
                }
            }
        .nav-bar{
            background-color: #FFFFFF;
            border-radius: 8px;
            position: absolute;
            right: -10px;
            top: 5px;
            box-shadow: -2px 2px 15px -4px rgba(20, 20, 20, 0.3);
            transition: all 0.7s cubic-bezier(0.75, 1, 0.25, 1);
            width: 0;
            height: 0;
            opacity: 0;
            overflow: hidden;
            z-index: 20;
        }
            .nav-bar.show-navbar{
                padding: 20px;
                height: unset;
                opacity: 1;
                overflow: unset;
                width: 105%;
            }
            .logo-nav-bar{
                border-bottom: thin solid #a9edea;
                padding-bottom: 20px;
            }
            .logo-nav-bar img{
                max-height: 35px;
            }
            @media(min-width: 1024px){
                .nav-bar{
                    background-color: unset;
                    border-radius: unset;
                    box-shadow: unset;
                    padding: 0;
                    position: unset;
                    width: 100%;
                    height: unset;
                    opacity: 1;
                }
                .logo-nav-bar{
                    display: none;
                }
            }
        .menu-bar{
            padding-top: 10px;
        }
        .menu-bar ul{
            margin: 0;
            padding: 0;
            list-style: none;
        }
            .menu-bar ul li{
                /*background-color: #0ff;*/
                padding: 8px 0;
            }
            .menu-bar ul li a{
                /*border: thin solid #0f0;*/
                color: var(--color-texto-bold);
                display: block;
                font-family: var(--font-ubuntu);
                font-size: 14px;
                font-weight: 500;
                padding: 5px 10px 5px 15px;
            }
            .btnBusquedaAnalisis{
                background-color: var(--color-btn-menu);
                border-radius: 16px;
                color: var(--color-texto-resultados-en-linea) !important;
                width: 120px;
                padding: 10px 0 !important;
                text-align: center;
                font-size: 14px !important;
                font-weight: 300 !important;
            }
            @media(min-width: 1024px){
                .menu-bar ul{
                    /*background-color: #30c70d;*/
                    display: flex;
                    justify-content: flex-end;
                    gap: 15px;
                }
                    .menu-bar ul li{
                        /*padding: 8px 0 8px 20px;*/
                    }
                        .menu-bar ul li a{
                            font-size: 15px;
                            padding: 10px 0;
                        }
            }
            @media(min-width: 1200px){
                .menu-bar ul li a{
                    font-size: 17px;
                }
            }
            @media(min-width: 1440px){
                .menu-bar ul li a{
                    font-size: 18px;
                }
            }
            @media(min-width: 1900px){
                .menu-bar ul li a{
                    font-size: 20px;
                }
            }
            /*** Inicio botón menú. ***/
            .hamburger-menu {
                /*margin: 0 auto;*/
                padding-left: 5px;
                width: 20px;
                height: 20px;
                cursor: pointer;
            }
            .hamburger-menu .bar,
            .hamburger-menu .bar:after,
            .hamburger-menu .bar:before {
                width: 25px;
                height: 4px;
            }
            .hamburger-menu .bar {
                position: relative;
                transform: translateY(15px);
                background: var(--color-btn-menu);
                transition: all 0ms 300ms;
            }
            .hamburger-menu .bar.animate {
                background: rgba(255, 255, 255, 0);
            }
            .hamburger-menu .bar:before {
                content: "";
                position: absolute;
                left: 0;
                bottom: 8px;
                background: var(--color-btn-menu);
                transition: bottom 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
            }
            .hamburger-menu .bar:after {
                content: "";
                position: absolute;
                left: 0;
                top: 8px;
                background: var(--color-btn-menu);
                transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
            }
            .hamburger-menu .bar.animate:after {
                top: 0;
                transform: rotate(45deg);
                transition: top 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
            }
            .hamburger-menu .bar.animate:before {
                bottom: 0;
                transform: rotate(-45deg);
                transition: bottom 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
            }
            /*** Fin botón menú. ***/

/*** MAIN ***/
main{
    width: 100%;
    z-index: 1;
}

/*** Footer ***/
#footer{
    padding: var(--padding-main);
    background-color: var(--color-fondo-nav);
    color: #FFFFFF;
    background-image: url("../img/imagefooter.png");
    background-size: cover;
    background-position: center;
}
    .contenedor-footer{
        display: flex;
        flex-direction: column;
    }
        .footer-elemento{
            /*border: thin solid #f0f;*/
            color: var(--color-texto-bold);
            padding: 20px 0;
        }
            .footer-elemento:first-child{
                padding-top: 0;
            }
            .footer-elemento:last-child{
                padding-bottom: 0;
            }
            .footer-elemento img{
                max-height: 50px;
            }
            .footer-redes-sociales{
                display: flex;
                gap: 10px;
                padding-top: 10px;
            }
            .footer-elemento-titulo{
                font-family: var(--font-ubuntu);
                font-size: 16px;
                padding-bottom: 10px;
                font-weight: 600;
            }
            .footer-elemento-contenedor-item{
                display: flex;
                flex-direction: column;
            }
                .footer-elemento-contenedor-item a{
                    color: var(--color-texto-bold);
                    padding: 5px 0;
                }
                .footer-elemento-contenedor-item a:hover{
                    color: #ff006c;
                }
                    .icono-footer{
                        font-size: 11px;
                        padding-right: 5px;
                    }
                    .item-footer{
                        font-size: 14px;
                    }


    @media(min-width: 768px){
        .contenedor-footer{
            flex-direction: row;
        }
        .footer-elemento{
            padding: 0;
            width: 33.33%;
        }
        .footer-elemento-titulo{
            font-size: 18px;
        }
    }
    @media(min-width: 1024px){
        .footer-elemento img{
            max-height: 70px;
        }
    }
    @media(min-width: 1200px){
        .footer-elemento-contenedor-item a{
            padding: 10px 0;
        }
        .footer-elemento-titulo{
            font-size: 22px;
            padding-bottom: 20px;
        }
        .icono-footer{
            font-size: 13px;
            padding-right: 5px;
        }
        .item-footer{
            font-size: 17px;
        }
        .item-footer{
            font-size: 15px;
        }
    }
    @media(min-width: 1400px){
        .footer-elemento-titulo{
            font-size: 26px;
        }
        .icono-footer{
            font-size: 15px;
            padding-right: 5px;
        }
        .item-footer{
            font-size: 20px;
        }

        .footer-elemento img{
            max-height: 80px;
        }
        .footer-redes-sociales{
            gap: 15px;
            padding-top: 20px;
        }
        .footer-elemento:first-child{
            width: 30%;
        }
        .footer-elemento:last-child{
            width: 44%;
        }
    }
    @media(min-width: 1900px){
        .footer-elemento:first-child{
            width: 33.3%;
        }
        .footer-elemento:last-child{
            width: 33.33%;
        }
    }

footer{
    background-color: #29B0A9;
    /*background-color: var(--color-fondo-resultados-en-linea);*/
    color: #FFFFFF;
    font-family: var(--font-ubuntu);
    font-size: 12px;
    font-weight: 300;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
}
    @media(min-width: 768px){
        footer{
            padding: 10px 8%;
            font-weight: 400;
            font-size: 13px;
        }
    }