

body.cv{
	max-width: 1480px;
	margin:auto;
	cursor: url(cursor.png), auto;
	padding-top: 10px;
	padding-left: 7px;
	padding-left: 7px;

	background-image: url(../mechero.jpg);
	background-size: 100vw 100vh;
	background-repeat: repeat;
	background-attachment: fixed;
	}



body.portfolio {
	
	max-width: 1480px;
	margin: auto;
	cursor: url(cursorhover.png), auto;
	padding-top: 10px;
	padding-left: 7px;
	padding-left: 7px;

	background-color: whitesmoke;
}



h1{
	color: black;
	font-size: 90px;
	font-family: Tektur;
	text-align: center;
	text-shadow: -4px -8px 6px lightgrey;
	line-height: 65px;
	filter: invert(10%) opacity(60%) contrast(100%);

	
	padding-top: 0px;
	margin: 25px;
}

h1:hover{
	filter: opacity(50%) contrast(50%);
	text-shadow: 6px 5px 6px lightgrey;
	

}

div.tituloworks{
	color: black;
	font-size: 160px;
	font-family: Work Sans;
	font-weight: bold;
	text-align: center;
	text-shadow: -4px -8px 6px grey;
	line-height: 65px;
	filter: opacity(90%) contrast(100%);

	padding-top: 0px;
	margin: auto;
}

div.tituloworks:hover{
	filter: opacity(50%) contrast(50%);
	text-shadow: 6px 5px 6px lightgrey;
	

}

h1 strong{
		font-size: 120px;
		font-family: Monsieur La Doulaise;
		display: block;
		margin-bottom: 15px;
	}

h2{
	color:black;
	font-size: 70px;
	font-family: Monsieur La Doulaise;
	font-weight: bolder;
	text-align: center;
	line-height: 80px;

	margin-top: -20px
}


h2:hover{
    
    transform: scale(130%);

    animation-name: colorchange;
	animation-duration: 5s;
	animation-iteration-count: infinite;
	animation-timing-function: cubic-bezier(0.85, 0.01, 0.2, 1);
}

h2 strong{
	font-size: 120px ;
	margin-bottom: 0px;
}


h3{
	color: black;
	font-size: 23px;
	font-family: lora;
	color: white;
	background-color: white;
	background filter: opacity(40%);
	border-radius: 2px;
}

div.thehey {
	color: black;
	font-size: 145px;
	font-family: Monsieur La Doulaise;
	line-height: 85px;
	text-align: center;
	font-weight: bold;


	margin-top: 90px;
	margin-bottom: 70px;
	
}


div.header{
	color: white;
  padding:10px;
  position:sticky;
  top:0;

}


	p{
		margin-bottom: 10px;
		color: whitesmoke;
		font-size: 14px;
		font-family: Work Sans;
		text-align: left;
	
	}
	p.p8{
		margin-bottom: 10px;
		color: black;
		font-size: 14px;
		font-family: Work Sans;
		text-align: center;
	
	}

	div.p1{
		margin-bottom: 10px;
		color: black;
		font-size: 15px;
		font-family: Work Sans;
		text-align: left;
		background-color: black;
		border-radius: 20px;
		padding: 15px;

	}

	div.p2{
		color: black;
		font-size: 35px;
		font-family: lora;
		text-align: center;
		

	}
	p.p2{
		margin-bottom: 0px;
		color: black;
		font-size: 35px;
		font-family: lora;
		text-align: center;
		background-color: transparent;
		border-radius: 50px;
		padding: auto;

		background-color: lightgrey;
	}
	p.p4{
		color: black;
		font-size: 50px;
		font-family: lora;
		font-weight: bold;
		text-align: left;
		line-height: 52px;
		background-color: white;
		margin margin-top: 0px;
   		padding: 10px 10px;
   		border-radius: 0px;

   		filter: opacity(80%);
	}

	p.p4 strong{
		color: black;
		font-size: 60px;
		font-family: Work Sans;
		font-weight: bold ;
		text-align: left;
		line-height: 75px;
		background-color: white;
		margin-top: 5px;
   		padding: 20px 20px;
   		border-radius: 0px;

   		filter: opacity(80%);
	}

	p.p5{
		color: whitesmoke;
		font-size: 40px;
		font-family: BBH Sans Bartle;
		text-align: right;
		line-height: 50px;
		background-color: black;
		transform: scale(1.0);
   		
   		border-radius: 0px;
   		width: auto;
   		display: inline-block;
	}

	p.p5:hover{
		color: black;
		font-size: 40px;
		font-family: BBH Sans Bartle;
		text-align: right;
		line-height: 50px;
		background-color: whitesmoke;
		transform: scale(1.0);
   		
   		border-radius: 0px;
   		width: auto;
   		display: inline-block;
	}


	p.p6{
		color: black;
		font-size: 50px;
		font-family: Work Sans;
		font-weight: bolder;
		text-align: center;
		line-height: 47px;
		background-color: lightgrey;
		border-radius: 50px;
		margin: auto;
   		padding: 10px 10px;
   		
   		display: block;
   		margin: 8px;

   		filter: opacity(70%);
   	}

   	p.p7{
   		color: white;
		font-size: 22px;
		font-family: lora;
		text-align: center;
		line-height: 20px;
		border-radius: 20px;
		background-color: dimgrey;
		display: block;
   		padding: 5px 5px;
   		margin: 8px;	
   	}
   	p.p7 strong {
   		color: white;
		font-size: 18px;
		font-family: Work Sans;
		font-weight: normal;
		text-align: center;
		line-height: 20px;
		border-radius: 20px;
		background-color: dimgrey;
		display: block;
   		padding: 5px 5px;	
   	}


	a{
	color:black;
	text-decoration: none;
	}

	a:hover{ filter: blur(1px) contrast(140%);}

	img{
		width: 400px; 
		display: block;
		margin: auto;
		border-radius: 5px;
		position: center;
		}

	div.cv2 img{
		width: 1080px; 
		display: block;
		margin-top:auto;
		border-radius: 5px;
		position: center;
		
		width: 100vw;
  		height: 100vh;
  		object-fit: cover;
  		object-position: center;
  		display: block;
		}



	div.cv1 img:hover{
		cursor: url(cursor.png), auto;
		filter: grayscale(1) contrast(400%) brightness(2.0);

		animation-name: image_portfolio;
		animation-duration: 4s;
		animation-iteration-count: 2;
		animation-timing-function: alternate;
	}
	
	body.portfolio img:hover{
		cursor: url(cursor.png), auto;


		animation-name: image_portfolio;
		animation-duration: 3s;
		animation-iteration-count: 1;
		animation-timing-function: alternate;
	}

	video{
		width: 100%;
	}

/* aqui va las animacions */
@keyframes image_portfolio{
	
	0%{
		transform: scale(100%);
	}
	50%{
		transform: scale(120%);
	}
	100%{
		transform: scale(100%);
	}
	
}
	


div.header {
		display: flex;
		justify-content: space-between;

	
	@media screen and (min-width: 789px)
			div.flexbox {
				flex-direction: row;
				}
}

div.footer {
		display: flex;
		justify-content: space-between;
		align-items: flex-end;

		font-size: 15px;
		font-weight: bolder;
		font-family: Work Sans;
		margin-top: 50px;
	
}

div.portfolio{
	display: grid;
	grid-template-columns: 1fr ;
	gap: 5px;
	
}


div.portfolio img {
	width: 100%;
}

div.cv {
	display: grid;
	justify-content: space-between;
	grid-template-columns: 1fr;
	gap: 10px;
	grid: center;
	border-radius: 20px;
	}	




@media screen and (min-width: 768px){
	div.portfolio {
		grid-template-columns: 1fr 1fr 1fr; 
	}


	div.cv {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
		grid: center;
		}

	body.cv {
			padding: auto;
			p.p5{
			font-size: 98px;
			line-height: 95px;
			}
			h1{
				font-size: 180px;
				line-height: 120px;
			}
			h1 strong{
			font-size: 150px;}

			h2{
				font-size: 98px;
			}
			p.p4{
				color: black;
				font-size: 70px;
				font-family: lora;
				font-weight: bold;
				text-align: left;
				line-height: 75px;
				background-color: white;
				margin margin-top: 0px;
		   		padding: 10px 10px;
		   		border-radius: 0px;

		   		filter: opacity(80%);
			}

			p.p4 strong{
				olor: black;
				font-size: 80px;
				font-family: Work Sans;
				font-weight: bold italic;
				text-align: left;
				line-height: 75px;
				background-color: white;
				margin-top: 5px;
		   		padding: 20px 20px;
		   		border-radius: 0px;

		   		filter: opacity(80%);
				}
				div.footer {
		display: flex;
		justify-content: space-between;
		align-items: flex-end;

		font-size: 15px;
		font-weight: bolder;
		font-family: Work Sans;
		margin-top: 50px;
	
}

		}

					

@keyframes colorchange{
	0%{ rotate: -5degcolor: grayscale;}
	20%{ rotate: 2deg;color: dimgrey;}
	40%{ rotate: 10deg;color: darkgray;}
	60%{ rotate: -10degcolor: grey;}
	80%{ rotate: 5deg; color: grayscale;}
	100%{rotate: -20deg color: black;}

}






