 img {
     display: block; margin: 0 auto;
}

body {
  margin: 0;
 background:url(../img/bg3.png);
}
header{
   
    width: 100%;
    height: 20px;
    
}
.contenido{
    width: 100%;
    height: auto;
}
.logo{
    width: 85%;
    height: auto;
    margin: 10% auto 3%;
    border-bottom: 2px solid #b7b7b7;
}
.btn{
    margin: auto;
    width: 149px;
    display: block;
    background: #b7b7b7;
    
}
.btn a{
    color:#fff;
    font-family:inherit;
    font-size: 18px;
    text-decoration: none;
    
}
.btn:hover{
    color: #b7b7b7;
    background: #666;
}

.footer{

    width: 100%;
    height: 50px;
    background: url(../img/bg.png);
   position: absolute;
    bottom: 0px;
    margin: 50px auto 0;
    text-align: center;
    color: #fff;
    font-family: inherit;
    font-size: 10px;
    padding: 20px;
    z-index: -1;
}
/** LIGHTBOX MARKUP **//*Eliminates padding, centers the thumbnail */
body, html {
  padding: 0;
  margin: 0;
  text-align: center;
}

/* Styles the thumbnail */
a.lightbox img {
  height: 150px;
  border: 3px solid white;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
  margin: 94px 20px 20px 20px;
}

/* Styles the lightbox, removes it from sight and adds the fade-in transition */
.lightbox-target {
  position: fixed;
  top: -100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  opacity: 0;
  -webkit-transition: opacity .5s ease-in-out;
  -moz-transition: opacity .5s ease-in-out;
  -o-transition: opacity .5s ease-in-out;
  transition: opacity .5s ease-in-out;
  overflow: hidden;
}

/* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */
.lightbox-target img {
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 0%;
  max-width: 0%;
  border: 3px solid white;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
}

/* Styles the close link, adds the slide down transition */
a.lightbox-close {
  display: block;
  width: 50px;
  height: 50px;
  box-sizing: border-box;
  background: white;
  color: black;
  text-decoration: none;
  position: absolute;
  top: -80px;
  right: 0;
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
}

/* Provides part of the "X" to eliminate an image from the close link */
a.lightbox-close:before {
  content: "";
  display: block;
  height: 30px;
  width: 1px;
  background: black;
  position: absolute;
  left: 26px;
  top: 10px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* Provides part of the "X" to eliminate an image from the close link */
a.lightbox-close:after {
  content: "";
  display: block;
  height: 30px;
  width: 1px;
  background: black;
  position: absolute;
  left: 26px;
  top: 10px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox-target anchor */
.lightbox-target:target {
  opacity: 1;
  top: 0;
  bottom: 0;
}

.lightbox-target:target img {
  max-height: 100%;
  max-width: 100%;
}

.lightbox-target:target a.lightbox-close {
  top: 0px;
}
.formulario{
    background: url(../img/bg3.png);
        width: 75%;
    height: auto;
    margin: 5% auto;
    display: block;
    padding: 5%;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
form h3{
    font-size: 14px;
    display: block;
    float: left;
    width: 100px;
    height: 20px;
    margin: 0;
    text-align: left;
}
.nombre{
    margin: 5px 0 5px 0;
    overflow: hidden;
    width: 100%;
    padding: 0; 
}
.nombre input{
    width: 100%;
}
.email{
    margin: 5px 0 5px 0;
    overflow: hidden;
    width: 100%;
    padding: 0; 
}
.email input{
    width: 100%;
}
.mensaje{
     width: 100%;
    height: 140px;
}
.mensaje textarea{
    width: 100%;
    height: 100px;
}
form{
    width: 100%;
    display: block;
    border: 1px solid #b1b1b1;
    margin: auto;
    padding: 10px;
    
}
