:root {
    --azul-1: #0e176b;
    --azul-2: #073bbb;
    --verde-1: #159239;
    --verde-2: #20b049;
    --gris-1: #e3e3e3;
    --gris-2: #c2c2c2;
    --gris-3: #868686;
    --gris-4: #4b4846;
}

* {
    outline: none;
    box-sizing: border-box;
}

body {
    margin: 0px;
}

html {
    margin: 0px;
    font-family: "NunitoSansRegular", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background-color: #fff !important;
}

a {
    text-decoration: none;
    color: #0072e6;
}

h1,
h2,
h3,
h4,
ul,
p {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

.pageWidth {
    width: 100%;
    max-width: 1100px;
    /*         max-width: 1400px; */
    margin: 0 auto 0 auto;
}

@media screen and (max-width: 1120px) {
    .pageWidth {
        padding: 0 10px;
        max-width: 100%;
    }

    .navWrapper .pageWidth {
        padding: 0;
    }
}

/* CONTACT */
#contact {
    padding: 90px 0;
    z-index: 20;
    position: relative;
    background-color: var(--gris-1);
    color: #000;
}

#contact .pageWidth {
    display: flex;
    /* flex-direction: column; */
    /* align-items: center; */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
    max-width: 940px;
    margin: 0 auto;
    /*     align-items: flex-start; */
    /* align-items: center; */
}

#contact h2 {
    font-family: "NunitoSansBlack", sans-serif;
    font-size: clamp(2.0rem, 5.2vw, 3.1rem);
    line-height: 1.3em;
    color: var(--azul-1);
    position: relative;
    display: inline-block;
    /* padding: 10px 0; */
    margin-top: 17px;
}

#contact p {
    font-size: 16px;
    line-height: 1.5em;
    margin-bottom: 1.5em;
    font-family: "GothamRndMedium";
    font-weight: 500;
    /* color: var(--gris-1); */
    /* max-width: 990px; */
    /* text-align: center; */
}

#contact .wrapper {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

#contact .wrapper .formWrapper {
    position: relative;
}

#contact .wrapper form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 5px;
}

#contact .wrapper .formWrapper {
    position: relative;
    width: 100%;
}

#contact .wrapper .formWrapper p {
    /* text-align: center; */
    font-size: 20px;
    margin: 0 10px 0 0;
    font-family: "NunitoSansSemiBold", sans-serif;
}

#contact .wrapper .formWrapper .inputWrapper {
    position: relative;
    width: 100%;
}

#contact .wrapper .formWrapper .selectWrapper {
    width: 100%;
    display: flex;
    align-items: center;
    color: var(--gris-4);
    padding-top: 20px;
}

#contact .wrapper .formWrapper .selectWrapper select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* remove default arrow */
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    padding: 7px 7px 7px 10px;
    flex: 1;
    border: 1px solid #b3bcc4;
    border-radius: 8px;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg baseProfile='tiny' version='1.2' viewBox='0 0 54.854 54.854' xml:space='preserve' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m27.427 36.506c-0.55 0-1.1-0.181-1.555-0.542l-16.566-13.158c-1.082-0.858-1.262-2.431-0.403-3.512 0.858-1.081 2.433-1.262 3.512-0.403l15.012 11.922 15.011-11.922c1.081-0.859 2.652-0.678 3.513 0.403 0.858 1.081 0.678 2.654-0.403 3.512l-16.565 13.158c-0.455 0.361-1.006 0.542-1.556 0.542z' fill='%23b3bcc4'/%3E%3Crect width='54.854' height='54.854' fill='none'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: calc(100% - 7px) 8px;
    background-size: 20px;
    position: relative;
}

#contact .wrapper #waiting {
    text-align: center;
    font-weight: 300;
}

#contact .wrapper #waiting img {
    margin-bottom: 10px;
}

#contact .wrapper #waiting {
    text-align: center;
    font-weight: 300;
}

#contact .wrapper #waiting img {
    margin-bottom: 10px;
}

#contact .wrapper input[type="text"] {
    font-family: "NunitoSansRegular", Arial, sans-serif;
    color: var(--gris-4);
    background: transparent;
    font-size: 20px;
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--gris-3);
    /*     border-bottom: 1px solid #bababa; */
    margin-top: 37px;
    left: 0;
    opacity: 1;
    padding: 2px 0;
}

#contact .wrapper .floatingLabel {
    position: absolute;
    display: block;
    pointer-events: none;
    left: 0;
    margin-left: 0;
    top: 23px;
    transition: 0.1s ease all;
    transform-origin: 0 0;
    color: var(--gris-5);
    color: #8d8d8d;
    font-family: "NunitoSansBlack", sans-serif;
    font-size: 17px;
    line-height: 1.2em;
    margin-bottom: 0px;
    margin-top: 18px;
}

#contact .wrapper input:focus ~ .floatingLabel,
#contact .wrapper input:not(:placeholder-shown) ~ .floatingLabel {
    top: 0;
    left: 0;
    transform: scale(0.8) !important;
}

#contact .wrapper .formWrapper .projectWrapper {
    margin-top: 12px;
    width: 100%;
}

#contact .wrapper .formWrapper .projectWrapper label {
    margin-bottom: 5px;
    display: inline-block;
    color: var(--gris-5);
    font-size: 15px;
}

::-webkit-input-placeholder {
    color: #b3b3b3;
}

::-moz-placeholder {
    color: #b3b3b3;
}

:-ms-input-placeholder {
    color: #b3b3b3;
}

:-moz-placeholder {
    color: #b3b3b3;
}

#contact .wrapper label:first-child {
    margin-top: 14px;
}

#contact .wrapper label.error {
    color: #c94945;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    margin-top: 4px;
    display: inline-block;
}

#contact .pageWidth #formData form {
    z-index: 1;
}

#success,
#error,
#waiting {
    display: none;
}

#success,
#error,
#waiting {
    font-size: 18px;
    font-family: "NunitoSansSemiBold", sans-serif;
    line-height: 26px;
    text-align: center;
    z-index: 1;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    padding: 30px;
    min-height: 340px;
    border-radius: 10px;
    margin-top: 20px;
}

#waiting {}

#error {
    background-color: #ffc1be;
}

#success {
    background-color: var(--verde-2);
    color: #FFF;
}

#contact .wrapper input[type="submit"] {
    margin-top: 30px;
    padding: 7px 20px 6px 20px;
    border-radius: 20px;
    display: inline-block;
    color: #ffffff;
    box-sizing: border-box;
    font-weight: bold;
    border: none;
    transition: all 0.2s;
    font-size: 18px;
    color: #fff;
    transition: all 0.2s ease-in;
    background: var(--verde-1);
    font-family: "NunitoSansBlack", sans-serif;
    font-size: clamp(0.1rem, 5.0vw, 1.1rem);
}

#contact .wrapper input[type="submit"]:hover {
    background: var(--verde-2);
    cursor: pointer;
}

.countryWrapper {
    /*the container must be positioned relative:*/
    position: relative;
    display: inline-block;
    width: 100%;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: var(--shadow-1);
    border-radius: var(--radius-1);
    overflow: hidden;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}

.autocomplete-items div strong {}

.autocomplete-items div:hover {
    /*when hovering an item:*/
    background-color: #e9e9e9;
}

.autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: var(--naranja-1) !important;
}

.newsletterWrapper {
    position: relative;
}

/* Hide the browser's default checkbox */
.newsletterWrapper input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
    margin: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: var(--gris-4);
    border: 1px solid var(--gris-6);
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-indent: 20px;
}

.checkmark span {
    display: none;
}

/* On mouse-over, add a grey background color */
.newsletterWrapper:hover input ~ .checkmark {
    /*     background-color: var(--naranja-0);
    border: 1px solid var(--gris-4); */
}

.newsletterWrapper:active input ~ .checkmark {
    /*     background-color: var(--naranja-3);
    background-color: #e7e7e7; */
    background-color: #dddddd;
    /*     border: 1px solid var(--gris-4); */
}

/* When the checkbox is checked, add a blue background */
.newsletterWrapper input:checked ~ .checkmark {
    background-color: var(--naranja-2);
    border: 1px solid var(--naranja-3);
}

.newsletterWrapper:hover input:checked ~ .checkmark {}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.newsletterWrapper input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.newsletterWrapper .checkmark:after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21.8 21.8' style='enable-background:new 0 0 21.8 21.8' xml:space='preserve'%3E%3Cpath d='M0 0h21.8v21.8H0V0z' style='fill:none'/%3E%3Cpath d='m8.2 16.6-5.4-5.4 1.5-1.5 4 4 9.4-9.4L19 5.8 8.2 16.6z' style='fill:%23fff'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 0 1px;
    background-size: 16px 16px;
    width: 18px;
    height: 18px;
    top: 0;
    left: 0;
}

#intro .formWrapper #contactForm .newsletterWrapper .description {
    margin-bottom: 30px;
}

.newsletterWrapper .description {
    font-family: "GothaProReg", Arial, sans-serif;
    padding-left: 24px;
    padding-top: 4px;
    display: inline-block;
    font-size: 14px;
    color: var(--texto-3);
}

@media screen and (max-width: 1100px) {
    /*     #contact {
        position: relative;
    }

    #contact .wrapper:first-child {
        padding-right: 20px;
    } */
}

@media screen and (max-width: 800px) {
    /*     #contact .pageWidth {
        flex-direction: column;
    }

    #contact .pageWidth > div:first-child {
        margin-bottom: 40px;
    }

    #contact .wrapper {
        width: 100%;
    }

    #contact .wrapper:first-child {
        padding-right: 0;
        max-width: 100%;
        padding: 0 20px;
    }

    #contact {
        flex-direction: column-reverse;
    }

    #contact h2 {
        margin-bottom: 0;
    }

    #contact .pageWidth > div {
        width: 100%;
    }

    #contact .photo {
        width: 100%;
        height: 300px;
    } */
}

@media screen and (max-width: 680px) {
    #contact .pageWidth {
        grid-template-columns: repeat(1, 1fr);
        column-gap: 40px;
        max-width: 100%;
    }
}

@media screen and (max-width: 400px) {
    /*     #contact .wrapper h2 {
        font-size: 37px;
    }

    #contact p {
        font-size: 19px;
    }

    #contact .main {
        font-size: 18px;
    } */
}

@media screen and (max-width: 380px) {
    #contact .wrapper .formWrapper .selectWrapper {
        flex-direction: column;
        align-items: stretch;
    }

    /*     #contact {
        padding: 60px 0;
    }

    #contact .main {
        font-size: 16px;
    } */
}

@media screen and (max-width: 310px) {
    /*     #contact .main {
        font-size: 14px;
    } */
}