* {
	font-family: "Google Sans", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	user-select: none;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--accent: #006fce;
}

body {
	background: linear-gradient(-45deg, #1a1a1a, #151515, #0a0a0a, #050505);
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
	height: 100vh;
	font-family: "Google Sans", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	padding: 0px;
	color: #d5d5d5;
	background-color: #303030;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding-bottom: 1rem;
	box-sizing: border-box;
	padding: 1rem;
	height: 100vh;
	align-items: center;
}

* {
	scrollbar-width: thin;
	scrollbar-color: #545454 #222;
}

*::-webkit-scrollbar {
	width: 10px;
}

*::-webkit-scrollbar-track {
	background: #222;
}

*::-webkit-scrollbar-thumb {
	background-color: #545454;
	border-radius: 10px;
	border: 3px none #ffffff;
}

.custom-tooltip {
	transform: translateY(-100%);
}

.cta {
	text-decoration: none;
	border: none;
	background: none;
	cursor: pointer;
}

.cta span {
	position: relative;
	padding: 0 0 5px 0;
	font-size: 14px;
	color: #fff;
	opacity: .7;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.3rem;
}

.cta:hover span {
	opacity: 1;
}

.cta span::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 1px;
	background: #eee;
	opacity: 1;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.25s ease-out;
}

.cta:hover span::after {
	transform: scaleX(1);
	transform-origin: left;
}

.wakatime-label {
	margin-top: 1rem;
	transform: translateY(-1rem);
	background-color: #00ff4780;
	border-radius: 0.3rem;
	color: #eee;
	margin-right: auto;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.5rem;
	padding-right: 5px;
}

.wakatime-label .brand {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.5rem;
	background-color: #333;
	padding: 0.25rem 0.5rem;
	border-radius: 0.3rem 0 0 .3rem;
}

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

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

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

a {
	text-decoration: none;
	color: #d5d5d5;
}

p a {
	text-decoration: underline;
	font-weight: bold;
}

p a:hover {
	color: #fff;
}

.title-text {
	font-weight: bolder;
	font-size: 1.25rem;
	color: red;
}

.top-left {
	margin: 5px;
	padding: 0;
	line-height: 0;
}

.menu-background {
	margin: auto;
	background-color: #151515;
	max-width: 700px;
	transition: 0.1s;
	border-radius: 0.3rem;
	height: fit-content;
	max-height: fit-content;
	width: 100%;
	box-shadow: 0px 0px 11px #050505a0;
}

.menu-header {
	background-color: rgba(16, 16, 16, 1.0);
	width: 100%;
	min-height: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	position: relative;
	user-select: none;
}

.menu-header-close {
	width: 30px;
	height: 30px;
	display: flex;
	background-color: rgba(142, 24, 24, 1.0);
	align-items: center;
	justify-content: space-evenly;
	font-weight: bolder;
	color: #d5d5d5;
	cursor: pointer;
	position: absolute;
	right: 5px;
	border-radius: 5px;
}

.menu-header-close-text {
	font-weight: lighter;
	font-size: 0.8rem;
	color: #d5d5d5;
	cursor: pointer;
	text-align: center;
	vertical-align: middle;
}

.menu-header-close:hover {
	background-color: rgba(255, 0, 0, 1.0);
	color: white;
	font-size: 1.1rem;
}

.header-text {
	font-weight: lighter;
	font-size: 1.2rem;
	color: #d5d5d5;
	cursor: default;
}

.tabs-container {
	display: flex;
	justify-content: space-between;
	width: 100%;
	overflow-x: auto;
	margin-top: 10px;
	min-height: fit-content;
}

.tab {
	color: #d5d5d5;
	font-weight: lighter;
	font-size: 70%;
	text-align: center;
	padding-top: 5px;
	padding-bottom: 5px;
	cursor: pointer;
	position: relative;
	flex: 0 0 calc(100% / 3);
	background-color: rgba(16, 16, 16, 1.0);
	text-wrap: pretty;
}

.tab:hover {
	color: white;
}

.icon-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 20px;
	align-items: center;
}

.icon-container a {
	text-decoration: none;
	display: flex;
	flex-direction: column;
}

.icon-container a:hover {
	transition: 0.1s;
	color: white;
}

.tab.active::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background-color: rgba(0, 255, 187, 1.0);
}

.divider-line {
	width: 100%;
	height: 2px;
	margin-top: 10px;
	margin-bottom: 10px;
	background-color: rgba(16, 16, 16, 1.0);
}

.content-area {
	margin: 0px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 1rem;
	overflow-y: auto;
}

.content-tab {
	display: none;
	position: relative;
	height: 100%;
}

.content-tab.active {
	display: flex;
	flex-direction: column;
	row-gap: 1rem;
}

.profile-picture {
	width: 25%;
	height: auto;
	aspect-ratio: 462 / 483;
	object-fit: cover;
	border-radius: 0.15rem;
}

.about-tap-info {
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: space-between;
	gap: 1rem;
}

.content-tab p {
	line-height: 1.45em;
	color: #d5d5d5;
	font-weight: lighter;
	font-size: 1rem;
	margin: 0px;
}

.content-tab ul {
	padding: 0px;
	margin: 0px;
	width: 100%;
	list-style-type: none;
	text-decoration: none;
}

.content-tab li {
	line-height: 2.0em;
	color: #d5d5d5;
	font-weight: lighter;
	font-size: 1rem;
	transition: 0.1s;
	width: 100% - 30px;
	padding-left: 30px;
	text-decoration: none;
	cursor: pointer;
}

.li {
	text-decoration: none;
}

.content-tab li:hover {
	font-size: 1.2rem;
	transition: 0.1s;
	background-color: rgba(0, 255, 187, 0.3);
}

a.icon-btn {
	text-decoration: none;
	display: flex;
	flex-direction: row;
	align-items: center;
	font-size: 1.1rem;
	padding: 0.5rem;
}

.icon-btn:hover {
	background-color: #222;
	text-decoration: none;
}

p {
	margin-top: 0;
	margin-bottom: 1rem;
	line-height: 1.5;
}

p:last-child {
	margin-bottom: 0;
}

.section-container {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.section {
	background-color: #151515;
	padding: 15px;
	border-left: 4px solid rgba(0, 255, 187, 1.0);
}

.section-header {
	background-color: #252525;
	padding: 5px 10px;
	margin-bottom: 10px;
}

.section-date {
	color: #d5d5d5;
	font-weight: bold;
}

.section-content h3 {
	margin: 0;
	font-weight: normal;
}

.section-content p {
	margin-top: 10px;
	line-height: 1.6;
	font-size: 15px;
}

.icon-label {
	display: flex;
	flex-direction: row;
	column-gap: 5px;
	align-items: center;
}

.icon-btn {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	background-color: #333;
	transition: 0.1s;
	border-radius: 0.25rem;
	padding: 0.3rem 0.5rem;
	gap: 0.5rem;
	width: fit-content;
}

.icon-btn a {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: row;
	font-weight: bold;
	margin: 0;
	padding: 0;
}

#canvasContainer {
	transition: 0.1s;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: fit-content;
	opacity: 0;
}

.visible {
	opacity: 1 !important;
}

canvas {
	height: 100%;
	background-color: #11111180;
	max-height: 200px;
	min-height: 170px;
}

#content-tab1 h2 {
	margin: 0;
	line-height: 1;
}

.project-card {
	width: 100%;
	height: fit-content;
	padding: 1rem;
	background-color: #111;
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	row-gap: 0.5rem;
	border-radius: 0.3rem;
	position: relative;
	overflow: hidden;
	gap: 1rem;
	max-width: 100%;
}

.project-card a {
	font-size: 1.2rem;
	color: #eee;
	position: absolute;
}

.project-card p {
	font-size: 0.9rem;
	color: #c5c5c5;
}

.width-max {
	width: 100%;
}

.flex-h {
	display: flex;
	flex-direction: row;
}

.space-between {
	justify-content: space-between;
}

h3 {
	margin: 0;
}

.hero {
	display: flex;
	gap: 1.5rem;
	max-height: 550px;
	scrollbar-width: none;
	flex-direction: row;
}

.about {
	display: flex;
	gap: 1.5rem;
	max-height: 550px;
	overflow-y: auto;
	scrollbar-width: none;
	flex-direction: column;
}

.about h2 {
	margin: 0;
}

.about p {
	font-size: 0.9rem;
	margin: 0;
	border-radius: 0.25rem;
	width: fit-content;
	padding: 0.15rem 0.35rem;
}

.job-title {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.skills {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.25rem;
}

.skills p {
	background-color: #111;
}

.column-gap-1 {
	column-gap: 1rem;
}

#project-gallery-container {
	overflow: hidden;
	width: 100%;
	height: 175px;
	position: relative;
}

#project-gallery-strip {
	display: flex;
	gap: 20px;
	white-space: nowrap;
	align-items: center;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	animation: scroll-left var(--scroll-duration, 20s) linear infinite;
}

.project-item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
	color: white;
	font-size: 12px;
	text-align: center;
	width: 300px;
	flex-shrink: 0;
	text-decoration: none;
	border-radius: 0.4rem;
	height: 150px;
}

.project-item img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 150px;
	object-fit: cover;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
	transition: opacity .1s ease-in-out;
	border-radius: 0.4rem;
}

.project-item span {
	position: absolute;
	left: 0;
	font-size: 1rem;
	margin: 0.5rem;
	font-weight: bold;
	backdrop-filter: blur(5px);
	background-color: #00000030;
	border-radius: 0.3rem;
	backdrop-filter: blur(5px);
	padding: 0.3rem 0.5rem;
	top: 0;
	text-wrap-mode: wrap;
	text-align: left;
}

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

	100% {
		transform: translateX(var(--scroll-distance));
	}
}

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

	body {
		padding: 0;
		max-width: 100vw;
		max-height: 100vh;
		overflow: hidden;
	}

	.content-area {
		height: 100%;
	}

	.menu-background {
		min-width: 100%;
		min-height: 100%;
		display: flex;
		flex-direction: column;
		margin: 0 !important;
	}

	.hero {
		width: 100%;
		flex-direction: column;
		align-items: center;
	}

	.profile-picture {
		width: 100px;
		height: 100px;
	}

	.about-tap-info {
		width: 100%;
		align-items: center;
		gap: 1rem;
	}

	.job-title {
		display: flex;
		flex-direction: column;
		gap: 0.5rem;
		align-items: center;
	}

	.job-title img {
		max-height: 20px;
	}

	.image-modal-content {
		width: 90%;
		height: 80%;
	}

	.modal-nav-btn {
		font-size: 1.5rem;
		padding: 8px;
	}
}

.timeline {
	position: relative;
	max-width: 1000px;
	padding-bottom: 2rem;
	max-height: 100%;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.timeline-item {
	position: relative;
	background-color: inherit;
	width: 100%;
}

.timeline-left {
	left: 0;
}

.timeline-content {
	padding: 20px;
	background-color: #222;
	position: relative;
	border-radius: 8px;
	border: 1px solid #444;
	cursor: pointer;
	transition: background-color 0.1s ease;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	overflow-y: auto;
	max-height: 500px;
}

.timeline-content:hover {
	background-color: #303030;
}

.timeline-item.active>.timeline-content {
	background-color: #333;
}

.timeline-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.project-name {
	font-size: 1.25rem;
	font-weight: 700;
	color: #eee;
}

.project-date {
	font-size: 0.9rem;
	color: #aaa;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1rem;
}

.project-link:hover {
	color: #fff;
}

.timeline-details {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.7s ease-out, padding 0.5s ease;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	overflow-y: auto;
	padding-right: 5px;
}

.timeline-item.active .timeline-details {
	max-height: fit-content;
	transition: max-height .5s ease-in, padding 0.5s ease;
	border-top: solid #777 1px;
	padding-top: 0.5rem;
}

.project-description {
	margin-bottom: 20px;
	line-height: 1.6;
}

.image-container {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.image-gallery h3 {
	font-size: 1.1rem;
	color: #fff;
	margin-top: 20px;
	margin-bottom: 10px;
	border-bottom: 1px solid #444;
	padding-bottom: 5px;
}

.image-grid {
	display: flex;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 15px;
	flex-direction: row;
	flex-wrap: wrap;
}

.image-container img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	border: 1px solid #555;
	object-fit: cover;
	cursor: pointer;
}

.image-container p {
	font-size: 0.8rem;
	color: #bbb;
	margin-top: 5px;
}

.expander {
	font-size: 1.5rem;
	font-weight: bold;
	transition: transform 0.1s ease;
}

.timeline-item.active .expander {
	transform: rotate(45deg);
}

@media screen and (max-width: 768px) {
	.timeline-item {
		width: 100%;
		padding-left: 0;
		padding-right: 0;
	}
}

#content-tab3 {
	margin: 0px;
	max-height: 600px;
}

.background-gradient {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 80px;
	background: linear-gradient(transparent, #1b1b1ba0 40%, #1b1b1b 100%);
	pointer-events: none;
	transition: opacity 0.1s ease;
	z-index: 99999;
}

.scroll-hint {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 24px;
	color: #eee;
	animation: bounce 2s infinite;
}

@keyframes bounce {

	0%,
	20%,
	50%,
	80%,
	100% {
		transform: translateX(-50%) translateY(0);
	}

	40% {
		transform: translateX(-50%) translateY(-5px);
	}

	60% {
		transform: translateX(-50%) translateY(-3px);
	}
}

.background-gradient.hidden {
	opacity: 0;
}

.social-icons {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.75rem;
}

.social-icon {
	opacity: 0.7;
	line-height: 1;
}

.social-icon:hover {
	opacity: 1;
	color: #fff;
}

.image-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.85);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 10000;
	backdrop-filter: blur(5px);
}

.image-modal-content {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 80vw;
	height: 80vh;
	align-items: center;
	justify-content: center;
	padding: 2rem;
}

.image-modal-image {
	object-fit: contain;
	border-radius: 0.5rem;
	box-shadow: 0 0 20px 12px rgba(0, 0, 0, 0.7);
	height: 100%;
	max-width: 100%;
	max-height: 100%;
}

.modal-nav-btn {
	background-color: #4c4c4c99;
	border: none;
	outline: none;
	color: #d5d5d5;
	padding: 1.25rem .75rem;
	cursor: pointer;
	transform: translateY(-50%);
	border-radius: 5px;
	user-select: none;
	transition: 0.1s;
	z-index: 10001;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

.modal-nav-btn:hover {
	background-color: rgba(0, 255, 187, 0.3);
	color: white;
}

.modal-prev-btn {
	position: absolute;
	top: 50%;
	left: 3rem;
}

.modal-next-btn {
	position: absolute;
	top: 50%;
	right: 3rem;
}

@media (max-width: 768px) {
	.modal-prev-btn {
		left: 10px;
	}

	.modal-next-btn {
		right: 10px;
	}
}

.card {
	border-radius: 0.3rem;
	width: 100%;
	max-width: 1200px;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.card>* {
	font-family: "Google Sans Code", monospace;
	font-optical-sizing: auto;
}

.card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-decoration: none;
}

.brand svg {
	flex-shrink: 0;
}

.time-summary {
	font-size: 1rem;
	font-weight: 600;
	color: #eeeeeec0;
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	gap: 0.25rem;
	line-height: 1;
}

.time-summary span {
	font-size: .7rem;
	font-weight: 400;
	color: #8b949e;
	letter-spacing: 0;
}

.canvas-wrapper {
	position: relative;
	width: 100%;
	min-height: 200px;
	border-radius: 0.35rem;
	overflow: hidden;
}

canvas {
	display: block;
	width: 100%;
	height: 100%;
	cursor: default;
	background-color: #151515d0;
	border-radius: 0.25rem;
}

/* Tooltip */
#waka-tooltip {
	position: fixed;
	background-color: #151515;
	border: 1px solid #eeeeee10;
	border-radius: 0.25rem;
	padding: 0.3rem 0.5rem;
	pointer-events: none;
	display: none;
	z-index: 9999;
	font-size: 0.7rem;
	line-height: 1.7;
	color: #eee;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
	white-space: nowrap;
	transition: opacity 0.1s ease;
}

#waka-tooltip .tt-lang {
	font-weight: 600;
	color: #fff;
	font-size: 13px;
}

#waka-tooltip .tt-time {
	color: #eeeeeea0;
}

#waka-tooltip .tt-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	margin-right: 6px;
	vertical-align: middle;
	position: relative;
	top: -1px;
}

.no-data {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 160px;
	font-size: 13px;
	color: #484f58;
}