﻿.background-color-contact {
    background: linear-gradient(340deg, #001c15 40%, #34c181 200%);
    /* height: 100vh; */
    /* max-height: 900px; */
    /*position: relative;*/
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.uncover-custom{
    height:60%;
    padding-top:6% ;
    width: 55%;

}

.col-form {
    display:flex;justify-content: center;
}

.anexpert-custom{
    height:20%;padding-bottom:6%;
}

.parap-custom{
    display: flex;
    flex-direction: column;
    height: 100%;
    align-content: end;
    justify-content: end;
    margin: 0;
}

.card-contact-us {
    background: linear-gradient(120deg, var(--off-white) 10%, var(--flo-green) 300%);
    width: 91%;
    /* max-width: 560px;
    min-width: 100px; */
    /*height:30rem;*/
    /* max-height: 665px; */
    /* max-height: 50rem;
    min-height: 36rem; */
    border: none;
    border-radius: 5px;
    padding: 2rem;
    max-width: 500px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2f4f2f;
}

.form-label {
    font-weight: 500;
}

.btn-success {
    width: 100%;
    font-weight: 600;
}

label {
    display: block;
    margin-bottom: 5px;
    /* font-size: x-large; */
    color: #222;
    font-weight: 300;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 0px;
    border: 0px solid var(--deep-green);
    border-radius: 0px;
    font-size: 14px;
    outline: none;
}

textarea {
    resize: none;
    height: 10rem;
}

.btn-submit {
    background: #34c181;
    color: white;
    padding: 10px 30px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    display: block;
    margin-left: auto;
    /* alinea a la derecha */
    height: 35px;
    width: 115px;
    font-weight: 00;
}

.btn-submit:hover {
    background: #001c15;
    color: #f6f9f4;
}

.streamline-wrapper-contact {
    position: absolute;
    bottom: -2.8rem;
    width: 100%;
}

/*@media (width <=991px) {

    .first-title {
        max-width: 100% !important;
    }

    .second-title {
        max-width: 100% !important;
        font-size: x-large !important;
        margin-top: 2rem !important;
    }

}

@media (width <=720px) {
    .first-title {
        font-size: large !important;
    }

    .second-title {
        font-size: medium !important;
        margin-top: 2rem !important;
    }
}*/

@media (width <= 767px){

    .contact-custom {
        height: auto !important;
        margin-bottom: 3% !important;
    }

    .uncover-custom p, .anexpert-custom p {
        font-size: clamp(25px, 1.5vw, 25px) !important
    }

    .uncover-custom {
        padding-top: 0;
        height: auto !important;
        margin-bottom: 3% !important;
        width: 100% !important;
    }

    .anexpert-custom {
        height: auto !important;
        padding-bottom: 0;
        flex-direction: row !important;
        margin-bottom: 3% !important;
        width: 100% !important;
    }

    .col-form{
        display:flex;justify-content: center;
    }
}



@media (width <=1040px) {
    /*.background-color-contact {
        margin-top: 40px;
    }*/
}

/*@media (width <=1399px) {
    .second-title {
        margin-top: 2rem !important;
    }
}*/

/*@media (width <=1800px) {

    .first-title {
        max-width: 35vw;
    }
}*/

@media (width >=2000px) {
    .contactus-content {
        margin-top: 2rem;
    }

    /*.first-title {
        font-size: xx-large !important;
    }

    .second-title {
        font-size: xx-large !important;
        margin-top: 40vh !important;
    }*/
}

@media (width >=980px) {
    /* .second-title {
        margin-top: 10vh !important;
    } */
}

@media (width <=1000px) {
    .streamline-wrapper-contact {
        display: none;
    }
}

/*@media (width >=1500px) {
    .second-title {
        margin-top: 50vh !important;
    }
}

@media (width >=1600px) {
    .second-title {
        margin-top: 25vh !important;
    }
}*/

/* @media(width<=1500){
    .second-title {
        margin-top: 10vh !important;
    }
 }*/

.field-group {
    margin-bottom: 10px;
}

#contactForm.submitted .field-group:has(:is(input, textarea):valid:not(:placeholder-shown)) {
    position: relative;
}

#contactForm.submitted .field-group:has(:is(input, textarea):valid:not(:placeholder-shown))::after {
    content: '✓';
    position: absolute;
    right: 12px;
    top: 38px;
    color: #10b981;
    font-weight: bold;
}

#contactForm.submitted .field-group:has(:is(input, textarea):invalid:not(:placeholder-shown)) :is(input, textarea) {
    border-color: #ef4444;
    background: #fef2f2;
}

#contactForm.submitted .field-group:has(:is(input, textarea):invalid:not(:placeholder-shown)) .validation-message {
    display: block;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.validation-message {
    display: none;
    color:red;
}

#contactForm.submitted:has(:is(input, textarea):invalid) button[type="submit"] {
    background: #9ca3af;
    cursor: not-allowed;
}

@media (width < 1100px) {
    .uncover-custom p, .anexpert-custom p {
        font-size: clamp(20px, 1.5vw, 20px) !important
    }
}