/* 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;
}
.custom-drop-shadow {
	filter: drop-shadow(1px 1px 16px rgba(255, 189, 62, 0.3));
}
.btn-drop-shadow:hover {
	filter: drop-shadow(1px 1px 16px rgba(255, 189, 62, 0.3));
}
.card {
	transition: transform 0.3s;

	&:hover {
		background-color: #131212;
		transform: scale(1.1);

		.title {
			color: white;
		}

		img {
			filter: invert(100%) grayscale(100%) contrast(200%);
		}

		.bb {
			transition: opacity 0.3s;

			.inner-bb {
				opacity: 0;
			}
		}
	}

	.title {
		color: black;
	}

	img {
		transition: filter 0.3s;
	}
}
.boxshadow {
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
.dropshadow {
	text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
.dropshadow-lg {
	text-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
}
.dropshadow-xl {
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}
.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 */
}
#main-nav {
	transition: padding 0.3s ease; /* Add transition for smooth padding change */
}
#main-nav.reduce-padding {
	padding: 0.5rem 0; /* Adjust reduced padding as needed */
}

/* Subscriptions 
.subscription::after {
	position: absolute;
	top: 0;
	left: 15%;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	padding: 0.5rem 2rem;
	background-color: #0b5391;
	content: "Subscription";
} */
