* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	scrollbar-width: none;
	font-family: sans-serif;
}

*::selection {
	background: #5fd2fc;
	color: black;
}

body {
	background: linear-gradient(320deg, #f9f9f9);
	/* no lo fijamos */
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.navbar {
	position: sticky;
	top: 0;
	background: #fff;
	color: #093b86;
	display: flex;
	align-items: center;
	justify-content: space-around;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
	padding: 4px;
	z-index: 999;
}

a {
	color: #093b86;
	text-decoration: none;
	font-family: fantasy;
	font-size: 18px;
	transition: all 0.4s ease-in-out;
}

a:hover {
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	transform: scale(1.2);
}

.logo {
	width: 50px;
	height: 50px;
	scale: 1.2;
}

.progress {
	position: fixed;
	bottom: 0;
	z-index: 55;
	width: 100%;
	height: 3px;
	border-radius: 10px;
	background: #093b86;
	animation: range 1s linear both;
	animation-timeline: scroll(root);
}

@keyframes range {
	from {
		width: 0;
	}
	to {
		width: 100%;
	}
}

main {
	display: block;
	margin: 30px auto;
	padding: 25px;
	width: 60%;
	padding-bottom: 100px;
	position: relative;
}

h1 {
	font-size: 64px;
	font-family: sans-serif;
	text-align: center;
	color: red;
}

h4 {
	color: dimgrey;
}

.box {
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}





@media (prefers-color-scheme: dark) {
	body {
		background: #333;
		color: white;
	}
	h2 {
		color: white;
	}
	.navbar {
		background: #333;
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
		color: white;
	}
	h4 {
		color: #ccc;
	}
	a {
		color: white;
	}
}


@media screen and (max-width: 600px) {
	.logo {
		display: none;
	}
	.navbar {
		padding: 10px;
	}

	a {
		cursor: default;
	}
	main {
		width: 100%;
	}
}