* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Jost", sans-serif;
	min-height: 100vh;
	background-color: rgb(40, 40, 40);
}

/* ==================== Navbar ==================== */

.navbar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 80px;
	position: sticky;
	top: 0;
	background-color: rgb(40, 40, 40);
	z-index: 1;
}

.navbar-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 1200px;
	padding: 0 2rem;
	max-width: 1600px;
}

.navbar-logo {
	color: #fff;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
	border-radius: 10px;
	padding: 3px 20px;
}

.navbar-logo:hover {
	background-color: #000000;
	color: #ffffff;
}

.navbar-container .navbar-menu {
	display: flex;
	text-align: center;
	gap: 1rem;
	list-style: none;
}

.navbar-container .navbar-menu li a {
	text-decoration: none;
	font-size: 1.3rem;
	color: #ffffff;
	font-weight: bold;
	padding: 3px 20px;
	border-radius: 10px;
	border: 2px solid transparent;
	transition: all 0.3s ease-in-out;
	z-index: 1;
}

.navbar-container .navbar-menu li a:hover {
	background-color: #000000;
	color: #ffffff;
}

.navbar-toggle {
	display: none;
	background: transparent;
	padding: 10px;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
	border-radius: 10px;
}

.bar {
	display: none;
	width: 25px;
	height: 3px;
	margin: 5px auto;
	background-color: #ffffff;
	transition: all 0.3s ease-in-out;
}

/* ========== This code is not mine ========== */

.ui-switch {
/* ========== Switch ========== */
	--switch-bg: rgb(135, 150, 165);
	--switch-width: 60px;
	--switch-height: 20px;
	
/* ========== Circle ========== */
	--circle-diameter: 32px;
	--circle-bg: rgb(50, 50, 50);
	--circle-inset: calc((var(--circle-diameter) - var(--switch-height)) / 2);
}

.ui-switch input {
	display: none;
}

.slider {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: var(--switch-width);
	height: var(--switch-height);
	background: var(--switch-bg);
	border-radius: 999px;
	position: relative;
	cursor: pointer;
}

.slider .circle {
	top: calc(var(--circle-inset) * -1);
	left: 0;
	width: var(--circle-diameter);
	height: var(--circle-diameter);
	position: absolute;
	background: var(--circle-bg);
	border-radius: inherit;
	background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjAiIHdpZHRoPSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj4KICAgIDxwYXRoIGZpbGw9IiNmZmYiCiAgICAgICAgZD0iTTQuMiAyLjVsLS43IDEuOC0xLjguNyAxLjguNy43IDEuOC42LTEuOEw2LjcgNWwtMS45LS43LS42LTEuOHptMTUgOC4zYTYuNyA2LjcgMCAxMS02LjYtNi42IDUuOCA1LjggMCAwMDYuNiA2LjZ6IiAvPgo8L3N2Zz4=");
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-transition: left 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
	-o-transition: left 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
	transition: left 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	box-shadow: 0px 2px 1px -1px rgba(0,0,0,0.2), 0px 1px 1px 0px rgba(0,0,0,0.14), 0px 1px 3px 0px rgba(0,0,0,0.12);
}

.slider .circle::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.75);
	border-radius: inherit;
	-webkit-transition: all 500ms;
	-o-transition: all 500ms;
	transition: all 500ms;
	opacity: 0;
}

/* ========== Actions ========== */

.ui-switch input:checked+.slider .circle {
	left: calc(100% - var(--circle-diameter));
	background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjAiIHdpZHRoPSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj4KICAgIDxwYXRoIGZpbGw9IiNmZmYiCiAgICAgICAgZD0iTTkuMzA1IDEuNjY3VjMuNzVoMS4zODlWMS42NjdoLTEuMzl6bS00LjcwNyAxLjk1bC0uOTgyLjk4Mkw1LjA5IDYuMDcybC45ODItLjk4Mi0xLjQ3My0xLjQ3M3ptMTAuODAyIDBMMTMuOTI3IDUuMDlsLjk4Mi45ODIgMS40NzMtMS40NzMtLjk4Mi0uOTgyek0xMCA1LjEzOWE0Ljg3MiA0Ljg3MiAwIDAwLTQuODYyIDQuODZBNC44NzIgNC44NzIgMCAwMDEwIDE0Ljg2MiA0Ljg3MiA0Ljg3MiAwIDAwMTQuODYgMTAgNC44NzIgNC44NzIgMCAwMDEwIDUuMTM5em0wIDEuMzg5QTMuNDYyIDMuNDYyIDAgMDExMy40NzEgMTBhMy40NjIgMy40NjIgMCAwMS0zLjQ3MyAzLjQ3MkEzLjQ2MiAzLjQ2MiAwIDAxNi41MjcgMTAgMy40NjIgMy40NjIgMCAwMTEwIDYuNTI4ek0xLjY2NSA5LjMwNXYxLjM5aDIuMDgzdi0xLjM5SDEuNjY2em0xNC41ODMgMHYxLjM5aDIuMDg0di0xLjM5aC0yLjA4NHpNNS4wOSAxMy45MjhMMy42MTYgMTUuNGwuOTgyLjk4MiAxLjQ3My0xLjQ3My0uOTgyLS45ODJ6bTkuODIgMGwtLjk4Mi45ODIgMS40NzMgMS40NzMuOTgyLS45ODItMS40NzMtMS40NzN6TTkuMzA1IDE2LjI1djIuMDgzaDEuMzg5VjE2LjI1aC0xLjM5eiIgLz4KPC9zdmc+");
}

.ui-switch input:active+.slider .circle::before {
	-webkit-transition: 0s;
	-o-transition: 0s;
	transition: 0s;
	opacity: 1;
	width: 0;
	height: 0;
}

/* ============================== */

@media screen and (max-width: 880px) {
	.navbar-container .navbar-menu {
		display: none;
		flex-direction: column;
		align-items: flex-start;
		gap: 1.7rem !important;
		position: fixed;
		height: 100vh;
		top: 0;
		right: 0;
		background-color: rgb(40, 40, 40);
		padding: 5rem 1.5rem;
		box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
		backdrop-filter: blur(10px);
	}

	.navbar-toggle {
		display: block;
		z-index: 1;
	}

	.navbar-toggle:hover {
		background-color: #000000;
		color: #ffffff;
	}

	.bar {
		display: block;
	}

	.navbar-container .navbar-menu.active {
		display: flex;
	}

	.navbar-toggle.active .bar:nth-child(1) {
		transform: rotate(45deg) translateY(11px);
		margin-left: 15px;
	}

	.navbar-toggle.active .bar:nth-child(2) {
		opacity: 0;
	}

	.navbar-toggle.active .bar:nth-child(3) {
		transform: rotate(-45deg) translateY(-11px);
		margin-left: 15px;
	}

	.slider {
		margin-left: 15px;
	}
}

/* ==================== Profile Section ==================== */

main {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
	padding: 20px;
}

.profile-section {
	height: 50vh;
	display: flex;
	align-items: center;
	gap: 40px;
	margin-top: 50px;
}

.profile-image img {
	width: 350px;
	height: auto;
	object-fit: cover;
}

.profile-data {
	line-height: 1.5;
	font-size: 100%;
}

.json {
	margin-left: 20px;
}

.comment {
	color: green;
	margin-bottom: 5px;
}

.type {
	color: lightblue;
}

.description {
	color: #ce9178;
}

.braces, .comma {
	color: #ffffff;
}

.colon, .comma {
	font-weight: bold;
}

@media screen and (max-width: 880px) {
	.profile-section {
		justify-content: center;
		flex-direction: column;
		align-items: center;
	}

	.profile-data {
		margin-left: 10%;
	}
}

@media screen and (max-width: 320px) {
	.profile-section {
		margin-top: 20px;
	}
	
	.profile-image img {
		width: 150px;
		height: auto;
	}
}

/* ==================== About Section ==================== */

.about-section {
	color: white;
	margin-top: 100px;
}

.about-title {
	text-align: center;
	margin-bottom: 30px;
}

.about-description {
	font-size: 100%;
	padding: 0 100px;
	text-align: justify;
}

@media screen and (max-width: 500px) {
	.about-description {
		padding-left: 30px;
		padding-right: 30px;
	}
}

/* ==================== Link Section ==================== */

.link-section {
	margin-top: 30px;
	margin-bottom: 100px;
	display: flex;
	width: 100%;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	padding: 0 20px;
}

.link-title {
	margin-bottom: 10px;
	margin-top: 100px;
	color: white;
	width: 100%;
	text-align: center;
}

.card {
	display: flex;
	align-items: center;
	flex-direction: column;
	width: 180px;
	padding: 20px;
	background-color: rgb(50, 50, 50);
	border-radius: 10px;
	text-decoration: none;
	box-shadow: 0 0px 10px 0 rgb(255 255 255 / 20%), 0 6px 20px 0 rgb(33 33 33);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card-img {
	width: 70px;
	height: 70px;
	object-fit: cover;
	margin-bottom: 15px;
	transition: transform 0.3s ease;
}

.discord-img {
	border-radius: 10px;
}

.tiktok-img {
	border-radius: 10px;
}

.card:hover .card-img {
	transform: scale(1.1);
}

.card-body {
	text-align: center;
	width: 100%;
}

.card h1 {
	color: white;
	font-size: 18px;
}
    
@media (max-width: 500px) {
	.link-title {
		flex-wrap: wrap;
	}

	.card {
		width: 100%;
		max-width: 300px;
	}
}

/* ==================== Project Section ==================== */

.project-section {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 100px;
	padding: 0 20px;
	margin-bottom: 100px;
}

.project-title {
	text-align: center;
	color: white;
	width: 100%;
	margin-bottom: 20px;
}

.card-project {
	display: flex;
	align-items: center;
	flex-direction: column;
	width: 310px;
	border-radius: 10px;
	box-shadow: 0 0px 10px 0 rgb(255 255 255 / 20%), 0 6px 20px 0 rgb(33 33 33);
	overflow: hidden;
	background-color: rgb(50, 50, 50);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-project img {
	width: 100%;
	height: auto;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.card-project-content {
	padding: 20px;
}

.card-project-content h1 {
	color: white;
	font-size: 20px;
	margin-top: 10px;
	margin-bottom: 30px;
	text-align: center;
}

.card-project-content p {
	text-align: center;
	color: white;
	margin-bottom: 30px;
}

.card-button-project {
	color: white;
	font-size: 100%;
	background-color: blue;
	border: none;
	padding: 10px;
	width: 100%;
	border-radius: 10px;
}

.card-project:hover {
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
	transform: translateY(-6px);
}

.card-project:hover img {
	transform: scale(1.1);
}

/* ==================== Contact Section ==================== */

.contact-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-top: 100px;
	color: white;
	text-align: center;
}

input, textarea {
	background-color: rgb(155, 155, 155);
	width: 90%;
	padding: 15px;
	border: none;
	margin-top: 10px;
	border-radius: 10px;
	font-size: 100%;
}

input:hover, textarea:hover {
	background-color: rgb(100, 100, 100);
}

textarea {
	color: black;
	height: 500px;
	resize: none;
	font-size: 100%;
	font-family: "Jost", sans-serif;
}

input::placeholder , textarea::placeholder {
	color: black;
}

.contact-description {
	margin-top: 20px;
	margin-bottom: 30px;
}

.contact-submit {
	margin-top: 30px;
	border: none;
	background-color: rgb(155, 155, 155);
	padding: 10px;
	font-size: 100%;
	border-radius: 10px;
	width: 90%;
	margin-bottom: 50px;
}

.contact-submit:hover {
	background-color: rgb(100, 100, 100);
}

/* ==================== Light Mode ==================== */

.light-mode {
	background-color: #EFEFEF;
}

.navbar-light {
	background-color: #EFEFEF;
}

.navbar-logo-light {
	color: #000000;
}

.navbar-container-light .navbar-menu-light li a {
	color: #000000;
}

.bar-light {
	background-color: #000000;
}

@media screen and (max-width: 880px) {
	.navbar-container-light .navbar-menu-light {
		background-color: #EFEFEF;
	}

	body.light-mode .navbar-toggle:hover {
		background-color: #000000;
	}

	body.light-mode .navbar-toggle:hover .bar {
		background-color: #EFEFEF;
	}

	body.light-mode .navbar-toggle.active:hover {
		background-color: #000000;
	}

	body.light-mode .navbar-toggle.active:hover .bar {
		background-color: #EFEFEF;
	}
}

.comment-light {
	color: #289e28;
	margin-bottom: 5px;
}

.type-light {
	color: #32beec;
}

.description-light {
	color: #ca663f;
}

.braces-light, .comma-light {
	color: #000000;
}

.about-section-light {
	color: black;
}

.link-title-light {
	color: black;
}

.project-title-light {
	color: #000000;
}

.contact-section-light {
	color: black;
}

.input-light {
	background-color: rgb(50, 50, 50);
	border: none;
	padding: 15px;
	margin-top: 10px;
	border-radius: 10px;
	font-size: 100%;
}

.input-light::placeholder, .textarea-light::placeholder {
	color: white;
}

.contact-submit-light {
	background-color: rgb(50, 50, 50);
	color: white;
}

.input-light[type="text"], .input-light[type="email"], .textarea-light {
	color: white;
}