
/* estilos de texto */

h1 {
	color: yellow;
	text-shadow: 0px 0px 30px rgba(96, 5, 171, 100%) ;
	font-size: 40px;
	font-family: Bitcount Grid Single;
	text-align: center;
}

h2 {
	font-family: Bitcount Grid Single;
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	letter-spacing: -0.0px;
	color: blueviolet;
}


h3:hover {
	background-color: fuchsia;
}

h3 {
	color: blueviolet;
	font-family: Bitcount Grid Single;;
	font-weight: bold;
	font-size: 20px;
	text-align: center;
	text-decoration: none;

	padding: 15px 25px;
	border-position: center;
	border-radius: 50%;
	padding: 30px;
	border: 5px solid blueviolet;
	box-shadow :0px 0px 30px rgba(96, 5, 171, 70%);
	background-color: yellow;
	margin: 40px;
}


h4 {
	color: white;
	text-shadow: 0px 0px 30px rgba(96, 5, 171, 100%) ;
	font-size: 40px;
	font-family: Bitcount Grid Single;
	text-align: center;
	letter-spacing: -3px;
}

p {
	font-family: DM Sans;
	font-weight: thin;
	font-size: 15px;
	text-align: center;
	letter-spacing: -0.5px;
	color: blueviolet;

}


/* estils imatge curriculum */

img.fotocv {
	width: 250px;
  height: 360px;
  object-fit: cover; 
  justify-self: center; 
  border-radius: 50%;
  border: 3px solid yellow;
}



/* estils curriculum */


div.entrada {
	display: grid;
  grid-template-columns: 50% 50%; 
  align-items: center; 
  justify-content: center; 
  gap: 10px;
}



a.portfoli {
	color: blueviolet;
	font-family: DM Sans;
	font-weight: bold;
	font-size: 20px;
	letter-spacing: -0.8px;
	text-align: center;
	text-decoration: none;
	border-radius: 50%;
	margin-left: 100px;
	margin-right: 100px;

}


ul {
	list-style-type: '+  ';
	list-style-position: center;
	text-justify: center;
	font-family: DM Sans;
	font-weight: thin;
	font-size: 15px;
	text-align: center;
	letter-spacing: -0.5px;
	padding: 0px;
}

div.content {

	display: flex;
	flex-direction: row;
	justify-content: center;      
  align-items: center;
	gap: 40px;


	padding-left: 300px;
	padding-right: 300px;
	padding-top: 100px;
	padding-bottom: 100px;
	margin: 30px;
	display: flex;
  

	background-color: white;
	color: blueviolet;
	list-style-type: '+';
	list-style-position: center;
	text-justify: center;
	font-family: DM Sans;
	font-weight: thin;
	font-size: 15px;
	letter-spacing: -0.5px;
	text-align: center;

	border: 5px solid yellow;
	border-radius: 50%;
	box-shadow :0px 0px 30px rgba(80, 100, 171, 70%);

	
}

div.content h2 {
  flex: 1;                      
  text-align: center;            
}

div.content p,
div.content ul {
  flex: 1;                      
  text-align: center;             
  list-style-position: inside;  
}


@media screen and (max-width: 768px) {

	div.content {
 flex-direction: column;
	grid-template-columns: 1fr 1fr 1fr;
		padding-left: 300px;
	  padding-right: 300px;
}
}

@media screen and (max-width:1080px) {

	div.content {
	padding-left: 150px;
	padding-right: 150px;
}
}



/* estils portfoli */

div.portfoli img {
	width: 100%;

}

div.portfoli {
	display: grid;
	grid-template-columns: 1fr ;
	gap: 30px;
}

div.item {
	margin: 20px ;
	background-color: white;
	padding: 15px;
	border-radius: 0%;
	border: 5px solid yellow;
	box-shadow: 5px 5px 5px black;

	display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;

}

div.text {
  margin-top: auto; 
}

div.nav {
	display: grid;
	grid-template-columns: auto auto auto;
	gap: 50px;
  align-items: center;
  padding: 20px;
  
}



a.curriculum {
	display: inline-block;
	justify-self: right;
	margin: 0;
  padding: 0px;
	color: blueviolet;
	font-family: DM Sans;
	font-weight: bold;
	font-size: 20px;
	letter-spacing: -0.8px;
	text-align: center;
	text-decoration: none;
	border-radius: 12%;
	box-sizing: border-box;

}


@media screen and (min-width: 768px) {

	div.portfoli {
	display: grid;
	grid-template-columns: 1fr 1fr;

	}

}

@media screen and (min-width: 1080px) {

	div.portfoli {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr ;

	}

}


/* estils imatge portfoli */

img.daina {
	width: 250px;
  height: 120px;
  object-fit: cover; 
  justify-self: left;
}

img {
  width: 100%;
  height: auto; 
  object-fit: contain;
  
 
}


/* general*/

body {
	height: 100vh;
  margin: 10px;
	 --color-centro: violet; 
  background: radial-gradient(circle at center, var(--color-centro) 0%, white 100%);
  animation: rainbow 10s ease-in-out infinite alternate;
}


:root {
  --color-centro: white; 
}


p.starportfoli {
  font-size: 200px;
  margin: 0px;
  color: yellow; 
   justify-self: center;
}



p.star {
  font-size: 200px;
  margin: 0px;
  color: yellow; 
   justify-self: center;
	animation-name: rotate;
	animation-duration: 6s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}



@keyframes rainbow {
  0%   { --color-centro: violet; }
  20%  { --color-centro: blueviolet; }
  40%  { --color-centro: skyblue; }
  60%  { --color-centro: yellowgreen; }
  80%  { --color-centro: orange; }
  100% { --color-centro: hotpink; }
}


 @keyframes rotate {
 	0% {
 		transform: rotate(0deg);
 	}
 	100% {
 		transform: rotate(360deg);
 	}
 }

