@import url(https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap);
:root {
	--dark-front-primary: #22d3ee;
	--dark-front-secondary: #67e8f9;
	--dark-front-tertiary: #a5f3fc;

	--dark-back-primary: #111827;
	--dark-back-secondary: #334155c0;
	--dark-back-tertiary: #1e293b;

	--light-front-primary: #0A3E5C;
	--light-front-secondary: #0c4a6e;
	--light-front-tertiary: #083249;

	--light-back-primary: #f8fafc;
	--light-back-secondary: #94a3b880;
	--light-back-tertiary: #cbd5e1b0;
}

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

body {
	user-select: none;
	font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
	overflow-x: hidden;
}

.dark {
	background-color: var(--dark-back-primary);
}

.light {
	background-color: var(--light-back-primary);
}

#parallax-container::-webkit-scrollbar {
	width: 0.75rem;
}

.dark #parallax-container::-webkit-scrollbar-track {
	background: var(--dark-back-tertiary);
}

.dark #parallax-container::-webkit-scrollbar-thumb {
	background: var(--dark-front-primary);
}

.dark #parallax-container::-webkit-scrollbar-thumb:hover {
	background: var(--dark-front-secondary);
}

.light #parallax-container::-webkit-scrollbar-track {
	background: var(--light-back-tertiary);
}

.light #parallax-container::-webkit-scrollbar-thumb {
	background: var(--light-front-primary);
}

.light #parallax-container::-webkit-scrollbar-thumb:hover {
	background: var(--light-front-secondary);
}

#parallax-container {
	width: 100vw;
	height: 100vh;
	overflow-x: hidden;
	overflow-y: auto;
	scroll-behavior: smooth;
	-webkit-perspective: 1px;
	perspective: 1px;
}

.background {
	position: absolute;
	overflow: hidden;
	z-index: -10;
}

#background-1 {
	-webkit-transform: translateZ(-1px) scale(2);
	transform: translateZ(-1px) scale(2);
}

#background-2 {
	-webkit-transform: translateZ(-1.5px) scale(1.75);
	transform: translateZ(-1.5px) scale(1.75);
	filter: blur(0.5px);
}

.pictures {
	position: absolute;
	width: 1rem;
	height: 1rem;
	opacity: 0;
}

#background-1 > .pictures {
	animation-delay: 0.5s;
	animation: fade-in 1s ease-in;
	animation-fill-mode: forwards;
}

#background-2 > .pictures {
	animation-delay: 0s;
	animation: fade-in-less 1s ease-in;
	animation-fill-mode: forwards;
}

@keyframes fade-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 0.25;
	}
}

@keyframes fade-in-less {
	from {
		opacity: 0;
	}

	to {
		opacity: 0.12;
	}
}

.dark #background-1 > .pictures {
	fill: var(--dark-front-primary);
}

.dark #background-2 > .pictures {
	fill: var(--dark-front-secondary);
}

.light #background-1 > .pictures {
	fill: var(--light-front-primary);
}

.light #background-2 > .pictures {
	fill: var(--light-front-secondary);
}

#content-container {
	position: absolute;
	left: 0;
	top: 0;
}

header,
section,
footer {
	width: 100vw;
}

header,
footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100vw;
	height: 3.5rem;
	backdrop-filter: blur(10px);
	z-index: 5;
}

.dark .header-footer {
	background-color: var(--dark-back-secondary);
	color: var(--dark-front-secondary);
}

.light .header-footer {
	background-color: var(--light-back-secondary);
	color: var(--light-front-tertiary)
}

header {
	position: fixed;
	padding: 0 0.75rem 0 4rem;
	border-radius: 0 0 0 1.75rem;
	transition: top 0.5s ease-in-out 0.5s;
}

footer {
	justify-content: center;
	font-size: 1rem;
}

#gear {
	position: fixed;
	cursor: pointer;
	left: 0.5rem;
	top: 0.5rem;
	height: 2.5rem;
	z-index: 6;
}

.dark #gear {
	stroke: var(--dark-front-secondary);
}

.dark #gear:hover {
	stroke: var(--dark-front-tertiary);
}

.light #gear {
	stroke: var(--light-front-tertiary);
}

.light #gear:hover {
	stroke: var(--light-front-primary);
}

.header-link {
	display: inline-block;
	position: relative;
	transition: color 0.35s, text-shadow 0.35s, opacity 0.35s;
}

.dark .header-link {
	color: var(--dark-front-secondary);
}

.dark .header-link:hover {
	color: var(--dark-front-tertiary);
	text-shadow: 0 0 2.5rem var(--dark-back-primary);
}

.light .header-link {
	color: var(--light-front-tertiary);
}

.light .header-link:hover {
	color: var(--light-front-primary);
	text-shadow: 0 0 2.5rem var(--light-back-primary);
}

#logo {
	font-size: 1.5rem;
	font-weight: 700;
}

nav {
	display: grid;
	grid-template-columns: repeat(4, auto);
	align-items: center;
	position: fixed;
	top: 0.125rem;
	right: 0rem;
	font-family: "Poppins", Arial, Helvetica, sans-serif;
	z-index: 6;
	transition: transform 0.5s ease-in-out 0.5s;
}

a,
a:active,
a:visited {
	color: inherit;
	text-decoration: none;
}

nav > a {
	font-size: 1.25rem;
	padding: 0.75rem max(0.75rem, 2vw);
}

nav:hover > a {
	opacity: 0.5;
}

nav > a:hover {
	opacity: 1;
}

nav .header-link::after {
	content: "";
	position: absolute;
	width: calc(100% - max(1.5rem, 4vw));
	transform: scaleX(0);
	height: 0.125rem;
	bottom: 0;
	left: max(0.75rem, 2vw);
	transform-origin: center;
	transition: transform 0.25s ease-out;
}

nav .header-link:hover::after {
	transform: scaleX(1) translateY(-0.5rem);
	transform-origin: center;
}

.dark .header-link::after {
	background-color: var(--dark-front-tertiary);
}

.light .header-link::after {
	background-color: var(--light-front-primary);
}

#menu-button {
	display: none;
}

.dark .menu-button-parts {
	background-color: var(--dark-front-secondary);
}

.dark #menu-button:hover .menu-button-parts {
	background-color: var(--dark-front-tertiary);
}

.light .menu-button-parts {
	background-color: var(--light-front-tertiary);
}

.light #menu-button:hover .menu-button-parts {
	background-color: var(--light-front-primary);
}

#side-contacts {
	position: fixed;
	bottom: 3.25rem;
	left: 0;
	z-index: 6;
}

.side-contact {
	display: flex;
	flex-direction: row-reverse;
	position: relative;
	width: 5rem;
	left: 0;
	transform: translateX(-5rem);
	padding: 0.3rem;
	border-radius: 0 0.35rem 0.35rem 0;
	margin-bottom: 0.35rem;
}

.side-contact:hover {
	left: 1.125rem;
}

#side-contact-1,
#side-contact-2,
#side-contact-3 {
	animation: startup 1s;
	animation-fill-mode: forwards;
	transition: left 0.25s ease-in-out, background-color 0.25s ease-in-out;
}

#side-contact-1 {
	animation-delay: 1s;
}

#side-contact-2 {
	animation-delay: 1.5s;
}

#side-contact-3 {
	animation-delay: 2s;
}

@keyframes startup {
	from {
		transform: translateX(-5rem);
	}

	to {
		transform: translateX(-1.5rem);
	}
}

.side-contact-image {
	width: 1.875rem;
}

.dark .side-contact {
	background-color: var(--dark-front-primary);
}

.dark .side-contact > svg {
	fill: var(--dark-back-primary);
}

.dark .side-contact:hover {
	background-color: var(--dark-front-secondary);
}

.light .side-contact {
	background-color: var(--light-front-primary);
}

.light .side-contact > svg {
	fill: var(--light-back-primary);
}

.light .side-contact:hover {
	background-color: var(--light-front-secondary);
}

#back-to-top {
	position: fixed;
	width: 2.5rem;
	height: 2.5rem;
	right: 3rem;
	transition: bottom 0.5s ease-out, fill 0.25s ease-in-out;
	z-index: 6;
}

.svg-fill {
	transition: fill 0.25s ease-in-out;
}

.dark .svg-fill {
	fill: var(--dark-front-primary);
}

.dark .svg-fill:hover {
	fill: var(--dark-front-secondary);
	color: var(--dark-front-secondary);
}

.light .svg-fill {
	fill: var(--light-front-primary);
}

.light .svg-fill:hover {
	fill: var(--light-front-secondary);
	color: var(--light-front-secondary);
}

.svg-stroke {
	transition: stroke 0.25s ease-in-out, fill 0.25s ease-in-out;
}

.dark .svg-stroke {
	stroke: var(--dark-front-primary);
	fill: var(--dark-back-primary);
}

.dark .svg-stroke:hover {
	stroke: var(--dark-front-secondary);
}

.light .svg-stroke {
	stroke: var(--light-front-primary);
	fill: var(--light-back-primary);
}

.light .svg-stroke:hover {
	stroke: var(--light-front-secondary);
}

.dark main {
	color: var(--dark-front-primary);
}

.light main {
	color: var(--light-front-primary);
}

section {
	display: grid;
	align-content: center;
	justify-items: center;
	padding: 3rem 1.5rem;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}

.unfocused {
	opacity: 0;
}

.focused {
	opacity: 1;
}

#welcome {
	min-height: 100vh;
	padding: 0 1.5rem 4rem 1.5rem;
	margin-top: 4rem;
}

span {
	font-weight: 700;
}

h1 {
	text-align: center;
	font-family: "Poppins", Arial, Helvetica, sans-serif;
	font-size: 2rem;
	font-weight: 500;
	margin-bottom: 2.25rem;
}

h2 {
	text-align: center;
	font-size: 1.75rem;
	font-weight: 400;
	margin-bottom: 0.75rem;
}

h3 {
	text-align: center;
	font-size: 1.25rem;
	font-weight: 400;
}

#welcome h1 {
	font-family: "Roboto", Arial, Helvetica, sans-serif;
	margin-bottom: 2rem;
}

#welcome h2 {
	font-family: "Robot Condensed", Arial, Helvetica, sans-serif;
	margin-bottom: 1.75rem;
}

li {
	font-size: 1.125rem;
	margin-bottom: 0.75rem;
}

.lazy-image-container,
.avatar-image {
	width: 50vw;
	height: 50vw;
	max-width: 15rem;
	max-height: 15rem;
	border-radius: 50%;
	margin-bottom: 3rem;
}

.avatar-image {
	display: block;
	position: absolute;
	transition-property: opacity;
}

.dark .avatar-image {
	background-color: var(--dark-front-primary);
}

.light .avatar-image {
	background-color: var(--light-front-primary);
}

.icon-collection {
	height: 3rem;
	margin-bottom: 2.5rem;
}

.icon-collection:last-child {
	margin-bottom: 0;
}

.icon-container {
	display: inline-block;
	height: 2.5rem;
	width: 2.5rem;
	padding: 0;
	margin: 0.25rem 0.5rem;
}

.icon-image {
	height: 2.5rem;
	width: 2.5rem;
}

.icon-tooltip {
	position: absolute;
	opacity: 0;
	font-size: 1rem;
	padding: 0.375rem 0.75rem;
	border-radius: 0.375rem;
	transform: translateY(25%) translateX(calc(-50% + 1.25rem));
	transition: opacity 0.25s ease-in-out;
}

.dark .icon-tooltip {
	background-color: var(--dark-front-secondary);
	color: var(--dark-back-primary);
}

.light .icon-tooltip {
	background-color: var(--light-front-secondary);
	color: var(--light-back-primary);
}

.icon-tooltip-arrow {
	display: block;
	width: 1rem;
	height: 0.5rem;
	position: absolute;
	opacity: 0;
	transform: translateX(0.75rem) translateY(0rem);
	transition: opacity 0.25s ease-in-out;
}

.dark .icon-tooltip-arrow {
	fill: var(--dark-front-secondary);
}

.light .icon-tooltip-arrow {
	fill: var(--light-front-secondary);
}

#projects-container {
	height: 32rem;
	overflow: hidden;
}

#project-slider {
	display: grid;
	grid-template-columns: repeat(6, 16rem);
	gap: 3rem;
	position: relative;
	transition: left 0.5s ease-in-out;
}

.project-box {
	display: grid;
	grid-template-rows: 2rem 2rem 7.5rem 13.75rem;
	gap: 0.5rem;
	width: 16rem;
	height: 32rem;
	padding: 1.25rem;
	border-radius: 0.75rem;
	backdrop-filter: blur(10px);
}

.dark .project-box {
	background-color: var(--dark-back-tertiary);
}

.light .project-box {
	background-color: var(--light-back-tertiary);
}

.project-title {
	margin: auto;
}

.project-techs {
	margin: auto;
}

.project-techs > svg {
	width: 1.25rem;
	height: 1.25rem;
	margin: 0 0.375rem;
}

.project-img {
	width: 100%;
}

.dark .project-img {
	border: 1px solid var(--dark-front-primary);
}

.light .project-img {
	border: 1px solid var(--light-front-primary);
}

.project-description {
	font-size: 1.0625rem;
	padding: 0.5rem 0rem;
}

.project-button {
	position: absolute;
	font-size: 1.25rem;
	text-align: center;
	text-shadow: none;
	padding: 0.25rem;
	border-radius: 0.5rem;
	transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out, border 0.1s ease-in-out;
}

.dark .project-button {
	background-color: var(--dark-back-primary);
	color: var(--dark-front-primary);
	border: 2px solid var(--dark-front-primary);
}

.dark .project-button:hover {
	background-color: var(--dark-front-primary);
	color: var(--dark-back-primary);
}

.light .project-button {
	background-color: var(--light-back-primary);
	color: var(--light-front-primary);
	border: 2px solid var(--light-front-primary);
}

.light .project-button:hover {
	background-color: var(--light-front-primary);
	color: var(--light-back-primary);
}

.project-demo-button {
	left: 1.25rem;
	bottom: 1.25rem;
	width: 9.875rem;
}

.project-code-button {
	right: 1.25rem;
	bottom: 1.25rem;
	width: 3rem;
}

.navigation-arrows {
	height: 0;
}

.arrow-button {
	position: relative;
	top: -18rem;
	height: 4.5rem;
	cursor: pointer;
	z-index: 5;
}

.slider-dots-container {
	display: flex;
	height: 1rem;
	margin-top: 2.5rem;
}

.slider-dot {
	display: inline-block;
	width: 1rem;
	height: 1rem;
	border-radius: 50%;
	margin-right: 0.5rem;
}

.slider-dot:last-child {
	margin-right: 0;
}

.dark .slider-dot {
	background-color: var(--dark-back-primary);
	border: 1px solid var(--dark-front-primary);
}

.light .slider-dot {
	background-color: var(--light-back-primary);
	border: 1px solid var(--light-front-primary);
}

.marker-dot {
	position: absolute;
	width: 1rem;
	height: 1rem;
	border-radius: 50%;
	transition: transform 0.5s ease-in-out;
}

.dark .marker-dot {
	background-color: var(--dark-front-primary);
}

.light .marker-dot {
	background-color: var(--light-front-primary);
}

#contacts > a {
	display: grid;
	grid-template-columns: auto auto;
	align-items: center;
	justify-content: start;
	gap: 0.75rem;
	font-size: 1.125rem;
	margin-bottom: 0.75rem;
}

.contact-image {
	width: 2.5rem;
}

.visible {
	opacity: 1;
	transition: opacity 0.75s ease-in-out;
}

.invisible {
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}

@media only screen and (max-width: 38rem) {

	#parallax-container::-webkit-scrollbar {
		display: none;
	}

	.pictures {
		width: 0.75rem;
		height: 0.75rem;
	}

	header,
	footer {
		height: 2.75rem;
	}

	header {
		width: 100vw;
		padding: 0 0.75rem 0 3rem;
		border-radius: 0 0 0 1.25rem;
	}

	footer {
		font-size: 0.9375rem;
	}

	#gear {
		left: 0.375rem;
		top: 0.375rem;
		height: 2rem;
	}

	#logo {
		font-size: 1.25rem;
	}

	nav {
		display: none;
		top: 2.75rem;
		right: 0;
		backdrop-filter: blur(10px);
	}

	.dark nav {
		background-color: var(--dark-back-secondary);
	}

	.light nav {
		background-color: var(--light-back-secondary);
	}

	nav > a {
		font-size: 1.125rem;
		width: auto;
		padding: 0.5rem 1rem 0.5rem 1rem;
	}

	nav .header-link:hover::after {
		width: calc(100% - 2rem);
		left: 1rem;
		transform: scaleX(1) translateY(-0.375rem);
		transform-origin: center;
	}

	#menu-button {
		display: inline-block;
	}

	.menu-button-parts {
		width: 1.75rem;
		height: 0.25rem;
		border-radius: 0.125rem;
		margin: 0.25rem 0;
		transition: transform 0.5s, opacity 0.5s;
	}

	#side-contacts {
		display: none;
	}

	#back-to-top {
		right: -10rem;
	}

	section {
		padding: 2.5rem 1.25rem;
	}

	#welcome {
		padding: 0 1.25rem 3.5rem 1.25rem;
		margin-top: 3.5rem;
	}

	h1 {
		font-size: 1.75rem;
		margin-bottom: 2rem;
	}

	h2 {
		font-size: 1.5rem;
		margin-bottom: 0.5rem;
	}

	h3 {
		font-size: 1.125rem;
		font-weight: 400;
	}

	#welcome h1 {
		margin-bottom: 1.75rem;
	}

	#welcome h2 {
		margin-bottom: 1.5rem;
	}

	li {
		font-size: 1rem;
		margin-bottom: 0.5rem;
	}

	.icon-collection {
		width: auto;
		height: 2.5rem;
		margin-bottom: 2rem;
	}

	.icon-container {
		height: 2rem;
		width: 2rem;
		padding: 0;
		margin: 0.125rem 0.375rem;
	}

	.icon-image {
		height: 2rem;
		width: 2rem;
	}

	.icon-tooltip {
		font-size: 0.75rem;
		padding: 0.25rem 0.625rem;
		border-radius: 0.25rem;
		transform: translateY(25%) translateX(calc(-50% + 1rem));
	}

	.icon-tooltip-arrow {
		width: 0.75rem;
		height: 0.375rem;
		transform: translateX(0.625rem) translateY(0.05rem);
	}

	#projects-container {
		height: 28rem;
	}

	#project-slider {
		grid-template-columns: repeat(6, 14rem);
		gap: 2.5rem;
	}

	.project-box {
		grid-template-rows: 1.75rem 1.75rem 6.75rem 12.25rem;
		gap: 0.375rem;
		width: 14rem;
		height: 28rem;
		padding: 1rem;
		border-radius: 0.75rem;
	}

	.project-techs > svg {
		width: 1.125rem;
		height: 1.125rem;
		margin: 0 0.25rem;
	}

	.project-description {
		font-size: 0.9375rem;
		padding: 0.5rem 0;
	}

	.project-button {
		font-size: 1rem;
		padding: 0.25rem;
		border-radius: 0.375rem;
	}

	.project-demo-button {
		left: 1rem;
		bottom: 1rem;
		width: 8.75rem;
	}

	.project-code-button {
		right: 1rem;
		bottom: 1rem;
		width: 2.75rem;
	}

	.arrow-button {
		top: -15rem;
		height: 3.5rem;
	}

	.slider-dots-container {
		height: 0.75rem;
		margin-top: 2rem;
	}

	.slider-dot {
		width: 0.75rem;
		height: 0.75rem;
		margin-right: 0.375rem;
	}

	.marker-dot {
		width: 0.75rem;
		height: 0.75rem;
	}

	#contacts > a {
		font-size: 1rem;
		margin-bottom: 0.5rem;
	}

	.contact-image {
		width: 2rem;
	}
}

@media only screen and (max-width: 23.75rem) {
	header {
		border-radius: 0;
	}

	nav {
		grid-template-columns: auto;
		top: 2.75rem;
		width: 100vw;
		height: auto;
	}

	nav > a {
		text-align: center;
		width: 100vw;
		padding: 0.5rem 0 0.5rem 0;
	}

	nav .header-link::after {
		width: 30%;
		left: 35%;
		transform: scaleX(0) translateY(0rem);
	}

	nav .header-link:hover::after {
		width: 30%;
		left: 35%;
		transform: scaleX(1) translateY(-0.375rem);
	}

	.arrow-button {
		top: 3.5rem;
	}
}

