/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

*,
*::before,
*::after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:root {
	--base: #555;
	--base-100: #f1f1f1;
	--base-400: #555;
	--base-500: #38383a;
	--base-800: #000;
	--yellow: #ffda4b;
	--yellow-100: #f2ebc5;
	--yellow-400: #ffda4b;
	--yellow-800: #8b6f00;
	--blue: #0a61ae;
	--blue-100: #e2f8ff;
	--blue-400: #61dafb;
	--blue-600: #ceedf6;
	--blue-800: #0a61ae;
	--gold-800: #f8b706;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--scroll-padding, 100px);
}

body {
	font-family: 'Open Sans', 'Poppins', sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	font-size: 20px;
}

/* ----------------------- header part style ------------------------- */
a {
	text-decoration: none;
	color: var(--blue);
	&:hover {
		text-decoration: underline;
	}
}
p {
	text-align: justify;
}

.container {
	max-width: 1440px;
	margin: auto;
	gap: 30px;
	margin-top: 30px;
	margin-bottom: 30px;

	@media (max-width: 1440px) {
		padding-left: 30px;
		padding-right: 30px;
	}
	@media (max-width: 425px) {
		padding-left: 5px;
		padding-right: 5px;
	}
}

header {
	position: sticky;
	top: 0;
	overflow: hidden;
	z-index: 99;
	background-color: #ffffff;
	-webkit-transition: 0.4s;
	-o-transition: 0.4s;
	transition: 0.4s;
	padding-top: 1px;
	padding-bottom: 2px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	max-width: 1440px;
	margin: auto;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);

	.logo-holder {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		padding: 10px;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		font-weight: 600;
		color: var(--base-800);
		text-decoration: none;
		.logo {
			display: -webkit-box;
			display: -ms-flexbox;
			display: flex;
			height: 64px;
			width: 64px;
			color: var(--base-100);
			font-size: 32px;
			margin-right: 20px;
			border-radius: 50%;
			-webkit-box-align: center;
			-ms-flex-align: center;
			align-items: center;
			-webkit-box-pack: center;
			-ms-flex-pack: center;
			justify-content: center;
			background-color: var(--base-800);
		}
		.logo-text {
			-webkit-box-flex: 1;
			-ms-flex: 1;
			flex: 1;
		}
	}
	nav {
		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;

		ul {
			display: -webkit-box;
			display: -ms-flexbox;
			display: flex;
			list-style-type: none;
			gap: 5px;

			li {
				display: inline-block;
				a {
					display: inline-block;
					padding: 10px 20px;
					color: var(--base);
					&:hover {
						background-color: var(--base-100);
						text-decoration: none;
						border-radius: 10px;
					}
				}
			}
		}
		.mobile-toggle {
			display: none;
			color: var(--base-800);
			padding: 10px;
			@media (max-width: 768px) {
				display: inline-block;
				position: absolute;
				top: 20px;
				right: 20px;
			}
		}
	}
	@media (max-width: 1024px) {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
	}

	@media (max-width: 768px) {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		nav {
			margin: 10px;
			width: 100%;
			ul {
				display: none;
				-webkit-box-orient: vertical;
				-webkit-box-direction: normal;
				-ms-flex-direction: column;
				flex-direction: column;
				text-align: center;
				width: 100%;
				&.active {
					display: -webkit-box;
					display: -ms-flexbox;
					display: flex;
				}
				a {
					width: 100%;
				}
			}
		}
	}
}

.button {
	display: inline-block;
	background-color: var(--blue);
	color: var(--base-100);
	padding: 10px 30px;
	border-radius: 10px;
	-webkit-transition: ease 0.2s all;
	-o-transition: ease 0.2s all;
	transition: ease 0.2s all;
	&:hover {
		text-decoration: none;
		background-color: var(--base-800);
	}
	&.white {
		background-color: white;
		color: var(--base-800);
		&:hover {
			background-color: var(--base-100);
			color: var(--blue);
		}
	}
	&.black {
		background-color: black;
		color: white;
		&:hover {
			background-color: var(--base-400);
			color: var(--base-100);
		}
	}
}

h1 {
	font-size: 48px;
	line-height: 1;
	margin: 0 auto 0.5rem auto;
	small {
		display: block;
		font-weight: 100;
	}

	@media (max-width: 1024px) {
		font-size: 36px;
	}
}
.hero {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	margin-bottom: 30px;

	/* to stack the hero section elements */
	@media (max-width: 1024px) {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
	}

	.hero-blue {
		-webkit-box-flex: 1;
		-ms-flex: 1;
		flex: 1;
		background-color: var(--blue-100);
		border-radius: 30px;
		padding: 30px;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
		p {
			small {
				display: block;
				margin-bottom: 5px;
				font-size: 32px;
				font-weight: 100;
				line-height: 1;
				text-align: left;
			}
			span {
				display: block;
				margin-top: 10px;
				line-height: 1.4;
				font-size: 0.91rem;
				font-weight: 500;
				color: var(--base-500);
			}
		}

		.call-to-action {
			margin-top: 20px;
			margin-bottom: 10px;
			a {
				margin-right: 10px;
				margin-bottom: 10px;
			}
		}
		.social-links {
			a {
				text-decoration: none;
			}
			img {
				width: 64px;
				height: 64px;
			}
		}
	}
	.hero-yellow {
		-webkit-box-flex: 1;
		-ms-flex: 1;
		flex: 1;
		background-color: var(--yellow);
		border-radius: 30px;
		padding: 0 15px;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
		-webkit-box-align: end;
		-ms-flex-align: end;
		align-items: flex-end;
		img {
			max-width: 425px;
		}
	}
}

h2 {
	font-size: 64px;
	line-height: 1;
	color: var(--base-800);
	padding: 30px;
	margin-bottom: 10px;
	text-align: center;
	small {
		display: block;
		font-size: 0.5em;
		font-weight: 100;
		color: var(--base);
	}
	@media (max-width: 1024px) {
		font-size: 48px;
	}
}
h3 {
	font-size: 28px;
	font-weight: 600;
	line-height: 1;
	color: var(--base-800);
	margin-top: 5px;
	margin-bottom: 10px;
}
.description-box {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	border-left: 8px solid var(--gold-800);
	padding: 0px 5px;
	small {
		font-size: 1.2rem;
		font-weight: 900;
		margin: 6px 10px 10px 0px;
	}
}
.skills {
	.career_wrapper {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		gap: 30px;

		@media (max-width: 425px) {
			.skills-header {
				height: auto;
			}
		}
		.career-column {
			-webkit-box-flex: 1;
			-ms-flex: 1;
			flex: 1;
			border-radius: 30px;
			padding: 30px;
			margin-bottom: 10px;
			-webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
			box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
			text-align: center;
			background-color: #fbfbfb;
			&:nth-child(1) {
				background-color: var(--yellow-100);
			}
			&:nth-child(2) {
				background-color: var(--blue-100);
			}
		}
		@media (max-width: 1024px) {
			.career-column {
				width: 100%;
			}
		}

		.left-column {
			-webkit-box-flex: 1;
			-ms-flex: 1;
			flex: 1;
			display: -webkit-box;
			display: -ms-flexbox;
			display: flex;
			-webkit-box-orient: vertical;
			-webkit-box-direction: normal;
			-ms-flex-direction: column;
			flex-direction: column;
			-webkit-box-pack: justify;
			-ms-flex-pack: justify;
			justify-content: space-between;
			-webkit-box-align: start;
			-ms-flex-align: start;
			align-items: flex-start;
			.skills-header {
				padding: 10px;
			}
			p {
				margin: 6px 0px 10px 0px;
			}
			ul {
				list-style-type: none;
				gap: 5px;
				margin-top: 15px;
				margin-bottom: 15px;
				text-align: justify;

				li {
					display: inline-block;
					background-color: var(--blue-400);
					padding: 5px 10px;
					border-radius: 10px;
					margin-bottom: 10px;
					font-size: 0.75em;
				}
			}
		}
		.right-column {
			-webkit-box-flex: 1;
			-ms-flex: 1;
			flex: 1;
			display: -webkit-box;
			display: -ms-flexbox;
			display: flex;
			-webkit-box-orient: vertical;
			-webkit-box-direction: normal;
			-ms-flex-direction: column;
			flex-direction: column;
			-webkit-box-pack: justify;
			-ms-flex-pack: justify;
			justify-content: space-between;
			-ms-flex-line-pack: center;
			align-content: center;
			.career {
				padding: 10px 0;
				.contents {
					padding-left: 5px;
					ul {
						li {
							list-style: none;
							padding: 5px 0;
							span {
								color: var(--base-800);
								font-weight: 600;
								display: block;
								padding: 5px 0;
							}
						}
						.experience-detail {
							font-size: 0.9rem;
							padding-bottom: 10px;
						}
					}
				}
			}
		}
		@media (max-width: 1024px) {
			-webkit-box-orient: vertical;
			-webkit-box-direction: normal;
			-ms-flex-direction: column;
			flex-direction: column;
		}
	}
}
.work-experience {
	.jobs {
		display: -ms-grid;
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
		gap: 2em;

		@media (max-width: 1024px) {
			grid-auto-flow: columns;
		}
		article {
			background-color: var(--yellow-100);
			padding: 30px;
			border-radius: 30px;
			display: -webkit-box;
			display: -ms-flexbox;
			display: flex;
			-webkit-box-orient: vertical;
			-webkit-box-direction: normal;
			-ms-flex-direction: column;
			flex-direction: column;
			-webkit-box-pack: justify;
			-ms-flex-pack: justify;
			justify-content: space-between;
			@media (max-width: 1024px) {
				width: 100%;
			}
			figure {
				width: 100%;
				padding-top: 56.25%;
				overflow: hidden;
				position: relative;
				border-radius: 15px;
				img {
					position: absolute;
					top: 0;
					left: 0;
					height: 100%;
					-o-object-fit: fill;
					object-fit: fill;
					border-radius: 15px;
					-webkit-transition: ease 2s all;
					-o-transition: ease 2s all;
					transition: ease 2s all;
				}
				video {
					position: absolute;
					top: 0;
					left: 0;
					height: 100%;
					-o-object-fit: contain;
					object-fit: contain;
					border-radius: 15px;
					-webkit-transition: ease 2s all;
					-o-transition: ease 2s all;
					transition: ease 2s all;
				}
				figcaption {
					position: absolute;
					bottom: 0;
					left: 0;
					right: 0;
					background-color: rgba(0, 0, 0, 0.5);
					color: var(--base-100);
					text-align: center;
					padding: 10px;
					opacity: 0;
					visibility: hidden;
					-webkit-transition: ease 1s all;
					-o-transition: ease 1s all;
					transition: ease 1s all;
				}
				&:hover {
					figcaption {
						opacity: 1;
						visibility: visible;
					}
					img {
						scale: 1.1;
					}
				}
			}
			.project-detail {
				-webkit-box-flex: 1;
				-ms-flex: 1;
				flex: 1;
				display: -webkit-box;
				display: -ms-flexbox;
				display: flex;
				-webkit-box-orient: vertical;
				-webkit-box-direction: normal;
				-ms-flex-direction: column;
				flex-direction: column;
				-webkit-box-pack: justify;
				-ms-flex-pack: justify;
				justify-content: space-between;
				h3 {
					margin-top: 20px;
					margin-bottom: 20px;
				}
				p {
					margin-bottom: 10px;
				}
				.tech-stack {
					h4 {
						font-size: 22px;
						margin: 10px 0px;
					}
					ul {
						display: -webkit-box;
						display: -ms-flexbox;
						display: flex;
						-ms-flex-wrap: wrap;
						flex-wrap: wrap;
						list-style-type: none;
						gap: 5px;
						margin-right: 5px;
						margin-bottom: 3px;
						-webkit-box-pack: start;
						-ms-flex-pack: start;
						justify-content: start;
						justify-items: center;

						li {
							display: inline-block;
							background-color: var(--blue-400);
							padding: 3px 8px;
							border-radius: 10px;
							margin-bottom: 5px;
							text-align: center;
							font-size: 0.75em;
						}
					}
				}

				.card-links {
					display: -webkit-box;
					display: -ms-flexbox;
					display: flex;
					-webkit-box-pack: justify;
					-ms-flex-pack: justify;
					justify-content: space-between;
					-ms-flex-wrap: wrap;
					flex-wrap: wrap;
					@media (max-width: 427px) {
						-webkit-box-orient: vertical;
						-webkit-box-direction: normal;
						-ms-flex-direction: column;
						flex-direction: column;
					}
					.card_button {
						display: -webkit-box;
						display: -ms-flexbox;
						display: flex;
						-webkit-box-orient: horizontal;
						-webkit-box-direction: normal;
						-ms-flex-direction: row;
						flex-direction: row;
						-webkit-box-pack: center;
						-ms-flex-pack: center;
						justify-content: center;
						-webkit-box-align: center;
						-ms-flex-align: center;
						align-items: center;
						padding: 8px;
						gap: 3px;
						background-color: var(--blue-800);
						outline: 3px var(--blue-800) solid;
						outline-offset: -3px;
						border-radius: 10px;
						border: none;
						cursor: pointer;
						-webkit-transition: 400ms;
						-o-transition: 400ms;
						transition: 400ms;
						margin-top: 10px;
						&:hover {
							background-color: transparent;
							.link {
								color: var(--base-800);
							}
							path {
								fill: var(--base-800);
							}
						}
						.svg {
							width: 24px;
							height: 4px;
							-webkit-transform: translateY(15%);
							-ms-transform: translateY(15%);
							transform: translateY(15%);
							fill: #323232;
							path {
								-webkit-transition: 200ms;
								-o-transition: 200ms;
								transition: 200ms;
							}
						}
						.link {
							color: white;
							font-weight: 700;
							font-size: 1em;
							-webkit-transition: 400ms;
							-o-transition: 400ms;
							transition: 400ms;
						}
					}
				}
				.center-link {
					display: -webkit-box;
					display: -ms-flexbox;
					display: flex;
					-webkit-box-pack: center;
					-ms-flex-pack: center;
					justify-content: center;
				}
			}
		}
	}
}
.contacts {
	.contact-me {
		background-color: var(--blue-100);
		border-radius: 30px;
		padding: 30px;
		margin-bottom: 10px;
		gap: 30px;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		@media (max-width: 1024px) {
			-webkit-box-orient: vertical;
			-webkit-box-direction: normal;
			-ms-flex-direction: column;
			flex-direction: column;
		}
		p {
			margin-bottom: 30px;
		}

		.contact-links {
			-webkit-box-flex: 3;
			-ms-flex: 3;
			flex: 3;
			display: -webkit-box;
			display: -ms-flexbox;
			display: flex;
			-webkit-box-orient: vertical;
			-webkit-box-direction: normal;
			-ms-flex-direction: column;
			flex-direction: column;
			-ms-flex-pack: distribute;
			justify-content: space-around;
			-ms-flex-line-pack: justify;
			align-content: space-between;
			.contact-text {
				p {
					text-align: justify;
					padding: 5px;
					text-align: justify;
					font-weight: 500;
					font-size: larger;
				}
			}
			.social-links {
				margin-bottom: 30px;
				a {
					text-decoration: none;
				}
			}
			.call-to-action {
				a {
					background-color: var(--base-800);
					color: var(--base-100);
					margin: 10px 5px 5px 0;
				}
			}
		}
		.contact-form {
			-webkit-box-flex: 4;
			-ms-flex: 4;
			flex: 4;
			background-color: var(--yellow-100);
			padding: 10px 3px;
			border-radius: 20px;
			h3 {
				text-align: center;
			}
			.form-container {
				max-width: 700px;
				margin: 10px auto;
				background-color: #c5c8c9;
				padding: 30px 25px 5px 25px;
				border-radius: 10px;
				.form {
					.input {
						width: 100%;
						background-color: #e6e9eb;
						border: none;
						outline: none;
						padding: 15px;
						margin-bottom: 20px;
						border-radius: 8px;
						-webkit-transition: all 0.2s ease-in-out;
						-o-transition: all 0.2s ease-in-out;
						transition: all 0.2s ease-in-out;
						border-left: 1px solid transparent;
						&:hover {
							border-left: 5px solid #000f38;
						}
						&:focus {
							border-left: 5px solid #000f38;
						}
					}
					.textarea {
						width: 100%;
						padding: 10px;
						border: none;
						outline: none;
						background-color: #e6e9eb;
						color: rgb(17, 9, 1);
						resize: none;
						max-height: 300px;
						height: 200px;
						overflow-y: scroll;
						margin-bottom: 20px;
						border-left: 1px solid transparent;
						-webkit-transition: all 0.2s ease-in-out;
						-o-transition: all 0.2s ease-in-out;
						transition: all 0.2s ease-in-out;
						border-radius: 8px;
						&:hover {
							border-left: 5px solid #000f38;
						}
						&:focus {
							border-left: 5px solid #000f38;
						}
					}
					.button-container {
						display: block;
						.send-button {
							-webkit-box-flex: 7;
							-ms-flex: 7;
							flex: 7;
							background: rgb(7, 38, 72);
							color: rgb(253, 253, 253);
							text-align: center;
							border: 1px solid transparent;
							-webkit-transition: all 0.2s ease-in-out;
							-o-transition: all 0.2s ease-in-out;
							transition: all 0.2s ease-in-out;
							border-radius: 20px;
							width: 100%;
							margin: 10px auto;
							padding: 8px;
							&:hover {
								background-color: transparent;
								border: 2px solid rgb(7, 38, 72);
								color: #000711;
								cursor: pointer;
							}
							&:focus {
								background-color: transparent;
								border: 2px solid rgb(7, 38, 72);
								color: #000711;
								cursor: pointer;
							}
						}
					}
				}
			}
		}
	}
}

.footer {
	padding: 30px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	max-width: 1440px;
	margin: 80px auto 10px;
	border-top: 2px solid rgba(0, 0, 0, 0.1);
	a {
		text-decoration: none;
		color: var(--base-800);
		font-weight: 500;
		&:hover {
			color: #0a61ae;
		}
	}
	.social-links {
		img {
			width: 48px;
			height: 48px;
		}
		@media (max-width: 425px) {
			img {
				width: 24px;
				height: 24px;
			}
		}
	}
}

/* impressum page style  */
.impressum {
	padding: 30px;
}

/* The actual timeline (the vertical ruler) */
.timeline {
	position: relative;
	max-width: 722px;
	margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
	content: '';
	position: absolute;
	width: 4px;
	background-color: rgb(11, 11, 11);
	top: 15px;
	bottom: 0;
	left: 0px;
	margin-left: -1px;
}

/* Container around content */
.career_container {
	padding: 2px 2px 10px 25px;
	position: relative;
	background-color: inherit;
	width: 100%;
}

/* The circles on the timeline */
.career_container::after {
	content: '';
	position: absolute;
	width: 15px;
	height: 15px;
	right: -16px;
	background-color: var(--gold-800);
	border: 2px solid #0d0a08;
	top: 12px;
	border-radius: 50%;
	z-index: 1;
}

/* Add arrows to the right container (pointing left) */
.right::before {
	content: ' ';
	height: 0;
	position: absolute;
	top: 10px;
	width: 0;
	z-index: 1;
	left: 16px;
	border: medium solid white;
	border-width: 10px 10px 10px 0;
	border-color: transparent rgb(21, 3, 3) transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
	left: -6px;
}

/* The actual content */
.content {
	padding: 1px 10px;
	background-color: inherit;
	position: relative;
	border-radius: 10px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-box-align: left;
	-ms-flex-align: left;
	align-items: left;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	background-color: var(--blue-600);

	span {
		display: block;
		text-align: left;
		padding: 1px 0;

		&.period {
			padding: 2px 0;
			margin: 3px 0 1px 0;
		}

		&.role {
			font-weight: 600;
		}

		&.company_name {
			font-weight: 500;
			padding: 0px;
		}
	}

	.job_description {
		margin: 8px 0;
		border-left: 5px solid var(--gold-800);
		padding: 5px;
	}
}
