/* Reset and Base */
body {
    margin: 0;
    padding: 0;
    background-color: #111;
    color: #fff;
    font-family: Arial, sans-serif;
}

a {
	color: #ffffff; !important
	}
	
a:hover {
	color: #41a7e4; !important
	}

/* Header */
.header {
    background-color: #000;
    width: 100%;
}

.header-container {
    max-width: 1350px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 10px 15px;
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.header h1 {
    margin: 0;
    font-size: 1.5em;
    text-align: center;
}

.back-button {
    margin-left: auto;
    font-size: 0.9em;
    background: #222;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.back-button:hover {
    background: #444;
}

/* Main Content */
.main {
    max-width: 1350px;
    margin: 20px auto;
    padding: 0 15px;
}

.divider {
  display: flow-root;
  padding: 3em;
  margin: 4em 0;
  background-color: rgba(0, 0, 0, .2);
  border: solid rgba(0, 0, 0, .3);
    border-top-width: medium;
    border-right-width: medium;
    border-bottom-width: medium;
    border-left-width: medium;
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .2), inset 0 .125em .5em rgba(0, 0, 0, .3);
}

.divider p {
	font-size: 1.3em;
	}

.section {
    margin-bottom: 40px;
}

.section h2 {
    margin: 0 0 10px;
    font-size: 1.3em;
}

.section p {
    margin: 0;
    line-height: 1.5;
}

.full-width-img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.float-img {
	float: left;
	max-width: 20vw;
	margin-right: 40px;
}

/* Two Columns */
.columns {
    display: flex;
    gap: 20px;
}

.column {
    flex: 1;
}

.column h2 {
    margin: 0 0 15px;
    font-size: 1.3em;
}

.art-img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.art-credit {
    margin-bottom: 15px;
}

.art-credit p {
    margin: 5px 0 0;
    font-size: 0.9em;
    line-height: 1.4;
}

/* Holocards */

.holographic-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 85vh;
}

.holographic-card {
  width: 200px;
  height: 600px;
  background: #111;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: all 0.5s ease;
}

.holographic-card h2 {
  color: #fff;
  font-size: 2rem;
  position: relative;
  z-index: 2;
}

.holographic-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg, 
    transparent, 
    transparent 30%, 
    rgba(65,167,228,0.3)
  );
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.holographic-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(65,167,228,0.5);
}

.holographic-card:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.link-card {
  background-size: cover;
  background-position: center;
  text-decoration: none;
}

/* --- Lightbox Gallery Thumbnails --- */
.lightbox-gallery {
    display: flex;
    gap: 15px; /* Space between the 3 images */
    margin-bottom: 20px;
}

.thumb-link {
    flex: 1; /* Makes all 3 images take up equal width */
    aspect-ratio: 1 / 1; /* Change this to 1/1 for squares, 4/3 for rectangles, etc. */
	object-fit: cover;
	object-position: left; !important
    overflow: hidden;
    display: block;
}

.thumb-link img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Automatically crops the image to fill the aspect-ratio box */
    display: block;
    transition: opacity 0.2s ease;
}

.thumb-link:hover img {
    opacity: 0.7; /* Gentle feedback that it is clickable */
}

/* --- Fullscreen Lightbox Container --- */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9); /* Dark background */
    z-index: 9999; /* Ensures it sits on top of everything including your header */
    justify-content: center;
    align-items: center;
}

/* Activates the lightbox when the anchor tag is clicked */
.lightbox:target {
    display: flex; 
}

/* --- The "Click Outside to Close" Area --- */
.lightbox-close {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: default; /* Keeps a standard pointer when hovering the dark background */
}

/* --- The Enlarged Image --- */
.lightbox img {
    position: relative;
    z-index: 2; /* Keeps the image above the closing background */
    max-width: 90vw; /* Leaves a 5vw gap on the left and right, preventing horizontal scroll */
    max-height: 90vh; /* Leaves a 5vh gap on the top and bottom */
    object-fit: contain; /* Ensures the entire image fits inside the bounds without stretching */
    box-shadow: 0 0 30px rgba(0,0,0,0.8); /* Optional: Gives the image a little depth */
}