/* Base variables */
:root {
	--system-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
	--serif-font: "Times New Roman", Times, serif;
	--mono-font: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, "Liberation Mono", monospace;
	--border-radius-large: 36px;
	--border-radius-medium: 24px;
	--border-radius-small: 16px;
	--color-background: #efece9;
	--color-text: rgb(30, 30, 30);
	--color-link: blue;
	--color-link-hover: rgb(30, 30, 30);
	--color-header-bg: rgb(251, 250, 248);
	--color-highlight: rgb(255, 255, 0);
	--spacing-xs: 12px;
	--spacing-sm: 16px;
	--spacing-md: 24px;
	--spacing-lg: 36px;
	--spacing-xl: 48px;
	--spacing-xxl: 64px;
	--spacing-xxxl: 96px;
  }
  
  /* Base styles */
  html {
	margin-left: calc(100vw - 100%);
	margin-right: 0;
	overflow-y: scroll;
  }
  
  body {
	background-color: var(--color-background);
  }
  
  /* Typography */
  h1 {
	font-family: var(--system-font);
	font-size: 48px;
	font-weight: normal;
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-align: left;
	padding-bottom: var(--spacing-sm);
  }
  @media only screen and (max-width: 900px) {
	h1 {
	  font-size: 32px;
	}
  }
  @media only screen and (max-width: 600px) {
	h1 {
	  font-size: 32px;
	}
  }
  
  h2 {
	font-family: var(--system-font);
	font-size: 38px;
	font-weight: 400;
	font-style: normal;
	padding-bottom: var(--spacing-sm);
  }
  @media only screen and (max-width: 900px) {
	h2 {
	  font-size: 28px;
	}
  }
  @media only screen and (max-width: 600px) {
	h2 {
	  font-family: sans-serif;
	  font-size: 18px;
	}
  }
  
  h3 {
	font-family: var(--mono-font);
	font-size: 14px;
	font-weight: 400;
	font-style: normal;
	padding: 2px 6px;
	margin-bottom: var(--spacing-xs);
	margin-top: var(--spacing-xs);
	display: inline-block;
	background-color: var(--color-highlight);
  }

  @media only screen and (max-width: 600px) {
	h3 {
	  font-size: 14px;
	}
  }
  
  p {
	font-family: var(--system-font);
	font-size: 21px;
	line-height: 1.55;
	text-align: left;
	padding-top: 0;
	padding-bottom: var(--spacing-lg);
	opacity: 0.85;

  }
  @media only screen and (max-width: 900px) {
	p {
	  font-size: 21px;
	}
  }
  @media only screen and (max-width: 600px) {
	p {
	  font-size: 18px;
	}
  }
  
  .bio {
	font-family: var(--mono-font);
	font-size: 14px;
	line-height: 1.5;
	text-align: left;
	padding: 0;
	padding-top: var(--spacing-sm);
	padding-bottom: var(--spacing-sm);
  }
  @media only screen and (max-width: 600px) {
	.bio {
	  font-size: 14px;
	  padding-bottom: var(--spacing-sm);
	  padding-top: var(--spacing-sm);
	}
  }
  
  /* Links */
  a {
	color: var(--color-link);
	font-size: 14px;
	font-family: var(--mono-font);
	line-height: 1.25;
  }
  a:hover {
	color: var(--color-link-hover);
  }
  @media only screen and (max-width: 600px) {
	a {
	  font-size: 14px;
	  padding-right: var(--spacing-md);
	}
  }
  
  a.inline {
	color: var(--color-link);
	font-size: 21px;
	padding-right: 0;
	font-family: var(--system-font);
  }
  a.inline:hover {
	color: black;
  }
  @media only screen and (max-width: 600px) {
	a.inline {
	  font-size: 18px;
	}
  }

  .share-link {
	color: var(--color-link);
	font-size: 14px;
  }

  .share-link a {
	color: var(--color-link);
	font-size: 14px;
  }

  .share-link a:hover {
	color: var(--color-text);
	background-color: var(--color-highlight);
	font-size: 14px;
  }
  
  /* Layout containers */
  .container {
	display: flex;
	justify-content: center;
	padding: var(--spacing-md) var(--spacing-xs);
  }
  @media only screen and (max-width: 600px) {
	.container {
	  padding: 0;
	}
  }
  
  .center {
	width: 720px;
  }
  @media only screen and (max-width: 900px) {
	.center {
	  width: 100%;
	  padding: var(--spacing-sm);
	}
  }
  @media only screen and (max-width: 600px) {
	.center {
	  width: 100%;
	  padding: var(--spacing-sm);
	}
  }
  
  .header-container {
	margin: 48 -8px 80px -8px;
	width: calc(100% + 16px);
	background-color: var(--color-header-bg);
	border-radius: var(--border-radius-medium);
	padding: var(--spacing-lg);
  }
  @media only screen and (max-width: 600px) {
	.header-container {
	margin: 0 0 48px 0;
	  width: 100%;
	  padding: var(--spacing-md);
	  border-radius: var(--border-radius-medium);
	}
  }
  
  .links-container {
	display: flex;
  }
  .links-container a {
	margin-right: var(--spacing-md);
  }
  .links-container a:last-child {
	margin-right: 0;
  }

  .back-to-top a {
	font-size: inherit;
	color: var(--color-text);
	text-decoration: underline;
  }
  
  /* Images and figures */
  img {
	width: 100%;
	height: auto;
	border-radius: var(--border-radius-medium);
  }
  @media only screen and (max-width: 600px) {
	img {
	  border-radius: var(--border-radius-medium);
	}
  }
  
  figure {
	width: 100%;
	height: auto;
	border-radius: var(--border-radius-medium);
	padding-bottom: var(--spacing-sm);
	padding-left: -12px;
	padding-right: -12px;
  }
  @media only screen and (max-width: 600px) {
	figure {
	  border-radius: var(--border-radius-small);
	  padding-bottom: var(--spacing-sm);
	  padding-left: 0;
	  padding-right: 0;
	}
  }
  
  figcaption {
	color: var(--color-text);
	padding-top: var(--spacing-xs);
	padding-bottom: var(--spacing-md);
	text-align: center;
	font-family: sans-serif;
	font-style: italic;
	font-size: 14px;
	text-indent: 0;
	line-height: 1.4;
	opacity: 0.85;
  }

  @media only screen and (max-width: 600px) {
	figcaption {
	  padding-top: var(--spacing-xs);
	  padding-bottom: var(--spacing-md);
	  font-size: 16px;
	}
  }
  
/* Flexbox layout */
.flex-container {
	display: flex;
	flex-wrap: wrap;
	gap: var(--spacing-lg);
  }
  @media only screen and (max-width: 600px) {
	.flex-container {
	  gap: var(--spacing-xs);
	}
  }
  
  .row {
	flex-grow: 1;      /* Allow items to grow */
	flex-shrink: 1;    /* Allow items to shrink */
	flex-basis: 0;     /* Start with 0 width and grow based on available space */
	min-width: calc(25% - (var(--spacing-lg) * 3/4)); /* Ensure max 4 items per row */
  }
  
  @media only screen and (max-width: 600px) {
	.row {
	  min-width: calc(50% - (var(--spacing-xs)/2)); /* 2 items per row on mobile */
	}
  }
  
  /* Ensure figure takes up full width of the row */
  .row figure {
	width: 100%;
  }
  
  /* Footer */
  .footerholder {
	background: none repeat scroll 0 0 transparent;
	bottom: 0;
	text-align: center;
	width: 100%;
  }
  
  .footer {
	background: none repeat scroll 0 0 transparent;
	height: 24px;
	margin: auto;
	width: 100%;
  }
  
  footer {
	font-family: var(--system-font);
	font-size: 18px;
  }
  
  /* Dividers */
  .divider {
	border: none;
	height: 1px;
	background-color: #000000;
	opacity: 0.2;
	margin: var(--spacing-xxl) 0;
  }
  @media only screen and (max-width: 600px) {
	.divider {
	  margin: var(--spacing-lg) 0;
	}
  }
  
  hr.solid {
	border: 1px solid #000000;
  }
  
  /* Video container */
  .video-responsive {
	overflow: hidden;
	padding-bottom: 56.25%;
	position: relative;
	height: 0;
	margin: 0 0 36px 0;
	border-radius: 	var(--border-radius-medium);
  }
  
  @media only screen and (max-width: 600px) {
	.video-responsive {
		overflow: hidden;
		position: relative;
		height: auto;
		margin: 0 0 16px 0;
		border-radius: 	var(--border-radius-medium);
	  }
  }

  .video-responsive iframe {
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	position: absolute;
  }
  
  /* Gallery */
  .gallerycontainer {
	position: relative;
	width: 100%;
	height: auto;
  }
  
  .thumbnail img {
	margin: 0 -18px 12px 0;
	width: 10%;
	border-radius: var(--border-radius-small);
	vertical-align: top;
  }
  
  .thumbnail:hover img {
	border-radius: 32px;
  }
  
  .thumbnail span {
	position: absolute;
	width: 75%;
	padding: 0;
	visibility: hidden;
	color: black;
	text-decoration: none;
  }
  
  .thumbnail span img {
	width: 100%;
	margin: 0;
	border-radius: var(--border-radius-large);
  }
  
  .thumbnail:hover span {
	visibility: visible;
	top: 100%;
	padding-top: var(--spacing-xs);
	left: 0;
	z-index: 50;
  }

  /* Generic Table Styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 48px 0;
	font-family: var(--mono-font);
	font-size: 14px;
	font-weight: bold;
}

.data-table th, 
.data-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

/* Right-align the values in the second column */
.data-table td:nth-child(2) {
    text-align: right;
}

.data-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.data-table tr:hover {
    background-color: #f5f5f5;
}

.data-table .total-row {
    font-weight: bold;
    background-color: #f9f9f9;
}

.data-table .item-name {
    font-weight: normal;
}

/* 
  Simple Arena Image Display - CSS Part
  Basic styling for the image display
*/

/* Container styling */
.arena-display {
	margin-bottom: var(--spacing-xl);
  }
  
  /* Frame with 4:3 aspect ratio */
  .arena-frame {
	position: relative;
	width: 100%;
	padding-bottom: 75%; /* 4:3 aspect ratio */
	background-color: var(--color-header-bg);
	border-radius: var(--border-radius-medium);
	margin-top: var(--spacing-md);
	overflow: hidden;
  }
  
  /* Image styling */
  .arena-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
  }
  
  /* Caption styling */
  .arena-caption {
	text-align: center;
	font-family: var(--mono-font);
	font-size: 14px;
	padding-top: var(--spacing-md);

  }

  @media screen and (max-width: 768px) {
	.arena-caption {
	  height: 40px;
	}
  }
