body {
	min-height: 100vh;
	height: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	margin: 0;
	padding: 0.5vw;
	font-family: sans-serif;
	background: radial-gradient(circle, rgba(250, 245, 245, 1) 0%, rgb(195, 222, 233) 70%, rgb(154, 219, 223) 100%);
	background-size: cover;
}

h1 {
	font-size: 6.5vw;
	color: rgb(44, 62, 80);
	text-shadow: 0.2vw 0.2vw rgb(150, 150, 150);
	margin-top: 1vw;
	margin-bottom: 1vw;
}

h2 {
	font-size: 4vw;
	color: rgb(44, 62, 80);
	text-shadow: 0.1vw 0.1vw rgb(150, 150, 150);
	margin-top: 1vw;
	margin-bottom: 1vw;
}

h3 {
	font-size: 2vw;
	color: rgb(44, 62, 80);
	text-shadow: 0.05vw 0.05vw rgb(150, 150, 150);
	margin-top: 0.5vw;
	margin-bottom: 0.5vw;
}


.container {
	margin: 5% 15% 10% 15%;
	padding: 5%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	background-color: rgba(255, 255, 255, 0.5);
	border-radius: 20px;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.text_center {
	text-align: center;
}

.text_left {
	text-align: left
}

.items_left {
	align-items: flex-start;
}

.items_center {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.items_wrap {
	display: flex;
	flex-wrap: wrap;
}

.buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 2vw;
	padding: 0.8rem 1.5rem;
	margin: 1vw 0.1vw 0.5vw 0.1vw;
	border: none;
	border-radius: 10px;
	background-color: rgba(111, 156, 158, 0.9);
	transition: background-color 0.2s ease;
	color: rgb(240, 240, 240);
	box-shadow: 0 0 0.1vw rgba(90, 90, 90, 0.2);
	text-shadow: 0.05vw 0.05vw rgb(190, 190, 190);
}

.small {
	font-size: 1.4vw;
}

.buttons a {
	text-decoration: none;
	color: rgb(240, 240, 240);
}


.buttons:hover {
	color: rgba(255, 255, 255, 0.9);
	background-color: rgba(44, 62, 80, 0.9);
}

label {
	font-size: 1.8vw;
	color: rgb(90, 90, 90);
	text-shadow: 0.01vw 0.01vw rgb(150, 150, 150);
}

input,
textarea,
select {
	width: 100%;
	padding-top: 0.05vw;
	padding-bottom: 0.05vw;
	margin-top: 0.3rem;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 1.5rem;
	background-color: rgba (255, 255, 255, 0.9);
	color: rgb(100, 100, 100);
}

.error {
	color: red;
	text-align: center;
	margin-top: 1rem;
}


.table_dashboard {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 2rem;
}

th,
td {
	border: 1px solid #ddd;
	padding: 0.7rem;
	text-align: left;
}

th {
	background-color: #e0e0e0;
}

.btn-danger {
	background-color: #dc3545;
}

.btn-warning {
	background-color: #ffc107;
	color: black;
}


.challenge {
	background: white;
	width: 95%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 1rem;
	margin-bottom: 1rem;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.active {
	border-left: 10px solid rgb(111, 156, 158);
}

.meta {
	font-size: 0.9em;
	color: #555;
	margin-bottom: 0.5rem;
}

.beschreibung {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	width: 60%;
	font-size: 0.9em;
	color: #555;
	margin-bottom: 0.5rem;
}

.cat {
	margin-bottom: 1rem;
}

.cat h3 {
	cursor: pointer;
	background: #e0e0e0;
	padding: 0.5rem;
	border-radius: 6px;
	width: 100%;
}

.ingredients {
	display: none;
	padding: 0.5rem;
	background: white;
	border-radius: 6px;
	margin-top: 0.5rem;
	width: 100%;
}

.ingredient {
	display: flex;
	align-items: center;
	margin-bottom: 0.5rem;
	width: 100%;
	margin-top: 4%
}

.ingredient img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 8px;
	margin-right: 1rem;
}

.infos {
	width: 40%;
	margin-right: 10%;
}

.form_recipe {
	width: 90%;
	background-color: rgba(255, 255, 255, 0.5);
	padding: 2.5rem;
	border-radius: 12px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.winner {
	background: white;
	border-radius: 8px;
	padding: 1rem;
	margin-bottom: 1.5rem;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	width: 100%;
}

.platz {
	font-weight: bold;
	font-size: 1.2em;
	color: darkgreen;
}

.avatar {
	float: right;
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 50%;
	margin-left: 1rem;
}

.ingredients-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1rem;
}

.ingredient-card {
	background: #fafafa;
	border-radius: 6px;
	padding: 0.5rem;
	width: 120px;
	text-align: center;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ingredient-card img {
	width: 100%;
	height: 80px;
	object-fit: cover;
	border-radius: 4px;
}

.ingredient-card .info {
	font-size: 0.9em;
	margin-top: 0.3rem;
}

.ingredient-card .info a {
	display: inline-block;
	margin-top: 1rem;
	color: #4a4b4c;
	text-decoration: none;
}

.score {
	margin-top: 0.5rem;
	font-size: 0.95em;
	color: #333;
}

.info-button {
	background: #d1d3d4;
	margin-bottom: 10px;
	border: 1px solid #1e1f20;
	color: #1f1f20;
	padding: 0.4rem 0.8rem;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.9em;
}
.msg { 
	background: #e0ffe0; 
	padding: 2rem; 
	border-radius: 10px; 
	display: inline-block; 
}


@media (max-width: 768px) {
	.container {
		margin: 0px;
		padding: 5%;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		background-color: rgba(255, 255, 255, 0.5);
		border-radius: 20px;
		box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
	}

	.buttons {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		text-align: center;
		font-size: 4vh;
		margin: 2vh;
		padding: 0.8rem 1.5rem;
		border: none;
		border-radius: 10px;
		background-color: rgba(119, 183, 186, 0.8);
		transition: background-color 0.2s ease;
		color: rgb(240, 240, 240);
		box-shadow: 0 0 0.1vw rgba(90, 90, 90, 0.2);
	}

	h1 {
		font-size: 8vh;
		color: rgb(44, 62, 80);
		text-shadow: 0.2vw 0.2vw rgb(150, 150, 150);
		margin: 1rem;
	}

	h2 {
		font-size: 6vh;
		color: rgb(44, 62, 80);
		text-shadow: 0.15vw 0.15vw rgb(150, 150, 150);
		margin: 1rem;
	}

	h3 {
		font-size: 4vh;
		color: rgb(44, 62, 80);
		text-shadow: 0.1vw 0.1vw rgb(150, 150, 150);
		margin: 1rem;
	}


}