body {margin: 0;	}
* {box-sizing: border-box;}
html {scroll-behavior: smooth;}


/* ============== Scroll-Up Button ============== */
#myUpBtn {
	display: none;
	border: 3px solid #666;
	position: fixed;
	bottom: 15px;
	right: 15px;
	z-index: 999;
	font-size: 1.6em;
	font-weight: 300;
	outline: none;
	background-color: #ddd;
	color: #666;
	border: 3px solid Orange;
	border-radius: 5px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15), 0 6px 20px 0 rgba(0, 0, 0, 0.14);
	cursor: pointer;
	padding-top: 0px;
	padding-bottom: 3px;
	padding-left: 12px;
	padding-right: 12px;
}

/* Meal Table Container */
#mealplanContainer {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

/* Meal Table Styling */
.meal-table {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    border-collapse: collapse;
    font-family: 'Literata', serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.meal-table th {
    background-color: #fdf4e3; /* Light orange */
    color: #555;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    text-align: left;
    padding-left: 12px;
    padding-top: 6px;
    padding-bottom: 6px;
    border: 1px solid #333;
}

.meal-table td {
    font-size: 16px;
    color: #333;
    padding: 10px;
    border: 1px solid #333;
    vertical-align: top;
}

.meal-table img {
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    max-width: 100px;
    height: auto;
}

/* Input Row for Start Date and Button */
.meal-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 700px;
    margin: 20px auto;
}

.meal-controls label {
    font-size: 16px;
    color: #555;
    margin-right: 10px;
    font-family: 'Oswald', sans-serif;
}

.meal-controls input[type="date"] {
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    flex: 1;
    margin-right: 10px;
}

.meal-controls button {
    padding: 10px 20px;
    background-color: #f9b256; /* Light orange */
    color: #555;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.meal-controls button:hover {
    background-color: #e57e25; /* Darker orange */
    color: #fff;
}

/* ============================== Handy Auflösung =============================*/
@media screen and (max-width: 800px){

	/* Header */
	h1 {
		color: #fff;  
		font-family: Literata; 
		font-size: 1.9em; 
		font-weight: 600;
		text-align: center;
		margin-top: -5px;
		margin-bottom: 2px;
		padding-bottom: 10px;
		padding-top: 15px;
		opacity: 1.0; 
		text-shadow: 2px 2px 8px #777;
		background-color: #bbb;
	}

	/* Navigation */
	.topnav {
		background-color: #666;
		overflow: hidden;
		margin-bottom: 20px;
	}
	.topnav a {
		float: left;
		display: block;
		font-family: Literata; 
		text-align: center;
		padding: 8px 10px;
		text-decoration: none;
		font-size: 16px;
		color: #fff;
	}
	.topnav a:hover {
		background-color: #ddd;
		color: #000;
	}
	.topnav  .active {
		background-color: orange;
		color: #fff;
	}
	.topnav .icon {
		display: none;
		color: #fff;
	}
	.topnav a:link {
		color: #fff;
	}
	.topnav a:hover a:link {
		color: #000;
	}
	.topnav a {display: none;}
	.topnav a.icon {
		float: right;
		display: block;
	}
	.topnav.responsive {position: relative;}
	.topnav.responsive .icon {
		position: absolute;
		right: 0;
		top: 0;
	}
	.topnav.responsive a {
		float: none;
		display: block;
		text-align: left;
		color: #fff;
	}
	.topnav.responsive.  icon:hover {
		background-color: orange;
		color: #000;
	}
	.topnav.responsive a:hover {
		color: #000;
	}


	/* ----------- Tiles ----------- */
	.tiles {
		margin-left: 10px;
		margin-right: 10px;
		padding-top: 10px;
		column-count: 1;
		column-gap: 30px;
		height: auto;
	}
	.tile_general {
		page-break-inside: avoid;
		margin-bottom: 15px;
		border: 1px solid #ccc;
		padding: 0px;
		box-shadow: 2px 4px 8px 4px rgba(0, 0, 0, 0.07), 0 6px 20px 0 rgba(0, 0, 0, 0.05);
		height: 122px;
	}
	.img-box{
		page-break-inside: avoid;
		box-sizing: border-box;
		width: 130px;
		padding-right: 0px;
		padding-top: 0px;
		float: left;
	}
	.tile-img{
		width: 120px;
		height: 120px;
		margin-right: 10px;
	}
	.credit {
		position: relative;
		color: #888;
		font-family: Arial;
		font-size: 9px;
		text-shadow: 2px 3px 4px 2px rgba(0, 0, 0, 1);
		width: 180px;
		margin-left: 130px;
		margin-top: -21px;
		z-index: 9;
	}
	.txt-box{
		page-break-inside: avoid;
		box-sizing: border-box;
		height: 120px;
		width: auto;
	}
	.question {
		color: #777;  
		font-family: Oswald; 
		font-size: 17px; 
		line-height: 18px;
		font-weight: 300;
		text-align: left;
		padding-top: 7px;
		padding-bottom: 5px;
		padding-right: 5px;
	}
	.description {
		color: #666;  
		font-family: Literata; 
		font-size: 13px; 
		line-height: 14px; 
		font-weight: 300;
		text-align: left;
		padding-top: 5px;
		padding-bottom: 70px;
		padding-right: 5px;
	}	
	a:link {
		color: #777;
		text-decoration: none;
	}
	
	a:hover {
		color: red;
		background-color: transparent;
	}
	
	a:active {
		color: red;
		background-color: transparent;
	}
		
	a:visited {
		color: #c00;
		background-color: transparent;
	}	

	/* ============= Meal Table Styling ============= */

	h2 {
		color: #777;  
		font-family: Literata; 
		font-size: 1.5em; 
		text-align: center;
		margin-top: 0px;
		margin-bottom: 0px;
	}

    .meal-controls {
        flex-direction: column;
        gap: 10px;
        width: 95%;
   }

    .meal-table {
        width: 95%;
    }

    .meal-table th,
    .meal-table td {
        font-size: 14px;
        padding: 8px;
    }

    .meal-controls button {
		width: 60%
	}
    .meal-controls input[type="date"] {
        font-size: 14px;
        width: 60%;
		margin-left: 10px;
    }
	.label1 {
        display: none; /* Hides the label */
    }
}


/* ============================== Tablet Auflösung =============================*/
@media screen and (min-width: 801px) and (max-width: 1300px){
	/* Header */
	h1 {
		color: #fff;  
		font-family: Literata; 
		font-size: 3.7em; 
		font-weight: 600;
		text-align: center;
		margin-top: -5px;
		margin-bottom: 2px;
		padding-bottom: 20px;
		padding-top: 10px;
		opacity: 1.0; 
		text-shadow: 2px 2px 8px #777;
		background-color: #bbb;
	}

	/* Navigation */
	.topnav {
		background-color: #666;
		overflow: hidden;
		margin-bottom: 20px;
	}
	.topnav a {
		float: left;
		display: block;
		font-family: Literata; 
		text-align: center;
		padding: 8px 10px;
		text-decoration: none;
		font-size: 16px;
		color: #fff;
	}
	.topnav a:hover {
		background-color: #ddd;
		color: #000;
	}
	.topnav  .active {
		background-color: orange;
		color: #fff;
	}
	.topnav .icon {
		display: none;
		color: #fff;
	}
	.topnav a:link {
		color: #fff;
	}
	.topnav a:hover a:link {
		color: #000;
	}
	.topnav a:link {
		color: #fff;
		text-decoration: none;
	}
	.topnav a:hover {
		color: #fff;
		background-color: orange;
	}
	.topnav a:active {
		color: #fff;
		background-color: transparent;
	}
	.topnav a:visited {
		color: #fff;
		background-color: transparent;
	}

	/* ----------- Tiles ----------- */
	.tiles {
		margin-left: 10px;
		margin-right: 10px;
		padding-top: 10px;
		column-count: 2;
		column-gap: 30px;
		height: auto;
	}
	.tile_general {
		page-break-inside: avoid;
		margin-bottom: 25px;
		border: 1px solid #ccc;
		padding: 0px;
		box-shadow: 2px 4px 8px 4px rgba(0, 0, 0, 0.07), 0 6px 20px 0 rgba(0, 0, 0, 0.05);
		height: 122px;
	}
	.img-box{
		page-break-inside: avoid;
		box-sizing: border-box;
		width: 130px;
		padding-right: 0px;
		padding-top: 0px;
		float: left;
		}
	.tile-img{
		width: 120px;
		height: 120px;
		margin-right: 10px;
		}
	.credit {
		position: relative;
		color: #888;
		font-family: Arial;
		font-size: 9px;
		text-shadow: 2px 3px 4px 2px rgba(0, 0, 0, 1);
		width: 180px;
		margin-left: 130px;
		margin-top: -21px;
		z-index: 9;
		}
	.txt-box{
		page-break-inside: avoid;
		box-sizing: border-box;
		height: 120px;
		width: auto;
		/*background-color: powderblue;*/
		}
	.question {
		color: #777;  
		font-family: Oswald; 
		font-size: 18px; 
		line-height: 20px;
		font-weight: 300;
		text-align: left;
		padding-top: 7px;
		padding-bottom: 5px;
	}
	.description {
		color: #666;  
		font-family: Literata; 
		font-size: 13px; 
		line-height: 14px; 
		font-weight: 300;
		text-align: left;
		padding-top: 5px;
		padding-bottom: 70px;
	}
	a:link {
		color: #777;
		text-decoration: none;
	}
	a:hover {
		color: red;
		background-color: transparent;
	}
	a:active {
		color: red;
		background-color: transparent;
	}
	a:visited {
		color: #c00;
		background-color: transparent;
	}	

	/* ============= Meal Table Styling ============= */

	h2 {
		color: #777;  
		font-family: Literata; 
		font-size: 1.5em; 
		text-align: center;
		margin-top: 0px;
		margin-bottom: 0px;
	}
    .meal-controls {
        max-width: 80%;
    }

    .meal-table {
        width: 80%;
    }	
}

/* ===================================== Small PC Auflöstung ===================================== */
@media screen and (min-width: 1301px)and (max-width: 1500px){
	/* Header */
	h1 {
		color: #fff;  
		font-family: Literata; 
		font-size: 4.1em; 
		font-weight: 600;
		text-align: center;
		margin-top: -5px;
		margin-bottom: 2px;
		padding-bottom: 20px;
		padding-top: 10px;
		opacity: 1.0; 
		text-shadow: 2px 2px 8px #777;
		background-color: #bbb;
	}

	/* Navigation */
	.topnav {
		background-color: #666;
		overflow: hidden;
		margin-bottom: 20px;
	}

	.topnav a {
		float: left;
		display: block;
		font-family: Literata; 
		text-align: center;
		padding: 8px 10px;
		text-decoration: none;
		font-size: 16px;
		color: #fff;
	}
	.topnav a:hover {
		background-color: #ddd;
		color: #000;
	}
	.topnav  .active {
		background-color: orange;
		color: #fff;
	}
	.topnav .icon {
		display: none;
		color: #fff;
	}
	.topnav a:link {
		color: #fff;
	}
	.topnav a:hover a:link {
		color: #000;
	}
	.topnav a:link {
		color: #fff;
		text-decoration: none;
	}
	.topnav a:hover {
		color: #fff;
		background-color: orange;
	}
	.topnav a:active {
		color: #fff;
		background-color: transparent;
	}
	.topnav a:visited {
		color: #fff;
		background-color: transparent;
	}


	/* ----------- Tiles ----------- */
	.tiles {
		margin-left: 20px;
		margin-right: 20px;
		padding-top: 10px;
		column-count: 3;
		column-gap: 30px;
		height: auto;
	}
	.tile_general {
		page-break-inside: avoid;
		margin-bottom: 25px;
		border: 1px solid #ccc;
		padding: 0px;
		box-shadow: 2px 4px 8px 4px rgba(0, 0, 0, 0.07), 0 6px 20px 0 rgba(0, 0, 0, 0.05);
		height: 122px;
	}
	.img-box{
		page-break-inside: avoid;
		box-sizing: border-box;
		width: 130px;
		padding-right: 0px;
		padding-top: 0px;
		float: left;
	}
	.tile-img{
		width: 120px;
		height: 120px;
		margin-right: 10px;
	}
	.credit {
		position: relative;
		color: #888;
		font-family: Arial;
		font-size: 9px;
		text-shadow: 2px 3px 4px 2px rgba(0, 0, 0, 1);
		width: 210px;
		margin-left: 130px;
		margin-top: -19px;
		z-index: 9;
	}
	.txt-box{
		page-break-inside: avoid;
		box-sizing: border-box;
		height: 120px;
		width: auto;
		/*background-color: powderblue;*/
	}
	.question {
		color: #666;  
		font-family: Oswald; 
		font-size: 22px; 
		line-height: 24px;
		font-weight: 300;
		text-align: left;
		padding-top: 5px;
		padding-bottom: 7px;
		padding-right: 5px;
	}
	.description {
		color: #666;  
		font-family: Literata; 
		font-size: 16px; 
		line-height: 17px; 
		font-weight: 300;
		text-align: left;
		padding-top: 5px;
		padding-bottom: 0px;
		padding-right: 5px;
	}

	a:link {
		color: #777;
		text-decoration: none;
	}
	a:hover {
		color: red;
		background-color: transparent;
	}
	a:active {
		color: red;
		background-color: transparent;
	}
	a:visited {
		color: #c00;
		background-color: transparent;
	}

	/* ============= Meal Table Styling ============= */

	h2 {
		color: #777;  
		font-family: Literata; 
		font-size: 1.5em; 
		text-align: center;
		margin-top: 0px;
		margin-bottom: 0px;
	}

	.meal-controls {
        max-width: 800px;
    }

    .meal-table {
        max-width: 800px;
    }
	
}

/* ===================================== PC Auflöstung ===================================== */
@media screen and (min-width: 1501px){
	/* Header */
	h1 {
		color: #fff;  
		font-family: Literata; 
		font-size: 4.1em; 
		font-weight: 600;
		text-align: center;
		margin-top: -5px;
		margin-bottom: 2px;
		padding-bottom: 20px;
		padding-top: 10px;
		opacity: 1.0; 
		text-shadow: 2px 2px 8px #777;
		background-color: #bbb;
	}

	/* Navigation */
	.topnav {
		background-color: #666;
		overflow: hidden;
		margin-bottom: 20px;
	}

	.topnav a {
		float: left;
		display: block;
		font-family: Literata; 
		text-align: center;
		padding: 8px 10px;
		text-decoration: none;
		font-size: 16px;
		color: #fff;
	}
	.topnav a:hover {
		background-color: #ddd;
		color: #000;
	}
	.topnav  .active {
		background-color: orange;
		color: #fff;
	}
	.topnav .icon {
		display: none;
		color: #fff;
	}
	.topnav a:link {
		color: #fff;
	}
	.topnav a:hover a:link {
		color: #000;
	}
	.topnav a:link {
		color: #fff;
		text-decoration: none;
	}
	.topnav a:hover {
		color: #fff;
		background-color: orange;
	}
	.topnav a:active {
		color: #fff;
		background-color: transparent;
	}
	.topnav a:visited {
		color: #fff;
		background-color: transparent;
	}


	/* ----------- Tiles ----------- */
	.tiles {
		margin-left: 10%;
		margin-right: 10%;
		padding-top: 10px;
		column-count: 3;
		column-gap: 30px;
		height: auto;
	}
	.tile_general {
		page-break-inside: avoid;
		margin-bottom: 25px;
		border: 1px solid #ccc;
		padding: 0px;
		box-shadow: 2px 4px 8px 4px rgba(0, 0, 0, 0.07), 0 6px 20px 0 rgba(0, 0, 0, 0.05);
		height: 122px;
	}
	.img-box{
		page-break-inside: avoid;
		box-sizing: border-box;
		width: 120px;
		padding-right: 00px;
		padding-top: 0px;
		float: left;
	}
	.tile-img{
		width: 120px;
		height: 120px;
		padding-right: 10px;
	}
	.credit {
		position: relative;
		color: #888;
		font-family: Arial;
		font-size: 9px;
		text-shadow: 2px 3px 4px 2px rgba(0, 0, 0, 1);
		width: 210px;
		margin-left: 120px;
		margin-top: -19px;
		z-index: 9;
	}
	.txt-box{
		page-break-inside: avoid;
		box-sizing: border-box;
		height: 120px;
		width: auto;
		/*background-color: powderblue;*/
	}
	.question {
		color: #666;  
		font-family: Oswald; 
		font-size: 22px; 
		line-height: 24px;
		font-weight: 300;
		text-align: left;
		padding-top: 5px;
		padding-bottom: 7px;
		padding-right: 5px;
	}
	.description {
		color: #666;  
		font-family: Literata; 
		font-size: 16px; 
		line-height: 17px; 
		font-weight: 300;
		text-align: left;
		padding-top: 5px;
		padding-bottom: 0px;
		padding-right: 5px;
	}

	a:link {
		color: #777;
		text-decoration: none;
	}
	a:hover {
		color: red;
		background-color: transparent;
	}
	a:active {
		color: red;
		background-color: transparent;
	}
	a:visited {
		color: #c00;
		background-color: transparent;
	}	


	/* ============= Meal Table Styling ============= */

	h2 {
		color: #777;  
		font-family: Literata; 
		font-size: 1.5em; 
		text-align: center;
		margin-top: 0px;
		margin-bottom: 0px;
	}
    .meal-table {
        max-width: 700px;
    }
	
		
	.input-row {
        flex-direction: row;
        justify-content: space-between;
        max-width: 600px;
    }

    .input-row input[type="date"],
    .input-row button {
        font-size: 16px;
    }

    table {
        max-width: 600px;
        font-size: 16px;
    }

    th {
        font-size: 18px;
        padding: 12px;
    }

    td {
        font-size: 16px;
        padding: 12px;
    }

    img {
        max-width: 120px;
    }

}
