* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.form-contact {
    width: 600px;
    height: 400px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-color: rgb(211, 211, 211);

    border-radius: 15px;
}

.form-text {
    width: 90%;
    padding: 20px;

    text-align: center;
}

.form-text p {
    padding: 5px;
}

.form-format {
    width: 90%;
}

.space-input {
    padding: 5px;
}

.form-contact input {
    width: 100%;
    height: 40px;

    padding: 15px;

    border-radius: 5px;
    border: 1px solid rgba(228, 228, 228, 0.753);
}

.form-contact input:focus {
    outline: rgb(130, 6, 187);

    border: 2px solid rgb(130, 6, 187);
}

.form-contact label {
    font-weight: 500;
}

.form-contact button[type="submit"] {
    width: 160px;
    height: 40px;

    border: none;
    background: rgb(130, 6, 187);

    border-radius: 5px;
    color: white;
    font-weight: 500;

    font-size: 1.2rem;

    margin: 5px;

    margin-top: 15px;

    transition: background 0.2s;
}

.form-contact button[type="submit"]:hover {
    background: rgb(174, 0, 255);

    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);
    
    cursor: pointer;
}


/* OUTROS */

.background-container {
    width: 100%;
    padding: 50px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.background-container > .form-contact {
    border-radius: 15px;

    background: #fff;
}

.background-container {
    background: linear-gradient(to bottom, #eb01a5, #d13531);
}

.error-form {
    color: red;
    margin: 5px;
}

@media (max-width: 975px) {
    .form-contact {
        width: 100%;
    }
    .background-container {
        padding: 10px;
    }

    .especialista {
        display: flex;
        flex-direction: column;
    }

    .image-especialista {
        width: 100%;

        margin-bottom: 20px;
    }
}