.loader {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: url('../../imagenes/loading.gif') 50% 50% no-repeat rgb(249, 249, 249);
  opacity: .8;
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}


html, body {
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  color: #000;
  margin: 0;
  padding: 0;

  background-color: #ffffff;
  background-size: cover;

}


/*CONTAINERS*/
main {
  width: 90%;
  margin: 0 auto;
  padding: 20px;
}

.container {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  border-radius: 10px;
  padding: 20px;
}


/*TEXTOS*/
h1 {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  margin: 0;
  text-align: center;
  font-weight: 100;
  font-size: 3rem;
}


#icon {
  display: block;
  font-size: 10px;
  font-weight: 200;
  color: #fff;
  margin: 0 auto;
  text-align: center;
}

#main-title {
  font-size: 2rem;
  margin-bottom: 30px;
  color: black;
}

#main-title .icon {
  display: block;
  margin: 0 auto;
  width: 50px;
}


p {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  font-size: 1rem;
  text-align: center;
  border-bottom: 1px solid #fff;
  padding: 5px 0 5px 0;
}


/*CONTAINER SEARCH*/
#buscar {
  border-radius: 10px;
  margin: 0 auto;
  width: 400px;
  padding: 20px 0 20px 0;
  width: 500px;
  background-color: #AC3E95;
}

#buscar input {
  display: inline-block;
  color: black;
  width: 70%;
  height: 40px;
  border-radius: 4px;
  font-size: 0.9em;
  border: 2px solid white;
  padding: 5px;
}

#buscar label {
  color: #ffffff;
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  padding: 12px;
}


#buscar button {
  cursor: pointer;
  display: inline-flex;
  border: none;
  color: #fff;
  width: 45px;
  border-radius: 100px;
  height: 45px;
  font-size: 1em;
  background-color: #AC3E95;
  text-align: center;
  margin-left: 5px;
  vertical-align: middle;
}


#buscar #icon-search {
  font-size: 30px;
  font-weight: 300;
  color: #fff;
  margin: 0 auto;
  text-align: center;
  vertical-align: middle;
}


/*RESULTADOS*/
#resultados {
  border-radius: 10px;
  height: auto;
  padding: 10px;
  margin-top: 50px;
  margin: 10px auto;
  width: 500px;
  padding: 10px 10px 20px 10px;
  background: #BEB5C4; /* fallback for old browsers */
  background: -webkit-linear-gradient(left, #BEB5C4, #BEB5C4);
  background: -o-linear-gradient(left, #BEB5C4, #BEB5C4);
  background: linear-gradient(to right, #BEB5C4, #AC3E95); /* Chrome 10-25,    Safari 5.1-6 */ /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */


  /*  background: #56CCF2;  /* fallback for old browsers */
  /*  background: -webkit-linear-gradient(left, #2F80ED, #56CCF2);
    background: -o-linear-gradient(left, #2F80ED, #56CCF2);
    background: linear-gradient(to right, #2F80ED, #56CCF2);  /* Chrome 10-25,    Safari 5.1-6 */ /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}


#resultados .datos {
  position: relative;
  width: 300px;
  margin: 0 auto;
}

#resultados h2 {
  font-size: 25px;
  font-weight: 300;
  color: #fff;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

#resultados h2 span {
  font-weight: 500;
}


#resultados p {
  color: #fff;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
}


#resultados p span {
  font-weight: 500;

}


#resultados h3 {
  display: block;
  padding-top: 20px;
  color: #fff;
  font-weight: 300;
  font-size: 18px;
  text-align: center;
}


#resultados button {
  cursor: pointer;
  display: inline-block;
  border: none;
  color: #fff;
  border-radius: 10px;
  background-color: #064eaf;
  text-align: center;
  height: 30px;
}


#resultados .row {
  width: 210px;
  margin: 0 auto;
}


/*MOBILE*/
@media screen and (max-width: 600px) {
  #buscar input {
    width: 50%;
  }

  #buscar {
    width: 95%;
  }

  #resultados {
    width: 100%;
  }

  #resultados .datos {
    width: 95%;
  }
}