@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/src/fonts/Poppins/Poppins-400.ttf");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("/src/fonts/Poppins/Poppins-500.ttf");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("/src/fonts/Poppins/Poppins-700.ttf");
}

:root {
	/* primary */
	--clr-primary-100: #f8f7fc;
	--clr-primary-200: #d9d2ee;
	--clr-primary-300: #baade0;
	--clr-primary-400: #9b88d2;
	--clr-primary-500: #5f43b1;
	--clr-primary-600: #4b358c;
	--clr-primary-700: #372767;
	--clr-primary-800: #231942;
	--clr-primary-900: #100b1d;
	
	/* gray */
	--clr-gray-100: #dce0e7;
	--clr-gray-200: #bdc6d3;
	--clr-gray-300: #9fabbe;
	--clr-gray-400: #8091aa;
	--clr-gray-500: #4f5e75;
	--clr-gray-600: #3a4657;
	--clr-gray-700: #262d38;
	--clr-gray-800: #11151a;
  
	/* success */
	--clr-success-100: #f2fbf3;
	--clr-success-200: #cbefcf;
	--clr-success-300: #a4e3ab;
	--clr-success-400: #7dd788;
	--clr-success-500: #38b647;
	--clr-success-600: #2c8f38;
	--clr-success-700: #206829;
	--clr-success-800: #144119;
	--clr-success-900: #081a0a;
  
	/* danger */
	--clr-danger-200: #f8dada;
	--clr-danger-300: #f0afaf;
	--clr-danger-400: #e78585;
	--clr-danger-500: #d72f2f;
	--clr-danger-600: #b12222;
	--clr-danger-700: #861a1a;
	--clr-danger-800: #5b1212;
	--clr-danger-900: #310909;
  
	/* warning */
	--clr-warning-200: #f8ebd9;
	--clr-warning-300: #efd4af;
	--clr-warning-400: #e7bd84;
	--clr-warning-500: #d68f2f;
	--clr-warning-600: #af7423;
	--clr-warning-700: #85571a;
	--clr-warning-800: #5a3b12;
	--clr-warning-900: #301f09;
  
	/* info */
	--clr-info-200: #dde9f7;
	--clr-info-300: #b4cded;
	--clr-info-400: #8bb2e3;
	--clr-info-500: #387cd0;
	--clr-info-600: #2964ac;
	--clr-info-700: #1f4c83;
	--clr-info-800: #15345a;
	--clr-info-900: #0b1c31;

	/* neutral */
	--clr-bg: #080808;
	--clr-neutral-200: #e6e6e6;
	--clr-neutral-300: #cdcdcd;
	--clr-neutral-400: #b3b3b3;
	--clr-neutral-500: #808080;
	--clr-neutral-600: #676767;
	--clr-neutral-700: #4d4d4d;
	--clr-neutral-800: #343434;
	--clr-neutral-900: #1a1a1a;

	/* misc */
	--cardGradient: linear-gradient(350deg, #372f3b, #000);
}

* {
	font-family: "Poppins", sans-serif;
	box-sizing: border-box;
	scroll-behavior: smooth;
}

body {
	display: flex;
	flex-direction: column;
	padding: 0;
	margin: 0;
	background-color: var(--clr-bg);
	color: #fff;
	min-height: 100dvh;
}

.navbar {
	position: sticky;
	height: 100px;
	display: flex;
	align-items: center;
	padding: 0 5%;
	top: 0;
	z-index: 10000;
	background: var(--clr-bg);
	transition: box-shadow 300ms ease-in-out;
	font-size: 17px;
}

.navbar .navItems {
	display: flex;
	gap: 2rem;
	margin-left: auto;
}

.navbar .navItems a {
	color: #fff;
	text-decoration: none;
	font-weight: 500;
	position: relative;
}

.navbar .navItems a::before {
	content: "";
	position: absolute;
	height: 2px;
	bottom: -4px;
	width: 0;
	background: var(--clr-primary-500);
	transition: .3s ease-in-out;
}

.navbar .navItems a:hover::before {
	width: 100%;
}

.navbar .other {
	margin-left: auto;
}

.logo {
	color: #fff;
	display: flex;
	align-items: center;
	column-gap: 0.5rem;
	text-decoration: none;
}

.logo img {
	width: 50px;
}

.hamburger {
	cursor: pointer;
	display: none;
	font-size: 1.5rem;
}

.sidebar {
	display: none;
	top: 0;
	z-index: 10000;
	width: 100vw;
	height: 100dvh;
	padding: 0 4%;
	position: fixed;
	text-align: left;
	flex-direction: column;
	background: var(--clr-bg);
}

.sidebar .hamburgerWrapper {
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.sidebar .navItems {
	margin-top: 50px;
	display: grid;
	gap: 2rem;
}

.sidebar .navItems a {
	text-decoration: none;
	color: #fff;
	border-bottom: 1px solid var(--clr-neutral-700);
	padding-bottom: 5px;
}

.sidebar .btnPrimary {
	margin-top: auto;
}

.sidebar .btnWhite {
	margin-block: 20px;
}

.closed {
	transform: translateX(100%);
}

.btn {
	text-decoration: none;
	text-align: center;
	outline: none;
	border: none;
	padding: 10px 20px;
	border-radius: 7px;
	transition: 200ms ease;
	position: relative;
	white-space: nowrap;
	font-size: 17px;
	cursor: pointer;
}

.btnPrimary {
	color: #fff;
	background: var(--clr-primary-500);
}

.btnPrimary:hover {
	background: var(--clr-primary-600);
}

.btnWhite {
	background: #fff;
	color: #000;
}

.btnWhite:hover {
	background: var(--clr-neutral-400);
}

.titleXL {
	margin: 0;
	margin-bottom: 40px;
	font-size: 2rem;
	position: relative;
}

.line::before {
	content: "";
	position: absolute;
	width: 120px;
	height: 1px;
	left: calc(50% - calc(120px / 2));
	background: linear-gradient(270deg, #000, #ffffff80 30%, #ffffff80 70%, #000);
	bottom: -12px;
}

.footer {
	margin-top: auto;
	border-top: 1px solid var(--clr-neutral-900);
	padding: 2rem 1rem;
}

.footer .content {
	display: flex;
	justify-content: space-between;
	row-gap: 2rem;
	max-width: 80%;
	margin: 0 auto;
	flex-wrap: wrap;
}

.footer .content>* {
	min-width: 300px;
}

.footer .content a {
	text-decoration: none;
	color: var(--clr-neutral-400);
}

.footer .content a:hover {
	color: var(--clr-neutral-500);
}

.footer .content .titleContainer {
	width: 20%;
}

.footer .content .titleContainer h3 {
	margin-bottom: 7px;
	letter-spacing: 1px;
}

.footer .content .titleContainer h4 {
	margin-top: 0;
}

.footer .content .linkContainer ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: .5rem;
}

/* Other */

.nodrag {
	-webkit-user-drag: none;
	user-select: none;
}

@media only screen and (min-width: 901px) {
	.sidebar {
		display: none;
	}
}

@media only screen and (max-width: 900px) {

	.navbar .navItems,
	.navbar .btnPrimary,
	.navbar .logo {
		display: none;
	}

	.navbar {
		justify-content: end;
		padding: 0 4%;
	}

	.hamburger {
		display: inherit;
	}

	.sidebar {
		display: flex;
	}

	.btnPrimary,
	.btnWhite {
		font-size: 14px;
	}
}