:root {
	--marquee-width: 150rem;
	--marquee-height: 8rem;
	/* --marquee-elements: 12; */
	/* defined with JavaScript */
	--marquee-elements-displayed: 5;
	--marquee-element-width: calc(var(--marquee-width) / 4 / var(--marquee-elements-displayed));
	--marquee-animation-duration: calc(var(--marquee-elements) * 3s);

	--headline-color: white;
	--background-color: #11151c;
	--text-color: rgba(255, 255, 255, 0.5);
}

/*--------------- basic styling --------------- */
@font-face {
	font-family: supplyMono;
	src: url(./fonts/PPSupplyMono-Ultralight.otf);
}

@font-face {
	font-family: Projekt;
	src: url(./fonts/KT\ Projekt\ Medium.otf);
}

@font-face {
	font-family: Lugati;
	src: url(./fonts/Lugati\ BLD.otf);
}

@font-face {
	font-family: blackBird;
	src: url(./fonts/PROJEKT\ Blackbird.otf);
}


html,
body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	font-family: "blackBird" !important;
	background: #000000 !important;
	background-image: url("../photos/noise-light.png") !important;
	background-attachment: fixed;

	color: #fff !important;
	box-sizing: border-box;
	scroll-padding-top: 70px;
	user-select: none;
}

.whitespace {
	width: 100%;
	height: 100px;
}

.sm_whitespace {
	width: 100%;
	height: 50px;
}

@media(max-width: 768px) {
	.whitespace {
		display: none;
	}
}

#custom-context-menu {
	display: none;
	position: fixed;
	background: rgba(26, 26, 26, 0.678);
	border: 1px solid rgba(61, 61, 61, 0.644);
	border-radius: 5px;
	padding: 10px;
	z-index: 9999;
}


.logo {
	height: 75px;
	width: 75px;
}


@media (min-width: 1200px) {
	.container {
		max-width: 1600px !important;
	}
}

.glass {
	height: 100px;
	width: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px !important;
	background: rgba(255, 255, 255, 0.11);
	backdrop-filter: blur(20px);
	box-shadow: 0 4px 50px rgba(78, 78, 78, 0.288);
	-webkit-backdrop-filter: blur(20px);
	border-radius: 16px;
	padding: 20px;
}

h5.card-title {
	margin-top: 0.25rem;
	margin-bottom: 0.1rem;
	text-align: center;
}

@media screen and (max-width: 425px) {
	h5.card-title {
		margin-top: 0.35rem;
		font-size: 0.95rem;
	}

}

/*--------------- typewriter effect --------------- */
.line {
	width: 24em;
	top: 50%;
	margin: auto;
	border-right: 2px solid rgba(255, 255, 255, 0.75);
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	transform: translateY(-50%);
}

.anim-typewriter {
	animation: typewriter 4s steps(40) 1s 1 normal both,
		blinkTextCussor 500ms steps(40) infinite normal;
}

@keyframes typewriter {
	from {
		width: 0;
	}

	to {
		width: 20em;
	}
}

@media(max-width: 768px) {
	@keyframes typewriter {
		from {
			width: 0;
		}

		to {
			width: 18.5em;
		}
	}
}

@keyframes blinkTextCussor {
	from {
		border-right-color: rgba(255, 255, 255, 0.75);
	}

	to {
		border-right-color: transparent;
	}
}

/*--------------- mouse blob ---------------*/

#blob {
	animation: rotate360 5s infinite;
	background: var(--blob-color);
	filter: blur(calc(var(--blob-size)/2.15));

	width: var(--blob-size);
	height: var(--blob-size);
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	z-index: 9999;
}

@keyframes rotate360 {
	from {
		transform: rotate(0deg);
	}

	50% {
		transform: scale(1, 1.15);
	}

	to {
		transform: rotate(360deg);
	}
}

#blob-blur {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 1;
	backdrop-filter: blur;
}

/*--------------- navigation --------------- */
nav {
	width: 100%;
	background: #0f0f0f;
	height: 80px;
	position: fixed;
	z-index: 1;
	backdrop-filter: blur(5px) saturate(200%);
	-webkit-backdrop-filter: blur(5px) saturate(200%);
	background-color: rgba(0, 0, 0, 0.80);
}

nav #brand {
	float: left;
	display: block;
	margin-left: 20px;
	line-height: 80px;
	font-weight: bold;
}

nav #brand a {
	color: #fff;
	transition: all 0.3s ease-out;
}

nav #brand a:hover {
	text-decoration: none;
}

nav #menu {
	float: left;
	right: 80px;
	position: fixed;
}

nav #menu li {
	padding-left: 40px;
	display: inline-block;
	cursor: pointer;
	font-weight: 300;
	line-height: 80px;
	position: relative;
	transition: all 0.3s ease-out;
}

nav #menu li span {
	font-weight: 700;
}

nav #menu li a {
	color: #fff;
}

nav #menu li a:hover {
	text-decoration: none;
}

#toggle {
	position: absolute;
	right: 30px;
	top: 20px;
	font-weight: 300;
	z-index: 2;
	width: 30px;
	height: 30px;
	cursor: pointer;
	float: right;
	transition: all 0.3s ease-out;
	visibility: hidden;
	opacity: 0;
}

.close-btn {
	position: absolute;
	right: 16px;
	font-weight: 300;
	z-index: 2;
	cursor: pointer;
	top: -2px;
	line-height: 80px;
}

#resize {
	z-index: 1;
	top: 0px;
	position: fixed;
	background: #0f0f0f;
	width: 100%;
	height: 100%;
	visibility: hidden;
	opacity: 0;
	transition: all 1s ease-out;
	backdrop-filter: blur(11px) saturate(200%);
	-webkit-backdrop-filter: blur(11px) saturate(200%);
	background-color: rgba(0, 0, 0, 0.90);
}

#resize #menu {
	height: 90px;
	position: absolute;
	left: 45%;
	transform: translateX(-50%);
	text-align: center;
	display: table-cell;
	vertical-align: middle;
}

#resize #menu li {
	display: block;
	text-align: center;
	padding: 10px 0;
	font-size: 50px;
	min-height: 50px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease-out;
}

#resize li:nth-child(1) {
	margin-top: 140px;
}

#resize #menu li a {
	color: #fff;
}

#resize #menu li a:hover {
	text-decoration: none;
}

#resize.active {
	visibility: visible;
	opacity: 1;
}

@media(max-width: 768px) {
	.logo {
		height: 50px;
		width: 50px;
	}

	#toggle {
		visibility: visible;
		opacity: 1;
		margin-top: 6px;
		margin-right: 4px;
	}

	nav #brand {
		margin-left: 10px;
	}

	#menu a {
		font-size: 20px;
		font-weight: 300;
	}

	#resize #menu a {
		font-size: 20px;
		font-weight: 300;
	}

	#resize #menu {
		margin-top: 25%;
	}

	#resize li span {
		font-weight: bolder;
	}

	nav #menu {
		display: none;
	}
}

@media(min-width: 768px) {
	#resize {
		visibility: hidden !important;
	}
}

#bg {
	align-items: center;
	justify-content: center;
}

/*--------------- hero section --------------- */
.hero {
	height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
	/* scale: 1.3; */
}

.hero h1 {
	margin-top: 20px;
	font-family: "supplyMono";
	font-weight: 800;
	text-align: center;
	letter-spacing: 5px;
}

.circular-button {
	position: absolute;
	display: inline !important;
	top: 93%;
	right: 30px;
	/* width: 40px;
	height: 40px; */
	scale: 1.4;
	font-size: 40px;
	border-radius: 50%;
	border: none;
	background-color: transparent;
	font-size: 20px;
	cursor: pointer;
	filter: grayscale(100%);
	outline: none;
	z-index: 7;
}

.circular-button:hover {
	transform: scale(1.3);
}

.circular-button:focus {
	outline: none !important;
}

@media (max-width: 1024px) {
	.hero {
		transform: scale(1);
	}

	.hero h1 {
		font-size: 30px;
	}

}

@media(max-width: 768px) {
	.hero {
		transform: scale(1);
		z-index: 0;
	}

	.header h1 {
		font-size: 20px;
		font-weight: 600;
		letter-spacing: 5px;
	}

	.glass {
		height: 100px;
	}

	.circular-button {
		top: 90%;
		right: 20px;
		width: 2.5rem;
		height: 2.5rem;
	}

	.circular-button:hover {
		transform: scale(1.1);
	}
}

@media(max-width: 525px) {
	.glass {
		height: 80px;
	}

	.hero h1 {
		margin-top: 10px;
		font-size: 15px;
		font-weight: 600;
		letter-spacing: 2px;
		padding: 0px;
	}

}

/*--------------- scroll down icon animation --------------- */
.scroll-down {
	position: absolute;
	left: 50%;
	bottom: 100px;
	display: block;
	text-align: center;
	font-size: 20px;
	z-index: 0;
	text-decoration: none;
	text-shadow: 0;
	width: 13px;
	height: 13px;
	border-bottom: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: translate(-50%, 0) rotate(45deg);
	animation: fade_move_down 3s cubic-bezier(0.19, 1, 0.22, 1) infinite;
}

@keyframes fade_move_down {
	0% {
		transform: translate(0, -20px) rotate(45deg);
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	100% {
		transform: translate(0, 20px) rotate(45deg);
		opacity: 0;
	}
}

/*--------------- projects section --------------- */
h6 {
	text-align: center;
}

.vertical {
	margin-top: 40px;
	border-left: 1px solid #fff;
	height: 80px;
	position: absolute;
	left: 50%;
}

.project {
	height: 500px;
}


@media(max-width: 768px) {
	.project {
		width: 90% !important;
		margin: 14px auto;
	}

	.vertical {
		display: none;
	}

}

/*--------------- footer section --------------- */

.footer {
	background-color: black;
	color: white;
	text-align: center;
	padding: 80px;
}

.footer p {
	font-size: 1.2rem;
	margin-top: 0.5rem;
}

@media screen and (max-width: 768px) {
	.footer {
		text-align: center;
		padding: 60px;
	}

	.footer p {
		font-size: 1rem;
		padding-bottom: 1.5rem;
	}
}

.collab {
	text-align: right;
}

.collab p {
	font-weight: lighter !important;
	margin-bottom: 20px;
}

.hr {
	background: rgba(255, 255, 255, 0.479);
	height: 0.5px;
	/* width: 50%; */
}


.info h4 {
	font-size: 18px;
	font-weight: lighter;
}

.info p {
	color: grey;
	font-weight: lighter;
}

.info li {
	font-weight: lighter;
	color: #fff;
	font-size: 18px;
}

#fb::before {
	display: inline-block;
	content: '';
	border-radius: 100%;
	height: 4px;
	width: 4px;
	margin-right: 6px;
	background: #3b5998;
}


#ig::before {
	display: inline-block;
	content: '';
	border-radius: 100%;
	height: 4px;
	width: 4px;
	margin-right: 6px;
	background: #DD2A7B;
}


#tw::before {
	display: inline-block;
	content: '';
	border-radius: 100%;
	height: 4px;
	width: 4px;
	margin-right: 6px;
	background: #55acee;
}


#li::before {
	display: inline-block;
	content: '';
	border-radius: 100%;
	height: 4px;
	width: 4px;
	margin-right: 6px;
	background: #0E76A8;
}


#git::before {
	display: inline-block;
	content: '';
	border-radius: 100%;
	height: 4px;
	width: 4px;
	margin-right: 6px;
	background: #e6e6e6;
}

#media,
#address {
	text-align: center;
	margin-left: 200px;
}

#media ul {
	list-style: none;
}

#media ul li {
	display: inline-block;
}

@media(max-width: 768px) {

	.collab,
	#personal,
	#media,
	#address {
		text-align: center;
		margin-left: 0px;
	}

	.info ul {
		margin: 0 0 0 0px;
		padding: 0;
	}

	.info li {
		padding: 2px;
	}
}

@media (max-width:1024px) {
	#media {
		text-align: center;
		margin-left: 0px;
	}

	.info ul {
		margin: 0 0 0 0px;
		padding: 0;
	}

	.info li {
		padding: 2px;
	}
}

/*--------------- work page --------------- */

.hero-content {
	margin-left: 0%;
}

.hero-content p {
	font-weight: 300;
	line-height: 36px;
	color: grey;
}

.hero-content h6 {
	text-align: left;
}

@media(max-width: 768px) {
	.hero-content {
		padding-top: 50px;
		width: 96%;
		margin: 0 auto;
	}
}

/*---------------about page --------------- */

.about {
	height: 500px;
	margin-top: 120px;
}

.about-info {
	color: white;
	font-weight: 300;
	text-align: justify;
}


.keywords {
	width: auto;
	padding: 10px;
	border-radius: 10px;
	display: block;
	font-size: 1rem;
	text-wrap: balance;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(5px) saturate(200%);
	-webkit-backdrop-filter: blur(5px) saturate(200%);
	background-color: rgba(75, 75, 75, 0.486);
}

.btn {
	border-radius: 10px !important;
	width: 100% !important;
}

.btn-outline-dark {
	color: #a7a7a7 !important;
	border-color: #a7a7a7 !important;
}

.btn-outline-dark:hover {
	color: #ffffff !important;
}

@media screen and (max-width: 768px) {
	.keywords {
		font-size: 1.2rem;
	}

	.name {
		text-align: center;
	}

	.btn {
		width: 7rem !important;
		height: 6rem !important;
	}
}


@media (max-width: 320px) {
	.btn {
		width: 6rem !important;
		height: 6rem !important;
	}
}

/*--------------- contact --------------- */

img {
	max-width: 90%;
	display: inline-block;
	/*padding: 50px;*/

}

.memoji {
	margin-top: 10%;
}

@media(max-width: 992px) {
	.memoji {
		margin-top: 5%;
	}
}

@media(max-width: 768px) {
	.memoji {
		margin-top: 35%;
	}
}


/*--------------- project page --------------- */

.prev,
.next p {
	color: grey;
}

.prev p {
	text-align: left;
}

.next p {
	text-align: right;
}


.anim-typewriter2 {
	animation: typewriter2 4s steps(40) 1s 1 normal both,
		blinkTextCussor 500ms steps(40) infinite normal;
}


.card-deck {
	padding: 1vw;
}

.card-img {
	max-width: 100%;
	filter: grayscale(100%);
}

.filters-gif {
	width: 100%;
	height: 40vw;
	object-fit: cover;
}

.card-img:hover {
	filter: grayscale(0%);
}

.icons {
	width: 2rem;
}

.icons:hover {
	transform: scale(1.1);
	/* filter: drop-shadow(5px 5px 8px rgb(57, 57, 57)); */
}

#topBtn {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 30px;
	z-index: 99;
	font-size: 18px;
	border: none;
	outline: none;
	/* background-size: cover; */
	background-color: black;
	/* color: white; */
	cursor: pointer;
	padding: 25px;
	border-radius: 50%;
}


#topBtn:hover {
	filter: invert();
}

.button-icon {
	position: absolute;
	padding: 0px;
	top: 0;
	left: 3px;
	width: 50px;
	height: 50px;
}

@media screen and (max-width: 992px) {
	.card-img {
		filter: grayscale(0%);
	}

	.filters-gif {
		width: 100%;
		height: 90vw;
		object-fit: fill;
	}


	.icons {
		size: 20px;
		size: 20px;
	}

	#topBtn {
		bottom: 90px;
		right: 25px;
	}
}

@keyframes typewriter2 {
	from {
		width: 0;
	}

	to {
		width: 8em;
	}
}

@media(max-width: 768px) {

	.card-deck {
		padding: 5vw;
	}

	.icons {
		size: 20px;
		width: 45px;
	}

	@keyframes typewriter2 {
		from {
			width: 0;
		}

		to {
			width: 8em;
		}
	}
}

.card-text {
	color: white !important;
}

#particleCanvas {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100%;
	cursor: default !important;
}

canvas {
	/* margin: 20px; */
	display: block;
	border-radius: 20px;
}

.block-container {
	display: flex;
	/* padding-top: 25px */
	padding-bottom: 45px;
}


.myToolTip {
	position: relative;
	display: inline-block;
}

.myToolTip .tooltiptext {
	visibility: hidden;
	width: 140px;
	background-color: #555;
	color: #fff;
	text-align: center;
	border-radius: 6px;
	padding: 5px;
	position: absolute;
	z-index: 1;
	bottom: 150%;
	left: 50%;
	margin-left: -75px;
	opacity: 0;
	transition: opacity 0.3s;
	font-size: 12px;
}

.myToolTip .tooltiptext::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: rgb(59, 59, 59) transparent transparent transparent;
}

.myToolTip:hover .tooltiptext {
	visibility: visible;
	opacity: 1;
}


@media(max-width: 768px) {

	.myToolTip:hover .tooltiptext {
		width: 75px;
		margin-left: -30px;
	}
}

/* marquee */


.marquee-container {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 1.2rem;
}

.marquee {
	width: var(--marquee-width);
	height: var(--marquee-height);
	background-color: rgba(0, 0, 0, 0.219);
	color: #eee;
	overflow: hidden;
	position: relative;
	border-radius: 30px;
}

.marquee:before,
.marquee:after {
	position: absolute;
	top: 0;
	width: 10rem;
	height: 10rem;
	content: "";
	z-index: 1;
}

.marquee:before {
	left: 0;
	background: linear-gradient(to right, #000000 0%, transparent 100%);
}

.marquee:after {
	right: 0;
	background: linear-gradient(to left, #000000 0%, transparent 100%);
}

.marquee-content {
	list-style: none;
	height: 100%;
	display: flex;
	animation: scrolling var(--marquee-animation-duration) linear infinite;
	padding: 1rem;
}

/* .marquee-content:hover {
	animation-play-state: paused;
} */

@keyframes scrolling {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(calc(-1 * var(--marquee-element-width) * var(--marquee-elements)));
	}
}

.marquee-content li {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	flex-shrink: 0;
	width: var(--marquee-element-width);
	max-height: 100%;
	font-size: calc(var(--marquee-height)*0.1);
	/* 5rem; */
	margin: 3rem;
	white-space: nowrap;
}

.marquee-content li img {
	width: 100%;
	/* height: 100%; */
	/* border: 2px solid #eee; */
}

@media (max-width: 768px) {
	html {
		font-size: 12px;
	}

	:root {
		--marquee-width: 100rem;
		--marquee-height: 10rem;
		--marquee-elements-displayed: 4;
	}

	.marquee:before,
	.marquee:after {
		width: 5rem;
	}
}

.icon-text {
	display: block;
	text-align: center;
	margin-top: 5px;
	font-size: 14px;
	color: #e0e0e0;
}

/*--------------- new nav --------------- */

.sticky-nav {
	display: none;
	position: fixed;
	bottom: 0;
	left: 50%;
	width: max-content;
	height: fit-content;
	align-items: center;
	justify-content: center;
	transform: translateX(-50%);
	background: rgba(255, 255, 255, 0.267);
	backdrop-filter: blur(5px);
	box-shadow: 0 4px 50px rgba(46, 46, 46, 0.582);
	padding: 20px 20px;
	border-radius: 20px;
	margin-bottom: 1%;
}

/* Rest of the CSS remains the same */

.sticky-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

.sticky-nav li {
	display: inline-block;
	margin: 0 10px;
}

.sticky-nav a {
	text-decoration: none;
	color: #000000;
	padding: 5px 10px;
	font-size: 1.2rem;
	/* border-radius: 5px; */
	transition: background-color 0.3s ease;
}

.sticky-nav a:hover {
	text-decoration: none;
	color: #d6d6d6;
	font-weight: bold;
	/* background-color: rgba(255, 255, 255, 0.055); */
}


.sticky-nav a.active {
	color: #800000;
	font-weight: bold;
	/* background-color: rgba(255, 255, 255, 0.055); */
}


.video iframe {
	width: 720px;
	height: 720px;
}


/* Media query for responsiveness */
@media screen and (max-width: 768px) {
	.sticky-nav {
		border-radius: 10px;
		width: max-content;
		height: fit-content;
		padding: 20px 40px;

	}

	.sticky-nav li {
		font-size: 1.2rem;
		/* display: block; */
		margin: 5px 0;
	}

	.video iframe {
		width: 480px;
		height: 480px;
	}
}


@media screen and (max-width:425px) {
	.sticky-nav {
		padding: 10px 5px;
		border-radius: 15px;
	}

	.sticky-nav li {
		font-size: 1rem;
		/* display: block; */
		margin: 5px 0;
	}

	.video iframe {
		width: 240px;
		height: 2400px;
	}

}

.university {
	display: flex;
	flex-direction: column;
	justify-content: center;
	/* align-items: center; */
}


@media screen and (max-width: 992px) {
	.university {
		text-align: center;
		padding: 1rem 0.5rem;
		align-items: center;
	}

	.uniLogo {
		width: 10px;
	}

}

.canvas-container {
	position: relative;
	width: 100%;
	height: 100%;
	z-index: 2;
	overflow: hidden;
}

.headline-container {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
	overflow: hidden;
}

#text-behind,
#text-front,
#text-behind-blur {
	font-family: 'Projekt';
	position: absolute;
	text-align: center;
	font-size: clamp(18px, 12vw, 150px);
	text-transform: uppercase;
	font-weight: 100;
	letter-spacing: 10px;
	line-height: 0.8;
}

#text-behind {
	color: var(--headline-color);
	z-index: 1;
}

#text-behind-blur {
	color: var(--headline-color);
	filter: blur(7.5px);
	-webkit-filter: blur(7.5px);
	z-index: 2;
}

#text-front {
	color: transparent;
	-webkit-text-stroke-width: 2px;
	-webkit-text-stroke-color: var(--headline-color);
	z-index: 3;
}

/* loading */

#loading-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	backdrop-filter: blur(15px);
	background-color: rgba(20, 20, 20, 0.671);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.loader {
	display: block;
	position: relative;
	height: 32px;
	width: 140px;
	border: 3px solid #fff;
	border-radius: 20px;
	box-sizing: border-box;
	animation: balancing 2s linear infinite alternate;
	transform-origin: center center;
}

.loader:before {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 52px;
	height: 26px;
	border-radius: 20px;
	background-color: var(--before-background-color, #c7c7c7);
	animation: ballbns 2s linear infinite alternate;
}

@keyframes ballbns {
	0% {
		left: 0;
		transform: translateX(0%);
	}

	100% {
		left: 100%;
		transform: translateX(-100%);
	}
}

@keyframes balancing {
	0% {
		transform: rotate(-25deg);
	}

	50% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(25deg);
	}
}

/* Hide the loading overlay by default */
#loading-overlay.hidden {
	display: none;
}


#education p {
	font-size: 1.3rem;
	color: #eeeeee;
	text-wrap: balance;
}


#experience p {
	font-size: 1.1rem;
	color: #eeeeee;
	line-height: 1.5;
	text-wrap: balance;
}

.idea {
	font-size: 1.2rem;
}