body{
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	background: #000000;
}

#contenedor{
	position: relative;
	width: 65vw;
	margin: 0 auto;
	background: #ffffff;
  font-size: 2vw;
	height: 100%;
}

#cabecera{
  width: 100%;
	height: 4em;
  background: #000000;
  float: left;
	padding-top: 0.6em;
}

#cuerpo{
  float: left;
	width: 50%;
	height: 100%;
	background: #ffffff;
  color:#000000;
  padding-left: 25%;
  padding-right: 25%;
}

.logo{
  display:block;
  margin:auto;
	max-height: 80%;
	width: auto;
}

.web1{
	width: 100%;
	float: left;
	position: relative;
	background-color: #333333;
}

.web2{
	width: 100%;
	float: left;
	position: relative;
	background-color: #2e77d1;
}

.web3{
	width: 100%;
	float: left;
	position: relative;
	background-color: #21252b;
}

.web4{
	width: 100%;
	float: left;
	position: relative;
	background-color: #ffffff;
}


/* Animación de overlay ------------------------------------------------------*/
#overlay4 .text{
	color: black;
}

.image {
  display: block;
  width: 100%;
  height: 19em;
}

.text {
  color: white;
  font-size: 1.5vw;;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
	-moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#overlay1 {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .6s ease;
  background-color: #333333;
}

.web1:hover #overlay1 {
  opacity: 0.95;
}

#overlay2 {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .6s ease;
  background-color: #2e77d1;
}

.web2:hover #overlay2 {
  opacity: 0.95;
}

#overlay3 {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .6s ease;
  background-color: #21252b;
}

.web3:hover #overlay3 {
  opacity: 0.95;
}

#overlay4 {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .6s ease;
  background-color: #ffffff;
}

.web4:hover #overlay4 {
  opacity: 0.95;
}


/*----------------------------------------------------------------------------*/

#footer{
	float: left;
	width: 100%;
	height: 4em;
	background: #000000;
}



/*Moviles---------------------------------------------------------------------*/

@media only screen and (orientation: portrait) {
	#contenedor{
		width: 100vw;
		font-size: 5vw;
	}

	#cabecera{
		height: 15vw;
		padding-top: 3vw;
	}

	#cuerpo{
		width: 90%;
	  padding-left: 5%;
	  padding-right: 5%;
	}

	#footer{
		height: 15vw;
	}

	.text {
	  font-size: 4vw;;
	}
}

/*-----------------------------------------------------------------------*/
