/* Header */
@font-face {
    font-family: 'Gotham Book Regular';
    src: url(./font/Gotham\ Book\ Regular.otf);
}
@font-face {
    font-family: 'Gotham Light Regular';
    src: url(./font/Gotham\ Light\ Regular.otf);
}
@font-face {
    font-family: 'Gotham Black';
    src: url(./font/Gotham-Black.otf);
}
@font-face {
    font-family: 'Gotham Black Italic';
    src: url(./font/Gotham-BlackIta.otf);
}
@font-face {
    font-family: 'Gotham Bold';
    src: url(./font/Gotham-Bold.otf);
}
@font-face {
    font-family: 'Gotham Book';
    src: url(./font/Gotham-Book.otf);
}
@font-face {
    font-family: 'Gotham Book Italic';
    src: url(./font/Gotham-BookIta.otf);
}
@font-face {
    font-family: 'Gotham Medium';
    src: url(./font/Gotham-Medium.otf);
}
@font-face {
    font-family: 'Gotham Thin';
    src: url(./font/Gotham-Thin.otf);
}
@font-face {
    font-family: 'Gotham Thin Italic';
    src: url(./font/Gotham-ThinIta.otf);
}
@font-face {
    font-family: 'Gotham Ultra';
    src: url(./font/Gotham-Ultra.otf);
}
@font-face {
    font-family: 'Gotham Ultra Italic';
    src: url(./font/Gotham-UltraIta.otf);
}
@font-face {
    font-family: 'Gotham XLight';
    src: url(./font/Gotham-XLight.otf);
}
@font-face {
    font-family: 'Gotham XLight Italic';
    src: url(./font/Gotham-XLightIta.otf);
}

body{
    padding: 0;
    margin: 0;
}

header{
    margin: 0 auto;
    display: flex;
    width: 95%;
    justify-content: space-between;
    height: 12vh;
}

@media screen and (max-width: 768px){
    header{
        margin: 0 auto;
        display: flex;
        width: 95%;
        justify-content: space-between;
        align-items: center;
        height: 8vh;
    }
}

.logo{
    padding: 15px 40px;
    -webkit-box-shadow: inset 25px 0px 15px -25px rgba(0, 0, 0, 0.45), inset -25px 0px 15px -25px rgba(0, 0, 0, 0.45);
    -moz-box-shadow: inset 25px 0px 15px -25px rgba(0, 0, 0, 0.45), inset -25px 0px 15px -25px rgba(0, 0, 0, 0.45);
    box-shadow: inset 25px 0px 15px -25px rgba(0, 0, 0, 0.45), inset -25px 0px 15px -25px rgba(0, 0, 0, 0.45);
}

@media screen and (max-width: 768px){
    .logo{
        padding: 0;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        width: 50%;
    }
}

.logo img{
    height: 100%;
    max-height: 53px;
    width: 100%;
    max-width: 312px;
}

@media screen and (max-width: 768px){
    .logo img{
        height: 100%;
        width: 100%;
    }
}

.links{
    display: flex;
    align-items: center;
}

@media screen and (max-width: 768px){
    /* html, body {
        position:relative;
        overflow-x:hidden;
        overflow-y: hidden;
    } */

    .links{
        position: absolute;
        right: 0;
        height: 93vh;
        top: 7vh;
        align-items: start;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        background-color: white;
        z-index: 40;
    }

    header{
        z-index: 18;
    }
}

.links ul{
    display: flex;
    align-items: center;
    list-style: none;
    color: #707070;
    font-size: 15px;
    margin: 0;
    height: 100%;
}

@media screen and (max-width: 768px){
    .links ul{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        height: 80%;
        padding: 0;
        margin: 0 auto;
    }
}

li{
    font-family: 'Gotham Medium';
    margin-right: 31px;
    transition: all 0.2s ease-in-out;
}

@media screen and (max-width: 768px){
    .links ul li{
        opacity: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 0;
        height: 16.66%;
    }
}

li:hover{
    transform: scale(1.1);
}

li:last-of-type{
    font-family: 'Gotham Bold';
    display: flex;
    align-items: center;
    background-color: #243E84;
    color: white;
    height: 100%;
    margin-right: 0;
    text-align: center;
    word-wrap: break-word;
    padding: 0 36px;
}

@media screen and (max-width: 768px){
    li:last-of-type{
        font-family: 'Gotham Bold';
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #243E84;
        color: white;
        height: 16.66%;
        margin-right: 0;
        text-align: center;
        word-wrap: break-word;
        padding: 0 18px;
    }
}

.links a:last-of-type{
    border-bottom: solid 3px white;
    max-width: 97px;
}

a{
    margin: 0;
    color: inherit;
    text-decoration: none;
}

main{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    background-image: url(./images/background.png);
    background-size: cover;
}

.form{
    text-align: center;
}

@media screen and (max-width: 768px){
    .form{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

h1{
    margin: 0 auto;
    margin-top: 30px;
    color: white;
    font-size: 65px;
    font-family: 'Gotham Bold';
    transition: all .5s ease-in-out;
}

@media screen and (max-width: 768px){
    h1{
        margin-top: 10px;
        font-size: 46px;
    }
}

h2{
    margin: 0;
    color: white;
    font-size: 20px;
    font-family: 'Gotham Book';
    font-weight: 100;
    transition: all .7s ease-in-out;
}

@media screen and (max-width: 768px){
    h2{
        font-size: 18px;
    }
}


.container:last-of-type{
    opacity: 0;
    background-color: white;
    border-radius: 20px;
    text-align: center;
    padding: 36px 0px;
    margin-top: 50px;
    margin-bottom: 50px;
    padding-bottom: 26px;
    transform: translateX(20%);
    transition: all 1s ease-in-out;
}


.container{
    background-color: white;
    border-radius: 20px;
    text-align: center;
    padding: 36px 70px;
    margin-top: 16px;
    margin-bottom: 30px;
    transition: all 1s ease-in-out;
}

@media screen and (max-width: 768px){
    .container{
        padding: 17px 20px;
        margin-top: 24px;
        margin-bottom: 55px;
        max-width: 85%;
    }

    .container:last-of-type{
        background-color: white;
        border-radius: 20px;
        text-align: center;
        padding: 36px 0px;
        margin-top: 33px;
        margin-bottom: 90px;
        padding-bottom: 26px;
        max-width: 95%;
    }
}

h4{
    color: #707070;
    font-size: 14px;
    margin: 0;
    font-family: 'Gotham Medium';
    margin: 28px 0 10px;
}

@media screen and (max-width: 768px){
    h4{
        color: #707070;
        font-size: 16px;
        margin: 0;
        font-family: 'Gotham Medium';
        margin: 20px 0 10px;
    }
}

h4:first-of-type{
    margin: 0 10px;
}

.sectores{
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 768px){
    .sectores{
        margin-top: 10px;
        display: flex;
        justify-content: center;
    }
}

.sector{
    margin-right: 58px;
    transition: all .2s ease-in-out;

}

@media screen and (max-width: 768px){
    .sector{
        margin-right: 25px;
        transition: all .2s ease-in-out;
    }
}

.sector:hover{
    cursor: pointer;
    transform: scale(1.1);
}

.sector:last-of-type{
    margin-right: 0;
}

.sector img{
    max-height: 100px;
}

h3{
    color: #243E84;
    font-size: 14px;
    margin: 0;
    font-family: 'Gotham Medium';
}

.pago{
    display: flex;
    align-items: center;
}

.slider {
    -webkit-appearance: none;
    background: linear-gradient(to right, green, yellow, red);
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    border-radius: 15px;
    height: 15px;
  }

.slider:hover {
opacity: 1;
}

.slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 19px;
height: 19px;
border-radius: 50%;
background: #243E84;
cursor: pointer;
}

input[type=range] {
    -webkit-appearance: none;
    margin: 20px 10px;
    width: 100%;
}
input[type=range]:focus {
    outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    animate: 0.2s;
    border-radius: 25px;
}

input[type=range]::-moz-range-thumb {
    width: 100%;
    height: 4px;
    cursor: pointer;
    animate: 0.2s;
    border-radius: 25px;
}

input[type=range]::-webkit-slider-thumb {
    height: 19px;
    width: 19px;
    border-radius: 50%;
    background: #243E84;
    box-shadow: 0 0 4px 0 rgba(0,0,0, 1);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -8px;
}

input[type=range]::-moz-range-thumb{
    height: 19px;
    width: 19px;
    border-radius: 50%;
    background: #243E84;
    box-shadow: 0 0 4px 0 rgba(0,0,0, 1);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -8px;
}

.range-wrap{
    width: 100%;
    max-width: 600px;
    position: relative;
    margin: 0 auto;
    display: flex;
}

.min, .max{
    font-size: 20px;
    color: #243E84;
    font-family: 'Gotham Book';
}

@media screen and (max-width: 768px){
    .min, .max{
        display: none;
    }
}

.range-value{
    position: absolute;
    top: -10%;
}
.range-value span{
    height: 20px;
    line-height: 24px;
    text-align: center;
    color:#243E84;
    font-size: 14px;
    font-family: 'Gotham Book';
    display: block;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    border-radius: 6px;
}

.container p{
    font-size: 10px;
    color: #707070;
    font-family: 'Gotham Book';
    text-align: left;
    max-width: 600px;
}

@media screen and (max-width: 768px){
    .container p{
        font-size: 13px;
        color: #707070;
        font-family: 'Gotham Book';
        text-align: center;
        max-width: 600px;
    }
    .container p br{
        display: none;
    }
}

.comment{
    display: flex;
    justify-content: center;
}

button{
    border: none;
    background-color: #243E84;
    color: white;
    border-radius: 20px;
    font-size: 16px;
    padding: 10px 17px;
    text-transform: uppercase;
    font-family: 'Gotham Bold';
    margin: 20px 0 0; 
    cursor: pointer;
    transition: all .2s ease-in-out;
}

@media screen and (max-width: 768px){
    button{
        margin: 10px 0 0;
    }
}

button:hover{
    transform: scale(.95);
}

button:focus{
    outline: none;
}

.hidden{
    display: none;
}

h5{
    font-family: 'Gotham Bold';
    font-size: 18px;
    color: #243E84;
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 14px;
}

.primer-renglon{
    margin: 0 auto;
    margin-bottom: 4px;
    background-color: #F6F6F6;
    border-radius: 15px;
    height: 23px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 532px;
}

.primer-renglon a{
    height: 100%;
}

.primer-renglon a img{
    height: 100%;
    transition: all 0.2s ease-in-out;
}

.primer-renglon a img:hover{
    height: 100%;
    transform: scale(1.1);
    cursor: pointer;
}

.primer-renglon a img.editimg:last-of-type{
    display: none;
    height: 100%;
    transition: all 0.2s ease-in-out;
}

@media screen and (max-width: 768px){
    .primer-renglon{
        margin: 0 auto;
        margin-bottom: 4px;
        background-color: #F6F6F6;
        border-radius: 15px;
        height: 23px;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        width: 80%;
    }

    .primer-renglon a img:first-of-type{
        display: none;
        height: 100%;
        transition: all 0.2s ease-in-out;
    }

    .primer-renglon a img.editimg:last-of-type{
        display: block;
        height: 100%;
        transition: all 0.2s ease-in-out;
    }
}

.renglon{
    margin-bottom: 4px;
    background-color: #F6F6F6;
    border-radius: 15px;
    height: 23px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.renglon :first-of-type{
    margin-bottom: 0;
    width: 50%;
    
}

.renglon :last-of-type{
    margin-bottom: 0;
    width: 50%;
}

.container p.ex{
    font-size: 14px;
    color:#707070;
    font-family: 'Gotham Medium';
    text-align: center;
    width: fit-content;
    margin: 0;
}

.container p.ex span{
    font-family: 'Gotham Bold';
    font-size: 13px;
    color: #243E84;
}

.tabla{
    width: 310px;
}

.tabla .tabla-header{
    display: flex;
    justify-content: space-evenly;
}

.tabla-header p{
    font-size: 13px;
    font-family: 'Gotham Medium';
    color: #243E84;
    margin: 0;
}

.tabla img{
    width: 120px;
    height: 21px;
}

.tabla-hr{
    border: 2px solid #243E84;
    opacity: 1;
}

.renglon .años{
    color: #707070;
    font-family: 'Gotham Medium';
    font-size: 15px;
    width: fit-content;
    margin: 0;
}

.renglon .cantidad{
    font-size: 14px;
    font-family: 'Gotham Bold';
    color: #243E84;
    width: fit-content;
    margin: 0;
}

.renglon .cantidad .mxn{
    font-size: 8px;
    font-family: 'Gotham Book';
    color: #243E84;
}

.container-tabla-grafica{
    display: flex;
    align-items: center;
    margin: 0 100px;
    margin-top: 24px;
}

@media screen and (max-width: 768px){
    .container-tabla-grafica{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 20px;
        margin-top: 24px;
    }
}

.grafica{
    background-image: url(./images/grafica.png);
    background-size: contain;
    height: 166px;
    width: 465px;
    margin-left: 30px;
}

.logos{
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 9px;
}

.logos img:first-of-type{
    height: 25px;
    width: 29px;
    margin-right: 22px;
}

.logos img:last-of-type{
    height: 23px;
    width: 65px;
    margin-left: 22px;
}

.logos img{
    display: none;
}

@media screen and (max-width: 768px){
    .grafica{
        background-image: url(./images/inversion.png);
        background-size: contain;
        background-repeat: no-repeat;
        width: 265px;
        margin: 0 auto;
    }
    .logos img{
        display: block;
    }
}

.shadow-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    box-shadow: 0px 5px 10px #00000014;
    width: 100%;
    padding-bottom: 10px;
}

.shadow-section .gray-text{
    color:#707070;
    font-size: 14px;
    font-family: 'Gotham Book';
    margin: 0;
}

@media screen and (max-width: 768px){
    .shadow-section .gray-text{
        width: 65%;
    }
}

.shadow-section .blue-one{
    color:#243E84;
    font-size: 18px;
    font-family: 'Gotham Bold';
    margin: 0;
}

@media screen and (max-width: 768px){
    .shadow-section .blue-one{
        width: 65%;
    }
}

.last-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 26px;
    width: 100%;
    padding-bottom: 10px;
}

.last-section .blue-two{
    text-transform: uppercase;
    color:#243E84;
    font-size: 14px;
    font-family: 'Gotham Book';
    margin: 0;
}

@media screen and (max-width: 768px){
    .last-section .blue-two{
        width: 65%;
    }
}

.last-section .blue-three{
    text-transform: uppercase;
    color:#243E84;
    font-size: 25px;
    font-family: 'Gotham Bold';
    margin: 0;
}

@media screen and (max-width: 768px){
    .last-section .blue-three{
        width: 65%;
    }    
}

.last-section .gray-text{
    text-align: center;
    color:#707070;
    font-size: 14px;
    font-family: 'Gotham Book';
    margin: 0;
    margin-top: 5px;
    margin-bottom: 10px;
    max-width: 616px;
}

@media screen and (max-width: 768px){
    .last-section .gray-text{
        width: 80%;
    }
}

.last-section img{
    height: 48px;
    width: 48px;
    margin-right: 13px;
}

.last-section a img.whatsapp{
    height: 100%;
    width: 100%;
    max-height: 60px;
    max-width: 237px;
    margin-right: 0;
}

.last-section img:last-of-type{
    margin-right: 0;
}

footer{
    padding: 15px 40px;
    display: flex;
}

@media screen and (max-width: 768px){
    footer{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 15px 40px;
    }
}

footer .logo-footer{
    height: 100%;
}

@media screen and (max-width: 768px){
    footer .logo-footer{
        display: flex;
        justify-content: center;
        width: 90%;
    }
}

footer .footer-logo{
    height: 100%;
    max-height: 53px;
    width: 100%;
    max-width: 312px;
}

footer .privacy{
    display: flex;
    width: 60%;
    color: #003172;
    font-size: 25px;
    font-family: 'Gotham Medium';
    align-items: center;
    margin-left: 50px;
    justify-content: center;
}

@media screen and (max-width: 768px){
    .ofy-unset{
        overflow-y: hidden;
    }
}

@media screen and (max-width: 768px){
    footer .privacy{
        display: flex;
        width: 100%;
        color: #707070;
        font-family: 'Gotham Medium';
        align-items: center;
        margin: 0;
        margin-top: 25px;
        margin-bottom: 25px;
        justify-content: center;
    }
}

footer .social{
    display: flex;
    width: 20%;
    align-items: center;
    margin-left: 50px;
}

@media screen and (max-width: 768px){
    footer .social{
        display: flex;
        width: 100%;
        align-items: center;
        margin-left: 0;
        justify-content: center;
    }
}

.last-section img {
    max-width: 52px;
    max-height: 52px;
    margin-left: 9px;
    transition: all 0.2s ease-in-out;
}

.last-section img:hover {
    transform: scale(1.1);
    cursor:pointer;
}

.social img {
    max-width: 52px;
    max-height: 52px;
    margin-left: 9px;
    transition: all 0.2s ease-in-out;
}

.social img:hover {
    transform: scale(1.1);
    cursor:pointer;
}

.dimmer{
    display: none;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    top: 8vh;
    width: 100vw;
    height: 100vh;
    z-index: 10;
    transition: opacity 600ms, visibility 600ms;
}

@media screen and (max-width: 768px){
    .dimmer{
        display: initial;
        visibility: hidden;
        opacity: 0;
        position: absolute;
        background-color: rgba(0, 0, 0, 0.8);
        top: 8vh;
        width: 100vw;
        height: 100vh;
        z-index: 10;
        transition: opacity 600ms, visibility 600ms;
    }
}

.dimmer-oculto{
    visibility: visible;
    opacity: 1;
}

.burger{
    display: none;
}

@media screen and (max-width: 768px){
    .burger{
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .nav .menu{
        display: block;
    }
}

.nav div .half:first-of-type{
    display: flex;
    justify-content: start;
    width: 50%;
}

.nav div .half:last-of-type{
    display: flex;
    justify-content: flex-end;
    width: 50%;
}
@media screen and (max-width: 768px){
    html, body {
        position:relative;
        overflow-x:hidden;
        /* overflow-y: hidden; */
      }

    .nav div .half:last-of-type{
        position: absolute;
        right: 0;
        height: 89vh;
        top: 10vh;
        align-items: start;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        background-color: white;
        z-index: 40;
    }

    .nav ul{
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        height: 50%;
    }

    .nav ul li{
        opacity: 0;
    }

    header{
        z-index: 18;
    }
}

@keyframes navLinkFade{
    from{
        opacity: 0;
        transform: translateX(50px);
    }
    to{
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1{
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2{
    opacity: 0;
}
.toggle .line3{
    transform: rotate(45deg) translate(-5px, -6px);
}

.burger{
    display: none;
}

@media screen and (max-width: 768px){
    .burger{
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .nav .menu{
        display: block;
    }
}

.nav-active{
    transform: translateX(0%) !important;
}

.menu div{
    width: 25px;
    height: 3px;
    background-color: #002850;
    margin: 5px;
    transition: all 0.3s ease;
}