::-webkit-scrollbar {
	display: none;
}

html {
	color: var(--text);
	background: var(--background);
	font-family: Poppins;
	scroll-behavior: smooth;
	scroll-padding: 125px;
}

body {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: var(--background-image), var(--background);
	z-index: 1;
	min-height: 100vh;
}

body:not(.loaded) {
	opacity: 0;
	transition: 0s opacity;
}

body.loaded {
	opacity: 1;
	transition: 0.5s opacity;
}

body > * {
	width: -webkit-fill-available;
}

body > div:not([id]) {
	display: none;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	color: var(--text);
	font-family: Poppins;
	position: relative;
}

a {
	color: var(--text);
	font-family: Poppins;
	text-decoration: none;
}

h1 {
	font-size: min(10vw, 60px);
	font-weight: 700;
	line-height: min(10vw, 60px);
}

h2 {
	font-size: 26px;
	font-weight: 700;
}

h3 {
	font-size: 25px;
	font-weight: 700;
	line-height: 25px;
}

h4 {
	font-size: 24px;
	font-weight: 400;
	line-height: 30px;
	opacity: 0.5;
}

h5 {
	font-size: 18px;
	font-weight: 600;
	line-height: 18px;
}

h6 {
	font-size: 18px;
	font-weight: 500;
	line-height: 18px;
	opacity: 0.5;
}

b {
	font-size: 18px;
	font-weight: 700;
	line-height: 20px;
}

p {
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	opacity: 0.7;
}

.buttons {
	display: flex;
	align-items: center;
	align-content: center;
	gap: 10px;
	width: -webkit-fill-available;
	flex-wrap: wrap;
}

.button {
	display: flex;
	padding: 7px 10px;
	justify-content: center;
	align-items: center;
	gap: 10px;
	border-radius: 5px;
	border: 1px solid var(--border);
	background: #111;
	font-size: 18px;
	font-weight: 700;
	min-width: fit-content;
	height: fit-content;
	cursor: pointer;
	transition: 0.25s;
}

.button:hover {
	background: #1c1c1c;
	transition: 0.25s;
}

.button:has(i),
.button:has(svg),
.button:has(img) {
	img {
		font-size: 20px;
		border-radius: 4px;
	}

	i,
	svg {
		font-size: 20px;
		color: var(--text);
		border-radius: 4px;
		opacity: 0.7;

		path {
			fill: var(--text);
		}
	}
}

.button:has(i:only-child),
.button:has(svg:only-child),
.button:has(img:only-child) {
	height: 45px;
	width: 45px;
	padding: 0;
	border-radius: 7.5px;
	img {
		font-size: 24px;
		border-radius: 4px;
	}

	i,
	svg {
		font-size: 24px;
		color: var(--text);
		border-radius: 4px;
		opacity: 0.7;

		path {
			fill: var(--text);
		}
	}
}

.links {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 25px;

	a:not(.button) {
		color: var(--text);
		font-size: 18px;
		font-weight: 400;
		opacity: 0.5;
		transition: 0.25s;
	}

	a:not(.button):hover {
		transition: 0.25s;
		opacity: 1;
	}
}

header {
	display: flex;
	align-items: stretch;
	gap: 15px;
	position: fixed;
	padding: 45px 7.5%;
	top: 0px;
	z-index: 10;
	justify-content: space-between;
	align-items: center;
	background: transparent;
	transition: 0.25s;

	.logo {
		display: flex;
		align-items: center;
		gap: 10px;

		img {
			width: 40px;
			height: 40px;
			border-radius: 100%;
		}
	}

	.links {
		gap: 50px;
		transition: 0.25s;
	}
}

header.scrolled {
	padding: 25px 7.5%;
	background: var(--header);
	box-shadow: 0px 0px 30px 2.5px var(--background);
	backdrop-filter: blur(12px);
	transition: 0.25s;
}

header.hidden .links {
	margin-top: -100px;
	opacity: 0;
	user-select: none;
	pointer-events: none;
	transition: 0.25s;
}

main {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: min(15vh, 150px);
	padding: 0 7.5%;
	width: -webkit-fill-available;
}

main > * {
	width: -webkit-fill-available;
	max-width: 1500px;
}

.hero {
	display: flex;
	align-items: center;
	gap: 82px;
	min-height: 100vh;
	margin-bottom: calc(-1 * min(15vh, 150px));

	.frame {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 10px;
		padding: min(1vw, 15px);
		border-radius: 100%;
		background: var(--gradient-triple);
		box-shadow: 0 0 50px 0 #240940;
		width: min(50vw, 400px);

		img {
			width: 100%;
			height: 100%;
			aspect-ratio: 1/1;
			border-radius: 100%;
		}
	}

	.group {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}
}

section {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 50px;

	h2::after {
		content: "";
		display: block;
		width: 75%;
		height: 3px;
		background: var(--gradient);
		border-radius: 5px;
		margin-top: 2.5px;
	}
}

.rows {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 45px;
	width: -webkit-fill-available;

	.group {
		gap: 5px;
	}
}

.item {
	display: flex;
	align-items: flex-start;
	gap: 25px;
	width: -webkit-fill-available;

	> i {
		font-size: 40px;
		font-weight: 900;
		background: var(--gradient);
		background-clip: text;
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		padding-top: 2.5px;
		transition: 0.25s;
	}

	> img {
		width: 100px;
		height: auto;
		transition: 0.25s;
	}

	.group {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 7.5px;
	}

	h3.link {
		cursor: pointer;
	}

	h3.link::after {
		content: "\f35d";
		font-family: var(
			--fa-family,
			var(--fa-style-family, "Font Awesome 7 Free")
		);
		font-size: 15px;
		margin-top: 0px;
		margin-left: 5px;
		position: absolute;
	}
}

.item:hover {
	> i,
	> img {
		scale: 0.85;
		transition: 0.25s;
	}
}

.item.column {
	flex-direction: column;
	gap: 20px;

	> img {
		width: auto;
		height: 65px;
	}
}

.item:not(.column) > img {
	border-radius: 5px;
}

.grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(100px, 1fr));
	gap: 45px;
	width: -webkit-fill-available;
}

footer {
	display: flex;
	padding: 25px 7.5% 20px 7.5%;
	justify-content: space-between;
	align-items: center;
	gap: 5px;
	margin-top: min(15vh, 150px);
}

footer::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	background: var(--gradient);
	width: -webkit-fill-available;
	height: 2px;
}

@media screen and (max-width: 900px) {
	.links {
		justify-content: center;
		gap: 15px 20px !important;
	}

	header {
		flex-direction: column;

		.links {
			justify-content: center;
		}
	}

	.hero {
		flex-direction: column;
		align-items: flex-start;
		gap: 50px;
		margin-bottom: 0;
		min-height: unset;
	}

	.grid {
		grid-template-columns: repeat(1, minmax(100px, 1fr));
	}

	.item {
		flex-direction: column;
	}

	footer {
		flex-direction: column;
		align-items: flex-start;
	}
}
