html{
    overflow-x: hidden;
}

/* Works on Firefox */
* {
    scrollbar-width:thin;
    scrollbar-color: rgb(46,46,46) rgb(231, 231, 231);
}   


/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 15px;
}

*::-webkit-scrollbar-track {
    background: rgb(231, 231, 231);
}

*::-webkit-scrollbar-thumb {
    background-color: rgb(46,46,46);
    border-radius: 0px;
    border: 0px solid rgb(231, 231, 231);
}

/*********************************** fonts ***********************************/
@font-face {
    font-family: HelveticaThin;
    src: url(./HelveticaNowDisplay-Thin.ttf);
    font-display: swap;
}

@font-face {
    font-family: HelveticaBold;
    src: url(./HelveticaNowDisplay-Bold.ttf);
    font-display: swap;
}

@font-face {
    font-family: HelveticaLight;
    src: url(./HelveticaNowDisplay-Light.ttf);
    font-display: swap;
}

@font-face {
    font-family: HelveticaRegular;
    src: url(./HelveticaNowDisplay-Regular.ttf);
    font-display: swap;
}


/*********************************** default ***********************************/
html{
    background: linear-gradient(140deg, rgba(237,237,237,1) 0%, rgba(231,231,231,1) 100%); 
    /* background: rgba(237, 237, 237, 1); */
}
body{
    margin: 0;
    width: 100vw;
    height: auto;
}

h1 {
    font-size: 3.7rem;
    font-family: HelveticaThin;
}

h2{
    font-size: 1.8rem;
    font-family: HelveticaLight;
}


/*********************************** nav ***********************************/
#navBar{
    width: 100%;
    height: 150px;
    display: flex;
}

#logoNav{
    position: relative;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 12%;
    width: 20%;
}

.NavSig{
    font-family: HelveticaLight;
    position: relative;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: 12%;
    font-size: 2.5rem;
    float: right;
}

/*********************************** titulo/subtitulo ***********************************/
#tituloContacto{
    margin-left: 12%;
    margin-bottom: 0px;
}

#subTituloContacto{
    margin-top: 20px;
    margin-left: 12%;
}


/*********************************** form ***********************************/
.container{
    margin-top: 0px  !important;
    margin-left: 6%  !important;
    margin-right: 10%  !important;
}

.ff-form input{
    /* background-color: white  !important; */
    font-family: HelveticaRegular  !important;
    font-size: 18px  !important;
}

.ff-form .ff-secfields .ff-item label {
    font-family: HelveticaLight  !important;
    font-size:24px  !important;
}

.ff-form {
    width: 100vw !important;
    height: auto !important;
    margin-left: 12% !important;
    margin-right: 12% !important;
    margin-bottom: 150px !important;
}

.ff-layout-default {
    max-width: 76vw !important;
    padding: 0px 0px  !important;
}


.ff-form .ff-powered-img {
    visibility: hidden  !important;
}


.ff-form .ff-widget-error b {
    visibility: hidden  !important;
}

.ff-widget-error {
    font-family: HelveticaRegular  !important;
}

.ff-form .ff-item textarea {
    font-family: HelveticaRegular  !important;
    background-color: rgb(231, 231, 231);
    border: 1px solid rgb(175, 175, 175);
    border-radius: 8px;
    width: 100% ;
}

.ff-widget-control{
    font-family: HelveticaRegular  !important;
    background-color: rgb(231, 231, 231) !important;
    border: 1px solid rgb(175, 175, 175) !important;
    border-radius: 8px !important;
    width: 100% !important;
    min-height: 3rem !important;
}

.ff-success {
    height: 20vh  !important;
    margin-top: 50px  !important;
    font-size: 30px  !important;
    font-family: HelveticaRegular  !important;
}


.ff-form .ff-description :nth-child(2n){
    visibility: hidden  !important;
}


@media (min-width: 768px) {
    .ff-layout-2column {
        max-width: 76vw !important;
        
    }
}

@media (max-width: 768px) {
    .ff-layout-2column {
        width: auto !important;
    }
}


.ff-form button {
    letter-spacing: 1px;
    vertical-align: middle;
    font-size: var(--ff-fs);
    height: 3.2em;
    max-width: 400px;
    text-transform: uppercase;
    transition-property: box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
    background-color: rgb(49, 49, 49);
    color: white;
    border: none;
    border-radius: 7px;
    font-family: HelveticaBold;
}

.ff-form button span {
    font-size: calc(var(--ff-fs) / 1.1) !important;
}

.ff-form button:hover{
    cursor: pointer;
    background-color: rgb(65, 65, 65);
}

.rest-btn-primary {
    border-width: 2px !important;
    border-style: solid !important;
    border-color: #00000012 !important;
}


/*********************************** footer ***********************************/
.pFooter{
    margin-top: 0px;
    margin-left: 12%;
    font-size: 1.5rem;
    font-family: HelveticaLight;
}

.recuadroColores{
    margin-top: 25px;
    background: linear-gradient(90deg, rgba(248,225,50,1) 0%, rgba(221,77,54,1) 50%, rgba(74,36,138,1) 100%);
    width: 76%;
    height: 25px;
    margin-left: auto;
    margin-right: auto;
}

.frame{
    height: 3270px;
    /* height: 370vh; */
    margin-bottom: 0px;
}



/************************************************** Responsive **************************************************/
@media screen and (max-width: 900px){
    /*********************************** default ***********************************/
    h1 {
        font-size: 3.2rem  !important;
    }

    h2{
        font-size: 1.3rem  !important;
    }

    /*********************************** nav ***********************************/
    #logoNav{
        width: 30%;
    }

    /*********************************** boton ***********************************/
    .btn-lg{
        font-size: 1.3rem;
    }

    /*********************************** footer ***********************************/
    .pFooter{
        font-size: 1.3rem;
    }

    .frame{
        height: 3500px !important;
    }
    
}


@media screen and (max-width: 600px){
    /*********************************** default ***********************************/
    h1 {
        margin-right: 10%;
        margin-top: 0px;
        font-size: 50px;
    }

    h2{
        font-size: 25px;
    }

    /*********************************** nav ***********************************/
    #logoNav{
        width: 45%;
    }

    .NavSig{
        font-size: 2rem;
    }
    
    
    /*********************************** form ***********************************/
    .ff-form input{
        font-size: 18px !important;
    }

    .ff-form .ff-secfields .ff-item label {
        font-size:20px !important;
    }


    /*********************************** footer ***********************************/
    .pFooter{
        margin-top: 0px;
        font-size: 18px;
    }

    .frame{
        height: 3800px !important;
    }
}


@media screen and (max-width: 500px){
    .frame{
        height: 3900px !important;
    }
}

@media screen and (max-width: 380px){
    .frame{
        height: 4200px !important;
    }
}