@font-face {
	font-family: "Jost";
	font-style: normal;
	font-display: swap;
	font-weight: 300;
	src: url("/assets/fonts/jost-latin-300-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-display: swap;
	font-weight: 300 800;
	src: url("/assets/fonts/open-sans-latin-wght-normal.woff2") format("woff2-variations");
}

@font-face {
	font-display: block;
	font-family: "bootstrap-icons";
	src: url("/assets/fonts/bootstrap-icons.woff2") format("woff2");
}

.bi::before,
[class^="bi-"]::before,
[class*=" bi-"]::before {
	display: inline-block;
	font-family: "bootstrap-icons" !important;
	font-style: normal;
	font-weight: normal !important;
	font-variant: normal;
	line-height: 1;
	text-transform: none;
	vertical-align: -0.125em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.bi-arrow-left-short::before { content: "\f12c"; }
.bi-award::before { content: "\f154"; }
.bi-code-slash::before { content: "\f2c6"; }
.bi-download::before { content: "\f30a"; }
.bi-envelope::before { content: "\f32f"; }
.bi-eye::before { content: "\f341"; }
.bi-filter-circle::before { content: "\f3c5"; }
.bi-geo-alt::before { content: "\f3e8"; }
.bi-github::before { content: "\f3ed"; }
.bi-globe2::before { content: "\f3ef"; }
.bi-linkedin::before { content: "\f472"; }
.bi-list::before { content: "\f479"; }
.bi-mortarboard::before { content: "\f6fe"; }
.bi-plus-circle::before { content: "\f4fa"; }
.bi-telegram::before { content: "\f5b3"; }
.bi-telephone::before { content: "\f5c1"; }
.bi-translate::before { content: "\f658"; }
.bi-whatsapp::before { content: "\f618"; }
.bi-x-lg::before { content: "\f659"; }

/* variables.css */
:root {
	--pure-white: #FFFFFF;
	--pale-white: #FAFAFA;
	--light-gray: #F2F2F2;
	--soft-gray: #E5E5E5;
	--medium-gray: #CCCCCC;
	--dark-gray: #808080;
	--soft-black: #333333;
	--pale-black: #282828;
	--almost-black: #1c1c1c;
	--pure-black: #000000;
	--focus-color: #0878D1;
	--font-family-heading: 'Jost', sans-serif;
	--font-family-body: "Open Sans", sans-serif;
	--space-1: 5px;
	--space-2: 10px;
	--space-3: 20px;
	--space-4: 40px;
	--radius-small: 5px;
	--radius-medium: 8px;
	--radius-large: 15px;
	--menu-height: 60px;
	--content-width: 90%;
	--button-width: 150px;
}

/* controls.css */
html {
	scroll-behavior: smooth;
}

*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:is(a, button, input, textarea, select, [tabindex]):focus-visible {
	outline: 3px solid var(--focus-color);
	outline-offset: 3px;
}

.skip-link {
	position: fixed;
	top: var(--space-2);
	left: var(--space-2);
	z-index: 2000;
	padding: var(--space-2) var(--space-3);
	border-radius: var(--radius-small);
	color: var(--pure-white);
	background-color: var(--pure-black);
	transform: translateY(calc(-100% - var(--space-3)));
}

.skip-link:focus {
	transform: translateY(0);
}

.visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.page-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-around;
}

h1 {
	font-size: 2.5rem;
	text-align: center;
	font-family: var(--font-family-heading);
	font-weight: 300;
}

h2 {
	font-size: 2rem;
	text-align: center;
	font-family: var(--font-family-heading);
	font-weight: 300;
}

h3 {
	font-size: 1.5rem;
}

p {
	font-size: 1rem;
}

a {
	font-size: 1rem;
	vertical-align: top;
}

img {
	display: block;
}

.bi {
	font-size: 1.5rem;
}

@media (max-width: 1000px) {
	h1 {
		font-size: 1.8rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* buttons.css */
:is(.light-button, .dark-button, .transparent-button) {
	width: var(--button-width);
	margin: 0;
	padding: var(--space-2) var(--space-3);
	border-radius: var(--radius-small);
	font-size: 1rem;
	text-decoration: none;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.light-button {
	border: none;
	color: var(--soft-black);
	background-color: var(--soft-gray);
}

.light-button.width-100-pct {
	width: 100%;
}

.light-button:hover {
	color: var(--pure-black);
	background-color: var(--pure-white);
}

.dark-button {
	border: none;
	color: var(--light-gray);
	background-color: var(--soft-black);
}

.dark-button:hover {
	color: var(--pure-white);
	background-color: var(--pure-black);
}

.resume-download-button {
	width: 180px;
	white-space: nowrap;
}

.transparent-button {
	color: var(--light-gray);
	background-color: transparent;
	border: 2px solid var(--dark-gray);
	font-family: var(--font-family-body);
}

.transparent-button:hover {
	color: var(--pure-white);
	border: 2px solid var(--medium-gray);
}

.plain-link {
	padding: 0;
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.underlined-link {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.big-hover {
	transition: transform 0.5s ease;
}

.big-hover:hover {
	transform: scale(1.1);
}

/* images.css */
.circle-image {
	height: auto;
	object-fit: cover;
	background-color: var(--pure-white);
	border-radius: 50%;
}

.small-logo {
	width: auto;
	height: 20px;
	max-width: 90px;
}

/* site-chrome.css */
.footer-location {
	width: min(100%, 340px);
	text-align: center;
	justify-self: end;
}

.footer-location>a {
	margin-right: auto;
}

.footer-content {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
}

.footer-pages {
	display: flex;
	gap: var(--space-3);
	grid-column: 1 / -1;
	grid-row: 2;
	justify-self: center;
}

.footer-socials {
	grid-column: 2;
	grid-row: 1;
}

.footer-socials a {
	width: 44px;
	height: 44px;
	justify-content: center;
}

.menu-header {
	position: fixed;
	width: 100%;
	align-content: center;
	z-index: 1000;
	background-color: rgba(20, 20, 20, 0.85);
	box-shadow: 0px 5px 50px rgba(150, 150, 150, 0.1);
	font-family: var(--font-family-heading);
	font-weight: 300;
}

.menu-nav {
	position: relative;
	width: var(--content-width);
	height: var(--menu-height);
	margin: auto;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}

.menu-nav #logo-btn img {
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	object-fit: cover;
}

.menu-nav ul {
	gap: var(--space-3);
	display: flex;
	list-style: none;
}

.footer-content ul {
	list-style: none;
}

.menu-nav a {
	font-size: 1.3rem;
	font-weight: 400;
}

.toggle-button {
	width: 44px;
	height: 44px;
	font-size: 1.5rem;
	color: var(--pure-white);
	background: transparent;
	border: none;
	box-shadow: none;
	display: none;
	cursor: pointer;
}

.hidden {
	display: none !important;
}

.no-scroll {
	overflow: hidden;
}

@media (max-width: 800px) {
	.footer-content {
		display: flex;
		flex-direction: column;
	}

	.footer-location {
		justify-self: auto;
	}
}

@media (max-width: 1000px) {
	.menu-header {
		background-color: var(--almost-black);
	}

	.menu-nav ul {
		display: none;
	}

	.toggle-button {
		display: block;
	}

	.nav-toggle {
		flex-direction: column;
		min-height: 100vh;
		min-height: 100dvh;
		overflow-y: auto;
	}

	.nav-toggle ul {
		min-height: 100vh;
		min-height: 100dvh;
		padding: var(--menu-height) 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: var(--space-4);
	}

	.nav-toggle .toggle-button {
		position: absolute;
		top: 8px;
		right: 0;
		z-index: 1;
	}

	.nav-toggle ul li a {
		font-size: 1.6rem;
	}
}

/* project-cards.css */
.projects-container {
	width: var(--content-width);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: var(--space-3);
	justify-content: center;
}

.project-card {
	width: 100%;
	border-radius: var(--radius-large);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	background-color: var(--pale-black);
	box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.5);
}

.project-top-div {
	width: 100%;
	aspect-ratio: 16/9;
}

.project-top-div iframe,
.project-top-div img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.project-top-div iframe {
	/* Conserva el encuadre aprobado de los videos en tarjetas angostas. */
	aspect-ratio: 1/1;
}

.project-details {
	min-width: 0px;
	min-height: 280px;
	padding: var(--space-3);
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}

.project-content {
	flex-grow: 1;
	overflow-wrap: anywhere;
}

.project-content h3 {
	margin-bottom: 10px;
}

.project-technologies {
	width: 100%;
}

.project-technologies ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	list-style: none;
}

.project-technology {
	width: 44px;
	height: 44px;
	padding: 7px;
	border: 1px solid var(--soft-gray);
	border-radius: var(--radius-medium);
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--pale-white);
}

.project-technology-icon {
	width: 30px;
	height: 30px;
	object-fit: contain;
}

.project-actions {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-2);
}

.project-actions .transparent-button {
	width: auto;
	min-width: min(100%, var(--button-width));
	flex: 0 1 var(--button-width);
	gap: var(--space-1);
}

/* projects.css */
.project-filters {
    width: var(--content-width);
    padding: 24px;
    border: 1px solid var(--soft-black);
    border-radius: 15px;
    background-color: var(--pale-black);
    box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.35);
}

.project-filters[hidden],
.project-empty-state[hidden],
.project-card[hidden] {
    display: none;
}

.project-filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.project-filters-header h2 {
    margin: 0px;
}

.project-filters-clear {
    padding: 8px 16px;
    border: 1px solid var(--dark-gray);
    border-radius: 999px;
    color: var(--light-gray);
    background-color: transparent;
    font: inherit;
    cursor: pointer;
}

.project-filters-clear:hover:not(:disabled) {
    border-color: var(--pure-white);
    color: var(--pure-white);
}

.project-filters-clear:disabled {
    opacity: 0.45;
    cursor: default;
}

.project-filter-groups {
    display: grid;
    grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.project-filter-group {
    min-width: 0px;
    margin: 0px;
    padding: 0px;
    border: none;
}

.project-filter-group legend {
    margin-bottom: 12px;
    color: var(--pure-white);
    font-weight: 600;
}

.project-filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-filter-option {
    position: relative;
    cursor: pointer;
}

.project-filter-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.project-filter-option span {
    display: block;
    padding: 8px 14px;
    border: 1px solid var(--dark-gray);
    border-radius: 999px;
    color: var(--medium-gray);
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.project-filter-option:hover span {
    border-color: var(--medium-gray);
    color: var(--pure-white);
}

.project-filter-option input:checked+span {
    border-color: var(--pure-white);
    color: var(--almost-black);
    background-color: var(--pure-white);
}

.project-filter-option input:focus-visible+span,
.project-filters-clear:focus-visible,
.project-empty-state button:focus-visible {
    outline: 3px solid var(--pure-white);
    outline-offset: 3px;
}

.project-result-count {
    width: var(--content-width);
    margin: -20px auto 0px;
    color: var(--soft-gray);
}

.project-empty-state {
    width: var(--content-width);
    min-height: 280px;
    padding: 40px 20px;
    border: 1px dashed var(--dark-gray);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

.project-empty-state i {
    color: var(--soft-gray);
    font-size: 3rem;
}

.project-empty-state p {
    margin: 0px;
}

@media (max-width: 1100px) {
    .project-filter-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-filter-group[data-filter-group="tech"] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 800px) {
    .project-filters {
        padding: 20px;
    }

    .project-filters-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .project-filter-groups {
        grid-template-columns: 1fr;
    }

    .project-filter-group[data-filter-group="tech"] {
        grid-column: auto;
    }

    .project-filter-option span {
        padding: 10px 14px;
    }
}

/* colors.css */
.light-gray-background {
	color: var(--soft-black);
	background-color: var(--light-gray);
}

.pale-black-background {
	color: var(--soft-gray);
	background-color: var(--pale-black);
}

.almost-black-background {
	color: var(--medium-gray);
	background-color: var(--almost-black);
}

.pure-white-text {
	color: var(--pure-white);
}

.light-gray-text {
	color: var(--light-gray);
}

.pure-black-text {
	color: var(--pure-black);
}

.medium-gray-link {
	color: var(--medium-gray);
}

.medium-gray-link:hover {
	color: var(--light-gray);
}

.soft-black-link {
	color: var(--soft-black);
}

.soft-black-link:hover {
	color: var(--pure-black);
}

/* flexbox.css */
.col-flex {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.row-flex,
.row-col-800 {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.wrapped-flex {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.space-between {
	justify-content: space-between;
}

.space-evenly {
	justify-content: space-evenly;
}

.justify-center {
	justify-content: center;
}

.align-content-center {
	display: flex;
	align-content: center;
}

.gap-20-px {
	gap: var(--space-3);
}

.gap-40-px {
	gap: var(--space-4);
}

@media (max-width: 800px) {
	.row-col-800 {
		flex-direction: column;
	}
}

/* fonts.css */
.jost-font {
	font-family: var(--font-family-heading);
	font-weight: 300;
}

.open-sans-font {
	font-family: var(--font-family-body);
	font-optical-sizing: auto;
	font-weight: 350;
	font-style: normal;
	font-variation-settings: "wdth" 100;
}

.big-font-size {
	font-size: 2rem;
}

.mid-font-size {
	font-size: 1.5rem;
}

.bold-text {
	font-weight: 400;
}

.left-text {
	text-align: left;
}

.center-text {
	text-align: center;
}

/* heights.css */
.height-100-pct {
    height: 100%;
}

.min-height-100-vh {
    min-height: 100vh;
}

.min-height-150-px {
    min-height: 150px;
}

/* margins.css */
.margin-10-px {
	margin: 10px;
}

.margin-vertical-10-px {
	margin-top: var(--space-2);
	margin-bottom: var(--space-2);
}

.margin-vertical-20-px {
	margin-top: var(--space-3);
	margin-bottom: var(--space-3);
}

.margin-vertical-auto {
	margin-top: auto;
	margin-bottom: auto;
}

.margin-horizontal-10-px {
	margin-right: var(--space-2);
	margin-left: var(--space-2);
}

.margin-horizontal-auto {
	margin-right: auto;
	margin-left: auto;
}

.margin-top-10-px {
	margin-top: var(--space-2);
}

.margin-top-20-px {
	margin-top: var(--space-3);
}

.margin-bottom-20-px {
	margin-bottom: var(--space-3);
}

.margin-bottom-auto {
	margin-bottom: auto;
}

.margin-left-auto {
	margin-left: auto;
}

/* paddings.css */
.menu-padding {
	padding: var(--menu-height) 0;
}

.padding-vertical-20-px {
	padding-top: var(--space-3);
	padding-bottom: var(--space-3);
}

/* widths.css */
.width-100-pct {
	width: 100%;
}

.width-40-px {
	width: 40px;
}

.width-100-px {
	width: 100px;
}

.width-250-px {
	width: 250px;
}

.content-width {
	width: var(--content-width);
}
