/* Very Smol Reset */
* {
	box-sizing: border-box;
	margin: 0;
}

/* SMOOTH Scrolling */
html {
	scroll-behavior: smooth;
}

/* Supporting Content */

code:not([class*="language"]) {
	font-family:
		Consolas,
		Monaco,
		Andale Mono,
		Ubuntu Mono,
		monospace;
	font-size: 1.75ex;
	color: #444;
	background-color: rgba(0, 0, 0, 0.1);
	padding-right: 0.15em;
	padding-left: 0.15em;
}

blockquote {
	margin: 2rem 0;
	padding: 0.5em 1rem;
	border-left: 3px solid rgba(0, 0, 0, 0.35);
	background-color: rgba(0, 0, 0, 0.05);
	border-radius: 0 0.25rem 0.25rem 0;
}

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

footer {
	margin-top: auto;
}
.menu-item {
	position: relative;
	display: inline-block;
	padding-bottom: 5px; /* To create space for the line */
}

.menu-item::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0; /* Initially, the line has no width */
	height: 3px; /* Height of the line */
	background-color: #0b5391; /* Color of the line */
	transition: width 0.3s ease; /* Smooth transition for width change */
}

.menu-item:hover::after {
	width: 100%; /* When hovering, line width becomes 100% */
	animation: stretchLine 0.5s forwards; /* Animate the line from left to right */
}

@keyframes stretchLine {
	0% {
		width: 0; /* Start with no width */
		transform-origin: left; /* Start animation from the left */
	}
	100% {
		width: 100%; /* End with full width */
		transform-origin: right; /* End animation to the right */
	}
}
.hover-icon {
	display: none;
}
a:hover .hover-icon {
	display: flex;
}
a:hover .normal-icon {
	display: none;
}
input:focus ~ label,
input:not(:placeholder-shown) ~ label,
textarea:focus ~ label,
textarea:not(:placeholder-shown) ~ label,
select:focus ~ label,
select:not([value=""]):valid ~ label {
	/* @apply transform; scale-75; -translate-y-6; */
	--tw-translate-x: 0;
	--tw-translate-y: 0;
	--tw-rotate: 0;
	--tw-skew-x: 0;
	--tw-skew-y: 0;
	transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x))
		scaleY(var(--tw-scale-y));
	--tw-scale-x: 0.75;
	--tw-scale-y: 0.75;
	--tw-translate-y: -1.5rem;
	--tw-translate-x: -0.5rem;
}
input:focus ~ label,
select:focus ~ label {
	/* @apply text-black; left-0; */
	--tw-text-opacity: 1;
	color: #ffffff;
	left: 0;
}

/* Add CSS styles for sticky navigation and reduced padding */
.sticky-nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000; /* Adjust z-index as needed */
	transition: padding 0.3s ease; /* Add transition for smooth padding change */
	background-color: white; /* Add background color as needed */
}

.sticky-nav.reduce-padding {
	padding: 0.5rem 0; /* Adjust reduced padding as needed */
}

#cursor-follower {
	position: fixed;
	top: 0;
	left: 0;
	width: 20px;
	height: 20px;
	border-radius: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	background-blend-mode: difference;
	opacity: 0;
	z-index: 10000;
	user-select: none;
	pointer-events: none;
}

/* ScrollSpy */
.step-l,
.step-r {
	opacity: 0;
	flex-grow: 1;
}
.dot {
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 20px;
	height: 20px;
	background-color: black;
	border-radius: 50%;
}
.round-button {
	width: 100%;
}
.round-button-circle {
	width: 100%;
	height: 0;
	padding-bottom: 100%;
	border-radius: 50%;
	border: 5px solid white;
}

.round-button a {
	width: 100%;
	padding-top: 50%;
	padding-bottom: 50%;

	text-align: center;
	color: white;
	font-size: 1.2em;
}
.round-button a:hover {
	color: black;
}
.round-button-circle:hover img {
	filter: invert(100%);
}
