@import url('https://fonts.googleapis.com/css2?family=Pinyon+Script&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

.contactoRow {
    padding-top: 14vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 12vh;
}

.titleContact {
    padding: 7vh 0;
    text-align: center;
}
html .contentForm input::placeholder, html .contentForm textarea::placeholder {
    color: #f2f2f2!important;
}

.titleContact h2 {
    font-family: 'Playfair Display';
    font-weight: 600;
    font-size: 3em;
    color: rgb(32, 57, 81);
    margin: 0;
}

.boxContact {
    background-color: rgb(32, 57, 81);
    width: 70%;
    height: 80vh;
    position: relative;
    padding: 2.8vh 0px;
    padding-top: 1.9vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}


.boxContact hr {
    width: 84.5%;
    margin: 0;
    margin-left: 2%;
    opacity: 0.6;
}

.textContact {
    display: flex;
    flex-direction: row;
    width: 110%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -53%);
    height: 90%;
}

.imgContact, .formContact {
    width: 50%;
    height: 100%;
}

.imgContact {
    margin-right: 10px;
}

.imgContact img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.formContact {
    background-color: #f1f1f1;
    padding: 2vh 2.5%;
    box-sizing: border-box;
}

.formContact h3 {
    font-family: 'Playfair Display';
    font-weight: 600;
    font-size: 1.8em;
    margin: 0;
    color: rgb(32, 57, 81);
    margin-bottom: 2vh;
    height: (10% - 1vh);
}

.formContact .contentForm {
    height: calc(90% - 1vh);
}

/* INICIO FORMULARIO DE CONTACTO */

html .textContact .formContact #contentForm input[type="text"], html .textContact .formContact #contentForm input[type="email"], html .textContact .formContact #contentForm .forminator-field textarea {
    background-color: rgb(32, 57, 81);
    border-radius: 7px;
    padding: 1.2vh 2.5%;
    font-family: 'Playfair Display';
    font-style: italic;
    color: rgb(241, 241, 241);
}

html .textContact .formContact #contentForm #textarea-1 span[data-type="characters"] {
    font-family: 'Playfair Display';
    font-style: italic;
    font-size: 1.2em;
    color: rgb(37, 52, 81);
}

html .textContact .formContact #contentForm .forminator-button {
    background-color: rgb(241, 241, 241);
    padding: 0.2vh 0%;
    border-radius: 7px;
    font-family: 'Source Sans 3';
    font-weight: 600;
    font-size: 1.1em;
    color: rgb(32, 57, 81);
    position: absolute;
    width: 9%;
    top: 100%;
    left: 100%;
    transform: translate(-170%, 40%);
}

div#consent-1 p {
    margin: unset;
    font-family: 'Playfair Display'!important;
}

html .textContact .formContact #contentForm .forminator-field span {
    font-family: 'Playfair Display';
    font-style: italic;
}

span.recaptcha {
    font-family: 'Montserrat';
    color: grey;
    font-size: 0.7em;
    display: block;
    transform: translateY(50%);
}

/* FIN FORMULARIO DE CONTACTO */

@media only screen and (max-width: 1600px) {

    .boxContact {
        width: 80%;
    }

    .boxContact hr {
        width: 84%;
    }

.boxContact{
    height:88vh;
}
}

@media only screen and (max-width: 1600px) and (max-height: 800px) {

    html .textContact .formContact #contentForm .forminator-button {
        transform: translate(-170%, 25%);
    }

}

@media only screen and (max-width: 1200px) {

    .boxContact {
        width: 85%;
    }

    .boxContact hr {
        width: 82%;
    }

}

@media only screen and (max-width: 1000px) {

    .boxContact hr {
        width: 79%;
        margin-left: 3%;
    }

}

@media only screen and (max-width: 900px) {
    
    .boxContact hr {
        width: 76%;
        margin-left: 3.5%;
    }

}

@media only screen and (max-width: 800px) {
    
    .boxContact {
        width: 95%;
        height: auto;
        padding-bottom: 2em;
    }

    .textContact {
        position: static;
        display: flex;
        flex-direction: column;
        height: 95%;
        width: 107%;
        transform: translateX(-3.4%);
    }

    .textContact .imgContact, .textContact .formContact {
        width: 88%;
        margin: 0 auto;
    }

    .textContact .imgContact {
        box-sizing: border-box;
        margin-bottom: 3vh;
        background-color: rgb(255, 255, 255);
        height: 44vh;
        position: relative;
    }

    .textContact .formContact {
        height: auto;
        min-height: calc(65% - 1.5vh);;
        padding: 2vh 5%;
    }

    .imgContact img {
        height: 115%;
        object-fit: contain;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%, -10%);
    }

    .boxContact hr {
        width: 79%;
        margin-left: 2.8%;
        transform: translateY(15px);
    }

    html .textContact .formContact #contentForm input[type="text"], html .textContact .formContact #contentForm input[type="email"], html .textContact .formContact #contentForm .forminator-field textarea {
        padding: 1vh 2.5%;
        font-size: 0.9em;
    }

    html .textContact .formContact #contentForm .forminator-button {
        border-radius: 10px;
        font-size: 0.9em;
        height: 2.5vh;
        min-width: 12%;
        transform: translate(-150%, 25%);
    }

}

@media only screen and (max-width: 600px) {

    .titleContact h2 {
        font-size: 2.1em;
    }
    
    .boxContact {
        width: 95%;
    }

    .textContact .imgContact {
        height: 38vh;
    }

    .formContact h3 {
        font-size: 1.5em;
    }

    html .textContact .formContact #contentForm input[type="text"], html .textContact .formContact #contentForm input[type="email"], html .textContact .formContact #contentForm .forminator-field textarea {
        padding: 1vh 2.5%;
        font-size: 0.9em;
    }

    html .textContact .formContact #contentForm .forminator-button {
        font-size: 0.9em;
        height: 2.5vh;
        min-width: 12%;
    }

}

@media only screen and (max-width: 450px) {

    .imgContact img {
        width: 85%;
        object-fit: cover;
    }

    html .textContact .formContact #contentForm .forminator-button {
        min-width: 15%;
    }

    .boxContact hr {
        width: 74%;
    }

    html .textContact .formContact #contentForm .forminator-field span {
        font-size: 0.7em;
    }

    .textContact .imgContact {
        height: 25vh;
    }

    .imgContact img {
        width: 70%;
        transform: translate(-50%, -11%);
    }

    html .textContact .formContact #contentForm .forminator-button {
        transform: translate(-142%, 25%);
    }

}

@media only screen and (max-width: 440px) and (max-height: 800px) {

    .boxContact {
        height: auto;
        padding-bottom: 3em;
    }

    html .textContact .formContact #contentForm .forminator-button {
        height: 3.1vh;
    }

}