/* Reset and base */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	width: 100%;
	overflow-x: hidden;
	margin: 0;
	padding: 0;
}

body {
	width: 100%;
	overflow-x: hidden;
	margin: 0;
	padding-top: 80px;
  }  

/*
	Custom fonts
*/
@font-face {
	font-family: 'Pixellari';
	src: url('../fonts/Pixellari.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Dogica';
	src: url('../fonts/dogica.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'DogicaPixel';
	src: url('../fonts/dogicapixel.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'PixelOperator';
	src: url('../fonts/PixelOperator.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'W95FA';
	src: url('../fonts/w95fa.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'PixelMix';
	src: url('../fonts/pixelmix.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'VHSGothic';
	src: url('../fonts/vhs-gothic.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

/*
	Global Styles
*/

hgroup {
	margin: clamp(3rem, 8vw, 6rem) 0;
}

section {
	margin: clamp(2.5rem, 6vw, 4rem) 0;
}

main {
	margin: clamp(2rem, 5vw, 3rem) 0;
}

a {
	text-decoration: none;
}

button {
	background: transparent;
	cursor: pointer;
	border: 0px;
}

button:hover {
	border: 5px solid currentColor;
	transform: scale(1.1);
}

img {
	max-width: 100%;
	height: auto;
}

/* General custom styles */

.display-inline {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 1.5rem;
	padding: 1rem;
	box-sizing: border-box;
}

.center-content {
	justify-content: center;
	display: block;
	margin: auto;
}

.align-content-right {
	right: 20px;
	left: auto;
}

.website-configuration {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;

	display: flex;
	justify-content: center;
	align-items: center;

	height: 80px;
	padding: 0.5rem;
	z-index: 1000;
}

.menu {
	padding: 20px;
}

.card {
	flex: 1 1 250px;
	max-width: 100%;
	min-width: 200px;
	box-sizing: border-box;
	padding: 20px;
	border-radius: 8px;
	border: 2px solid currentColor;
	background-color: inherit;
}

.inline-icon {
	display: inline-block;
	width: 13px;
	height: 13px;
}

.card-footer {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	white-space: nowrap;
}

.card-footer img {
	display: inline-block;
	width: 13px;
	height: 13px;
}


/*
	Dynamic custom styles
*/

body.dark-mode {
	background-color: #000;
}

body.light-mode {
	background-color: #fff;
}

body.light-mode button:hover {
	background-color: #000;
	color: #fff;
}

body.dark-mode button:hover {
	background-color: #fff;
	color: #000;
}

body.light-mode a {
	color: #00e;
}

body.dark-mode a {
	color: #00ff1e;
}

.website-configuration button {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	max-height: 100%;
	padding: 0.25rem;
}

.website-configuration button img {
max-height: 80%;
height: auto;
width: auto;
}

.website-configuration.light-mode {
	background-color: #fff;
}

.website-configuration.dark-mode {
	background-color: #000;
}

.card-description.dark-mode {
	font-family: 'Pixellari', sans-serif;
	text-align: center;
	font-size: 18px;
	color: #fff;
}

.card-description.light-mode {
	font-family: 'Pixellari', sans-serif;
	text-align: center;
	font-size: 18px;
	color: #000;
}

.title.dark-mode {
	font-family: 'Dogica', sans-serif;
	font-size: 40px;
	text-align: center;
	color: #fff;
}

.title.light-mode {
	font-family: 'Dogica', sans-serif;
	font-size: 40px;
	text-align: center;
	color: #000;
}

.subtitle.dark-mode {
	font-family: 'DogicaPixel', sans-serif;
	text-align: center;
	color: #fff;
}

.subtitle.light-mode {
	font-family: 'DogicaPixel', sans-serif;
	text-align: center;
	color: #000;
}

.banner.dark-mode {
	font-family: 'PixelOperator', sans-serif;
	text-align: center;
	font-size: 25px;
	color: #fff;
}

.banner.light-mode {
	font-family: 'PixelOperator', sans-serif;
	text-align: center;
	font-size: 25px;
	color: #000;
}

.text.dark-mode {
	font-family: 'W95FA', sans-serif;
	text-align: center;
	font-size: 25px;
	color: #fff;
}

.text.light-mode {
	font-family: 'W95FA', sans-serif;
	text-align: center;
	font-size: 25px;
	color: #000;
}

.card-footer.dark-mode {
	font-family: 'PixelMix', sans-serif;
	text-align: center;
	color: #fff;
}

.card-footer.light-mode {
	font-family: 'PixelMix', sans-serif;
	text-align: center;
	color: #000;
}

.card-title.dark-mode {
	font-family: 'VHSGothic', sans-serif;
	text-align: center;
	font-size: 20px;
	color: #fff;
}

.card-title.light-mode {
	font-family: 'VHSGothic', sans-serif;
	text-align: center;
	font-size: 20px;
	color: #000;
}

.card.dark-mode {
	border: 2px solid #fff;
	padding: 20px;
	margin: 20px;
	max-width: 275px;
	border-radius: 8px;
}

.card.light-mode {
	border: 2px solid #000;
	padding: 20px;
	margin: 20px;
	max-width: 275px;
	border-radius: 8px;
}

html {
	scroll-behavior: smooth;
}

.section-nav {
	display: flex;
	justify-content: center;
	align-items: center;

	margin: 2rem 0;
	font-family: 'DogicaPixel', sans-serif;
}

/* Cada item */
.nav-item {
	padding: 10px 20px;
	text-decoration: none;
	position: relative;
	transition: all 0.2s ease;
}

/* SOLO líneas entre elementos */
.nav-item:not(:last-child) {
	border-right: 2px solid currentColor;
}

/* Hover = iluminación */
.nav-item:hover {
	transform: scale(1.05);
}

/* DARK MODE */
body.dark-mode .nav-item {
	color: #fff;
}

body.dark-mode .nav-item:hover {
	text-shadow: 0 0 8px #fff;
}

/* LIGHT MODE */
body.light-mode .nav-item {
	color: #000;
}

body.light-mode .nav-item:hover {
	text-shadow: 0 0 8px #000;
}

@media (max-width: 600px) {
	.title {
		font-size: 28px;
	}

	.banner,
	.text {
		font-size: 18px;
	}

	.display-inline {
		gap: 1.5rem;
	}

	.card {
		max-width: 100%;
	}
}

@media (max-width: 600px) {
	.card {
		flex: 1 1 100%;
		max-width: 100%;
		margin: 0.5rem 0;
	}
}