body{
	font-family: "Helvetica Neue regular", Helvetica, Arial, sans-serif;
	font-style:normal;
	background-color: #f9f9f9;
	color: #222;
	margin-top: 15px;
	margin-left:15px;
	margin-right: 15px;
	margin-bottom:0;
	overflow-x: none;
}


/*text base + modificacions*/
p{
	font-size: 0.95rem;
    font-weight: 500;
    top: 0rem;
    left: 0rem;
    letter-spacing: 0.5px;
    margin: 0;
}

p#presentacio{
	text-align: center;
	margin-top: 3rem;
}

p#subtitol{
	text-align: center;
	margin-top:0.3em;
}

p#negreta{
	font-weight: 600;
}

p#colorbase{
	background-color:rgb(225,225,225);
	display: inline-block;
	margin-left: 6em;
}

p#anyportfoli{
	margin-left: 10em;
}

p#personal{
	margin-left: 2em;
}

/*titol*/
h1{
	font-family: "Helvetica Neue regular", Helvetica, Arial, sans-serif;
	font-style: normal;
	font-size: 3em;
	font-weight: 500;
	letter-spacing: 2px;

	text-align: center;
	align-items: center;
	margin-bottom:0px;
	margin: 0;
	margin-top: 10rem;
}

h1#subtitol{
	font-size: 1.5rem;
    font-weight: 100;
    letter-spacing: 2px;
    margin: 0;
    margin-top: 0.3rem;
}

h1#estrellitasportfoli{
	font-size: 1.5rem;
    font-weight: 100;
    letter-spacing: 2px;
    margin: 0;
    margin-top: 10rem;
}

/*titols cv*/
h2{
	font-family: "Helvetica Neue regular", Helvetica, Arial, sans-serif;
	font-weight: 500;
	font-style: normal;
	font-size: 2rem;
	background-color:rgb(225,225,225);
	display:inline-block;

	margin-bottom:0;
	margin-top: 10px;
}

/*text base*/
h3{    
    font-size: 2rem;
    font-weight: 500;
    top: 0rem;
    left: 0rem;
    letter-spacing: 1.5px;
    margin: 2;
}

h3.textaco{
    font-size: 2rem;
    text-align: center;
    flex:3;
}

/*subratllat color*/
a{
	text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

a:hover {
      color: #c3c5c7;
}


/*foto*/
img#curriculum{
	display: block;
    width: 250px;
    margin: auto;
}

img#home {
	display: block;
    width: 250px;
    margin: auto;
}

img#home:hover{
	animation-name:image;
	animation-duration:1s;
}

@keyframes image{
	0%{
		transform:scale(1) rotate(-8deg);
	}
	50%{
		transform:scale(1) rotate(-9deg);
	}
	100%{
		transform:scale(1) rotate(-9deg);
	}
}

/*divs*/
div.header{
	display:flex;
	flex-direction: row;
	justify-content: space-between;
}

div.info{
	display:flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
	gap:40px;
	margin-left:auto;
	margin-right: auto;

}


/*portfoli*/
div.grid {
	display: grid;
	margin:auto;
	max-widht:auto-fill;
	grid-template-columns: 1fr;
	grid-gap:10px;
	padding-top:2em;
}

div.griditem img{
	width: 100%;
	aspect-ratio: 5;
	display:block;
}

div.griditem img:hover{
	filter:blur(1px);
}

/*mediaqueris*/
@media screen and (max-width:728px){
	/*canvis curriculum*/
	p.textaco{
		font-size: 23px;
	}

	div.dades{
		flex-direction: column;
	}

	div.info{
		flex-direction: column;
		align-items: center;
	}
	h1{
		font-size: 4.5em;
	}
}
@media screen and (max-width:476px){
/*canvis portfoli*/
	div.grid {
		display: grid;
		margin:auto;
		max-widht:auto-fill;
		grid-template-columns: 1fr;
		grid-gap:10px;
		padding-top:2em;
	}
}

