@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  box-sizing: border-box;
}
body {
  background-image: url(../img/background.jpg);
  background-size: contain;
}
@media only screen and (max-device-width: 768px) {
  .form-container {
    padding: 5%;
    background: #ffffff;
    border: 9px solid #f2f2f2;
    width: 100%;
    margin: auto;
  }

  header {
    background-color: rgb(12, 35, 30);
    height: 10vh;
    font-family: "Montserrat", sans-serif;
  }
  header img {
    width: 26%;
    margin: 1.5rem;
  }
  h1,
  p {
    text-align: center;
  }

  input,
  textarea,
  button {
    width: 100%;
  }
  textarea {
    height: 200px;
  }

  .container {
    width: 100vw;
  }

  .espacio {
    height: 1vh;
  }

  .creditos {
    /*movil*/
    font-family: "Montserrat", sans-serif;
    background-color: white;
    margin: 1rem auto;
    font-size: normal;
    text-align: center;
    line-height: 3rem;
    padding: 2rem;
    border-radius: 15px;
  }
}

/*tablet y escritorio*/
@media only screen and (min-device-width: 768px) {
  /*tablet y escritorio*/
  header {
    background-color: rgb(12, 35, 30);
    height: 15vh;
  } /*tablet y escritorio*/
  header img {
    width: 10%;
    margin: 2rem 0 0 15%;
  }
  /*tablet y escritorio*/
  .form-container {
    padding: 5% 10%;
    background: #ffffff;
    width: 90%;
    border-radius: 15px;
    margin: 4rem auto;
    -webkit-box-shadow: 0px 1px 16px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 1px 16px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 1px 16px 0px rgba(0, 0, 0, 0.75);
  }
  h1,
  p {
    text-align: center;
  }
  /*tablet y escritorio*/
  input,
  textarea,
  button {
    width: 100%;
    margin: 1rem auto;
    float: center;
  }
  textarea {
    height: 4rem;
  }
  /*tablet y escritorio*/
  .container {
    width: 100%;
  }

  .espacio {
    height: 1vh;
  }
  /*tablet y escritorio*/
  .creditos {
    background-color: white;
    width: 90%;
    margin: 4em auto;
    float: center;
    font-size: large;
    text-align: center;
    line-height: 3.5rem;
    padding: 5rem;
    border-radius: 15px;
    -webkit-box-shadow: 0px 1px 16px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 1px 16px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 1px 16px 0px rgba(0, 0, 0, 0.75);
  }
}
