html, body {
	height: 100%;        /* take full viewport height */
	margin: 0;           /* remove default margin */
}

body {
	min-height: 100vh;   /* at least 100% of viewport */
	display: flex;
	flex-direction: column;
}

.content-body {
	flex: 1;             /* expand to fill remaining space between header/footer */
}
header {
	/*background-color: #008080; /* Viridian Green */
	color: #fff;
	text-align: center;
	padding: 1em;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
	background: linear-gradient(135deg, #004d4d 0%, #008080 50%, #33cccc 100%);
}
header a,
footer a, 
header a:hover,
footer a:hover {
	color: #fff;
	text-decoration: none;
}
footer p{
	margin: 0;
	padding: 0;
}
nav {
	background-color: #333;
	color: #fff;
	padding: 1em .5em;
    text-align: center;
}
nav a,
nav a:hover {
	color: #fff;
	text-decoration: none;
	margin: 0 1em;
}
section {
	padding: 2em;
}
x-footer {
	background-color: #333;
	color: #fff;
	position: absolute;
	bottom: 0;
	text-align: center;
	padding: 6px;
	box-sizing: border-box;
	width: 100%;
	font-size: 12px;
}
/* Override old absolute footer */
footer.footer-links {
	position: static !important;   /* cancel absolute */
	bottom: auto !important;
	width: 100%;
	margin-top: auto;              /* stick to bottom on short pages */
	/* keep your existing styles */
	background-color: #333;
	color: #fff;
	text-align: center;
	padding: 8px;
	box-sizing: border-box;
	font-size: 12px;
}
.footer-links p{
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	align-items:center;
	gap:.2em;           /* small natural spacing */
	margin:0;
}

.footer-links .sep::before{ content:"•"; }
.footer-links .sep{ padding:0 .6em; }

/* ---------- Desktop (default order) ---------- */
.footer-links .terms   { order: 1; }
.footer-links .terms + .sep { order: 2; }

.footer-links .privacy { order: 3; }
.footer-links .privacy + .sep { order: 4; }

.footer-links .coc     { order: 5; }
.footer-links .coc + .sep { order: 6; }

.footer-links .photo   { order: 7; }
.footer-links .photo + .sep { order: 8; }

.footer-links .login   { order: 9; }
.footer-links .break   { display:none; }

/* ---------- Mobile: reorder + 2 lines ---------- */
@media (max-width:600px){
	/* First row: CoC • Photo • Login (no leading bullet) */
	.footer-links .coc           { order: 1; }
	.footer-links .coc + .sep    { order: 2; }
	.footer-links .photo         { order: 3; }
	.footer-links .photo + .sep  { order: 4; }
	.footer-links .login         { order: 5; }

	/* Force line break after first row */
	.footer-links .break{
		order: 6;
		display:block;
		flex-basis:100%;
		height:0;
	}

	/* Second row: Terms • Privacy (no leading bullet) */
	.footer-links .terms         { order: 7; }
	.footer-links .terms + .sep  { order: 8; }
	.footer-links .privacy       { order: 9; }

	/* Hide the separators that would dangle at the end of each row */
	.footer-links .login + .sep,
	.footer-links .privacy + .sep { display:none; }
}




.logged_in{
    background: #fbfab0;
    padding: 0.5em;
    text-align: right;
}
div.content-body{
	padding: 1em 1em 90px;
    max-width: 1000px;
    margin: auto;
}
div.event-list-item{
	padding: 0 1em 1em;
	display: inline-block;
}

/* Style for the cart */
#cart_icon{
	position: absolute;
    right: 7px;
    top: 46px;
    font-size: 30px;
}

/* Style for the cart */
#cart{
	display:none;
	position: absolute;
    right: 5px;
    background: #fff;
    color: #000;
    padding: 1em;
    border-radius: 10px;
    top: 84px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.1);
}
.clickable{
	cursor: pointer;
}

.content-body-footer {
	padding: 1em;
	padding: 1em;
}
.content-body-footer > div {
	width: 49%;
    display: inline-block;
    box-sizing: border-box;
    padding: 1em;
    vertical-align: text-top;
}

/*body {
	font-family: Arial, sans-serif;
	background-color: #f4f4f4;
	color: #333;
	margin: 0;
	padding: 0 0 90px;
}
header {
	background-color: #008080; /* Viridian Green *//*
	color: #fff;
	text-align: center;
	padding: 1em;
}
header a,
footer a {
	color: #fff;
	text-decoration: none;
}
nav {
	background-color: #333;
	color: #fff;
	padding: 1em .5em;
    text-align: center;
}
nav a {
	color: #fff;
	text-decoration: none;
	margin: 0 1em;
}
section {
	padding: 2em;
}
footer {
	background-color: #333;
	color: #fff;
	text-align: center;
	padding: 1em;
	position: fixed;
	bottom: 0;
	box-sizing: border-box;
	width: 100%;
}
.logged_in{
    background: #fbfab0;
    padding: 0.5em;
    text-align: right;
}
div.content-body{
	padding: 1em;
    max-width: 1000px;
    margin: auto;
}
div.event-list-item{
	padding: 0 1em 1em;
	display: inline-block;
}

#cart_icon{
	position: absolute;
    right: 5px;
    top: 76px;
}

#cart{
	display:none;
	position: absolute;
    right: 5px;
    background: #fff;
    color: #000;
    padding: 1em;
    border-radius: 10px;
    top: 100px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.1);
}

.content-body-footer {
	padding: 1em;
	padding: 1em;
}
.content-body-footer > div {
	width: 49%;
    display: inline-block;
    box-sizing: border-box;
    padding: 1em;
    vertical-align: text-top;
}
*/