/*---background---*/	
	body{
		background: linear-gradient(#FFE1E1,#FF9D9D );
	}
/*---capçalera h1---*/
	h1{
			color: darkred;
			font-size: 100px;
			text-align: left;
			font-family: helvetica;
			line-height: 0.8;
			margin-top: 0px;
			padding-left: 20px;
			margin-bottom: 50px;
			
		}
	strong {
		 display: block;
	}

@media screen and (min-width: 768px) {
	h1{
		font-size: 250px;
		line-height: 0.4em;
		margin-top: 50px;
		margin-bottom: 250px;	
	}

	strong {
		line-height: 1.4em;
	}

	div.titulopf {
		margin-top: 200px;
	}

}	
/*---capçalera h2---*/
	h2{
		font-size: 30px;
		font-family: helvetica;
		margin-left: 30px;
		color: darkred;

	}

	div.portafoli h2 {
		margin-left:0;
	}
/*---capçalera h3---*/
	h3{
		font-size: 50px;
		font-family: helvetica;
		margin-left: 30px;
		margin-bottom: 0px;
		color: darkred;
	
	}

/*---paragraf---*/
	p{
			font-family: arial;
			font-weight: lighter;
			padding-bottom: 15px;
			padding-left: 30px;
			padding-right: 30px;
			margin-top: 0px;
			color: darkred;
		}

/*---link+header---*/
	a{
		color: darkred;
		text-decoration: none;
	}

	a:hover{
		text-decoration: underline;
	}

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


/*IMATGES GENERALS*/
img {
	width: 500px;
	padding-top: 0px;
	display: block;
	margin:auto;
}

/*---fotointro---*/
@media screen and (min-width: 768px) {
	div.introfoto {
		display: flex;
		align-items: center;
		gap:40px;
		flex-direction: row-reverse;
		padding-right: 40px;
	}	
}


/*animació foto principal*/

div.fotoprincipal img {
    width: 300px;
    padding-top: 0;
    display: block;
    margin: auto;
    animation-name: ZOOM;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    box-shadow: 0 0 10px rgba(0,0,0,0.3)
 
}

@media screen and (min-width: 768px) {
	div.fotoprincipal img {
		width: 500px;
	 }
}

@keyframes ZOOM {
    0% {
        transform: scale(1) 
    }
    25% {
        transform: scale(1.05) 
    }
    75% {
        transform: scale(0.98) 
    }
    100% {
        transform: scale(1) 
    }
}


/*---grid---*/

div.portafoli {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	transition: opacity 0.3s ease;
	
}
div.portafoli img{
	width: 100%;
}

div.portafoli img:hover {
	opacity: 0.7;: 

}

@media screen and (min-width: 768px) {
	div.portafoli {
		grid-template-columns: 1fr 1fr  ;
		gap: 40px;
		padding-left: 40px;
		padding-right: 40px;
	}

}

/*AQUÍ COMENÇA CURRÍCULUM*/

/*ACADEMIC HISTORY*/

div.academic p {
	margin-bottom: 0px;
	width: 80%
}
	
div.academic strong {
	display: block;
	font-weight: bold;
	text-decoration: underline;
}

/*WORK EXPERIENCE*/

div.WORK {
	text-align: right;
	margin top: 40px;
	margin-left: auto;
	width: 80%;
	word-break: break-word;
}

div.WORK p {
	margin-bottom: 0px;

}

div.WORK h3 {
	margin-right: 30px;
}
	
div.WORK strong {
	display: block;
	font-weight: bold;
	text-decoration: underline;
}

@media screen and (min-width: 768px) {
	div.WORK {
		width: 45%;
	}
}

/*LANGUAGES*/

div.languages p {
	margin-bottom: 0px;
	width: 80%
}
	
div.languages strong {
	display: block;
	font-weight: bold;
	text-decoration: underline;
}

/*SKILLS*/

div.skills {
	text-align: right;

}

div.skills h3 {
	padding-right: 30px;
	
}
div.skills ul {
	list-style: none;
	font-family: arial;
	font-weight: lighter;
	padding-right: 30px;
	color: darkred;
	margin-top: 0;
	line-height: 2em;

}

