:root {
	--font-family-base: "DM Sans", sans-serif;

	--black: #000;
	--white: #fff;
	--gray: #ccc;

	--primary: #4f9bff;

	--bg-white: #f5f5f5;
	--bg-black: rgba(0, 0, 0, 0.4);
	--bg-dark-blue: #26374a;

	/* Border */
	--border-white: 1px solid var(--white);
	--border-primary: 1px solid var(--primary);

	--box-shadow: 4px 4px 15px 0 rgba(79, 155, 255, 0.25) inset,
		-4px -4px 15px 0 rgba(79, 155, 255, 0.25) inset;

	/* Font Weight */
	--fw-400: 400;
	--fw-500: 500;
	--fw-600: 600;
	--fw-700: 700;

	/* Transition */
	--transition: 0.3s ease-in-out;
}

body {
	font-family: var(--font-family-base);
	font-size: 18px;
	font-weight: var(--fw-400);
	line-height: normal;
	color: var(--white);
	background-color: var(--black);
}
.wrapper {
	min-height: 100%;
	display: flex;
	flex-direction: column;
	overflow: clip;

	> maim {
		flex-grow: 1;
	}
}

.container {
	max-width: 1232px;
	margin-inline: auto;
	padding-inline: 20px;
}

.flex-center {
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	max-width: 360px;
	width: 100%;
	padding-inline: 32px;
	padding-block: 16px;
	font-size: 16px;
	font-weight: var(--fw-500);
	line-height: normal;
	color: currentColor;
	overflow: hidden;
	border-radius: 12px;
	cursor: pointer;
	border: var(--border-white);
	transition: scale var(--transition), box-shadow var(--transition),
		color var(--transition), background var(--transition);

	&:hover {
		scale: 1.03;
		box-shadow: 0 12px 30px rgba(79, 155, 255, 0.35),
			0 6px 18px rgba(79, 155, 255, 0.28), 0 4px 10px rgba(79, 155, 255, 0.22);
	}
}

.btn--white {
	background: var(--white);
	color: var(--black);

	&:hover {
		background: var(--primary);
		color: var(--white);
	}
}

.btn--blue {
	background: var(--primary);
	color: var(--white);

	&:hover {
		background: var(--white);
		color: var(--black);
	}
}

.shadow {
	background: var(--bg-black);
	box-shadow: var(--box-shadow);
	backdrop-filter: blur(15px);
}

.blue-card {
	background: var(--primary);
	box-shadow: var(--box-shadow);
	backdrop-filter: blur(15px);
}

.white-card {
	color: var(--black);
	background: var(--white);
	box-shadow: var(--box-shadow);
}

.blue-card--border {
	border-radius: 30px;
	border: 10px solid var(--primary);
}
.white-card--border {
	border-radius: 30px;
	border: 10px solid var(--white);
}

.highlight {
	color: var(--primary);
}

.visibility-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	border: 0 !important;
	padding: 0 !important;
	white-space: nowrap !important;
	clip-path: inset(100%) !important;
	clip: rect(0 0 0 0) !important;
	overflow: hidden !important;
}

.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 32px;
	background: rgba(0, 0, 0, 0.6);
	box-shadow: -4px -4px 15px 0 rgba(71, 164, 234, 0.25) inset,
		4px 0 4px 0 rgba(71, 164, 234, 0.25) inset;
	backdrop-filter: blur(15px);
	align-items: center;
	justify-content: center;
	z-index: 999;
}

.modal-inner {
	max-width: 450px;
	width: 100%;
	border-radius: 16px;
	padding: 32px;
	position: relative;
	border-radius: 30px;
	background: rgba(0, 0, 0, 0.4);
	box-shadow: -4px -4px 15px 0 rgba(71, 164, 234, 0.25) inset,
		4px 4px 15px 0 rgba(71, 164, 234, 0.25) inset;
	backdrop-filter: blur(15px);
}
#close {
	color: var(--white);
	position: absolute;
	top: 6px;
	right: 8px;
	background: transparent;
	border: none;
	cursor: pointer;
	transition: color var(--transition);

	&:hover {
		color: var(--primary);
	}
}

/* #region MEDIA QUERIES */

@media (max-width: 1200px) {
	.container {
		max-width: 100%;
	}
}

@media (max-width: 768px) {
	.blue-card--border {
		border: 5px solid var(--primary);
	}
	.white-card--border {
		border: 5px solid var(--white);
	}

	.modal {
		padding: 16px;
	}

	.modal-inner {
		padding: 20px;
	}

	#close {
		top: 0;
		right: 0;
	}
}

/* #endregion MEDIA QUERIES */
