:root {
	--font-family: "Helvetica Neue", Arial, sans-serif;
	--transition-speed: 0.2s;
}

.light-theme {
	--background-primary: #fcfcfc;
	--background-secondary: #f1f1f1;
	
	--accent-primary: #3123cd;
	--accent-primary-hover: #6861cc;

	--text-primary: #000;
	--text-primary-hover: #2c2a2a;
	--text-secondary: #565959;

	--transparent: #fcfcfc8a;
	--more-transparent: #fcfcfcf2;

	--shadow: #0000001a;

	--yellow-1: #EAC448;
	--yellow-2: #FEF9E3;
}

.dark-theme {
	--background-primary: #121212;
	--background-secondary: #232323;
	
	--accent-primary: #97A8FF;
	--accent-primary-hover: #6677cc;

	--text-primary: #FCFCFC;
	--text-primary-hover: #dedede;
	--text-secondary: #E1E1E1;

	--transparent: #000000cc;
	--more-transparent: #000000f2;

	--shadow: #0000006a;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
/* 	transition: background var(--transition-speed), color var(--transition-speed); */
}
/* 
*:focus {
	padding: 2px;
	outline: 1px solid black;
	border-radius: 2px;
}
 */
*:focus-visible {
  outline: 3px solid var(--accent-primary);
	outline-offset: 3px;
	border-radius: 2px;
/*   box-shadow: 0 0 0 2px var(--accent-primary); */
/* 	padding: 2px; */
}


html, body {
	background: var(--background-primary);
	height: 100%;
	color: var(--text-secondary);
	font-family: var(--font-family);
	scroll-behavior: smooth;
}

body.overflow-hidden {
	overflow: hidden;
}

main {
	background: var(--background-primary);
}

section {
	padding: 10%;
}

strike {
	text-decoration-color: var(--text-secondary);
}

h1 {
	color: var(--text-primary);
	font-size: 70px;
	margin-bottom: 16px;
	font-weight: 400;	
	transition: var(--transition-speed);
}

h2 {
	color: var(--text-primary);
	font-size: 50px;
	margin-bottom: 32px;
	font-weight: 400;	
}

h3 {
	color: var(--text-primary);
	font-size: 30px;
	margin-bottom: 8px;
	font-weight: 400;	
}

h3 a span {
	font-size: 30px !important;
}

p {
	line-height: 150%;
	margin-bottom: 8px;
	font-size: 22px;
}

a {
	color: var(--accent-primary);
	text-decoration: none;
	font-size: 22px;
	width: fit-content;
	height: fit-content;
}

a span {
	border-bottom: 1px solid var(--accent-primary);
	transition: color var(--transition-speed), border 0s;
}

a:hover span {
	color: var(--accent-primary-hover);
	/* border-bottom: 2px solid var(--accent-primary-hover); */
	border-color: var(--accent-primary-hover);
}

a.button {
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--text-primary);
	color: var(--background-primary) !important;
	padding: 16px 48px;
	font-size: 32px;
	transition: var(--transition-speed);
}

a.button:hover {
	background: var(--text-primary-hover);
}

nav {
	transition: var(--transition-speed);
	display: flex;
	padding: 16px 32px;
	align-items: center;
	justify-content: space-between;
	position: fixed;
	width: 100%;
	/* background: var(--transparent); */
	z-index: 1;
	border-bottom: 1px solid var(--background-secondary);
  background: var(--more-transparent);
	top: 0;
}


.full {
	flex-direction: column;
	opacity: 1 !important;
	top: 0;
	height: 100%;
	z-index: 1;
	background: var(--more-transparent);
	justify-content: center;
}


nav img {
	border-radius: 50%;
	width: 48px;
	height: 48px;
}

nav .links {
	display: flex;
	align-items: center;
	gap: 32px;
}

nav .links a {
	color: var(--text-secondary);
	transition: var(--transition-speed);
}

nav .links a span {
	border-bottom: none;
}

nav .links a:hover span {
	border-bottom: 1px solid var(--accent-primary);
	color: var(--accent-primary);
}

.nav-link {
	top: 100px;
}

.link-show {
	transition: 1s !important;
	top: -50px !important;
	position: relative;
}

.hamburger-container {
	
}

.hamburger {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	height: 48px;
	min-width: 48px;
	cursor: pointer;
	border-radius: 50%;
	padding: 10px;
	background: var(--more-transparent);
	position: fixed;
	border: 1px solid var(--background-secondary);
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 7px;
	height: 48px;
	min-width: 48px;
}

.not-nav-pfp img {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	height: 48px;
	width: 48px;
	display: none;
	border-radius: 50%;
}

.hamburger:hover {
	background: var(--text-primary)
}

.hamburger:hover .line {
	background: var(--background-primary);
}

.hamburger:hover .line.line-2 {
	left: 5px;
}

.hamburger .line {
	width: 50%;
	height: 2px;
	background: var(--text-primary);
	transition: 0.3s;
	position: relative;
	top: 0;
	bottom: 0;
	left: 0;
}

nav.full + .hamburger .line {
	left: 3px;
}

.hamburger .line-1 {
	transform-origin: top left;
}

.hamburger .line-2 {
  transform-origin: bottom left;
}

.hamburger .bent-1 {
	transform: rotate(45deg);
	/* top: 10px; */
}

.hamburger .bent-2 {
	transform: rotate(-45deg);
	/* bottom: 10px; */
	left: 3px !important;
}

.msg {
	display: flex;
	gap: 8px;
	border-radius: 8px;
	background: var(--yellow-2);
	color: var(--yellow-1)
	align-items: center;
	position: relative;
	top: 150px;
	margin-left: auto;
	margin-right: auto;
}

main {
	height: auto;
}

.type {
	border-radius: 4px;
	background: var(--background-secondary);
	padding: 4px 8px;
	margin-bottom: 8px;
	display: inline-block;
	font-size: 22px;
	width: fit-content;
	font-size: 13px;
	letter-spacing: 1.3px;
	text-transform: uppercase;
}

.new {
	background: var(--accent-primary);
	color: var(--background-primary);
	padding: 4px 8px;
	border-radius: 4px;
	position: relative;
	top: -8px;
	letter-spacing: 1.3px;
	text-transform: uppercase;
	font-size: 13px;
	height: fit-content;	
}

.icons {
	display: flex;
	gap: 24px;
	align-items: center;
}

.icons a > *, .icons a svg > * {
	cursor: pointer;
	color: var(--text-secondary);
	fill: var(--text-secondary);
	width: 24px; 
	height: 24px;
}

.icons a > *:hover, .icons a >*:hover path {
	color: var(--accent-primary);
	fill: var(--accent-primary) !important;
}

.landing {
	height: 60vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
  /* transform: translateY(50px);
  animation: fade-in 0.8s ease-out forwards; */
}
/* 
@keyframes fade-in {
	to { transform: translateY(0); }
}
 */
/* 
.landing h1 {
	transition: 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
	position: relative;
	top: 0;
	padding: 16px;
	border-radius: 16px;
}

.landing h1:hover {
	top: -20px;
	box-shadow: 0 8px 16px var(--shadow);
}
 */

.landing h1 {
	color: var(--accent-primary);
}

.slide-in {
  position: relative;
}

.come-in {
  transform: translateY(150px	);
  animation: come-in 0.8s ease-out forwards;
}

.already-visible {
  transform: translateY(0);
  animation: none;
}

@keyframes come-in {
  to { transform: translateY(0); }
}


.about {
	height: auto;
	display: flex;
	flex-direction: column;
	padding-bottom: 0;
}

.about .container {
	display: flex;
	flex-direction: column;
	gap: 128px;
	width: 50%;
	min-width: 800px;
	min-width: 80%;
}

.about .container .inner {
	display: flex;
	gap: 256px;
}

.about .container .inner p {
	width: 100px;
}

.about .container .inner .skills, .about .container .inner .what {
	display: flex;
	flex-direction: column;
	gap: 16px;	
}


.projects {
	height: auto;
}

.projects .container {
	display: flex;
	flex-direction: column;
	gap: 256px;
}

.projects .container .project {
	display: flex;
	height: auto;
	width: 100%;
	gap: 64px;
/* 	padding: 32px; */
}

.projects .container .project.alt {
	flex-direction: row-reverse;
}

.projects .container .project .media {
	width: 100%;
}

.projects .container .project .media img {
	width: 100%;
	height: 100%;
}

.projects .container .project .text {
	width: 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.projects .container .project .text .links {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 16px;
}

.projects .container .project .text .links .new-container {
	display: flex;
	align-items: center;
	gap: 8px;
}

.sayhi-button {
	display: flex;
	padding-top: 0;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	height: auto;
	gap: 64px;
}

.sayhi-button a {
	display: flex;
	gap: 8px;
}

.sayhi-button .wave {
	border-bottom: none;
}

.sayhi-button a:hover .wave {
	animation: wave 2.5s infinite;
	display: inline-block;
}

@keyframes wave {
	0% { transform: rotate(5deg); }
	10% { transform: rotate(-5deg); }
	20% { transform: rotate(5deg); }
	30% { transform: rotate(-5deg); }
	40% { transform: rotate(5deg); }
	50% { transform: rotate(-5deg); }
	60% { transform: rotate(5deg); }
	100% { transform: rotate(5deg); }
}

.sayhi .contact {
	display: flex;
	flex-direction: column;
	gap: 64px;
	margin-top: 64px;
}

.sayhi .contact div {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sayhi .contact div a span {
	font-size: 70px;
	border-width: 2px;
}

footer {
	height: auto;
	padding: 32px 10%;
	background: var(--background-primary);
}

footer.fixed {
	position: fixed;
	width: 100%;
	bottom: 0;
}

footer hr {
	border: 1px solid var(--text-primary);
}

footer .bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 16px;
}

footer .bottom p {
	font-size: 18px;
}

.theme {
	width: 24px;
	height: 24px;
	cursor: pointer;
	transition: transform 1s;
}

.theme.rotated {
	transform: rotate(360deg);
}

.theme[name="sunny"]:hover {
	color: yellow;
}

.theme[name="moon"]:hover {
/* 	color: black; */
	color: #000;
}

.coming-soon {
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 32px;
}

.coming-soon h1 {
	padding: 100px;
	border: 1px solid var(--text-primary);
	cursor: pointer;
}

.coming-soon h1:hover {
	animation: jiggle 0.1s infinite;
}

@keyframes jiggle {
	0% { transform:  rotate(0deg) translate(1px, 1px) }
	20% { transform: rotate(-1deg) translate(-1px, -2px) }
	40% { transform: rotate(0deg) translate(-3px, 0px); }
	60% { transform: rotate(1deg) translate(3px, 2px); }
	80% { transform: rotate(0deg) translate(-1px, 2px); }
	100% { transform: rotate(-1deg) translate(1px, 1px); }
}

.coming-soon h1:active {
	background: var(--text-primary);
	color: var(--background-primary);
}

.coming-soon p, .coming-soon a {
	text-align: center;	
	font-size: 16px;
	cursor: pointer;
}


.working-on .container {
	display: flex;
	flex-direction: column;
	gap: 64px;
	margin-top: 64px;
}

.working-on .container .work {
	display: flex;
	justify-content: space-between;
/* 	align-items: center; */
	border-radius: 16px;
/* 	background: var(--background-secondary); */
}

.working-on .container .work .left {
	display: flex;
	gap: 8px;
	align-items: center;
}

.working-on .container .work .type {
	height: fit-content;
	top: -8px;
	position: relative;
	background: var(--accent-primary);
	color: var(--background-primary);
}

.working-on .container .work p {
	max-width: 70%;
}

@media only screen and (max-width: 1100px) {
	.projects .container .project {
		flex-direction: column !important;
	}

	.projects .container .project .text {
		width: 100%;
	}

	.working-on {
		padding-top: 20%;
	}

	.working-on .container .work {
		flex-direction: column;
	}
	.working-on .container .work > * {
		max-width: 100% !important;
	}

	.working-on .container .work h3 {
		margin-bottom: 16px;
	}
}

@media only screen and (max-width: 900px) {
	
	.hamburger {
		display: flex;
	}

	.not-nav-pfp img {
		display: block;
		z-index: 0;
	}

	nav {
		transition: 0.6s;
		opacity: 0;
		top: -1000px;
		height: 100%;
		flex-direction: column;
	}

	nav img {
		width: 128px;
		height: 128px;
		padding-bottom: 2px;
	}

	nav > a:first-child {
		margin-bottom: 64px;
	}

	nav.full + .hamburger {
		/* border: none; */
	}
		
	.links {
		flex-direction: column;
		gap: 16px;
	}

		
	nav .links a {
		font-size: 32px;
	}
	
	.about .container .inner {
		flex-direction: column;
		gap: 20%;
	}

	.about .container {
		width: 100%;
	}

	.projects .container {
		gap: 128px;
	}

	.sayhi-button {
		text-align: center;
	}

	footer {
		padding: 32px 5%;
	}

	.sayhi {
		padding-top: 20%;
	}

	coming-soon h1 {
	padding: 20px;
	border: 1px solid var(--text-primary);
	cursor: pointer;
	width: 100%;
	text-align: center;
	}
}

@media only screen and (max-width: 600px) {
	body {
		background: var(--accent-primary);
	}

	.sayhi-footer {
		position: static !important;
	}

	.sayhi .contact {
		flex-direction: row;
	}

	.sayhi .contact div a span {
		writing-mode: vertical-rl;
    text-orientation: mixed;
		border-left: 2px solid var(--accent-primary);
		border-bottom: none;
	}

	.sayhi .contact div a:hover span {
		border-left: 2px solid var(--accent-primary-hover);
		border-bottom: none;
	}

	.coming-soon h1 {
		padding: 50px;
	}
}

@media only screen and (max-height: 700px) {

	.landing {
		padding-top: 20%;
	}
}

@supports ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
  nav, .hamburger, .full {
    background-color: var(--transparent);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
}

::selection {
	background: var(--text-primary);
	color: var(--background-primary);
}
/* 
::-webkit-scrollbar {
  width: 8px;
}*/

::-webkit-scrollbar-track {
  background: transparent; 
}
/*
::-webkit-scrollbar-thumb {
  background: var(--background-secondary); 
	border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary); 
}  */