body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
}
header {
	scroll-snap-align: start;
	background: #2c0f5a;
	color: #fff;
	padding-bottom: 20px;
	text-align: center;
	opacity: 0.8;
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
	height: 100vh;
}
.profile-title {
	display: inline-block;
	/* transicion para  */
}
header h1 {
	font-family: "Nunito", sans-serif;
	font-optical-sizing: auto;
	font-weight: 900;
	font-size: 3em;
	font-style: normal;
	white-space: nowrap;
	overflow: hidden;
	border-right: 0.15em solid #fff;
	animation: typing 3s steps(30, end), cursor 0.5s step-end infinite alternate;
}
header p {
	color: azure;
}

@keyframes cursor {
	50% {
		border-color: transparent;
	}
}

@keyframes typing {
	from {
		width: 0;
	}
	to {
		width: 100%;
	}
}

#profile-pic {
	width: 400px;
	height: 400px;
	border-radius: 50%;
	border: 5px solid #fff;
	filter: drop-shadow(0 0 0.75rem #ce3232);
}

#profile-pic:hover {
	cursor: pointer;
	transform: scale(1.1);
	transition: all 0.5s ease-in-out;
	filter: drop-shadow(0 0 0.75rem #fff);
}

.bg {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
	opacity: 0.2;
}

@media (max-width: 768px) {
	#pointer-page {
		display: none;
	}

	header {
		flex-direction: column;
		padding: 20px 0;
		justify-content: center;
	}

	header h1 {
		font-size: 2em;
	}
	header .profile-title {
		margin-bottom: 40px;
	}

	#profile-pic {
		width: 250px;
		height: 250px;
	}
}

@media (max-width: 480px) {
	header h1 {
		font-size: 1.5em;
	}

	header p {
		font-size: 1em;
	}

	#profile-pic {
		width: 150px;
		height: 150px;
	}
}

/* Menu bar context */

#menu-button {
	position: fixed;
	width: 40px;
	height: 40px;
	background: #ba7cd6af;
	top: 20px;
	left: 20px;
	border: 1px solid #000000;
	border-radius: 15%;
	align-items: center;
	display: flex;
	justify-content: center;
	filter: drop-shadow(0 0 0.75rem #ba7cd6);
	z-index: 1;
}

#menu-button:hover {
	cursor: pointer;
	transform: scale(1.1);
}

#nav-menu {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	transition: all 0.5s ease-in-out 1s;
}
#nav-menu.open {
	display: block;
	position: fixed;
	z-index: 1;
}
#nav-menu ul {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	height: 80%;
}

#menu-item {
	list-style: none;
	padding: 25px;
	margin: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
}
#menu-item a {
	text-decoration: none;
	color: #fff;
	font-family: "Merriweather", serif;
	font-size: 1.5em;
	font-weight: bold;
	text-transform: uppercase;
	transition: all 0.5s ease-in-out;
}
#menu-item a:hover {
	color: #57aa69;
	transform: scale(1.2);
	transition-duration: 0.3s;
}

/* Content */

/* Content components */

.cursor {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background-color: rgb(83, 27, 116);
	position: absolute;
	pointer-events: none;
	transition: background-color 0.3s ease, transform 0.3s ease;
	transform: translate(-50%, -50%);
	z-index: 1000;
}

.cursor.hover {
	background-color: rgb(170, 116, 214);
	transform: scale(1.5);
}

/* Sections */

section {
	scroll-snap-align: start;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.container {
	scroll-snap-type: y mandatory;
	overflow-y: scroll;
	height: 100vh;
}
section h2 {
	padding-bottom: 20px;
	text-align: center;
	margin-bottom: 6vw;
	font-size: 2em;
	border-bottom: 1px solid #333;
}

/* About section */

.separator {
	width: 100%;
	height: 2px;
	background-color: #272626;
	margin: 20px 0;
	filter: drop-shadow(0 0 0.75rem #9032ce);
}

#about {
	padding-inline: 12vw;
}

#about p {
	font-weight: 400;
	font-size: large;
	text-align: center;
	padding: 5rem 3rem;
	background-color: #fff;
	border-radius: 20px;
	filter: drop-shadow(0 0 0.75rem #9032ce);
}

#about p:hover ~ .cursor {
	background-color: blue;
	transform: scale(1.5);
}

@media (max-width: 768px) {
	#about {
		padding-inline: 5vw;
	}
	#about p {
		padding: 3rem;
	}
}

@media (max-width: 480px) {
	#about p {
		padding: 2rem;
	}
}

/* Experience section */

.experience-body {
	display: flex;
	justify-content: center;
	width: 100%;
}

.experience-item {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: #fff;
	margin-inline: 2vw;
	max-width: 15vw;
	border-radius: 20px;
	padding: 1rem;
	filter: drop-shadow(0 0 0.75rem #9032ce);
}

.experience-item:hover {
	background-color: rgba(135, 106, 148, 0.425);
	border: 2px solid #fff;
	transition: all 0.5s ease-in-out;
	transform: scale(1.2);
}

.experience h3 {
	font-size: 1.5em;
	font-weight: bold;
}

@media (max-width: 1024px) {
	.experience-item {
		max-width: 30vw;
		margin-inline: 1vw;
	}
}

@media (max-width: 768px) {
	.experience-item {
		max-width: 50vw;
		margin-inline: 1vw;
	}
}

@media (max-width: 480px) {
	.experience-item {
		max-width: 80vw;
		margin-inline: 1vw;
	}
}

/* Skills section */

#skills {
	background-image: url("assets/ocean.gif");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

/* Components */

@keyframes wave-ship {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-20px);
	}
}

/* End Components */

#skills h2 {
	margin-bottom: 2vw;
}

.container-ship-img {
	position: relative;

	width: 80vw;
	display: block;
	animation: wave-ship 3s infinite ease-in-out;
	clip-path: inset(0 0 35% 0);
}

.stack {
	display: flex;
	justify-content: space-around;
	align-items: end;
	width: 60vw;
	margin-bottom: -60px;
}

.substack {
	position: relative;
	background-image: url("assets/containers.webp");
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	justify-content: end;
	align-items: center;
	border: 2px solid #fff;

	padding-block: 1rem;
	border-radius: 20px;
	width: 12vw;
}

.substack.frontend {
	background-position: center;
}

.substack.backend {
	background-position: top;
}

.substack.database {
	background-position: left;
}

.substack .skill {
	position: relative;
	min-width: 7vw;
	padding: 4vh 1vw;
	margin: 0 1rem 1rem 1rem;
	border-radius: 14px;
	background-color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	color: transparent;
	transition: background-color 0.3s ease, color 0.3s ease;
	font-weight: 800;
	font-size: x-large;
}

.skill:hover {
	color: #e7e4e4;
}

#React {
	background-color: #5f687a;
	background-image: url("assets/logos/react.svg");
}

#React:hover {
	background-image: none;
}

#Typescript {
	background-color: #007acc;
	background-image: url("assets/logos/typescript.svg");
}

#Python {
	background-color: #4b8bbe;
	background-image: url("assets/logos/python.webp");
}

#Django {
	background-color: #0c4b33;
	background-image: url("assets/logos/django.webp");
}

#Typescript:hover {
	background-image: none;
}

#Laravel {
	background-color: #f55347b0;
	background-image: url("assets/logos/laravel.svg");
}

#Laravel:hover {
	background-color: #5e6d9648;
}

#DotNet {
	background-color: #512bd4;
	background-image: url("assets/logos/dotnet.svg");
}

#DotNet:hover {
	background-image: none;
}

#MySQL {
	background-color: #00758f;
	background-image: url("assets/logos/mysql.svg");
}

#MySQL:hover {
	background-image: none;
}

#PostgreSQL {
	background-color: #336791;
	background-image: url("assets/logos/postgresql.svg");
}

#SQLServer {
	background-color: #bd4f4d;
	background-image: url("assets/logos/mssql.svg");
}

.devops {
	position: relative;
	width: 70vw;
	display: flex;
	justify-content: center;
	background-color: #4c5194;
	border-radius: 20px;
	padding-block: 1rem;
	z-index: 2;
	margin-top: -12vh;
	animation: wave-ship 3s infinite ease-in-out;
}

.devops .skill {
	flex: 1;
	text-align: center;
	background-color: #2c0f5a;
	margin-inline: 1vw;
	padding: 4vh 2vw;
	border-radius: 14px;
	color: #fff;
}

/* Projets section */

#projects-container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

.project {
	max-width: 600px; 
    background-color: #fff; 
    border: 1px solid #ddd; 
    border-radius: 10px;
    padding: 20px;
	margin-inline: 20px; 
    margin-bottom: 20px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
	filter: drop-shadow(0 0 0.5rem #9032cecc);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tags {
	display: flex;
	flex-wrap: wrap;
	margin: 10px 0;
}

.tags span {
	padding: 4px 6px;
	border-radius: 14px;
	background-color: #57aa69;
	margin-inline-start: 5px;
	cursor: pointer;
	color: #fff;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.project h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.project p {
    font-size: 1em;
    color: #666;
    margin: 5px 0;
}

.project a {
	position: relative;
    color: #007acc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project a:hover {
    color: #005f99;
}

/* Education section */

.education-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.education {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    filter: drop-shadow(0 0 0.5rem #9032cecc);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    flex: 1;
    margin-right: 40px;
}

.education:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.education h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.education p {
    font-size: 1em;
    color: #666;
    margin: 5px 0;
}

.graduation-img {
    max-width: 200px;
    flex-shrink: 0;
}

/* Footer and form */

#contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30vw;
}

#contact label {
    font-size: 1em;
    color: #6b6363;
    margin: 10px 0 5px;
    align-self: flex-start;
}

#contact input,
#contact textarea {
    width: 100%;
    padding: 10px;
    border: 3px solid #8b8391;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 1em;
    color: #333;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	resize: none;
}

#contact input:focus,
#contact textarea:focus {
	border-color: #8c499c;
    outline: none;
    box-shadow: 0 0 5px rgba(84, 0, 153, 0.5);
}

#contact button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #007acc;
    color: #fff;
    font-size: 1em; 
    cursor: pointer; 
    transition: background-color 0.3s ease;
}

#contact button:hover {
    background-color: #005f99; 
}
