body {
	background-color: black;
	background-image: url(https://images.unsplash.com/photo-1695728213930-93ced4114eb0?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&q=80&w=1585);
	background-size: cover;
	background-position:center center;
  max-width: 1200px;
	margin: auto;
	padding-right: 40px;
	padding-left: 40px;
	padding-bottom: 25px;
	color: floralwhite;
	cursor: url(cursor.png), auto;
}

div.header {
	display: flex;
	justify-content: space-between;
	font-size: 16px;
	font-family: "Instrument Serif";
	font-weight: 700;
	position: sticky;
	top: 0px;
	margin: 0;
	z-index: 10;
	color: floralwhite;
	background-color: black;
	padding-left: 26px;
	padding-right: 26px;
	margin-right: -10px;
	border-radius: 20px;
}

div.contenedor{
	color: floralwhite;
	text-decoration: none;
	display: block;
}

div.contenedor:hover {
	color: hotpink;
}

div.header a{
	color: floralwhite;
	text-decoration: none;
	display: block;
}

div.header a:hover {
	color: lightpink;
}

/* CURRICULUM */

div.about {
	display: flex;
	gap: 30px;
	align-content: space-between;
	margin-top: 150px;
	margin-bottom: 150px;
	background-color: black;
	border-radius: 20px;
	z-index: 10;
	padding-left: 40px;
	padding-right: 40px;
	padding-top: 20px;
	padding-bottom: 20px;
}

div.index{
	font-family: "inter";
	font-weight: 700;
	font-size: 13px;
}

div.index h1{
	font-size: 15px;
	font-family: "instrument";
	font-style: italic;
	color: floralwhite;
}

div.index a{
	font-size: 13px;
	color: floralwhite;
	text-decoration: none;
}

div.about a:hover {
	color: lightpink;
}

div.item img {
	width: 350px;
	margin:auto;
	border-radius: 5px;
}

div.item img:hover {
	filter: grayscale(100%) contrast(100%);
	cursor: pointer;
	transform: translate(10px, 10px);
	transform: rotate(4deg);
}

div.welcome{
	margin-top: 70px;
	margin-bottom: 70px;

	animation-name: bounce;
	animation-duration: 3s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
	color: lightpink;
}

div.welcome h1 {
	font-size: 80px;
	font-family: Instrument Serif;
	font-weight: 80;
	display: flex;
	justify-content: space-around;
}

div.welcome h2 {
	font-size: 130px;
	font-family: Imperial Script;
	font-weight: 200;
	display: flex;
	justify-content: space-around;
	margin: -80px;
	margin-bottom: 40px;
}

div.headline1 {
	font-family: Inter;
	font-weight: 400;
	font-size: 13px;
	display: flex;
	justify-content: space-between;
	top: 0px;
	margin: 0;
	z-index: 0;
	color: lightpink;
	padding-top: 60px;
}

div.cv {
	background-color: black;
	border-radius: 20px;
	z-index: 10;
	padding-left: 40px;
	padding-right: 40px;
	padding-top: 20px;
	padding-bottom: 20px;
}

div.carrera{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}
div.carrera p{
	display: flex;
	justify-content: padding-left;
	font-family: "Inter";
	font-weight: 400;
	font-size: 13px;
	text-align: justify;
}

div.carrera h1{
	display: flex;
	justify-content: space-around;
	font-family: "Instrument Serif";
	font-weight: 400;
	font-size: 20px;
	background-color: floralwhite;
	color: floralwhite;
	background: linear-gradient(-45deg, #ee7752, #2b2b2b, #e4b7b2, #556b5d, #3a2e2e);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
	border: 1px solid white;
	border-radius: 20px;
	padding: 5px 10px;
	display: inline-block
	line-height: -400;
	border-radius:600px;
}

div.educacion h1{
	display: flex;
	justify-content: space-around;
	font-family: "Instrument Serif";
	font-weight: 400;
	font-size: 20px;
	background-color: floralwhite;
	color: floralwhite;
	border: 1px solid white;
	background: linear-gradient(-45deg, #ee7752, #2b2b2b, #e4b7b2, #556b5d, #3a2e2e);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
	border-radius: 20px;
	padding: 5px 10px;
	display: inline-block
	line-height: -400;
	border-radius:600px;
}

div.experiencia h1{
	display: flex;
	justify-content: space-around;
	font-family: "Instrument Serif";
	font-weight: 400;
	font-size: 20px;
	background-color: floralwhite;
	color: floralwhite;
	background: linear-gradient(-45deg, #ee7752, #2b2b2b, #e4b7b2, #556b5d, #3a2e2e);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
	border: 1px solid white;
	border-radius: 20px;
	padding: 5px 10px;
	display: inline-block
	line-height: -400;
	border-radius:600px;
}

div.contenido{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 25px;
}

div.contenido p{
	display: grid;
	font-family: "Inter";
	font-weight: 400;
	font-size: 13px;
}

div.contenido h1{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	font-family: "Inter";
	font-weight: 400;
	font-size: 13px;
}

div.contenido h2{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	font-family: "Inter";
	font-weight: 400;
	font-size: 13px;
}

div.contenido h3{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	font-family: "Inter";
	font-weight: 400;
	font-size: 13px;
}

div.contenido h4{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	font-family: "Inter";
	font-weight: 400;
	font-size: 13px;
}

div.languages h1{
	display: flex;
	justify-content: space-around;
	font-family: "Instrument Serif";
	font-weight: 400;
	font-size: 20px;
	background-color: floralwhite;
	color: floralwhite;
	background: linear-gradient(-45deg, #ee7752, #2b2b2b, #e4b7b2, #556b5d, #3a2e2e);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
	border: 1px solid white;
	border-radius: 20px;
	padding: 5px 10px;
	display: inline-block
	line-height: -400;
	border-radius:600px;
}

div.niveles{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	font-family: "Inter";
	font-weight: 400;
	font-size: 13px;
}

/* PORTFOLI */


div.portfolio{
	font-family: Inter;
	font-weight: 400;
	font-size: 13px;
	display: flex;
	justify-content: space-between;
	top: 0px;
	margin: 0;
	z-index: 0;
	color: lightpink;
	padding-top: 60px;
}

div.trabajos {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 80px;
	row-gap: 60px;
	background-color: black;
	border-radius: 20px;
	z-index: 10;
	padding-left: 40px;
	padding-right: 40px;
	padding-top: 40px;
	padding-bottom: 40px;
	align-items: end;
}

div.trabajos img {
	width: 100%;
	border-radius: 5px;
}

div.trabajos h1{
	font-size: 15px;
	font-family: Instrument Serif;
	font-weight: 80;
}

div.trabajos p{
	font-size: 10px;
	font-family: Inter;
	font-weight: 400;
}

div.trabajos img:hover {
	filter: grayscale(100%) contrast(100%);
	cursor: pointer;
	transform: translate(10px, 10px);
	transform: scale(105%);
}

div.item2{
	padding-top: 20px;
	margin:auto;
	display: flex;
	justify-content: space-around;
	scale: 70%;
	animation-name: crazybounce;
  	animation-duration:3s;
 	animation-iteration-count: infinite;
}

@keyframes bounce{
	0%{
		transform: translate(0px, 0px);
	}
	50%{
		transform: translate(0px, -30px);
	}
	100%{
		transform: translate(0px, 0px);
	}
}

@keyframes crazybounce {
  0% {
    transform: translate(0px, 0px) rotate(0deg);
  }
  30% {
    transform: translate(0px, -50px) rotate(0deg);
  }
  50% {
    transform: translate(0px, -50px) rotate(360deg);
  }
  70% {
    transform: translate(0px, -50px) rotate(0deg);
  }
  100% {
    transform: translate(0px, 0px) rotate(0deg);
  }
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}


@media screen and (min-width: 400px) {
	div.portfoli {
		background-color: black;
		flex-direction: row;
	}

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