:root {
	--page-width: 1000px;

	--header-height: 100px;
	--header-ext-height: 200px;

	--standard-padding: 20px;

	--color-background: #151515;
	--color-header: #1f1f1f;
	--color-surface: #8d99ae;
	--color-primary: #1F5C39;
	--color-secondary: #003566;
	--color-text: #968A87;

	--border-radius: 15px;
}

html {
	scroll-behavior: smooth;
	margin: 0;
	padding: 0;
}

body {
	background-color: var(--color-background);
	color: var(--color-text);
	margin: 0;
	padding: 0;
	min-width: 100vw;
	overflow-x: hidden;
}

.stop-scroll {
	overflow-y: hidden;
}

h1, h2, h3, p, a, th, td, span {
	font-style: normal;
	font-family: "Helvetica", "Arial";
	text-decoration: none;
	color: var(--color-text);
	padding: 0;
	margin: 0;
}

header {
	height: var(--header-height);
	position: sticky;
	width: 100%;
	top: 0;
	background-color: var(--color-header);
	z-index: 42;
	border-bottom: 5px solid;
	border-color: var(--color-background);
}

header .ext_1 {
	position: absolute;
	height: var(--header-ext-height);
	width: 50%;
	top: calc(-1 * var(--header-ext-height));
}
header .ext_2 {
	position: absolute;
	height: var(--header-ext-height);
	width: 50%;
	top: calc(-1 * var(--header-ext-height));
	left: 50%;
}

header .header-bar {
  position: relative;
  width: var(--page-width);
  height: var(--header-height);
  margin-left:  auto;
	margin-right: auto;

}

header .header-bar div {
	width: 33.3%;
	float: left;
	vertical-align: middle;
	line-height: var(--header-height);
}

header .nav-name {
  font-weight: bold;
	text-align: left;
	padding: 0;
	margin: 0;
	vertical-align: bottom;
}

header .nav-name p {
	font-size: 1.5em;
	margin-left: var(--standard-padding);
}

header .navigation {
	text-align: center;
	display: block;
}

header .navigation a {
	display: block;
	margin: 0 20px;
	font-size: 1em;
	width: 70px;
	height: 100px;
}

header .language form {
	margin: 0;
	padding: 0;
}

header .language button {
	background-color: var(--color-header);
	border: none;
	margin: 0;
	padding: 0;
	background-color: transparent;
	height: 100px;
	float: right;
}

header .language button:hover {
	cursor: pointer;
}

header .language img {
	height: 2em;
	padding-right: 20px;
	padding-left: 20px;
}

.space {
	height: calc(var(--header-height) *0);
}


.pre-landing {
	height: calc(100vh - var(--header-height));
	max-width: var(--page-width);
	color: white;
	margin-left:auto;
	margin-right: auto;
}

.pre-landing .page-sep {
	width: 50%;
	padding-top: 100px;
}
.pre-landing .left {
	float: left;
}

.pre-landing .right {
	float: right;
}

.css-typing p {
	margin-left: 20px;
  border-right: .15em solid var(--color-primary);
  font-family: "Courier";
  font-size: 1em;
  white-space: nowrap;
  overflow: hidden;
}
.css-typing p:nth-child(1) {
	font-size: 2.5em;
  width: 2.5em;
  animation: type2 1s steps(7, end), blink .5s step-end infinite alternate;
  animation-fill-mode: forwards;
}

.css-typing p:nth-child(2) {
	margin-top: 1.5em;
  width: 30em;
  opacity: 0;
  animation: type2 3.5s steps(40, end), blink .5s step-end infinite alternate;
  animation-delay: 1s;
  animation-fill-mode: forwards;
}

.css-typing p:nth-child(3) {
	margin-top: 0.5em;
  width: 26.3em;
  opacity: 0;
  animation: type3 3s steps(35, end), blink .5s step-end infinite alternate;
  animation-delay: 4.5s;
  animation-fill-mode: forwards;
}



@keyframes type {
  0% {
    width: 0;
  }
  99.9% {
    border-right: .15em solid var(--color-primary);
  }
  100% {
    border: none;
  }
}

@-webkit-keyframes type {
  0% {
    width: 0;
  }
  99.9% {
    border-right: .15em solid var(--color-primary);
  }
  100% {
    border: none;
  }
}

@keyframes type2 {
  0% {
    width: 0;
  }
  1% {
    opacity: 1;
  }
  99.9% {
    border-right: .15em solid var(--color-primary);
  }
  100% {
    opacity: 1;
    border: none;
  }
}

@-webkit-keyframes type2 {
  0% {
    width: 0;
  }
  1% {
    opacity: 1;
  }
  99.9% {
    border-right: .15em solid var(--color-primary);
  }
  100% {
    opacity: 1;
    border: none;
  }
}

@keyframes type3 {
  0% {
    width: 0;
  }
  1% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes type3 {
  0% {
    width: 0;
  }
  1% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}
@-webkit-keyframes blink {
  50% {
    border-color: transparent;
  }
}



.home_picture_container {
	width: 300px;
	height: 380px;
	margin: auto;
	border-radius: 10px;
}

.pre-landing img {
	width: 300px;
	height: 380px;
	border-radius: 10px;
	transition: .3s ease;
}

.pre-landing .pb-img {
	pointer-events: none;
}

.home_picture_overlay {
  position: relative;
  top: -385px;
  bottom: 0;
  height: 380px;
  opacity: 0;
  transition: .5s ease;
  background-color: var(--color-primary);
  border-radius: 10px;
}

.home_picture_container:hover .home_picture_overlay  {
  opacity: 1;
}
.home_picture_container:hover img {
	/*visibility: hidden;*/
}

.home_picture_overlay div {
	position: relative;
	top: calc(50% - 0.75em);
	width: 200px;;
 	color: white;
	text-align: center;
 	font-size: 1.5em;
 	margin: auto auto;
}

.home_links {
  height: 50px;
	margin: auto;
	text-align: center;
}

.home_links_container {
  margin: auto;
}

.home_links_container ul {
  list-style: none;
  padding: 0;
	vertical-align: middle;
}

.home_links_container ul li {
  display: inline;
	margin: 10px;
	height: 60px;
	width: 60px;
}

.home_links_container ul li a {
	height: 60px;
	width: 60px;
}

.home_links_container ul li img{
  width: 40px;
  height: 40px;
  transition: all 0.5s;
}

.home_links_container ul li img:hover{
  cursor: pointer;
  transform: scale(1.1);
  transition: all 0.5s;
}

.home_links_container ul li .github:hover {
  filter: invert(100%);
  color: blue;
  transition: all 0.5s;
}

.home_links_container ul li .linkedin:hover {
  filter: invert(20%) sepia(80%) saturate(3383%) hue-rotate(183deg) brightness(98%) contrast(89%);
  transition: all 0.5s;
}

.pre-landing .forward-msg {
	position: relative;
	width: 100%;
	text-align: center;
	height: 72px;
	top: calc(100vh - var(--header-height) - 150px);
}

.pre-landing .forward-msg .subdiv {
	height: 72px;
	width: 72px;
	text-align: center;
}

.pre-landing .material-symbols-outlined {
	position: absolute;
	top: 50%;
  left: calc(50% - 18px);
  transform: translate(-50%, -50%);
  color: var(--color-primary);
  transform: scale(3);
  font-variation-settings:
  'FILL' 0,
  'wght' 700,
  'GRAD' 0,
  'opsz' 20
}


.section {
	min-height: 60vh;
	max-width: var(--page-width);
	margin-left:auto;
	margin-right: auto;
	padding-top: 50px;
	padding-bottom: 50px;
}

.blur {
	filter: blur(2px) brightness(67%);
	animation-name: blur-in;
	animation-duration: 1s;
}

.show {
	visibility: visible;
	animation-name: fade-in;
	animation-duration: 1s;
}

.aboutme {
	max-width: 80%;
	margin: 4rem auto;
	padding: 0 var(--standard-padding, 2rem);
	position: relative;
	overflow: hidden;
}

/*.aboutme::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--color-primary, #007bff) 50%, transparent);
	opacity: 0.6;
}*/

.about-heading {
	text-align: center;
	height: auto;
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 700;
	margin-bottom: 3rem;
	color: white;
	letter-spacing: -0.02em;
	position: relative;
}

.about-heading::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background: var(--color-primary, #007bff);
	margin: 1rem auto 0;
	border-radius: 2px;
	transition: width 0.3s ease;
}

.about-content {
	display: flex;
	grid-template-columns: auto 1fr;
	gap: 3rem;
	align-items: start;
	position: relative;
	z-index: 1;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.background-label {
	writing-mode: vertical-lr;
	transform: rotate(180deg);
	font-size: clamp(1.5rem, 4vw, 2.5rem);
	font-weight: 800;
	text-align: right;
	white-space: nowrap;
	color: var(--color-primary, #007bff);
	letter-spacing: 0.05em;
	padding: 1rem 0;
	position: relative;
	left: -1rem;
}

.description {
	font-size: 1.1rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.9);
	max-width: 600px;
	margin: 0;
	position: relative;
}

.description::before {
	content: '';
	position: absolute;
	left: -3rem;
	top: 0;
	width: 2px;
	height: 100%;
	background: linear-gradient(to bottom, transparent, var(--color-primary, #007bff), transparent);
	opacity: 0.3;
}

.contact {
	max-width: 80%;
	margin: 4rem auto;
	padding: 0 var(--standard-padding, 2rem);
	position: relative;
	overflow: hidden;
	border-radius: 20px;
}

.contact::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--color-primary, #007bff) 50%, transparent);
	opacity: 0.6;
}

/* Organic Blob Elements */
.organic-blob {
	position: absolute;
	background: linear-gradient(135deg, var(--color-primary, #007bff) 0%, rgba(0, 123, 255, 0.6) 100%);
	border-radius: 50% 40% 30% 60% / 60% 30% 70% 40%; /* Organic curve */
	opacity: 0.1;
	z-index: 0;
	animation: float 6s ease-in-out infinite;
}

.blob-top {
	top: -15%;
	right: -10%;
	width: 250px;
	height: 180px;
	animation-delay: -1s;
}

.blob-bottom {
	bottom: -20%;
	left: -10%;
	width: 300px;
	height: 200px;
	animation-delay: -3s;
}

.blob-btn {
	position: absolute;
	top: -20%;
	right: -15%;
	width: 80px;
	height: 100px;
	opacity: 0.2;
	z-index: -1;
	animation: float 4s ease-in-out infinite reverse;
}

/* Floating Animation for Blobs */
/*@keyframes float {
	0%, 100% {
		transform: translateY(0px) scale(1);
	}
	50% {
		transform: translateY(-8px) scale(1.03);
	}
}*/

.contact-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 3rem;
	position: relative;
	z-index: 2;
	background: rgba(255, 255, 255, 0.05);
	padding: 2.5rem;
	border-radius: 24px;
	border: 1px solid rgba(0, 123, 255, 0.2);
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
}

.contact-content:hover {
	border-color: var(--color-primary, #007bff);
	box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15);
}

.contact-text {
	flex: 1;
}

.contact-text h2 {
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	font-weight: 700;
	margin: 0 0 0.5rem 0;
	color: white;
	letter-spacing: -0.01em;
}

.contact-text p {
	font-size: 1.1rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
}

.contact-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	font-size: 1.2rem;
	font-weight: 600;
	color: white;
	text-decoration: none;
	padding: 1rem 2rem;
	border-radius: 50px;
	background: linear-gradient(135deg, var(--color-primary, #007bff) 0%, #0056b3 100%);
	border: 2px solid var(--color-primary, #007bff);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	overflow: hidden;
}

.contact-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s;
}

.contact-btn:hover {
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
	background: linear-gradient(135deg, #0056b3 0%, var(--color-primary, #007bff) 100%);
}

.contact-btn:hover::before {
	left: 100%;
}

.contact-btn:active {
	transform: translateY(0) scale(0.98);
}

div.slide-in-left-element, div.slide-in-left-element-1 {
	float: left;
	display: inline;
	width: calc(var(--page-width)/2.2);
}

div.slide-in-right-element, div.slide-in-right-element-1 {
	float: right;
	display: inline;
	width: calc(var(--page-width) /2.2);
}

th.slide-in-left-element, td.slide-in-left-element {
	display: inline;
	float: left;
	width: calc(var(--page-width) * 0.08);
}

th.slide-in-right-element, td.slide-in-right-element {
	display: inline;
	float: right;
	width: calc(var(--page-width) * 0.72);
}

.wiggle {
	position: relative;
}


@-webkit-keyframes scale-down-height {
	to {
		height: 20%;
		top: 0;
	}
}

@-webkit-keyframes slide-from-left {
  from {
		margin-left: -100%;
		filter: blur(5px);
  }
	80% {
		margin-left: -10%;
		filter: blur(0px);
	}
}

@-moz-keyframes slide-from-right {
  from {
		margin-right: -100%;
		filter: blur(1px);
  }
	80% {
		margin-right: -10%;
		filter: blur(1px);
	}
}

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

@-webkit-keyframes blur-in {
	from {
		filter: blur(0px);
	}
	to {
		filter: blur(2px) brightness(67%);
	}
}

@-webkit-keyframes scale-up {
  from {
		scale: 0.5;
		opacity: 0.2;
		filter: blur(5px);
  }
}

@-webkit-keyframes wiggle {
	0% {
		top: 20px;
	}
	50% {
		top: -20px;
	}
	100% {
		top: 20px;
	}
}

@keyframes scale-down-height {
	to {
		height: 20%;
		top: 0;
	}
}

@keyframes slide-from-left {
  from {
		margin-left: -100%;
		filter: blur(5px);
  }
	80% {
		margin-left: -10%;
		filter: blur(0px);
	}
}

@keyframes slide-from-right {
  from {
		margin-right: -100%;
		filter: blur(1px);
  }
	80% {
		margin-right: -10%;
		filter: blur(1px);
	}
}

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

@keyframes blur-in {
	from {
		filter: blur(0px);
	}
	to {
		filter: blur(2px) brightness(67%);
	}
}

@keyframes scale-up {
  from {
		scale: 0.5;
		opacity: 0.2;
		filter: blur(5px);
  }
}

@keyframes wiggle {
	0% {
		top: 20px;
	}
	50% {
		top: -20px;
	}
	100% {
		top: 20px;
	}
}

/*@media (prefers-reduced-motion: no-preference) {*/
	.scale-down-height-img {
		animation: scale-down-height linear both;
		animation-timeline: view();
		animation-range: 40vh 100vh;
		}
	.slide-in-left-element {
		animation: slide-from-left linear both;
		animation-timeline: view();
		animation-range: 0vh 30vh;
	}
	.slide-in-left-element-1 {
		animation: slide-from-left linear both;
		animation-duration: 1s;
		animation-iteration-count: 1;
	}
	.slide-in-right-element {
		-moz-animation: slide-from-right linear both;
		animation: slide-from-right linear both;
		animation-timeline: view();
		animation-range: 0vh 30vh;
	}
	.slide-in-right-element-1 {
		animation: slide-from-right linear both;
		animation-duration: 1s;
		animation-iteration-count: 1;
	}
	.scale-up-element {
		animation: scale-up linear both;
		animation-timeline: view();
		animation-range: 20vh 50vh;
	}
	.wiggle {
		animation-name: wiggle;
		animation-duration: 5s;
		animation-iteration-count: infinite;
	}
/*}*/
