*{
  box-sizing: border-box;
}

body{
  background:#FDFFE7;
  font-family: "open Sans", Sans-serif;
  font-size: 16px;
}

.contenedor {
  width: 90%;
  max-width: 1000px;
  /*background: #ccc;*/
  margin: auto;
  overflow: hidden;
}


/*---header---*/

header {
  background: url('../img/imagmenumod (1).jpg') #a99451;
  background-repeat: no-repeat;
  background-position: center;
  max-height: 303px;
}

html {
  scroll-behavior: smooth;
}

header .D {
  margin: 15px 0;
  text-align: right;
}

header .D a {
  margin: 0 20px;
  color: #fff;
  padding-bottom: 9px;
  display: inline-block;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  font-size: 1em;
}

header .D a:hover {
  border-bottom: 2px solid #fff;
}

header .contenedor-Texo {
  /*display: flex;   /*se modifico aqui igual nomas se comento*/
  justify-content: center;
  align-content: center;
  margin: 1px 0;
  padding: 600px; /*se modefico aqui de 60 a 600*/
}

header .contenedor-Texo .texto {
  border: 4px solid rgba(255,255,255,0.5);
  border-radius: 3px;
  display: inline-block;
  text-align: center;
  padding: 20px 0px; /*el padien era de 20 60*/
}

header .contenedor-Texo .texto h1,
header .contenedor-Texo .texto h2{
  color: #fff;
  font-weight: 300;
  margin: 0;
}

header .contenedor-Texo .texto .nombre {
  margin-bottom: 10px;
  font-size: 50px;
  line-height: 50px;
}

header .contenedor-Texo .texto .profecion {
  font-size: 25px;
  line-height: 25px;
}

/*----Main---*/
.C .contenedor {
  overflow: visible;
}

.C .acerda-de {
  text-align: center;
  /*background: #FDFFE7;*/
}

.C .acerda-de .logo {
  margin-top: -275px; /* Se modifico aqui*/
  text-align: center;
}

.C .acerda-de .logo img {
  vertical-align: top;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,.02)
}

.C .acerda-de .texto {
  color: #5a5a5a;
  font-weight: 600;
  font-size: 1em;
  line-height: 30px;
  width: 80%;
  margin: 40px auto 60px auto;
  text-align: left;
}

.C .acerda-de .texto .titulo {
  font-size: 34px;
  line-height: 34px;
  margin-bottom: 40px;
  font-weight: 300;
  color: #dd820d;
  text-align: center;
}

.C .acerda-de .texto .bold {
  color: #3895ea;
  text-decoration: underline;
}

.C .trabajos {
  background: #F0EFEF;
  padding: 60px 0;
}

.C .trabajos .contenedor {
  overflow: hidden;
}

.C .trabajos .titulo {
  font-size: 34px;
  line-height: 34px;
  margin-bottom: 40px;
  font-weight: 300;
  color: #323068;
  text-align: center;
}

.C .trabajos .contenedor-trabajos {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.C .trabajos .contenedor-trabajos .trabajo {
  width: 23%;
  margin-bottom: 40px;
}

.C .trabajos .contenedor-trabajos .trabajo .thump {
  width: 100%;
  margin-bottom: 10px;
}

.C .trabajos .contenedor-trabajos .trabajo .thump img {
  width: 100%;
  vertical-align: top;
  border-radius: 3px;
}

.C .trabajos .contenedor-trabajos .trabajo .descipcion {
  text-align: center;
}

.C .trabajos .contenedor-trabajos .trabajo .descipcion .nombre {
  font-weight: 700;
  color: #3895ea;
  margin-bottom: 10px;
}

.C .trabajos .contenedor-trabajos .trabajo .descipcion .categoria {
  font-size: 14px;
  color: #636363;
}

/*----Footer---*/

footer .J {
  background: #fff;
  padding: 60px 0;
}

footer .J .titulo {
  font-size: 34px;
  line-height: 34px;
  margin-bottom: 40px;
  font-weight: 300;
  color: #3895ea;
  text-align: center;
}

footer .J .formulario {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

footer .J .formulario input[type="text"],
footer .J .formulario input[type="email"],
footer .J .formulario textarea {
  border: 2px solid #cecece;
  border-radius: 5px;
  padding: 15px 20px;
  font-size: 20px;
  color: #a4a4a4;
}

footer .J .formulario input[type="text"]:focus,
footer .J .formulario input[type="email"]:focus,
footer .J .formulario textarea:focus {
  border: 2px solid #3895ea;
}

footer .J .formulario input[type="text"],
footer .J .formulario input[type="email"] {
  width: 49%;
  margin-bottom: 20px;
}

footer .J .formulario textarea {
  width: 100%;
  height: 100px;
  min-width: 100%;
  max-width: 100%;
  min-height: 100px;
  max-height: 300px;
  margin-bottom: 15px;
}

footer .J .formulario .boton {
  margin: auto;
  background: #3895ea;
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 15px 40px;
  cursor: pointer;
}

footer .J .formulario .boton:hover {
  background: #387bea;
}

footer .redes-sociales {
  background: #1e2b38;
  padding: 60px 0;
}

footer .redes-sociales .contenedor {
  display: flex;
  justify-content: center;
}

footer .redes-sociales a {
  color: #fff;
  text-align: center;
  width: 100px;
  display: block;
  padding: 15px 0;
  border-radius: 3px;
  font-size: 30px;
  /*background: #ccc;*/
  margin: 0 20px;
}

footer .redes-sociales .Instagram:hover {
  background: #3f729b;
}

footer .redes-sociales .Facebook:hover {
  background: #1877f2;
}

/*footer .redes-sociales .X-Twitter:hover {
  background: #14171a;
}*/

footer .redes-sociales .You-tube:hover {
  background: #ff0000;
}

/*------Media Queries------*/

@media screen and (max-width: 800px) {
  header .menu {
    text-align: center;
  }
  
  .main .trabajos .contenedor .trabajo {
    width: 46%;
  }
}

@media screen and (max-width: 500px) {
  header .contenedor-Texo .texto .nombre {
    font-size: 35px;
  }
  header .contenedor-Texo .texto .profecion {
    font-size: 18px;
  }
  
  footer .redes-sociales .contenedor {
    flex-wrap: wrap;
    padding: 20px;
  }
}