@import url('https://fonts.googleapis.com/css2?family=Nata+Sans:wght@100..900&display=swap');

:root {
	--bg-primary: #161616;
	--bg-secondary: #373737;
	--color-secondary: #6e00e4;
	--text-primary: aliceblue;
	--text-secondary: rgb(33, 33, 33);
}

body {
	background: linear-gradient(-45deg, #1a1a1a, #2c2c2c, var(--bg-primary), #252535);
	background-size: 550% 550%;
	animation: gradientBG 15s ease infinite;
	position: relative;
	overflow-x: hidden;
	color: var(--text-primary);
	font-family: "Nata Sans", sans-serif;
	line-height: 1.6;
	scroll-behavior: smooth;
	margin: 0;
	padding: 0;
}

@keyframes gradientBG {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}

body,
body *,
* {
	cursor: none !important;
}

html {
	scroll-behavior: smooth;
}

a,
button,
select,
[onclick] {
	pointer-events: auto !important;
}

#custom-cursor {
	transition: 0.2s ease;
}

#cursor-container {
	transition: color 0.2s ease;
}

h3 {
	margin: 0;
	text-transform: lowercase;
}

header {
	padding: 0;
	margin: 0;
	width: 100%;
	position: fixed;
	top: 0;
	z-index: 1000;
	pointer-events: auto;
}

#navbar {
	margin: 20px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	pointer-events: auto;
	transition: opacity 0.3s ease;
}

#info {
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#bars {
	display: none;
	transition: opacity 0.3s ease;
}

select {
	font-family: "Nata Sans", sans-serif;
	border: none;
	outline: none;
	border-radius: 5px;
	padding: 5px;
	width: auto;
	margin: 0 30px 0 5px;
	background-color: var(--bg-secondary);
	color: var(--text-primary);
	vertical-align: middle;
}

#social-medias {
	position: fixed;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	left: 25px;
	bottom: 0px;
	z-index: 1000;
}

#social-medias::after {
	content: "";
	display: block;
	width: 1px;
	height: 100px;
	background-color: var(--text-primary);
	margin: 0 auto 0 auto;
}

.social-media {
	font-size: 14pt;
	text-decoration: none;
	color: var(--text-primary);
	padding: 0;
	margin-bottom: 15px;
	transition: 0.2s ease;
	text-align: center;
	width: 30px;
	height: 30px;
}

.social-media:hover {
	color: var(--color-secondary);
	transform: scale(1.2);
}

#main {
	position: relative;
	margin: 0;
	padding: 0;
	width: 100%;
	text-align: justify;
}

section {
	font-size: 13pt;
	width: 70%;
	height: 100vh;
	margin: 0 auto;
	padding: 80px 0 0 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	position: relative;
	scroll-margin-top: 0;
	box-sizing: border-box;
}

#about {
	position: relative;
}

#projects {
	position: relative;
}

#contact {
	position: relative;
}

#pfp {
	border-radius: 50%;
	width: 60px;
	margin-right: 20px;
}

#pfp-mobile {
	display: none;
}

.subtitle {
	margin: 0;
	padding: 0;
	text-transform: uppercase;
	font-size: 14pt;
	font-weight: bold;
}

.title {
	font-weight: bold;
	text-align: left;
	margin: 0;
	padding: 0;
	font-size: 35pt;
	line-height: 35pt;
}

.text {
	width: 55%;
	padding: 0;
	margin: 20px 0 20px 0;
	max-width: none;
}

ul {
	text-align: right;
	list-style: none;
	padding: 0;
	margin: 0;
	text-transform: lowercase;
	display: flex;
	justify-content: flex-end;
}

li {
	padding: 0;
	text-align: center;
	margin: 0 12.5px 0 12.5px;
}

.navbar-button {
	position: relative;
	color: var(--text-primary);
	text-decoration: none;
	text-transform: uppercase;
	border: none;
	transition: border 0.3s ease;
}

.navbar-button::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -3px;
	width: 100%;
	height: 1.5px;
	background: var(--color-secondary);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.3s ease;
}

.navbar-button:hover::after {
	transform: scaleX(1);
}

.button {
	color: var(--text-primary);
	border: 1px solid var(--text-primary);
	border-radius: 5px;
	padding: 15px 20px;
	font-size: 12pt;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
	margin-right: 10px;
	background: linear-gradient(90deg, var(--color-secondary) 50%, transparent 50%);
	background-size: 300% 300%;
	background-position: -350px;
	background-repeat: no-repeat;
	transition: 0.5s ease;
}

.button:hover {
	border: 1px solid transparent;
	background-position: 0px;
	color: var(--text-primary);
	transition: 0.5s ease;
}

@media (max-width: 768px) {
	section {
		width: 90%;
		height: auto;
		padding: 100px 0 50px 0;
		font-size: 12pt;
	}

	header {
		height: 60px;
		backdrop-filter: blur(5px);
		-webkit-backdrop-filter: blur(10px);
	}

	#custom-cursor, #cursor-container, #pfp {
		display: none;
	}

	#pfp-mobile {
		display: block;
		width: 40px;
		padding: 10px 20px;
		border-radius: 50%;
	}

	#info {
		display: block;
	}

	#navbar {
		position: absolute;
		top: 0;
		margin: 0;
		padding: 80px 0 0 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		background-color: var(--bg-primary);
		width: 100%;
		height: 100vh;
		display: none;
		transition: opacity 0.3s ease;
	}

	#bars {
		z-index: 99999;
		display: block;
		margin: 0;
		font-size: 20pt;
		cursor: pointer;
		position: fixed;
		top: 5px;
		right: 20px;
	}

	.about {
		font-size: 12pt;
	}

	.title {
		font-size: 20pt;
		line-height: 28pt;
	}

	.text {
		width: 100%;
	}

	#social-medias {
		flex-direction: row;
		bottom: 15px;
		left: 50%;
		transform: translateX(-50%);
	}

	#social-medias::after {
		display: none;
	}

	.social-media {
		font-size: 12pt;
		margin: 0 10px 0 10px;
	}

	ul {
		margin-top: 20px;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	li {
		margin: 5px 0;
	}
	
}