@charset "utf-8";
/* CSS Document */
html, body {
      margin: 0;
      padding: 0;
      width: 100%;
      background: #fff;
}
body {
	font-family: 'Italiana', serif;
}
header {
	width: 100%;
	height: 28vh;
}
.logo{
	position: fixed;
	float: left;
	margin: 0px 4%;
	color: #333;
	font-size: 58px;
}
.button {
	text-decoration: none;
	color: rgba(0,0,0,0.8);
}
nav {
    position: fixed;
    width: 100%;
    top: 0;
	left: 0;
	height: 83px;
	box-sizing: border-box;
	transition: .4s;
	}
nav.black {
    background: rgba(84,84,84,0.90);
	height: 83px;
	padding-right: 7%;
	z-index:2;
}
nav.black .logo {
	color: #fff;
}
nav ul {
	list-style: none;
	background: rgba(0,0,0,0);
	overflow: hidden;
	padding: 0;
	text-align: right;
	margin: 0 30px 0 0;
	transition: 1s;
} 
nav .black ul {
    background: rgba(0,0,0,0.8);
	height: 83px;
}
 nav ul li {
     display: inline-block;
	 padding: 15px;
}
 nav ul li a {
     text-decoration: none;
	 color: #fff;
	 font-size: 25px;
}
.container {
	position: relative;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
}
.cool-link::after {
	content: '';
	display: block;
	width: 0;
	height: 2px;
	background: #fff;
	transition: width .3s;
}
.cool-link:hover::after {
	width: 100%;
	transition: width .3s;
}
.menu-icon {
	width: 100%;
	background: rgba(0,0,0,0.5);
	text-align: right;
	box-sizing: border-box;
	padding: 45px 24px;
	cursor: pointer;
	color: #fff;
	display: none;
}

@media(max-width: 1200px){
	.logo {
			position: fixed;
			top: 0;
			margin-top: 16px;
		font-size: 2em;
    }
	nav ul {
		    max-height: 0px;
		    background: rgba(0,0,0,0.5);
	}
	
	nav.black ul {
		background: rgba(0,0,0,0.5);
		z-index:2;
	}
	.showing {
		max-height: 20em;
	}
	nav ul li {
		box-sizing: border-box;
		width: 100%;
		padding:  2px 0 ;
		text-align: center;
	}
	.menu-icon {
		display: block;
	}
	}
.navbar-right {
	font-size: 20px !important;
	float: right !important;
}
.container-fluid {
	width: 100px;
	height: 100px;
	position: absolute;
	margin: 50px;
	cursor: pointer;
}
/* ==================================================
  Cartas
  ================================================== */

.portfolio {
  margin: 0px;
	z-index:1;
	
}


.portfolio .zoom{
	position: relative;
}
.zoom:hover img {
	transform: scale(1.05);
	moz-transform: scale(1.05);
	webkit-transform: scale(1.05);
}
.zoom img {
	width: 100%;
	vertical-align: top;
	transition: all 0.3s;
	padding: 5px 0px;
}

.portfolio-grid {
  margin-top: 15px 0px;
  max-width: 100%;
}

.portfolio-grid {
  margin: 0px 0px;
	display: inline-block;
}

.portfolio-grid > div {
  padding: 0px 20px;
	
}

.portfolio-grid > div .card img {
  width: 100%;
}

.portfolio-grid > div .card .portfolio-over {
  position: absolute;
  display: table-cell;
  vertical-align: middle;
  width: 100%;
  height: 82%;
  background: rgba(0, 0, 0, 0.3);
  top: 24px;
  right: 0;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.portfolio-grid > div .card .portfolio-over > div {
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.portfolio-grid > div .card .portfolio-over .card-title {
  color: #fff;
  font-size: 3.2em;
}
p {
  font-size: 1.4em;
	color: #fff
}

.portfolio-grid > div .card .portfolio-over .card-text {
  color: #fff;
  opacity: .75;
  padding: 0 15px;
}

.portfolio-grid > div .card:hover .portfolio-over {
  opacity: 1;
  visibility: visible;
}

.card {
  position: relative;
  padding: 0px;
  border: 0;
  border-radius: 0;
  margin: 0;
  max-width: 520px;
 }

a:hover {
  text-decoration: none !important;
}

.scrolltop {
  display: none;
  position: fixed;
  bottom: 15px;
  right: 0px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #333;
  color: #fff;
  text-align: center;
  font-size: 24px;
}

.scrolltop:hover, .scrolltop:active, .scrolltop:focus {
  color: #fff !important;
  opacity: .5;
}
/* ==================================================
  Pie de pagina
  ================================================== */

.pie {
	margin-top: 3px;
	padding: 0 0.5em;
	color: #fff;
	background: #222222;
	height: 120px;
}
@media screen and (max-width:500px) {
	

	header {
	height: 30vh;	
}		

	nav.black {
    background: rgba(0,0,0,0.9);
	height: 6em;
	padding-right: 0%;
		
}
	.pie {
	top: 80%;
	position: fixed;
}
}
/* padding-bottom and top for image */
.mfp-no-margins img.mfp-img {
	padding: 0 ;
}
/* position of shadow behind the image */
.mfp-no-margins .mfp-figure:after {
	top: 0;
	bottom: 0;
}
/* padding for main container */
.mfp-no-margins .mfp-container {
	padding: 0;
}


/*  ==================================================
  boton wapp
  ================================================== */
.btn-wsp{
    position:absolute;
    width:60px;
    height:60px;
    line-height: 63px;
    bottom:10px;
    right:200px;
    background:#25d366;
    color:#FFF;
    border-radius:50px;
    text-align:center;
    font-size:35px;
    box-shadow: 0px 1px 10px rgba(0,0,0,0.3);
    z-index:100;
    transition: all 300ms ease;
}
.btn-wsp:hover{
    background: #20ba5a;
}
@media only screen and (min-width:320px) and (max-width:768px){
    .btn-wsp{
        width:63px;
        height:63px;
        line-height: 66px;
	}
}








