:root{
    --white: #EDEDED;
    --black: #2e2e2e;
    --yellow: #F2C12E;
    --pink: #F22797;
    --blue: #514DE8;

    --fs--Title: clamp(1.8rem , 2.8vw,  3.2rem );
    --fs--SubTitle: clamp(1.2rem , 2.5vw,  3.1rem );
    --fs--Text: clamp(16px , 1.2vw,  40px);
    --fs--TextNav: clamp(16px , 1vw,  35px);
}

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 ***********************************/
form {
    max-width: 70vw;
    margin: auto;
    margin-top: 88px;
    margin-bottom: 88px;
    }

.label1 {
    display: block;
    margin-bottom: 14px;
    font-family: HelveticaLight;
    font-size: var(--fs--Text);
    color: var(--black);
}

legend{
    display: block;
    margin-bottom: 14px;
    font-family: HelveticaLight;
    font-size: var(--fs--Text);
    color: var(--black);
}

.label2{
    /* display: block; */
    margin-bottom: 14px;
    font-family: HelveticaLight;
    font-size: var(--fs--Text);
    color: var(--black);
}

.input1 {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid #b6b6b6;
    background-color: var(--white);
    font-size: var(--fs--TextNav);
    font-family: HelveticaLight;
}

.input2 {
    /* width: 100%; */
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid #b6b6b6;
    background-color: var(--white);
    font-size: var(--fs--Text);
    font-family: HelveticaLight;
}

input:focus {
    border: 2px solid var(--black);
    outline: none
}

button {
    padding: 10px 60px;
    background-color: var(--black);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: var(--fs--Text);
    font-family: HelveticaRegular;
    margin-top: 80px;
}

    button:hover {
    background-color: #464545;
    }

.error-message {
    color:  #e73933 ;
    font-size: var(--fs--TextNav);
    font-family: HelveticaRegular;
    margin-top:  -12px;
    margin-bottom: 12px;
}

.fieldset{
    padding: 0;
    border:  none;
    margin-bottom: 15px;
}

.table{
    width: 100%;
}

.tdMargin{
    line-height: 3em;
    width: min-content;
}

.tdCenter{
    text-align: center;
}

.dropDown{
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: var(--fs--TextNav);
    color: var(--black);
    font-family: HelveticaLight;
    background-color: var(--white);
    border: 1px solid #b6b6b6;
    border-radius: 12px;
    padding: 14px;
    font-weight: 200;
    width: 100%;
}

/*********************************** modal ***********************************/
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color:  #2e2e2e8e;
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    background-color: var(--white);
    padding: 33px;
    border-radius: 12px;
    text-align: center;
    /* max-width: 400px; */
    /* width: 90%; */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content p {
    margin-top: auto;
    margin-bottom: auto;
    font-size: var(--fs--Text);
    font-family:  HelveticaRegular;
    margin-top: 50px;
    margin-right: 30px;
    margin-left: 30px;
}

.close-button {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color:  var(--black);
    transition: all 0.3s ease;
}

.close-button:hover {
    color:  #e73933;
    scale: 1.2;
}

@keyframes fadeIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/*********************************** 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;
    }

    /*********************************** 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;
    }
}