/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code,  del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video{
  margin:0;
  padding:0;
  text-decoration:none;
  font-family: inherit;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  outline:none;
  border:none;
  font-size: 100%;
  list-style:none;
  color:#000;
  vertical-align: baseline;
  -webkit-text-size-adjust:none;
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after {
    box-sizing: border-box;
}
:focus { outline: 0;}
a, a:link, a:visited, a:hover, a:active{text-decoration:none}
table { border-collapse: separate;border-spacing: 0;}
th, td {text-align: left; font-weight: normal;}

html{
  position: absolute;
  width:100%;
  min-height:100%;
}

body{
  position: absolute;
  width:100%;
  min-height:100%;
  margin:0;
  padding:0;
}

/*---------------------------------------------------------------------RESET---------------------------------------------------------*/
body{
  font-family: "Amatic SC", "Century Gothic","Helvetica", sans-serif;
  font-weight: 700;
  margin:0;
  padding:0;
}

.wrapper{
  width: 100%;
  position: relative;
  overflow: hidden;
  margin:0;
  padding:0;
}

#formulario{
  width: 100%;
  height:100%;
  float:left;
  background: rgb(11,177,149); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(11,177,149,1) 0%, rgba(255,255,255,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(11,177,149,1)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(11,177,149,1) 0%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(11,177,149,1) 0%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(11,177,149,1) 0%,rgba(255,255,255,1) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(11,177,149,1) 0%,rgba(255,255,255,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0bb195', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}

#formulario .cabecera{
  width:100%;
  height: 117px;
}

#formulario h1{
  text-indent: -9999px;
  float:left;
  height: 84px;
  width: 304px;
  background-image: url(../img/logo.png);
  background-repeat: no-repeat;
  margin-top: 30px;
  margin-left: 10px;
  position: fixed;
}

#formulario h2{
  color: #fff;
  font-size: 44px;
  letter-spacing: 3px;
  position: absolute;
  top: 65px;
  right:163px;
  text-decoration: overline;
  position:fixed;
  font-family: "Wire One", "Century Gothic","Helvetica", sans-serif;
}

#boton_inicio{
  color: rgba( 255,255,255,0);
  font-size: 70px;
  background-image: url(../img/home.png);
  background-repeat: no-repeat;
  width: 12%;
  height: 9%;
  position:absolute;
  top: 55px;
  right: -64px;
  position:fixed;
}

#boton_inicio:hover{
  -webkit-transform:scale(1.05);
  -moz-transform:scale(1.05);
  -ms-transform:scale(1.05);
  transform:scale(1.05);
  transition: 0.5s;
}

#boton_inicio:active{
  -webkit-transform:scale(0.9);
  -moz-transform:scale(0.9);
  -ms-transform:scale(0.9);
  transform:scale(0.9);
}

.contacto{
  float: left;
  margin-left: 46%;
  margin-top: 6%;
}

label{
  display:block;
  font-size: 21px;
  text-indent: 7px;
  font-weight: bold;
  color:#fff;
}

textarea{
  display:block;
  border-radius: 7px;
  background-color: #effaf8;
}

#email{
  display:block;
  border-radius: 7px;
  background-color: #effaf8;
  width: 50%;
}

#asunto{
  display:block;
  background-color: #effaf8;
  border-radius: 7px;
  width: 50%;
}

#mensaje{
  color: #219784;
  display:block;
  border: 1px solid #fff;
  box-shadow: -2px -2px 0px #a1a1a1;
}

#boton_borrar,#boton_enviar{
  float:left;
  font-family: "Amatic SC", "Century Gothic","Helvetica", sans-serif;
  font-weight: 700;
  font-size:19px;
  letter-spacing: 1px;
  background-color: #0bb195;
  color: #fff;
  cursor:pointer;
}

#boton_borrar{
  margin-left: 64%;
}

#boton_enviar{
  margin-left: 4%;
  margin-top:-12%;
}

#boton_borrar:hover,#boton_enviar:hover{
  background-color: #6cd0bf;
  color: #070707;
}

#boton_borrar:active,#boton_enviar:active{
      -webkit-transform:scale(0.9);
      -moz-transform:scale(0.9);
      -ms-transform:scale(0.9);
      transform:scale(0.9);
}

footer{
  clear:both;
  width: 100%;
  height: 100px;
  background-image: url(../img/footer_formulario.png);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: bottom;
  position:absolute;
  bottom:0;
  position:fixed;
}


footer .pie{
  padding-top: 80px;
  padding-left: 86%;
  font-size: 13px;
  font-family: "Marvel", "Helvetica", "Arial", sans-serif;
}

span{
  color: #fff;
}


/*---------------------------------------------------1024-----------------------*/
@media (max-width: 1024px) {

    #boton_enviar{
      margin-left:-44%;
    }

    #boton_inicio{
      right: 20px;
    }
}


/*---------------------------------------------------756-----------------------*/
@media (max-width: 756px) {
   
    #boton_enviar{
        margin-left:-44.5%;
      }

    textarea {
        width: 284px;
        }
}


/*---------------------------------------------------640-----------------------*/
@media (max-width: 640px) {
    #formulario h1{
      background-size: 70%;
    }

    #formulario h2{
      font-size: 36px;
      top: 12%;
      left: 25%;
    }

    #boton_inicio{
      width: 16%;
      right: -2px;
    }

    textarea {
        width: 167px;
        }
    fieldset{
        margin-top: 71px;
        margin-left: -24%;
      }
     #boton_borrar{
          margin-left: 2%;
        }

      #boton_enviar{
          margin-left:6%;
        } 

      footer .pie{
        font-size: 11px;
        padding-top: 85px;
      }
}

/*---------------------------------------------------340-----------------------*/
@media (max-width: 340px) {
    #formulario h2{
      left: 36%;
    }

    #boton_inicio{
      width: 19%;
      right: -1px;
    }
}
