* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;

}

body {
    grid-template-rows: auto 1fr auto;
}

/* css para el formulario de contactos y buscar */
.content {
    padding-top: 5rem;
    padding-bottom: 0.625rem;
    width: 100%;
    margin: auto;
    /* height: calc(100vh - 220px); */
    height: auto;
    margin-top: 5px;
    background-color: aliceblue;

}

.form_content {
    width: 90%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(7, auto);
    grid-template-areas: "contact-form"
        "form-nombre"
        "form-telefono"
        "form-email"
        "form-asunto"
        "form-mensaje"
        "form-enviar";
    margin: 20px auto;
    padding: 0px 20px;
    background-color: rgb(238, 238, 236);



}

/* titulo */
.contact-form {
    grid-area: contact-form;
    width: 100%;
    padding: 10px 0px;

}

/* nombre */
.form-nombre {
    grid-area: form-nombre;
    margin-bottom: 15px;
}

/* telefono */
.form-telefono {
    grid-area: form-telefono;
    margin-bottom: 15px;
}

/* email */
.form-email {
    grid-area: form-email;
    margin-bottom: 15px;
}

/* asunto */
.form-asunto {
    grid-area: form-asunto;
    margin-bottom: 15px;
}

/* mensaje */
.form-mensaje {
    grid-area: form-mensaje;
    margin-bottom: 15px;
}

/* enviar */
.form-enviar {
    grid-area: form-enviar;
    margin-bottom: 15px;
}

.contact-form h2 {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    text-transform: uppercase;
    text-align: center;
    line-height: 20px;
    font-weight: bold;
    color: #797878;
    font-size: 16px;
}

.input {
    border: none;
    background: rgb(236, 234, 234);
    outline: none;
    color: rgb(8, 8, 8);
    border-bottom: 1px solid red;
}

.form-enviar button,
.form-nombre input,
.form-email input,
.form-telefono input,
.form-asunto input,
.form-mensaje textarea {
    width: 100%;
    padding: .7em;
    border: none;
    background: rgb(236, 234, 234);
    outline: none;
    color: rgb(8, 8, 8);
    border-bottom: 1px solid red;

}

.form-nombre input,
.form-email input,
.form-telefono input,
.form-asunto input,
.form-mensaje textarea:hover {
    background-color: rgb(214, 213, 213);


}

/* boton buscar en buscar.php*/
.form-enviar input {
    background-color: rgb(203, 204, 204);
    width: 150px;
    text-align: center;
    border-radius: 45px;
    padding: 5px 0px;
    border: 0;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
}

.form-enviar .block {
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    line-height: 100px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-enviar input:hover,
.form-enviar button:focus {
    background-color: rgb(112, 248, 59);
    letter-spacing: 1px;
    box-shadow: 0px 0px 10px #aaa9a9;


}

.red {
    color: red;
}

.blue {
    color: red;
    font-size: 12px;
}


@media screen and (min-width:1100px) {
    .form_content {
        margin-right: 70px;
        margin-top: 20px;
        width: 40%;
    }

}

@media screen and (min-width:1200px) {
    .form_content {
        width: 70%;
        margin: 10px auto;

        grid-template-columns: 50% 50%;
        grid-template-rows: repeat(6, auto);
        grid-template-areas: "contact-form  contact-form"
            "form-nombre    form-telefono"
            "form-email     form-email"
            "form-asunto   form-asunto"
            "form-mensaje   form-mensaje"
            "form-enviar    form-enviar";


    }

    .contact-form {
        width: 100%;
        padding: 20px 0px;

    }

    .contact-form h2 {
        font-size: 19px;
    }


    .form-nombre {
        width: 90%;
        margin: left;
    }

    .form-telefono {
        width: 90%;
        margin-left: 10%;
    }

    .form-email {
        width: 100%;
        margin: auto;
        margin-top: 10px;
    }

    .form-asunto {
        width: 100%;
        margin: auto;
        margin-top: 10px;
    }

    .form-mensaje {
        width: 100%;
        margin: auto;
        margin-top: 10px;
    }

    h3 {
        font-size: 26px;
        letter-spacing: 1px;

    }

    .form-enviar button,
    .form-nombre input,
    .form-email input,
    .form-telefono input,
    .form-asunto input,
    .form-mensaje textarea {

        padding: .5em;

    }
}