body, html {
	margin: 0;
	padding: 0;
	font-family: 'Arial', sans-serif;
	background-color: #f0f0f0;
	color: #333;
}

.container {
	max-width: 1200px;
	margin: auto;
	padding: 100px 20px 20px 20px;
	display: flex;
	flex-direction: column;
}

.grid-table, .two-table, .single-column-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin: 10px;
	padding: 10px;
	background-color: #ffffff;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	border-radius: 5px;
}

.two-table {
	grid-template-columns: repeat(2, 1fr);
}

.single-column-grid {
	grid-template-columns: 1fr;
}

.flex-container {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 0px;
	border-radius: 5px;
	max-width: 1200px;
	
}

.item-row {
	display: flex;
	justify-content: space-between;
	padding: 10px;
	border-bottom: 1px solid #ccc;
}

.item-row:last-child {
	border-bottom: none;
}

.item-name {
	font-weight: bold;
	color: #333;
}

.item-value {
	text-align: right;
	font-size: 1em;
	color: #555;
	min-width: 28%;
}

.per-row {
	display: flex;
	justify-content: space-between;
	padding: 10px;
}

.per-value {
	text-align: right;
	font-size: 0.9em;
	color: #ccc;
	width: 100%;
}

.info-text {
	text-align: left;
	font-size: 1em;
	color: #555;
	width: 100%;
}

.full-width-table {
	margin: 20px;
	padding: 10px;
	background-color: #ffffff;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.full-width-content {
	padding: 20px;
	background-color: #fff;
	text-align: left;
	border: 0px solid #ccc;
}

ul, ol {
	margin: 0px;
	padding: 0 20px 0;
}

li {
  margin: 12px 0;
}
	
.recipe-section {
	padding: 10px;
	display: grid;
	grid-template-columns: 1fr; 
	gap: 20px;
}

.food-section {
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.food-section {
    max-width: 100%;
    margin: 0 auto;
	width: -webkit-fill-available;
}

.recipe-block, .food-block {
	background-color: #ffffff;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	margin: 10px 0;
	padding: 10px;
	border-radius: 5px;
	border: 1px solid #e0e0e0;
}

@media (min-width: 700px) {
	.grid-table {
		grid-template-columns: repeat(7, 1fr);
	}
	.flex-container {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1000px) {
	.grid-table {
		grid-template-columns: repeat(10, 1fr);
	}
	.two-table {
		grid-template-columns: repeat(2, 1fr);
	}
	.recipe-section {
		grid-template-columns: 1fr 1fr;
	}
}

.full-width-header {
	background-color: #333;
	color: white;
	padding: 10px;
	text-align: center;
	font-size: 1.2em;
	font-weight: bold;
	border-radius: 5px;
}

.grid-header {
    grid-column: 1 / -1;
    background-color: #333;
    color: white;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.seven-column-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 10px;
	margin: 10px 0 0 0;
}

.grid-cell, .cal-cell {
    background-color: #f4f4f4;
    border: 2px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    padding: 0px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cal-cell {
    border: 1px solid #ccc;
}

.grid-cell:hover,
.grid-cell a:focus {
    background-color: #e8e8e8;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    outline: none;
}

.cal-cell:hover,
.cal-cell a:focus {
    background-color: #e8e8e8;
    outline: none;
}

.grid-cell a, .cal-cell a {
    color: #007BFF;
    cursor: pointer;
    display: block;
    flex: 1;
    font-size: 1.5em;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

.cal-cell a {
    color: #333;
    font-size: 1.0em;
    padding: 6px;
}

.grid-cell.non-clickable {
    background-color: #fff;
    border: 0;
    color: #666;
    cursor: default;
}

.highlight {
	background-color: #FFD700;
}

.menulight {
	background-color: rgba(255,255,255,0.1);
	border: 1px solid #000;
	border-radius: 5px;
	color: #666;
}

.disabled {
	background-color: #fff;
	cursor: default;
	border: 0px solid #ccc;
	box-shadow: none;
}

header, footer {
	background: #333;
	color: #ccc;
	text-align: center;
	padding: 20px;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	box-shadow: 0 2px 4px rgba(0,0,0,0.3);
	max-width: 100%;
	margin: 0 auto;
	width: -webkit-fill-available;
}

header {
    background: #333;
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    position: fixed;
    min-height: 50px;
}

h1, h2 {
	font-family: 'Helvetica Neue', Arial, sans-serif;
	text-align: center;
	margin: 0px;
}

h2 { padding-top: 10px;}
h1 { font-size: 1.7em; padding: 0px 10px; /* flex-grow: 1; min-width: 0; margin: 0px 60px 0px 60px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; */}

#logo {
    margin-right: 20px;
}

#navbar a {
    color: white;
    text-decoration: none;
    padding: 10px;
    display: inline-block;
	font-size: 1.2em;
	border: 1px solid #000;
	border-radius: 5px;
}

.menu-button, .close-button {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
    display: block;
    visibility: hidden;
    pointer-events: none;
    z-index: 1003;
}

@media (max-width: 380px) {
    .menu-button, .close-button {
        display: block;
        visibility: visible;
        pointer-events: all;
    }

    .close-button {
        display: none;
    }

    #navbar a {
        display: none;
    }
}

#overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.9);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    transform: translateY(-100%);
    transition: transform 0.3s;
    z-index: 1002;
}

#overlay-menu.hidden {
    transform: translateY(-100%);
}

#overlay-menu.active {
    transform: translateY(0);
}

#overlay-menu a {
    color: white;
    text-decoration: none;
    padding: 10px;
    display: block;
}