body {
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 16px;
}

header {
	background-color: white;
	height: 10vh;
	overflow: hidden;
	z-index: 1000;
	position: fixed;
	top: 0;
	width: 100%;
}

main {
	margin-top: 10vh;
}

section {
	width:100%;
}

h2 {
	font-size: 40px;
}

h3 {
	font-size: 24px;
}

a {
	color: black;
}

a:hover {
	color: #97d2a4;
}

label {
	display: block;
}

/*Comunes */

.titulos {
	position: absolute;
	padding-left: 10%;
}

.boton {
	margin-top: 1em;
	border: 2px solid black;
	border-radius: 4px;
	background-color: #fff;
	color: black;
	padding: 8px 16px;
	text-align: center;
	text-decoration: none;
}

.boton:hover {
	border: 2px solid #97d2a4;
	color: #97d2a4;
	text-decoration: none;
}

.centrar {
	text-align: center;
}

.centrarVert{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* Navbar */
.navbar{
	margin-left:55%;
}

.navbar a {
	color: darkgrey;
	display: block;
	float: left;
	padding: 1.5em 1.5em;
	text-align: center;
	text-decoration: none;
}

.navbar a:hover {
	color: #97d2a4;
	text-decoration: none;
}

#home {
	padding-top: 1.4em;
}

.margen {
	padding-left: 10%;
}

.izquierda {
	float: left;
}

.derecha {
	float:right;
}

.invisible {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	transition: .5s ease;
	background-color: rgba(255, 255, 255, 0.8);
}

.separador {
	padding-right: 2em;
}

/* Inicio */
.inicio {
	height: 90vh;
	margin-top: 10vh;
}
.large-header {
	position: relative;
	width: 100%;
	background: white;
	overflow: hidden;
	background-size: cover;
	background-position: center center;
	z-index: 1;
}

.main-title {
	position: absolute;
	margin: 0;
	padding: 0;
	color: black;
	top: 10%;
	left: 10%;

}

.aire {
	margin-top: 4em;
}

.demo-1 .main-title {
	text-transform: uppercase;
	font-size: 4.2em;
	letter-spacing: 0.1em;
}

.main-title .thin {
	font-weight: 200;
}

@media only screen and (max-width : 768px) {
	.demo-1 .main-title {
		font-size: 3em;
	}
}

/* About */
.cv {
	margin-top: 2em;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}

.about {
	height: 90vh;
	padding-top: 10vh;
}

.about-left{
	float: left;
	width: 40%;
	margin-top: 15vh;

}

.about-right{
	float: right;
	width: 50%;
	margin-top: 12vh;
}

.circle {
	border-radius: 50%;
}

.redes {
	margin-top: 2em;
}

.redes a {
	padding: 0 1em;
}

/* Work */
.work {
	background-color: white;
	height:90vh;
	padding-top: 10vh;
}

.work p {

}
.work-fila {
	clear: left;
	width: 100%;
	height: 45%;
	padding-top: 10%;
	margin-top: 5%;
	margin-bottom: 3%;
	margin-left: auto;
	margin-right: auto;
}


.work-item3 {
	width: 33%;
	height:auto;
	float:left;
	border-radius: 4px;
	position: relative;
}

.tope {
	width: 100%;
	height: auto;
}

.work-item3:hover .invisible {
	transition: .5s ease;
	opacity: 1;
}


.work-item3 h3 {
	margin-top: 4em 0 0 0;

}

.work-fila a {
	text-decoration: none;
	color: black;
}

.graphic {
	margin-left: 10%;
}

/* Reach */
.reach{
	height: 90vh;
}

.contacto {
	height: 80vh;
}

.formulario {
	padding-top: 8em;
	width:50%;
	border-radius: 5px;
}

.mail {
	padding-top: 1.5em;
	color: darkgrey;
}

.mail i {
	vertical-align: middle;
}

.mail a {
	color: darkgrey;
}

.mail a:hover {
	color: #97d2a4;
}

input[type=text], textarea {
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box; /* Make sure that padding and width stays in place */
	margin-top: 6px;
	margin-bottom: 16px;
	resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */

}

input[type=text] {
	width: 40%;
}

input[type=text]:focus, textarea:focus {
	outline-color: #97d2a4;
}

textarea {
	width: 100%;
	height: 10em;
}

.footer {
	height: 10vh;
	margin:0;
	vertical-align: middle;
}

.trabajo {
	width: 100%;

}

.trabajo p, ul {
	width: 56%;
	margin-left: auto;
	margin-right: auto;
}

.trabajo-titulo{
	margin-left: 10%;
}

.trabajo .quote {
	color: gray;
	font-style: italic;
}


.trabajo img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 2em;
	height: auto;
	width: 72%;
}

.trabajo iframe {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 2em;
	margin-bottom: 2em;
}

.pieFoto {
	font-size: 14px;
	text-align: center;
	margin-bottom: 2em;
	color: darkgrey;
}

.enColumnas {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 73%;
	height: auto;
}

.enColumnasMarcoTres {
	margin-left: 1%;
	margin-right: 1%;
	width: 31%;
	float: left;
}

.enColumnasMarcoTres img:hover {
	cursor: pointer;
}

#limpio {
	width: 100%;
	text-align: center;
}

#photos {
	margin-top: 2em;
	line-height: 0;
	-webkit-column-count: 3;
	-webkit-column-gap:   8px;
	-moz-column-count:    3;
	-moz-column-gap:      8px;
	column-count:         3;
	column-gap:           8px;
	background-color: #F5F5F5;
}

#photos img {
	margin-top: 8px;
	width: 100% !important;
	height: auto !important;
}

#photos img:hover {
	cursor: pointer;
}

@media (max-width: 1200px) {
	#photos {
		-moz-column-count:    3;
		-webkit-column-count: 3;
		column-count:         3;
	}
}
@media (max-width: 800px) {
	#photos {
		-moz-column-count:    2;
		-webkit-column-count: 2;
		column-count:         2;
	}
}
@media (max-width: 400px) {
	#photos {
		-moz-column-count:    1;
		-webkit-column-count: 1;
		column-count:         1;
	}
}

#myImg {
	transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	padding-top: 80px; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
	margin: auto;
	display: block;
	width: 80%;
	max-width: 700px;
}

/* Caption of Modal Image */
#caption {
	margin: auto;
	display: block;
	width: 80%;
	max-width: 700px;
	text-align: center;
	color: #ccc;
	padding: 10px 0;
	height: 150px;
}

/* Add Animation */
.modal-content, #caption {
	-webkit-animation-name: zoom;
	-webkit-animation-duration: 0.6s;
	animation-name: zoom;
	animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
	from {-webkit-transform:scale(0)}
	to {-webkit-transform:scale(1)}
}

@keyframes zoom {
	from {transform:scale(0)}
	to {transform:scale(1)}
}

/* The Close Button */
.close {
	position: fixed;
	top: 10%;
	right: 10%;
	color: #f1f1f1;
	font-size: 40px;
	font-weight: bold;
	transition: 0.3s;
}

.close:hover,
.close:focus {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
	.modal-content {
		width: 100%;
	}
}
