@import url('https://fonts.googleapis.com/css2?family=Bitter&display=swap');
*, ::before, ::after
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

p 
{
    margin: 0;
}


::-webkit-scrollbar
{
    width: 9px;
}

::-webkit-scrollbar-track
{
    background-color: rgba(32, 32, 32, 0.2);
}

::-webkit-scrollbar-thumb
{
    border-radius: 20px;
    background: var(--color2);
    border: 1px solid #215488;
}

:root
{
    --color1: #19C3EF;
    --color2: #0D69C6;

    --pd-general: 50px 80px;

    --pd1: 25px 80px;

    --pd2: 25px 80px 50px 80px;

    --pd3: 50px 80px 25px 80px;


} 

.menu1 
{

}

.menu2
{
    display: none;
}

li::marker 
{
    color: var(--color2);
}

/* HEADER */
.header{
    background-color: var(--color2);
    font-family: 'Bitter', serif;
    top: 0;
    z-index: 100;
}
.navBar{
    padding: 0 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all .3s;
}
.left-nav{
    width: 100%;
}

.rigth-nav{
    width: 100%;
}

.rigth-nav ul{
    list-style: none;
    display: flex;
    justify-content: space-between;
    margin: 0;
}
.rigth-nav li{
    padding: 12px 20px;
    font-family: 'Bitter', serif;
    text-align: center;
}
.rigth-nav li a{
    text-decoration: none;
    color: white;
    position: relative;
    font-weight: bold;
}

.rigth-nav li a::before
{
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 10px;
    left: 0;
    right: 0;
    opacity: 0;
    bottom: -10px;
    margin: auto;
    transition: all .3s;
}

.rigth-nav li a:hover::before
{
    opacity: 1;
}

.fixed .rigth-nav li a:hover::before
{
    background: var(--color2);
}


.icon{
    color: #fff;
    font-size: 20px;
    transition: all .3s;
}

.icon:hover 
{
    color: var(--color1)
}

.top 
{
    background: var(--color2);
    border-bottom: 1px solid #0f5ca8;
    height: 40px;
}

.top a{
    color: white;
    font-size: 14px;
}

.top{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 50px;
}

.left-top{
    display: flex;
    gap: 40px;
    justify-content: space-between;
    
}

.rigth-top{
    
    width: 400px;
    display: flex;
    justify-content: space-between;
}

.social-button{
    display: flex;
}

.social-button a{
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-button a i 
{
    margin: 0 8px;
}

.rigth-nav li  .active 
{
    position: relative;
}

.rigth-nav li  .active::before
{
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #fff;
    opacity: 1;
    border-radius: 10px;
    left: 0;
    right: 0;
    bottom: -10px;
    margin: auto;
}


/****/
.btn1
{
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: .3s;
    color: var(--color2);
    z-index: 1;
}


.btn1::before, .btn1::after {
    content: '';
    display: block;
    width: 50px;
    height: 50px;
    transform: translate(-50%, -50%);
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    background-color: var(--color2);
    transition: 1s ease;
   }
   
   .btn1::before {
    top: -1em;
    left: -1em;
   }
   
   .btn1::after {
    left: calc(100% + 1em);
    top: calc(100% + 1em);
   }
   
   .btn1:hover::before, .btn1:hover::after {
    height: 410px;
    width: 410px;
   }
   
   .btn1:hover {
    color: #fff;
    text-decoration: none;
    border: 1px solid var(--color1);
   }
   
   .btn1:active {
    filter: brightness(.8);
   }


.active 
{
    position: relative;
}

.active::before
{
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 10px;
    left: 0;
    right: 0;
    bottom: -10px;
    margin: auto;
}


/********* FOOTER */
footer{
    background: rgb(13,105,198);
    background: linear-gradient(135deg, rgba(13,105,198,1) 37%, rgba(25,195,239,1) 100%);
    padding: 50px;
    padding-bottom: 0;
}

.secciones
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 40px;
}

.seccion
{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.link-start
{
    display: flex;
    align-items: center;
    justify-content: center;
}
.title-footer
{
    padding-bottom: 15px;
}

.title-footer h5 
{
    font-size: 18px;
    color: #fff;
    text-align: center;
    margin: 0;
    position: relative;
}

.title-footer h5::before
{
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    left: 0;
    right: 0;
    margin: auto;
    background: white;
    border-radius: 10px;
    bottom: -3px;
}

.info-footer ul
{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.info-footer a
{
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all .2s;
}

.info-footer a:hover 
{
    text-decoration: underline;
}

.firma 
{
    text-align: center;
    padding: 15px 0;
    color: #fff;
}

.info-footer ul li 
{
    text-align: center;
}

.sec-main
{
    gap: 20px;
}

.info-footer .social-media 
{
    gap: 20px;
    flex-direction: row;
}

.info-footer .social-media li a i
{
    font-size: 30px;
}

.firma
{
    border-top: 1px solid #2f80d1;
}

/***/
.navBar
{
    position: relative;
}

.btn-menu-main
{
    display: none;
}


.lg 
{
    display: none;
}

.fixed
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 1px 2px 5px 0px rgba(0,0,0,0.5);
    -webkit-box-shadow: 1px 2px 5px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 1px 2px 5px 0px rgba(0,0,0,0.5);
    z-index: 100;
}

.fixed .rigth-nav li a
{
    color: var(--color2);
}

.fixed .lg-white
{
    display: none;
}

.fixed .lg
{
    display: block;
}

.fixed .rigth-nav li .active::before
{
    background: var(--color2);
}


.fixed .btn-menu-main .menu1
{
    display: none;
}

.fixed .btn-menu-main .menu2
{
    display: block;
}

.lg-white
{
    transition: all .3s;
}

@media(max-width: 992px)
{
    .header
    {
        position: relative !important;
    }

    .secciones
    {
        grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
    }

    .btn-menu-main
    {
        display: block;
    }

    .rigth-nav
    {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 100;
        background: var(--color2);
        color: #fff;
        transform: translateX(-100%);
        transition: all .3s;
    }

    .fixed .rigth-nav
    {
        background: #fff;
    }

    .rigth-nav ul
    {
        flex-direction: column;
    }

    .navBar
    {
        padding: 0 50px;
    }

    .show2
    {
        transform: translateX(0);
        box-shadow: 1px 2px 5px 0px rgba(0,0,0,0.5);
        -webkit-box-shadow: 1px 2px 5px 0px rgba(0,0,0,0.5);
        -moz-box-shadow: 1px 2px 5px 0px rgba(0,0,0,0.5);
    }
}

@media(max-width: 768px)
{
    .top
    {
        flex-direction: column;
        height: 80px;
        gap: 20px;
        justify-content: center;
    }
}


@media(max-width: 576px)
{

    .banner-main
    {
        height: 30vh !important;
    }

    footer
    {
        padding: 50px 20px;
        padding-bottom: 0;
    }

    .firma p 
    {
        font-size: 13px;
    }

    .top
    {
        flex-direction: column;
        row-gap: 20px;
        height: 40px;
    }

    .social-button
    {
        justify-content: center;
    }

    .navBar
    {
        padding: 0 20px;
    }

    .rigth-top
    {
        flex-direction: column;
        gap: 10px;
        width: fit-content;
        display: none;
    }

    .lg-white, .lg
    {
        width: 230px;
    }

    .title-banner h1
    {
        font-size: 36px !important;
    }
    
}

@media(max-width: 360px)
{
    .secciones
    {
        grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
    }

    .lg-white, .lg
    {
        width: 180px;
    }
}

@media(max-width: 280px){
    .lg-white, .lg
    {
        width: 140px;
    }
}

.btn-wsp-container
{
    display:scroll;
    position:fixed;
    width: 100px;
    bottom: 40px;
    right: 0;
    z-index: 15;
}

.btn-wsp-container span
{
    background-color: #0CB757;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: shadow 2s linear infinite;
}

.btn-wsp-container span img 
{
    width: 40px;
}


@keyframes shadow{

    0% {
        box-shadow: 0 0 0 0 #0CB757, 0 0 0 0 #0CB757;
    }

    30% {
        box-shadow: 0 0 0 30px rgb(255, 110, 0, 0), 0 0 0 0 #0CB757;
    }

    65% {
        box-shadow: 0 0 0 30px rgb(255, 110, 0, 0), 0 0 0 50px rgb(255, 110, 0, .0);
    }

    100% {
        box-shadow: 0 0 0 0 rgb(255, 110, 0, 0), 0 0 0 50px rgb(255, 110, 0, .0);
    }
    
}