:root {
	--accent: #0077cc;
  }

body {
	font-family: sans-serif;
	max-width: 900px;
	margin: 0 auto;
	padding: 40px 20px;
	line-height: 1.6;
	font-family: sans-serif; /* or 'Playfair Display', or 'Roboto Slab' */
  }

  body {
	opacity: 0;
	transition: opacity 0.6s ease;
  }
  
  body.loaded {
	opacity: 1;
  }
  

h1, h2, h3{
	font-family: "DM Sans", sans-serif;
}

a {
	cursor: pointer;
  }

  nav a:hover,
.project a:hover .title-text,
.contact-info a:hover {
  color: var(--accent);
}

  nav {
	margin-bottom: 40px;
	border-bottom: 1px solid #ccc;
	padding-bottom: 10px;
  }

  nav a {
	margin-right: 20px;
	text-decoration: none;
	color: #333;
	font-weight: bold;
	position: relative;
  }

  nav a:hover{
	text-decoration: none;
  }

  nav a::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	background: currentColor;
	left: 0;
	bottom: -2px;
	transition: width 0.3s ease;
  }
  
  nav a:hover::after {
	width: 100%;
  }

  img.headshot {
	float: right;
	margin-left: 20px;
	width: 40%;
	max-width: 400px;
	border-radius: 10px;
  }

  .portfolio-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
  }

  .project {
	border: 1px solid #ddd;
	padding: 20px;
	border-radius: 10px;
	background-color: #f9f9f9;
	max-width: 800px;
	transition: all 0.2s ease;
  }

  .project:hover {
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
	transform: translateY(-4px);
	transform: scale(1.01);
	transition: all 0.2s ease;
	}


  .project iframe {
	width: 100%;
	height: 315px;
	border: none;
	border-radius: 5px;
	margin-bottom: 15px;
  }

  .project h3 {
	margin-top: 0;
	margin-bottom: 5px;
  }

  .project .meta {
	font-size: 0.95em;
	color: #555;
	margin-bottom: 10px;
  }

  .project a {
	text-decoration: none;
	color: inherit;
	display: block;
  }

.video-container {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	height: 0;
	overflow: hidden;
	border-radius: 5px;
	margin-bottom: 15px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-container img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.project a:hover .title-text {
	text-decoration: underline;
}

.year {
	font-weight: normal;
	font-size: 0.9em;
	color: #777;
	margin-left: 8px;
	text-decoration: none !important; /* <- forces no underline */
}

.project img {
	width: 100%;
	border-radius: 5px;
	margin-bottom: 15px;
  }

  .portfolio-grid {
	display: grid;
	gap: 40px;
  }
  
  /* One column for films */
  .film-grid {
	grid-template-columns: 1fr;
  }
  
  /* Two responsive columns for games */
  .game-grid {
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }

  .contact-info {
	font-size: 1rem;
  }

  .contact-info a {
	color: #0077cc;
	text-decoration: none;
  }

  .contact-info a:hover {
	text-decoration: underline;
  }

  .pdf-embed {
	width: 100%;
	height: 800px;
	border: none;
	border-radius: 8px;
  }

  .download-link {
	margin-top: 10px;
	font-size: 0.95em;
  }

  .download-link a {
	color: #0077cc;
	text-decoration: none;
  }

  .download-link a:hover {
	text-decoration: underline;
  }

  .featured-tag {
	display: inline-block;
	background-color: gold;
	color: black;
	font-size: 0.8rem;
	font-weight: bold;
	padding: 2px 6px;
	border-radius: 4px;
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
  }
  .coming-soon-tag {
	display: inline-block;
	background-color: #ccc;
	color: #333;
	font-size: 0.8rem;
	font-weight: bold;
	padding: 2px 6px;
	border-radius: 4px;
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
  }
  .not-recommended-tag {
	display: inline-block;
	background-color: #f44336; /* Danger red */
	color: white;
	font-size: 0.8rem;
	font-weight: bold;
	padding: 2px 6px;
	border-radius: 4px;
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
  }

  .multiplayer-tag {
	display: inline-block;
	background-color: #4caf50; /* Green - positive, active */
	color: white;
	font-size: 0.8rem;
	font-weight: bold;
	padding: 2px 6px;
	border-radius: 4px;
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
  }
  .second-place-tag {
	display: inline-block;
	background-color: #b0bec5; /* Steel gray/silver vibe */
	color: #000;
	font-size: 0.8rem;
	font-weight: bold;
	padding: 2px 6px;
	border-radius: 4px;
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
  }
  .top-percent-tag {
	display: inline-block;
	background-color: #ffd700; /* Gold */
	color: #000;
	font-size: 0.8rem;
	font-weight: bold;
	padding: 2px 6px;
	border-radius: 4px;
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
  }
  .top-ten-tag {
	display: inline-block;
	background-color: #ffca28; /* Gold-ish yellow */
	color: #000;
	font-size: 0.8rem;
	font-weight: bold;
	padding: 2px 6px;
	border-radius: 4px;
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
  }
  .difficult-tag {
	display: inline-block;
	background-color: #d32f2f; /* Bold danger red */
	color: white;
	font-size: 0.8rem;
	font-weight: bold;
	padding: 2px 6px;
	border-radius: 4px;
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
  }
  .recent-tag {
	display: inline-block;
	background-color: #4db6ac; /* Teal-ish for freshness */
	color: white;
	font-size: 0.8rem;
	font-weight: bold;
	padding: 2px 6px;
	border-radius: 4px;
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
  }
  .not-found {
	text-align: center;
	margin-top: 100px;
  }
  