@import url(https://fonts.googleapis.com/css?family=Roboto:400,300,600,400italic);


.container-form {
  max-width: 600px;
  width: 100%;
  margin: 15px auto 0 auto;
  position: relative;
}

.sent {
  text-align: center;
}

.titulo {
  text-align: center;
  color: #505050;
}

#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact input[type="url"],
#contact textarea,
#contact button[type="submit"] {
  font: 400 12px/16px "Roboto", Helvetica, Arial, sans-serif;
}

#contact {
  background-color: #FFFFFF;
  padding: 20px 10px 25px;
  min-height: 500px;
}

fieldset {
  border: none !important;
  margin: 0 0 10px;
  padding: 0;
  width: 100%;
  text-align: right;
}

#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact input[type="url"],
#contact textarea {
  width: 100%;
  border: 1px solid #ccc;
  background: #FFF;
  margin: 0 0 5px;
  padding: 10px;
  border-radius: 0;
}

#contact input[type="text"]:focus,
#contact input[type="email"]:focus,
#contact input[type="tel"]:focus,
#contact input[type="url"]:focus,
textarea:focus {
  border: 1px solid #aaa;
  outline: none;
}

#contact textarea {
  height: 140px;
  max-width: 100%;
  resize: none;
  vertical-align: middle;
}

#contact button[type="submit"] {
  cursor: pointer;
  width: 100%;
  border-radius: 0;
  background: #FFF;
  color: #444;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  font-weight: 700;
  margin: 0 0 5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

#contact button[type="submit"]:hover {
  background-color: #009BDB;
  border: 1px solid #3EC1D5;
  color: #fff;
}

#contact button[type="submit"]:active {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

label {
  color: #000;
  font-size: 13px;
  font-weight: bold;
}

.boton_enviar {
  display: flex;
  margin: 0 auto 5px auto;
  justify-content: center;
  padding: 10px;
  width: 80%;
  text-align: center;
}

.copyright {
  text-align: center;
}

/* NUEVO: Estilo para los campos en una fila */
.row-fields {
  display: flex;
  gap: 10px;
}

.row-fields .half-width {
  width: 50%;
}

/* Placeholder styling */
::placeholder {
  color: #888;
}

:-moz-placeholder {
  color: #888;
}

::-moz-placeholder {
  color: #888;
}

:-ms-input-placeholder {
  color: #888;
}

/* Responsive */
@media only screen and (max-width: 600px) {
  .row-fields {
    flex-direction: column;
  }

  .row-fields .half-width {
    width: 100%;
  }

  #contact input[type="text"],
  #contact input[type="email"],
  #contact input[type="tel"],
  #contact input[type="url"],
  #contact textarea {
    width: 100%;
  }
}
