/* backup root
:root
{
	--hover:  	#fffde6;
	--bg-color:  	#fffbc6;
	--mid-dunk: #fff492;
	--dunkel: #fff651;
	--toggle: rgb(204, 207, 255);
	--toggle-border: rgb(83, 173, 251);
} */


:root {
	--hover: #9CFFE4;
	--bg-color: #eae3e3;
	--main: #b2dcee;
	--border: #136082;
	--text: #05202b;
	--toggle: #05202b;
	--toggle-border: #53adfb;
	--toggle-icon: #d2cbcb;
}

:root.dark {
	--hover: #419580;
	--bg-color: #05202b;
	--main: #43758b;
	--border: #53adfb;
	--text: #d2cbcb;
	--toggle: #eae3e3;
	;
	--toggle-border: #136082;
	--toggle-icon: #05202b;
}

html {
	scroll-behavior: smooth;
}

body {
	background-color: var(--bg-color);
	text-align: center;
	font-family: 'JetBrains Mono';
	color: var(--text);
}

header {
	height: 60px;
	top: 0;
	width: 100%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: var(--main);
	border-radius: 20px;
}

.warning-phone {
	display: none;
}

.burger-btn {
	display: none;
}

.toggle-container {
	display: flex;
	justify-content: center;
	width: 33%;
}

.toggle {
	padding: 10px;
	background: var(--toggle);
	border: none;
	border-radius: 50px;
	transition: 0.3s ease;
	cursor: pointer;
	border: 1px solid var(--toggle-border);
	color: var(--toggle-icon);
}

.toggle:hover {
	transform: scale(1.25);
	border: 2px solid var(--toggle-border);
}

.menu {
	display: flex;
	justify-content: flex-end;
	width: 33%;
}

.menu ul {
	display: flex;
	list-style: none;
}

.menu li {
	margin: 0 15px;
	background-color: var(--bg-color);
	padding: 0 20px;
	border-radius: 20px;
	border: 1px solid var(--border);
	transition: 0.2s ease;
}

.menu li:hover {
	transform: scale(1.2);
	border: 2px solid var(--border);
	background-color: var(--hover);
}

.menu a {
	text-decoration: none;
	color: var(--text);
}

.menu .active {
	transform: scale(1.1);
	border: 2px solid black;
}

.menu .active:hover {
	transform: scale(1.1);
	border: 2px solid black;
}

.logo {
	display: flex;
	justify-content: flex-start;
	width: 33%;
	cursor: pointer;
}

.logo img {
	max-height: 50px;
}

.intro-container {
	display: flex;
	align-items: center;
	justify-content: center;
}

.intro {
	margin: 100px 0;
	width: 80%;
}

.text-container {
	display: flex;
	align-items: center;
	justify-content: center;
}

.text-center {
	width: 80%;
}

.hobbies {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 50px 20px;
}

.little-card-container {
	display: flex;
	justify-content: center;
	align-items: center;
}

.little-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	box-shadow: 5px 5px 10px;
	margin: auto 10px;
	padding: auto 20px;
	width: 25%;
	border-radius: 50px;
	height: 70px;
	transition: all 0.3s ease;
	cursor: pointer;
}

.little-card:hover {
	background: var(--hover);
	height: 450px;
	cursor: pointer;
}

.little-card p {
	opacity: 0;
	transition: all 0.1s ease;
}

.little-card:hover p {
	opacity: 1;
	text-align: center;
	margin: 10px 20px;
}

/* PROJECTS */
#projects {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 100px 0;
}

.cards-container {
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
	width: 80%;
	gap: 20px;
	padding: 0 20px;
	overflow-x: scroll;
	scroll-snap-type: x mandatory;
	scroll-padding: 0 100px;
	border: 2px dotted var(--border);
	border-radius: 55px;
}

.card {
	background: var(--main);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border-radius: 15px;
	scroll-snap-align: center;
	margin: 20px 20px;
	padding: 50px;
	flex: 0 0 22%;
	align-items: center;
	transition: 0.4s ease;
	cursor: pointer;
}

.card:hover {
	transform: scale(1.02);
	background: var(--hover);
	box-shadow: 5px 5px 10px;
}

.card .img-container {
	aspect-ratio: 1 / 1;
	width: 100%;
}

.img-container img {
	width: 100%;
	object-fit: fill;
	border-radius: 5%;
}

.contact {
	margin-top: 100px;
	display: flex;
	justify-content: center;
	max-width: 100vw;
}

.contact-form {
	padding: 100px;
	margin: 0 10%;
	border: 2px dotted var(--border);
	width: 100%;
	border-radius: 20px;
}

.row-textfield {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 50px;
}


.contact textarea,
.contact input {
	background: var(--main);
	border: 1px solid var(--border);
	border-radius: 10px;
	transition: 0.2s ease;
}

.contact textarea:focus,
.contact input:focus {
	border: 3px solid var(--border);
	outline: none;
	background: var(--hover);
}

.contact-form .textfield {
	display: flex;
	flex-direction: column;
	align-items: baseline;
}

.contact-form textarea {
	margin-top: 50px;
	height: 400px;
	resize: none;
	width: 100%;
}

.contact-form .submit {
	margin: 5%;
	background: var(--main);
	border: none;
	border-radius: 20px;
	cursor: pointer;
	width: 100px;
	transform: scale(1);
	transition: 0.3s ease;

}

.submit:hover {
	box-shadow: 5px 5px 10px;
	transform: scale(1.1);
	background-color: var(--hover);
}

.social-media {
	box-shadow: 5px 5px 10px;
	margin-bottom: 20px;
}

.links-social {
	display: flex;
	justify-content: center;
	align-items: center;
}

.github i,
.linkedin {
	transform: scale(1);
	font-size: xx-large;
	color: var(--text);
	transition: 0.3s ease;
}

.github:hover i {
	color: #2fbb4f;
	transform: scale(1.2);
}

.linkedin:hover {
	color: #0A66C2;
	transform: scale(1.2);
}

@media (max-width: 1000px) {

	header {
		display: flex;
		justify-content: space-between;
		width: 100%;
		left: 0;
		z-index: 0;

	}

	.menu {
		display: none;
	}

	.burger-container {
		display: flex;
		justify-content: right;
		align-items: center;
		width: 33%;
		height: 100%;
	}

	.burger-btn {
		display: flex;
		justify-content: center;
		align-items: center;
		background-color: var(--bg-color);
		width: 80px;
		z-index: 5;
		height: 100%;
		border: 1px solid var(--border);
		border-radius: 20px;
	}

	.burger-btn:active {
		background-color: var(--hover);
	}

	.burger-btn i {
		font-size: larger;
		font-weight: bolder;
	}

	.bm-on {
		display: flex;
		justify-content: center;
		align-items: center;
		position: absolute;
		top: 0;
		right: 0;
		width: 100%;
		height: 100%;
		background-color: var(--main);
		z-index: 4;
	}

	.bm-on ul {
		display: flex;
		justify-content: top;
		flex-direction: column;
		gap: 30px;
		padding: 0;
		height: 50%;
		width: 60%;
	}

	.bm-on li {
		display: flex;
		height: 30%;
		align-items: center;
		justify-content: center;
		font-size: 2rem;
	}

	.toggle {
		display: flex;
		justify-content: start;
		align-items: center;
		text-align: center;
		padding: 15px;
	}


	.warning-phone {
		display: block;
		color: black;
		background-color: #ff7777;
		padding: 50px;
		border-radius: 15px;
	}


	.little-card-container {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 100%;
		gap: 100px;
	}

	.little-card {
		width: 80%;
		cursor: pointer;
	}

	/*
	.little-card:hover
	{
		background: var(--hover);
		height: 450px;
	}

	.little-card:hover p
	{
		opacity: 1;
		text-align: center;
		margin: 10px 20px;
	} */

	.cards-container {
		width: 90%;
	}

	.card {
		flex: 0 0 80%;
	}

	.contact {
		align-self: center;
	}

	.contact-form {
		padding: 50px 20%;
		margin: 0;
	}

	.row-textfield {
		flex-direction: column;
	}
}
