* {
	margin: 0;
	padding: 0;
	font-family: 'Squada One', cursive;
}

html {
  scroll-behavior: smooth;
}

body {
	background: #ffffff;
}

figure {
	margin: 0;
}

/* Accesibilidad: foco visible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 3px solid #2B398F;
	outline-offset: 2px;
	border-radius: 4px;
}

/*HEADER SECTION*/
.container-header {
	min-height: 50vh;
	padding: 2rem 6rem;
	background-image: linear-gradient(
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.2)
    ),url('https://images.unsplash.com/photo-1515879218367-8466d910aaa4?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-color: rgba(0,0,0,0.5);
	filter: brightness(0.9);
	position: relative;
	box-sizing: border-box;
}

/* NAVBAR */
nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

nav ul {
	list-style: none;
}

nav li {
	font-size: 1.7em;
	padding: 1rem;
	color: white;
}

nav li:hover {
  	background: #2B398E;
	border-radius: 5px 5px 5px 5px;
	transition: ease-in 0.4s;
}

nav a {
	color: white;
	text-decoration: none;
}

#menu-options a {
	display: block;
}

#menu-options a.active {
	background: #2B398E;
	border-radius: 5px;
}

.navbar-brand {
	text-decoration: none;
}

.navbar-brand img {
	width: 4rem;
	height: 4rem;
}

.theme-toggle {
	background: transparent;
	border: 2px solid white;
	color: white;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 50%;
	cursor: pointer;
	font-size: 1.1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.burguer-menu {
	padding: 1rem;
	display: inline-block;
	color: white;
  	font-size: 4em;
	background: transparent;
	border: none;
	font-family: inherit;
}

.burguer-menu:hover {
  cursor: pointer;
}

#burguer-container {
  text-align: right;
}

#menu-options {
  	text-align: right;
	justify-content: space-between;
	max-height: 0;
	transition: max-height 0.8s;
	overflow: hidden;
}

#menu-options.is-active {
  	display: block;
	max-height: 320px;
	transition: max-height 0.8s;
}

.hero {
	color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 10%;
}

.text-title {
	padding: 2rem;
	align-self: center;
	border: solid 3px;
	border-radius: 10px 10px 10px 10px;
	box-shadow: 2px 2px 1px 1px #2B398E;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

.text-title h1 {
	font-size: 5em;
	text-shadow: 2px 2px 2px #2B398E;
}

.text-title p {
	font-size: 2.5em;
	text-shadow: 2px 2px 2px #2B398E;
	text-align: center;
}

.text-title a {
	color: white;
	font-size: 1.5em;
	text-shadow: 2px 2px 2px #2B398E;
	text-decoration: none;
	align-self: center;
}

.btn {
	background: #2B398F;
	padding: 1rem;
	margin-top: 20px;
	border: solid 3px;
	border-radius: 10px 10px 10px 10px;
	box-shadow: 2px 2px 1px 1px #2B398E;
}

.btn:hover {
	background: #3e51c3;
	transition: ease-in 0.4s;
}

/*ABOUT ME SECTION*/
.about-me {
	text-align: center;
	overflow: visible;
	position: relative;
}

.about-me > * {
	width: 90%;
	margin-inline: auto;
}

.profile-photo {
	margin: -70px auto 0;
}

.profile-photo img {
	border-radius: 50%;
	border: 5px solid rgba(255, 255, 255);
}

.about-me h2 {
	margin: 50px;
	font-size: 2.2em;
	text-shadow: 2px 2px 2px #E3EFF7;
}

.about-me p {
	margin: 20px;
	font-size: 1.7em;
	color: #455A64;
}

/*SKILL SECTION*/
.skills {
	margin-top: 50px;
	padding-bottom: 100px;
	background: #455A64;
	text-align: center;
}

.skills > * {
	width: 85%;
	margin-inline: auto;
}

.skills h2 {
	color: white;
	padding: 50px;
	font-size: 2.2em;
	text-shadow: 2px 2px 2px #5F6263;
}

.skills > p {
	color: white;
	font-size: 1.3em;
	margin-bottom: 50px;
}

.row h3 {
	color: black;
	padding: 20px;
	font-size: 1.5em;
	text-shadow: 2px 2px 2px #E3EFF7;
}

.row p {
	color: #455A64;
	padding: 10px;
	font-size: 1.3em;
}

.skills-card {
	background: #f0f0f0;
	border-radius: 10px 10px 10px 10px;
	box-shadow: 0 0 0.7em black;
}

.skills-card ul {
	list-style: none;
	text-align: left;
	padding-left: 4rem;
}

.skills-card li {
	padding: 0.8rem;
	font-size: 1.2em;
}

/* Barras de habilidades */
.skill-bars {
	text-align: left;
	padding: 10px 10px 0;
}

.skill {
	margin: 12px 0;
}

.skill-name {
	display: block;
	font-size: 1.1em;
	color: #455A64;
	margin-bottom: 4px;
}

.bar {
	background: #d9d9d9;
	border-radius: 10px;
	overflow: hidden;
	height: 14px;
}

.bar-fill {
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, #2B398E, #3e51c3);
	border-radius: 10px;
	transition: width 1.2s ease;
}

/*EDUCATION SECTION*/
.education {
	margin-top: 50px;
	padding-bottom: 100px;
	background: #E3EFF7;
	text-align: center;
}

.education > * {
	width: 85%;
	margin-inline: auto;
}

.education h2 {
	color: #455A64;
	padding: 50px;
	font-size: 2.2em;
	text-shadow: 2px 2px 2px white;
}

.education > p {
	color: #455A64;
	font-size: 1.3em;
	margin-bottom: 50px;
}

.edu-card {
	background: #f0f0f0;
	border-radius: 10px 10px 10px 10px;
	box-shadow: 0 0 0.7em black;
	padding: 2rem;
	text-align: left;
}

.edu-card h3 {
	color: black;
	padding: 10px 10px 0 10px;
	font-size: 1.5em;
	text-shadow: 2px 2px 2px #E3EFF7;
}

.edu-card ul {
	list-style: none;
	text-align: left;
	padding-left: 2rem;
}

.edu-card li {
	padding: 0.8rem;
	font-size: 1.2em;
	color: #455A64;
}

/*PROJECTS SECTION*/
.projects {
	margin-bottom: 100px;
	text-align: center;
}

.projects > * {
	width: 85%;
	margin-inline: auto;
}

.projects h2 {
	margin: 50px;
	font-size: 2.2rem;
	text-shadow: 2px 2px 2px #E3EFF7;
	text-align: center;
}

.projects > p {
	color: #455A64;
	font-size: 3rem;
	margin-bottom: 50px;
}

.card-job {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	border-color: grey;
	border-radius: 0 0 10px 10px;
	box-shadow: 0 0 1em grey;
	box-sizing: border-box;
	background: #fff;
}

.card-img-job {
	margin: 0;
	position: relative;
}

.card-img-job img {
	width: 100%;
	border-radius: 5px 5px 0 0;
}

.badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: #2B398F;
	color: #fff;
	font-size: 0.85em;
	padding: 3px 12px;
	border-radius: 20px;
	z-index: 2;
}

.tech-tags {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	padding: 8px 0 4px;
}

.tech-tags li {
	background: #E3EFF7;
	color: #455A64;
	font-size: 0.85em;
	padding: 3px 12px;
	border-radius: 15px;
}

.card-body {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
}

.card-body h3 {
	font-size: 3em;
	color: #455A64;
}

.card-body p {
	font-size: 1.5em;
}

.card-btn {
	background: #2B398F;
	padding: 0.5rem;
	font-size: 3em;
	border: solid 3px;
	border-radius: 10px 10px 10px 10px;
	box-shadow: 2px 2px 1px 1px #2B398E;
}

.card-btn:hover {
	background: #3e51c3;
	transition: ease-in 0.4s;
}

.card-body a {
	color: white;
	font-size: 2rem;
	text-shadow: 2px 2px 2px #2B398E;
	text-decoration: none;
	align-self: center;
	margin-bottom: 30px;
}

/*CONTACT ME*/
.contact-me {
	background: #455A64;
	padding: 50px;
	margin-top: 50px;
}

.contact-me > .card-contact-me {
	width: 75%;
	margin-inline: auto;
}

.card-contact-me {
	background: #293347;
	margin-top: -80px;
	padding: 3rem;
	border-radius: 10px;
	box-shadow: 0 0 1em black;
}

.card-start-proyect {
	font-size: 2.5rem !important;
	color: white !important;
}

.card-start-proyect-1 {
	font-size: 1.5rem !important;
	color: white !important;
}

.mg-bt {
	margin-bottom: 20px;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 6px;
	text-align: left;
	max-width: 480px;
	margin: auto;
}

.contact-form label {
	color: #fff;
	font-size: 1.1em;
	margin-top: 8px;
}

.contact-form input,
.contact-form textarea {
	padding: 10px;
	border-radius: 8px;
	border: 1px solid #55657a;
	font-family: inherit;
	font-size: 0.9em;
	width: 100%;
	box-sizing: border-box;
	background: #fff;
	color: #455A64;
}

.card-contact-btn {
	margin-top: 5rem;
	border: solid 2px white;
	border-radius: 15px 15px 15px 15px;
	padding: 8px 16px;
	text-decoration: none;
	color: white;
	font-size: 1.5rem;
	background: transparent;
	cursor: pointer;
	font-family: inherit;
	display: inline-block;
}

.card-contact-btn:hover {
	cursor: pointer;
	background: #2B398F;
	transition: ease-in 0.4s;
}

/*SOCIAL NETWORKS*/
.social-networks-container {
	margin-top: 50px;
}

.list-networks {
	list-style: none;
	text-align: center;
	display: flex;
	justify-content: center;
}

.list-networks .icon {
	padding: 40px;
}

.icon a {
	text-decoration: none;
	font-size: 3rem;
	color: white;
}

.linkedin:hover {
	color: #0077B5;
	transition: ease 0.3s;
}

.twitter:hover {
	color: #1DA1F2;
	transition: ease 0.3s;
}

.github:hover {
  color: #181616;
  transition: ease 0.3s;
}

.instagram:hover {
  color: #C13584;
  transition: ease 0.3s;
}

.whatsapp:hover {
  color: #25D366;
  transition: ease 0.3s;
}

.email:hover {
  color: #2B398F;
  transition: ease 0.3s;
}

/*CREDITS*/
.credits {
	margin: 10px;
}

.credits p {
	text-align: center;
	font-size: 1.5rem;
	color: white;
}

/* Botón volver arriba */
.to-top {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	border: none;
	background: #2B398F;
	color: #fff;
	font-size: 1.3rem;
	cursor: pointer;
	display: none;
	box-shadow: 0 0 0.6em rgba(0,0,0,0.5);
	z-index: 100;
}

.to-top.show {
	display: block;
}

/* Helpers */
.row {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	border-radius: 10px 10px 10px 10px;
}

.column {
	padding: 1rem;
}

.column-separator {
	border-right: solid 5px #E3EFF7;
}

.col-6 {
	width: 100%;
	box-sizing: border-box;
}

.col-4 {
	width: 100%;
	box-sizing: border-box;
}

/*SECTION DIVIDERS (reemplazan los <div class="separator">)*/
.skills::before,
.education::before,
.projects::before {
	content: "";
	display: block;
	width: 30%;
	margin: 0 auto 50px;
	border-top: 2px solid #2B398F;
}

/* MODO OSCURO */
[data-theme="dark"] body {
	background: #0f1620;
	color: #cdd9e5;
}

[data-theme="dark"] .about-me p {
	color: #cdd9e5;
}

[data-theme="dark"] .skills {
	background: #1b2530;
}

[data-theme="dark"] .skills h2,
[data-theme="dark"] .skills > p {
	color: #e8eef4;
}

[data-theme="dark"] .education {
	background: #14202c;
}

[data-theme="dark"] .education h2,
[data-theme="dark"] .education > p {
	color: #cdd9e5;
}

[data-theme="dark"] .edu-card,
[data-theme="dark"] .skills-card,
[data-theme="dark"] .card-job {
	background: #22303d;
}

[data-theme="dark"] .edu-card li,
[data-theme="dark"] .edu-card h3,
[data-theme="dark"] .row p,
[data-theme="dark"] .row h3,
[data-theme="dark"] .card-body h3,
[data-theme="dark"] .card-body p {
	color: #cdd9e5;
}

[data-theme="dark"] .contact-me {
	background: #1b2530;
}

[data-theme="dark"] .card-contact-me {
	background: #2a3a49;
}

[data-theme="dark"] .card-start-proyect,
[data-theme="dark"] .card-start-proyect-1,
[data-theme="dark"] .credits p {
	color: #e8eef4;
}

[data-theme="dark"] .column-separator {
	border-right-color: #2a3a49;
}

[data-theme="dark"] .skill-name {
	color: #cdd9e5;
}

[data-theme="dark"] .bar {
	background: #33424f;
}

[data-theme="dark"] .tech-tags li {
	background: #2a3a49;
	color: #cdd9e5;
}

[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form textarea {
	background: #0f1620;
	color: #e8eef4;
	border-color: #44586a;
}

/* Accesibilidad: reducir animaciones */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	[data-aos] {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	.bar-fill {
		transition: none !important;
	}
}

/*MEDIA QUERIES*/

/* PHONE */
@media (min-width: 576px) {

	#menu-options ul {
		font-size: 2em;
	}

	.navbar-brand img {
		width: 6rem;
		height: 6rem;
	}

	.col-6 {
		width: 100%;
		box-sizing: border-box;
	}

	.col-4 {
		width: 100%;
		box-sizing: border-box;
	}

	.card-body h3 {
		font-size: 3em;
	}

	.projects > p {
		font-size: 3em !important;
	}

	.card-btn {
		font-size: 4em !important;
	}

	.about-me h2 {
		font-size: 4em;
	}

	.about-me p {
		font-size: 3em;
	}

	.skills > p {
		font-size: 3em;
	}

	.skills h2 {
		font-size: 4em;
	}

	.row h3 {
		font-size: 4em;
	}

	.row p {
		font-size: 3em;
	}

	.skills-card li {
		font-size: 2.8em;
	}

	.projects h2 {
		font-size: 4em;
	}

	.card-start-proyect {
		font-size: 4em !important;
	}

	.card-start-proyect-1 {
		font-size: 3em !important;
	}

	.card-contact-btn {
		font-size: 3em;
	}

	.text-title h1 {
		font-size: 7em;
		text-align: center;
	}

	.text-title p {
		font-size: 4.5em;
		text-align: center;
	}

	.text-title a {
		font-size: 3.5em;
	}
}

/* TABLETS */
@media (min-width: 768px) {

	#menu-options ul {
		font-size: 2em;
	}

	.navbar-brand img {
		width: 6rem;
		height: 6rem;
	}

	.col-6 {
		width: 100%;
		box-sizing: border-box;
	}

	.col-4 {
		width: 100%;
		box-sizing: border-box;
	}

	.card-body h3 {
		font-size: 3em;
	}

	.projects > p {
		font-size: 3em !important;
	}

	.card-btn {
		font-size: 4em !important;
	}

	.about-me h2 {
		font-size: 4em;
	}

	.about-me p {
		font-size: 3em;
	}

	.skills > p {
		font-size: 3em;
	}

	.skills h2 {
		font-size: 4em;
	}

	.row h3 {
		font-size: 4em;
	}

	.row p {
		font-size: 3em;
	}

	.skills-card li {
		font-size: 2.8em;
	}

	.projects h2 {
		font-size: 4em;
	}

	.card-start-proyect {
		font-size: 4em !important;
	}

	.card-start-proyect-1 {
		font-size: 3em !important;
	}

	.card-contact-btn {
		font-size: 3em;
	}

	.text-title h1 {
		font-size: 7em;
		text-align: center;
	}

	.text-title p {
		font-size: 4.5em;
		text-align: center;
	}

	.text-title a {
		font-size: 3.5em;
	}
}

/* DESKTOP */
@media (min-width: 992px) {

	#burguer-container {
   	display: none;
  	}

  	#menu-options {
    	display: flex;
		overflow: visible;
  	}

	#menu-options ul {
		font-size: 1.2em;
	}

  	nav li {
    	display: inline-block;
  	}

	.navbar-brand img {
		width: 4rem;
		height: 4rem;
	}

	.col-6 {
		width: 50%;
		box-sizing: border-box;
	}

	.col-4 {
		width: 33%;
		box-sizing: border-box;
	}

	.card-body h3 {
		font-size: 3em;
	}

	.projects > p {
		font-size: 1.5em !important;
	}

	.card-btn {
		font-size: 1.8em !important;
	}

	.about-me h2 {
		font-size: 2.2em;
	}

	.about-me p {
		font-size: 1.7em;
	}

	.skills > p {
		font-size: 1.3em;
	}

	.skills h2 {
		font-size: 2.2em;
	}

	.row h3 {
		font-size: 1.5em;
	}

	.row p {
		font-size: 1.3em;
	}

	.skills-card li {
		font-size: 1.2em;
	}

	.projects h2 {
		font-size: 4em;
	}

	.card-start-proyect {
		font-size: 2.5em !important;
	}

	.card-start-proyect-1 {
		font-size: 1.5em !important;
	}

	.card-contact-btn {
		font-size: 1.5em;
	}

	.text-title h1 {
		font-size: 5em;
		text-align: center;
	}

	.text-title p {
		font-size: 2.5em;
		text-align: center;
	}

	.text-title a {
		font-size: 1.5em;
	}
}
