@font-face {
	font-family: "jetbrains";
	src: url("../fonts/JetBrainsMono-Bold.ttf") format("truetype");
	font-weight: normal;
	font-display: swap;
}

@font-face {
	font-family: "jetbrains-light";
	src: url("../fonts/JetBrainsMono-Light.ttf") format("truetype");
	font-weight: normal;
	font-display: swap;
}

@font-face {
	font-family: "work";
	src: url("../fonts/WorkSans-Medium.ttf") format("truetype");
	font-weight: normal;
	font-display: swap;
}

@font-face {
	font-family: "work-light";
	src: url("../fonts/WorkSans-Light.ttf") format("truetype");
	font-weight: normal;
	font-display: swap;
}

@font-face {
	font-family: "grotesk";
	src: url("../fonts/SpaceGrotesk-Regular.ttf") format("truetype");
	font-weight: normal;
	font-display: swap;
}

@font-face {
	font-family: "instrument";
	src: url("../fonts/InstrumentSerif-Italic.ttf") format("truetype");
	font-weight: normal;
	font-display: swap;
}

:root {
	--bg-primary: #090909;
	--clr-lightgray-1: #d1d1d1;
	--clr-off-white: #c2c2c2;
	--clr-green-1: #39ff14;
	--fz-reg: 0.7rem;
	--fz-lg: 2rem;
	--fz-xl: 2.5rem;
}

::selection {
	background-color: var(--clr-green-1);
	color: var(--bg-primary);
}

html {
	scroll-behavior: smooth;
	box-sizing: border-box;
}

body {
	background-color: var(--bg-primary);
	color: var(--clr-lightgray-1);
	font-weight: bold;
	font-family: work-light;
	margin: 0;
	box-sizing: border-box;
	line-height: 1.7;
	font-size: 0.7rem;
}

body.no-scroll {
	overflow: hidden;
	position: fixed;
	width: 100%;
}

a {
	text-decoration: none;
	color: inherit;
}

button {
	cursor: pointer;
	font-family: work;
}

ul {
	padding: 0;
	margin: 0;
}

li {
	list-style: none;
}

svg {
	pointer-events: none;
}

.container {
	width: min(100em, 89%);
	margin-inline: auto;
	animation: fade-in 0.4s ease;
}

.line {
	height: 0.2px;
	background-color: rgba(255, 255, 255, 0.3);
}

.multi-line-limit {
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.multi-line-limit-4 {
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
}

.heading-2 {
	position: relative;
	height: 2em;
	display: flex;
	width: fit-content;
	align-items: center;
}

.heading-2 p {
	text-transform: uppercase;
	font-size: 0.55rem;
	position: relative;
	font-family: jetbrains-light;
	font-weight: lighter;
	padding-inline-start: 2.5em;
}

.heading-2 p::before {
	position: absolute;
	content: "";
	left: 0;
	top: 50%;
	translate: 0;
	border-top: 1px solid hsla(111, 100%, 54%, 0.6);
	z-index: 3;
	width: 2em;
}

.progress-bar-overlay {
	position: fixed;
	inset: 0;
	background-color: var(--bg-primary);
	z-index: 1000;
	display: grid;
	place-content: center;
	transition: 0.2s;
	overflow: hidden;
}

.progress-bar-container {
	width: 5em;
	height: 0.34em;
	border-radius: 10px;
	overflow: hidden;
	border: 0.5px solid rgba(255, 255, 255, 0.3);
}

.progress-bar {
	background-color: var(--clr-lightgray-1);
	height: 100%;
	width: 0%;
	transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.spinner-backdrop {
	position: absolute;
	inset: 0;
	background-color: #111;
	z-index: 600;
	display: none;
	transition: 0.2s;
}

.spinner-backdrop.loading {
	display: block;
}

.spinner {
	width: 3.5px;
	height: 3.5px;
	border-radius: 50%;
	border: 2px solid hsla(111, 100%, 54%, 0.8);
	border-right-color: #333;
	animation: spin 1s linear infinite;
	position: absolute;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
}

.glow-layer {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.glow-dot {
	position: absolute;
	border-radius: 50%;
	background: radial-gradient(
		circle,
		rgba(57, 255, 20, 0.6) 0%,
		rgba(57, 255, 20, 0.2) 45%,
		transparent 70%
	);
	filter: blur(14px);
	opacity: 0.05;
	animation: glow-pulse-strong 7s ease-in-out infinite backwards;
}

nav {
	position: fixed;
	top: 0;
	left: 0;
	height: 4.9em;
	z-index: 500;
	background: transparent;
	backdrop-filter: blur(5px);
	width: 100%;
	padding-block-start: 1.5em;
	transition: 0.2s;
}

nav.hide {
	transform: translateY(-100px);
}

nav.highlight {
	border-bottom: 0.5px solid rgba(255, 255, 255, 0.05);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 4em;
}

.nav > div:first-of-type {
	display: flex;
	align-items: center;
	gap: 1em;
}

.nav > button {
	background-color: transparent;
	padding: 0;
	border: none;
}

.nav > button svg {
	stroke: var(--clr-lightgray-1);
	width: 1.3em;
	height: 1.3em;
}

.logo {
	outline: none;
	font-weight: bold;
	font-family: "jetbrains";
	font-size: 1.8rem;
	text-transform: uppercase;
}

.square-dot {
	display: inline-block;
	width: 0.2em;
	height: 0.2em;
	margin-inline-start: 0.1em;
	border-radius: 0.5px;
	background-color: var(--clr-green-1);
}

.links {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5em;
	font-weight: bold;
}

.links svg {
	width: 1em;
	height: 1em;
	stroke-width: 0.22em;
	transition: 0.2s;
}

.link > a:hover svg {
	stroke: var(--clr-green-1);
}

.nav .menu-wrapper {
	width: 1.2em;
}

.nav-menu {
	background-color: transparent;
	border: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.23em;
	width: fit-content;
	transition: 0.15s ease-in-out;
	padding: 0.1em;
}

.nav-menu:hover {
	gap: 0.1em;
}

.nav-menu > span {
	background-color: var(--clr-off-white);
	width: 0.4em;
	height: 0.4em;
	transition: 0.2s;
}

.nav-menu:active span {
	transform: rotate(45deg);
}

.nav .cart-btn {
	border: none;
	height: 1.8em;
	width: 1.8em;
	padding: 0;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease;
}

.nav .cart-btn:hover {
	background-color: #162415;
}

.secondary-nav {
	position: fixed;
	width: min(986px, 85%);
	bottom: 0;
	padding-block-end: 2em;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.secondary-nav ul {
	border: 1px solid rgba(255, 255, 255, 0.1);
	padding: 1em;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
	border-radius: 2px;
}

.secondary-nav ul > li a {
	display: flex;
	align-items: center;
	justify-content: center;
}

.secondary-nav ul > li a svg {
	width: 1.2em;
	height: 1.2em;
}

.scroll {
	position: fixed;
	right: 0;
	bottom: 2em;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 200;
	transition: transform 0.2s ease-in-out;
}

.scroll.rotate {
	transform: rotate(180deg);
}

.scroll p {
	font-size: 0.5rem;
	padding-block: 2em;
	padding-inline: 0.5em 0;
	margin: 0;
	text-transform: capitalize;
	font-family: jetbrains;
	rotate: 90deg;
	user-select: none;
}

.scroll svg {
	width: 0.9em;
	stroke: var(--clr-green-1);
	animation: bounce 0.5s ease-in-out infinite alternate-reverse;
}

.sidebar {
	position: fixed;
	z-index: 500;
	inset: 0;
	background-color: var(--bg-primary);
	transform: translateY(-100%);
	visibility: hidden;
	display: grid;
	grid-template-columns: auto 2fr;
	transition:
		transform 0.4s ease,
		visibility 0s linear 0.4s;
}

.sidebar.show {
	transform: translateY(0);
	visibility: visible;
	transition:
		transform 0.4s ease,
		visibility 0s;
}

.sidebar .logo {
	font-size: 2rem;
	padding: 1em;
}

.sidebar .close-btn {
	position: absolute;
	right: 1em;
	top: 2em;
	background-color: transparent;
	border: none;
	z-index: 300;
}

.sidebar .close-btn svg {
	stroke: var(--clr-off-white);
	stroke-width: 1px;
	width: 2em;
	height: 2em;
}

.sidebar ul {
	border-left: 0.5px solid rgba(255, 255, 255, 0.3);
	margin: 1em;
	margin-left: auto;
	padding-inline: 0.4em;
	padding-top: 2.5em;
	padding-bottom: 5em;
	width: min(40em, 90%);
	font-family: jetbrains-light;
	font-size: 1.2rem;
	position: relative;
	counter-reset: item;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

@media screen and (width <= 640px) {
	.sidebar ul {
		font-size: 1rem;
	}

	.sidebar .logo {
		font-size: 1.5rem;
	}
}

@media screen and (width <= 340px) {
	.sidebar ul {
		font-size: 0.8rem;
	}

	.sidebar .logo {
		font-size: 1rem;
	}
}

.sidebar ul::after {
	position: absolute;
	content: "";
	width: 90%;
	height: 0.5px;
	background-color: rgba(255, 255, 255, 0.3);
	bottom: 1.7em;
	left: 0.7em;
}

.sidebar ul::before {
	position: absolute;
	content: "";
	width: 1.5px;
	height: 2em;
	top: 1em;
	left: -1px;
	z-index: 100;
	background-color: var(--clr-green-1);
}

.sidebar ul li {
	display: flex;
	align-items: center;
	border-bottom: 0.5px solid rgba(255, 255, 255, 0.3);
	width: 70%;
	margin: 0.2em 0.2em 0.2em 0.5em;
	padding-inline: 0.5em;
	transition: background-color 0.2s ease;
}

.sidebar.show ul li {
	animation: fade-in-x 0.2s ease-in both;
	animation-delay: calc(var(--i) * 0.1s);
}

.sidebar ul li::before {
	counter-increment: item;
	content: "0" counter(item);
	font-size: 9px;
	color: var(--clr-green-1);
	pointer-events: none;
}

.sidebar ul li > a {
	text-transform: capitalize;
	padding-left: 0.4em;
	padding-block: 0.5em;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.sidebar ul li > a svg {
	stroke: var(--clr-green-1);
	stroke-width: 1.5px;
	width: 0.8em;
	height: 0.6em;
	opacity: 0;
	transform: translateX(-5px);
	transition:
		opacity 0.1s ease-in,
		transform 0.2s ease-in;
}

.sidebar ul li:hover {
	background-color: #162415;
	border-bottom: none;
}

.sidebar ul li:hover a svg {
	opacity: 1;
	transform: translateX(0);
}

.sidebar ul > div {
	position: absolute;
	font-size: 0.7rem;
	bottom: 0.3em;
	left: 1.4em;
	display: flex;
	gap: 1em;
	color: var(--clr-green-1);
}

.sidebar ul > div a {
	transition: color 0.2s ease;
}

.sidebar ul > div a:hover {
	color: var(--clr-off-white);
}

.cta {
	height: calc(100vh - 4.9em);
	position: relative;
	animation: fade-in-y-down 1s forwards 0.2s;
	padding-top: 4.9em;
	margin-bottom: 2em;
}

.cta .actions {
	padding-bottom: 2em;
}

.hero {
	height: inherit;
	display: flex;
	flex-direction: column;
	position: relative;
	z-index: 1;
}

.hero > div:nth-child(1) {
	padding-block: 6em 1em;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	position: relative;
	flex: 1;
}

.hero > div:nth-child(2) {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding-block-start: 1em;
}

.socials {
	position: absolute;
	top: 40%;
	right: 0;
	translate: 0 -50%;
}

.socials::after {
	position: absolute;
	content: "";
	top: calc(100% + 0.6em);
	left: 50%;
	translate: -50% 0;
	height: 2em;
	width: 0.2px;
	background-color: var(--clr-green-1);
}

.socials ul {
	display: flex;
	flex-direction: column;
	row-gap: 0.5em;
}

.socials ul li {
	animation: fade-in-y-down 0.5s ease both;
}

.socials ul li:nth-child(1) {
	animation-delay: 0.7s;
}

.socials ul li:nth-child(2) {
	animation-delay: 0.8s;
}

.socials ul li:nth-child(3) {
	animation-delay: 0.9s;
}

.socials i {
	transition: 0.2s;
	font-size: 0.68rem;
}

.socials a:hover i {
	color: var(--clr-green-1);
}

.fullname {
	font-size: var(--fz-lg);
	font-family: jetbrains;
}

@media screen and (min-width: 666px) {
	.fullname {
		font-size: var(--fz-xl);
	}
}

.fullname p {
	margin: 0;
	width: fit-content;
}

.fullname > p:first-child {
	font-family: jetbrains-light;
	text-transform: uppercase;
	font-weight: 100;
	position: relative;
	font-size: 0.55rem;
}

.fullname > p:first-child::after {
	position: absolute;
	content: "";
	width: 3em;
	height: 0.3px;
	background-color: hsla(111, 100%, 54%, 1);
	left: calc(100% + 1em);
	top: 50%;
	translate: 0 -50%;
}

.description {
	opacity: 0.8;
	padding-inline-end: 0.9em;
	color: var(--clr-off-white);
	font-size: 0.7rem;
	width: fit-content;
}

.contact .btn-wrapper button,
.actions button,
.error-wrapper button {
	min-width: 8em;
	height: 3em;
	font-weight: bold;
	font-size: 0.8rem;
	border: 0.5px solid rgba(255, 255, 255, 0.3);
	background-color: transparent;
	color: var(--clr-lightgray-1);
	position: relative;
	background-clip: padding-box;
	transition: 0.2s;
	z-index: 1;
}

.action-btns {
	display: flex;
	gap: 1em;
}

.contact .btn-wrapper button::after,
.actions button::after,
.error-wrapper button::after {
	position: absolute;
	content: "";
	inset: 0;
	background-color: var(--clr-green-1);
	transform: scaleX(0);
	transition: transform 0.2s ease;
	transform-origin: left;
}

.contact .btn-wrapper button,
.actions button:first-child {
	border-color: hsla(111, 100%, 54%, 0.5);
}

.contact .btn-wrapper button:hover::after,
.actions button:hover::after,
.error-wrapper button:hover::after {
	transform: scaleX(1);
}

.contact .btn-wrapper button:hover,
.actions button:hover,
.error-wrapper button:hover {
	border-color: var(--clr-green-1);
}

.contact .btn-wrapper button span,
.actions button span,
.error-wrapper button span {
	position: relative;
	z-index: 1;
}

.contact .btn-wrapper button:hover > span,
.actions button:hover > span,
.error-wrapper button:hover span {
	color: #000;
}

.contact .btn-wrapper button span,
.actions button span {
	display: flex;
	align-items: center;
	gap: 0.7em;
	justify-content: space-between;
	padding-inline: 0.5em;
}

.actions button svg {
	width: 1em;
}

.actions button span svg {
	stroke-width: 2.5px;
}

.actions button:first-child svg {
	stroke: var(--clr-green-1);
}

.actions button:first-of-type:hover svg {
	stroke: #000;
}

.about {
	min-height: 100vh;
	display: flex;
	align-items: center;
}

.summary {
	display: grid;
	align-items: center;
	gap: 3em;
	opacity: 0;
	transform: translateY(20px);
	transition:
		transform 0.6s ease,
		opacity 0.6s ease;
}

.summary.in-view {
	opacity: 1;
	transform: translateY(0);
}

@media screen and (min-width: 666px) {
	.summary {
		grid-template-columns: repeat(2, 1fr);
		gap: 2.5em;
	}
}

.intro-heading {
	font-size: 1.8rem;
	font-family: grotesk;
	margin: 0.5em 0;
}

@media screen and (min-width: 750px) {
	.intro-heading {
		font-size: 2rem;
	}
}

.intro-heading > span {
	color: var(--clr-green-1);
	font-family: instrument;
}

.intro > div {
	opacity: 0.8;
	color: var(--clr-off-white);
	font-size: 0.7rem;
}

.intro .heading-2 {
	opacity: 1;
}

.summary aside ul {
	counter-reset: item;
	margin-block: 0.7em;
}

.summary aside ul li {
	display: flex;
	border-bottom: 0.5px solid rgba(255, 255, 255, 0.3);
	gap: 1em;
	align-items: center;
	padding: 1.5em 0;
	opacity: 0;
	transform: translateY(10px);
	transition:
		transform 0.5s ease-in,
		opacity 0.5s ease-in;
}

.summary aside ul.in-view li {
	opacity: 1;
	transform: translateY(0);
}

.summary aside ul li::before {
	counter-increment: item;
	font-family: jetbrains-light;
	content: "0" counter(item);
	padding: 0.2em;
	color: var(--clr-green-1);
	translate: 0 -10px;
}

.summary aside ul li p {
	font-size: 0.7rem;
	text-transform: uppercase;
	margin: 0;
	padding: 0;
	font-family: jetbrains-light;
}

.summary aside ul li small {
	color: var(--clr-off-white);
	opacity: 0.8;
	font-size: 0.7rem;
}

.blogs {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-block-start: 5em;
}

.post-container {
	background-color: hsla(116, 26%, 11%, 0.3);
	margin-block-start: 0.7em;
	border-radius: 2px;
	padding: 1.3em;
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 80vh;
}

.post-list {
	display: grid;
	grid-template-rows: auto auto auto;
	position: relative;
}

@media screen and (min-width: 666px) {
	.post-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

.post-item {
	padding: 1em;
	position: relative;
	grid-row: span 3;
	display: grid;
	grid-template-rows: subgrid;
	z-index: 1;
	border: 0.2px solid rgba(255, 255, 255, 0.09);
	transform: translateY(10px);
	opacity: 0;
	transition:
		transform 0.5s ease-in,
		opacity 0.5s ease-in;
}

.post-container.in-view .post-item {
	transition-delay: calc(var(--i) * 0.1s);
	transform: translateY(0);
	opacity: 1;
}

.post-item:nth-child(odd) {
	border-left: none;
}

.post-item:nth-child(even) {
	border-right: none;
}

.post-item:nth-child(-n + 2) {
	border-top: none;
}

.post-item:nth-last-child(-n + 2) {
	border-bottom: none;
}

.post-item svg {
	width: 0.9em;
}

.post-item .count {
	color: var(--clr-green-1);
	font-family: jetbrains;
	font-size: 1rem;
	pointer-events: none;
	position: absolute;
	top: 0.5em;
	left: 0.5em;
}

.post-item aside {
	display: flex;
	gap: 0.15em;
	justify-content: flex-end;
	position: absolute;
	right: 1.2em;
}

.post-item aside p {
	font-size: 0.7rem;
	pointer-events: none;
}

.post-item aside svg {
	width: 0.7em;
}

.post-item .title {
	font-family: grotesk;
	font-size: 0.9rem;
	padding-block-start: 1.5em;
}

.post-item .content {
	font-size: 0.7rem;
	color: var(--clr-off-white);
	opacity: 0.8;
	margin: 0;
}

.post-item > div {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 1em;
}

.post-item > div a:hover svg {
	transform: scale(1.2);
}

.post-item > div svg {
	stroke: var(--clr-green-1);
	transition: transform 0.2s ease-in-out;
	width: 1em;
	height: 1em;
}

.tags {
	display: flex;
	gap: 0.7em;
	font-size: 0.6rem;
}

.tags li {
	background-color: #333;
	padding-inline: 0.4em;
	border-radius: 2px;
}

.page-btns {
	display: flex;
	justify-content: center;
	gap: 1em;
	padding-block-start: 2em;
	margin-top: auto;
	position: relative;
	z-index: 100;
}

.page-btns svg {
	width: 2.5em;
	stroke: var(--clr-lightgray-1);
	stroke-width: 2px;
}

.page-btns button {
	width: 3em;
	height: 3em;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: none;
	background-color: #333;
	transition: transform 0.2s ease;
}

.page-btns button:hover {
	transform: scale(0.95);
}

.page-btns button:active {
	transform: scale(0.93);
}

.empty-list {
	position: absolute;
	top: 20%;
	left: 50%;
	translate: -50% -50%;
	font-size: 0.9rem;
	font-family: work;
	flex-direction: column;
	align-items: center;
	gap: 0.2em;
	display: none;
	z-index: 200;
}

.post-container .empty-list {
	top: 50%;
}

.empty-list.active {
	display: flex;
}

@media screen and (min-width: 666px) {
	.empty-list {
		font-size: 1.2rem;
	}
}

.empty-list p {
	margin: 0;
	font-family: jetbrains;
	text-align: center;
}

.empty-list span {
	color: var(--clr-green-1);
}

.empty-list svg {
	width: 1em;
	height: 1em;
	stroke-width: 0.15em;
}

.contact {
	position: relative;
	min-height: 70vh;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2em;
	margin-block: 4em;
	padding-block: 3em;
	transform: translateY(10px);
	transition:
		transform 0.5s ease-in,
		opacity 0.5s ease-in;
}

.contact.in-view {
	opacity: 1;
	transform: translateY(0);
}

.contact .heading-2 {
	position: absolute;
	top: 0;
	left: 0;
}

.contact .dm-wrapper {
	width: min(60em, 90%);
}

@media screen and (width <= 800px) {
	.contact {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding-bottom: 2em;
	}

	.contact .dm-wrapper {
		width: 100%;
	}
}

.contact form {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5em;
	color: var(--clr-lightgray-1);
}

.dm-wrapper form {
	position: relative;
}

.dm-wrapper form > .errmsg:first-of-type {
	position: absolute;
	bottom: 110%;
	left: 0;
}

.dm-wrapper form .errmsg {
	color: red;
	font-size: 0.55rem;
	padding-top: 0.2em;
	height: 2em;
	display: inline-block;
}

.contact .group {
	display: grid;
}

.contact .group:has(textarea) {
	grid-column: span 2;
}

.contact .group label {
	text-transform: capitalize;
	font-size: 0.7rem;
}

.contact .group input,
.contact .group textarea {
	background-color: transparent;
	border: none;
	border-bottom: 0.5px solid rgba(255, 255, 255, 0.3);
	padding: 1.3em 0 0.8em 0;
	outline: none;
	color: var(--clr-lightgray-1);
	font-size: 0.7rem;
	font-family: inherit;
	transition: 0.2s;
}

.contact .group input::placeholder,
.contact .group textarea::placeholder {
	font-weight: bold;
}

.contact .group input:focus,
.contact .group textarea:focus {
	border-color: var(--clr-green-1);
}

.contact .group textarea {
	resize: none;
	height: 8em;
}

.contact .btn-wrapper {
	padding-top: 0.5em;
}

.contact .btn-wrapper button {
	font-size: 0.7rem;
	height: 3.2em;
	width: 10.7em;
}

.contact .btn-wrapper button span {
	display: block;
	text-align: center;
}

.contact .btn-wrapper button:disabled {
	border: 1px solid var(--clr-lightgray-1);
	cursor: not-allowed;
}

.contact .btn-wrapper button:disabled::after {
	transform: scaleX(0);
}

.contact .btn-wrapper button .spinner.hide {
	visibility: hidden;
}

.contact .btn-wrapper button .spinner.hide + span {
	visibility: visible;
}

.contact .btn-wrapper button .spinner.show {
	visibility: visible;
}

.contact .btn-wrapper button .spinner.show + span {
	visibility: hidden;
}

.outro {
	margin-block: 0.7em;
	padding-block: 2em 5em;
}

.outro small {
	font-family: work-light;
	opacity: 0.8;
}

.say-hello {
	font-size: 2rem;
	margin: 0.2em 0 0.3em;
	font-family: jetbrains;
}

@media screen and (min-width: 666px) {
	.say-hello {
		font-size: 2.5rem;
	}
}

.outro a {
	display: flex;
	align-items: center;
	font-family: work-light;
	font-size: 0.7rem;
	opacity: 0.8;
	text-decoration: underline;
	text-transform: capitalize;
	transition: 0.2s;
}

.outro a:hover {
	opacity: 1;
}

.outro a svg {
	stroke-width: 2px;
	height: 1em;
}

footer p {
	margin: 1.5em 0 2em;
	font-family: work-light;
	font-size: 0.6rem;
	opacity: 0.8;
	color: var(--clr-off-white);
	text-align: center;
	padding-block-end: 1em;
}

.error-wrapper {
	width: fit-content;
	position: absolute;
	top: 40%;
	left: 3em;
	translate: 0 -50%;
}

.error-wrapper .heading {
	font-family: jetbrains;
	font-size: 2rem;
	margin: 0;
	width: fit-content;
	position: relative;
}

.error-wrapper .heading::after {
	position: absolute;
	bottom: 0.3em;
	left: 1px;
	content: "";
	width: 2em;
	height: 0.09em;
	background-color: var(--clr-green-1);
}

.error-wrapper > div p {
	margin: 0;
}

.error-wrapper > div p:nth-of-type(1) {
	font-size: 1.5rem;
	font-family: work;
	font-weight: bold;
}

.error-wrapper > div p:nth-of-type(2) {
	font-size: 0.7rem;
	color: var(--clr-off-white);
	opacity: 0.8;
	margin-block-end: 2em;
}

.error-wrapper button {
	font-size: 0.7rem;
}

.shop {
	margin-block: 3em;
	min-height: 60vh;
	opacity: 0;
	transform: translateY(10px);
	transition:
		transform 0.5s ease,
		opacity 0.5s ease;
}

.shop.in-view {
	opacity: 1;
	transform: translateY(0);
}

.product-wrapper ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1em;
}

.product-wrapper .product-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	transform: translateY(10px);
	opacity: 0;
	transition:
		transform 0.5s ease-in 0.3s,
		opacity 0.5s ease-in 0.3s;
}

.product-wrapper ul.in-view .product-card {
	transition-delay: calc(var(--i) * 0.05s);
	transform: translateY(0);
	opacity: 1;
}

.product-wrapper .product-card img {
	display: block;
	object-fit: contain;
	width: 100%;
	height: 17em;
}

.product-wrapper .product-image-wrapper {
	display: grid;
	place-items: center;
	overflow: hidden;
	background-color: hsla(116, 26%, 11%, 0.3);
	border: 0.5px solid rgba(255, 255, 255, 0.1);
	position: relative;
}

.product-wrapper .product-image-wrapper button {
	position: absolute;
	right: 0.5em;
	bottom: 0.5em;
	width: 2em;
	height: 2em;
	padding: 0;
	border-radius: 50%;
	border: none;
	background-color: var(--bg-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease-in-out;
}

.product-wrapper .product-description {
	font-family: work-light;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex: 1;
	position: relative;
}

.product-wrapper .product-description > span:first-of-type {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding-top: 0.65em;
}

.product-wrapper .product-card .name {
	font-size: 0.7rem;
}

.product-wrapper .product-card .amount {
	font-family: jetbrains-light;
	font-size: 0.75rem;
	color: var(--clr-green-1);
	padding: 0;
}

.product-wrapper .product-card .amount > span:first-of-type {
	position: relative;
	margin-right: 1px;
}

.product-wrapper .product-card .amount > span:first-of-type::after,
.product-wrapper .product-card .amount > span:first-of-type::before {
	position: absolute;
	content: "";
	width: 100%;
	height: 1.2px;
	background-color: var(--clr-green-1);
	left: 0;
}

.product-wrapper .product-card .amount > span:first-of-type::after {
	top: 40%;
}

.product-wrapper .product-card .amount > span:first-of-type::before {
	top: 56%;
}

.product-wrapper .product-description button {
	background-color: hsla(116, 26%, 18%, 1);
	border: none;
	outline: transparent;
	position: absolute;
	bottom: 3px;
	right: 2px;
	width: 1.7em;
	height: 1.7em;
	border-radius: 50%;
	padding: 0.02em;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.15s ease-in-out;
}

.product-wrapper .product-description button:hover {
	transform: scale(1.12);
}

.product-wrapper .product-description button:active {
	transform: scale(0.99);
}

.product-wrapper .product-description button svg {
	width: 1em;
	height: 1em;
	stroke-width: 2px;
	stroke: var(--clr-lightgray-1);
}

.product-wrapper .page-btn-wrapper {
	margin-top: 1.3em;
	padding-top: 0.5em;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 0.5px solid rgba(255, 255, 255, 0.3);
}

.product-wrapper .page-btn-wrapper small {
	font-size: 0.6rem;
	opacity: 0.8;
	color: var(--clr-lightgray-1);
}

.product-wrapper .page-btns {
	padding: 0;
	display: flex;
	align-items: center;
	gap: 0.3em;
}

.product-wrapper .page-btns button {
	background-color: transparent;
	padding: 0;
	height: fit-content;
	width: fit-content;
	outline: transparent;
}

.product-wrapper .page-btns button:hover {
	background-color: hsla(116, 26%, 11%, 1);
}

.page-btn-wrapper button svg {
	stroke: var(--clr-lightgray-1);
	stroke-width: 1.5px;
	width: 1.8em;
	height: 1.8em;
}

.page-no {
	font-family: jetbrains-light;
	color: var(--clr-green-1);
	translate: 0 0.45px;
	font-size: 0.6rem;
}

.no-products {
	height: 82vh;
	display: grid;
	place-content: center;
	padding-bottom: 2em;
}

.no-products .icon-wrapper {
	position: relative;
	display: flex;
	gap: 2rem;
	overflow: hidden;
	width: 22em;
}

.no-products .icon-wrapper div {
	display: flex;
	flex-shrink: 0;
	justify-content: space-around;
	animation: scroll-right 2s linear infinite;
	padding-left: 100%;
}

.no-products .icon-wrapper::after {
	position: absolute;
	content: "";
	width: 40em;
	height: 0.3px;
	top: 89.5%;
	left: 50%;
	translate: -50% 0;
	background-color: rgba(255, 255, 255, 0.3);
}

.no-products .icon-wrapper img {
	width: 15em;
	translate: 1.3em 0;
}

.no-products > div:nth-of-type(2) {
	translate: 0 -1.2em;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.no-products > div:nth-of-type(2) p {
	margin: 0;
	font-size: 1.5rem;
	font-weight: bold;
	font-family: work;
}

.no-products > div:nth-of-type(2) p span {
	color: var(--clr-green-1);
	font-family: instrument;
}

.no-products > div:nth-of-type(2) small {
	font-size: 0.6rem;
	color: var(--clr-off-white);
	opacity: 0.8;
}

.basket {
	position: fixed;
	inset: 0;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(2px);
	z-index: 600;
	display: none;
	transition: opacity 0.1s ease;
}

.basket.show {
	display: block;
}

.cart-wrapper {
	background-color: hsla(116, 26%, 11%, 1);
	width: min(40em, 80%);
	display: flex;
	flex-direction: column;
	position: absolute;
	padding: 3.5em 2em 2em;
	top: 0;
	right: 0;
	bottom: 0;
	transition:
		transform 0.2s ease-in-out,
		opacity 0.2s ease;
}

.basket.show .cart-wrapper {
	animation: slide-rl 0.2s linear;
}

.basket.show .cart-wrapper.remove {
	animation: slide-lr 0.2s linear;
}

.cart-wrapper .title {
	font-size: 1rem;
	font-family: work;
	font-weight: bold;
}

.cart-wrapper .close-btn {
	background-color: transparent;
	border: none;
	position: absolute;
	right: 0;
	top: 1em;
}

.cart-wrapper .close-btn svg {
	stroke: var(--clr-off-white);
	stroke-width: 1.4px;
	transition: 0.2s;
}

.cart-wrapper .close-btn:hover svg {
	stroke: var(--clr-lightgray-1);
	opacity: 0.7;
}

.cart-wrapper .icon-wrapper {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.cart-wrapper .icon-wrapper img {
	width: 30em;
}

.cart-wrapper .icon-wrapper .caption {
	translate: 0 -2.5em;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.cart-wrapper .icon-wrapper .caption span {
	font-size: 0.85rem;
	font-family: work;
}

.cart-wrapper .icon-wrapper .caption small {
	font-size: 0.55rem;
	color: var(--clr-off-white);
	opacity: 0.8;
}

.cart-wrapper .btn-wrapper {
	padding-top: 2em;
	display: grid;
}

.cart-wrapper .btn-wrapper button {
	height: 3em;
	font-weight: bold;
	font-family: work;
	background-color: var(--clr-green-1);
	border: none;
	transition: 0.2s;
}

.cart-wrapper .btn-wrapper button:hover {
	background-color: hsla(111, 100%, 44%, 1);
}

@keyframes fade-in {
	from {
		opacity: 0.5;
	}
	to {
		opacity: 1;
	}
}

@keyframes fade-in-x {
	from {
		opacity: 0;
		transform: translateX(-10px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fade-in-y-down {
	from {
		transform: translateY(10px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes slide-rl {
	from {
		transform: translateX(20px);
		opacity: 0;
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slide-lr {
	to {
		transform: translateX(20px);
		opacity: 0;
	}
}

@keyframes scroll-right {
	from {
		transform: translateX(-100%);
	}
	to {
		transform: translateX(120%);
	}
}

@keyframes bounce {
	from {
		translate: 0 0.3em;
	}
	to {
		translate: 0 -0.7em;
	}
}

@keyframes spin {
	to {
		rotate: 360deg;
	}
}

@keyframes glow-pulse-strong {
	0%,
	100% {
		opacity: 0.05;
		transform: scale(0.85);
	}
	50% {
		opacity: 0.2;
		transform: scale(1.15);
	}
}

@media (prefers-reduced-motion: reduce) {
	.sidebar,
	.sidebar.show {
		transition-duration: 0s, 0s;
		transition-delay: 0s;
	}
}
