﻿.div-contact {
    /*background-image: url(/images/Long-banner-home.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;*/
    border-top-style: solid;
    padding-top: 30px;
    width: 90%;
    margin: auto;
    border-width: 1px;
    border-color: gray;
    margin-bottom: 40px;
}

    .div-contact h2 {
        color: var(--secundary);
        font-size: 24px;
        font-weight: 700;
        text-align: center;
        margin-bottom: 30px;
    }

    .div-contact .contact-img {
        width: 40%;
        text-align: right;
    }

        .div-contact .contact-img img {
            width: 62%;
            border-radius: 5px;
        }

.contact {
    width: 35%;
    margin: auto;
}

    .contact .entry-contact {
        color: var(--primaryText);
        font-weight: 400;
        font-size: 15px;
        text-align: left;
        margin: 0px;
    }

    .contact .contact-form {
        justify-content: space-between;
    }

        .contact .contact-form .contact-form-name {
            width: 48%;
            line-height: 0px;
        }

        .contact .contact-form .contact-form-email {
            width: 48%;
            line-height: 0px;
        }

    .contact label {
        position: relative;
        font-size: 13px;
        color: var(--secundaryText);
        padding-left: 5px;
        font-weight: 700;
        top: 21px;
        margin: 0px;
        line-height: 25px;
    }

    .contact input[type='text'] {
        height: 50px;
        padding-top: 15px;
        padding-left: 10px;
        padding-right: 10px;
        color: var(--primaryText);
        width: 100%;
        border-radius: 5px;
        border-width: 1px;
        border-style: solid;
    }

    .contact textarea {
        width: 100%;
        height: 200px;
        padding-top: 20px;
        padding-left: 10px;
        padding-right: 10px;
        color: var(--primaryText);
        resize: none;
        border-radius: 10px;
        border-width: 1px;
    }

        .contact textarea:focus,
        .contact input[type='text']:focus {
            outline: none;
            border-style: solid;
            border-color: var(--primary);
            border-width: 2px;
        }

    .contact .contact-form-send {
        width: 60%;
        margin: auto;
        margin-top: 40px;
    }

        .contact .contact-form-send input[type='button'] {
            width: 100%;
            border-radius: 10px;
            border-width: 1px;
            padding: 10px;
            background-color: var(--secundary);
            color: var(--primaryText);
            font-size: 20px;
            font-weight: 600;
        }

            .contact .contact-form-send input[type='button']:hover {
                background-color: var(--primaryText);
                cursor: pointer;
                color: white;
            }

    .contact .error-message {
        text-align: center;
        margin-top: 20px;
        color: red;
        font-size: 13px;
    }

    .contact .success-message {
        text-align: center;
        margin-top: 20px;
        color: var(--primaryText);
        font-size: 13px;
    }

@media screen and (max-width: 900px) {
    .div-contact {
        padding: 0px;
        padding-top: 50px;
        padding-bottom: 50px;
        width: 100%;
        margin-bottom: 0px;
    }

        .div-contact .contact-img {
            display: none;
        }

    .contact {
        width: 90%;
    }

        .contact input[type='text'] {
            font-size: 12px;
        }

        .contact textarea {
            font-size: 12px;
        }
}
