/* start light mode styling */
	:root {
		--text: white;
		--border: #FFA936;
		--accent: #FEE262;
		--bg: #464678;
		--gradientTop:  #9A6390;;
		--gradientBottom:  #9A6390;;
	}
	header {
		background: url('***light mode banner image***');
	}
/* end light mode styling */
  /* ...existing code... */
@font-face {
  font-family: 'DungeonChunkMono';
  src: url('DungeonChunkMono.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
/* ...existing code... */

/* start dark mode styling */
	@media (prefers-color-scheme: dark) {
		:root {
			--text: white;
			--border: #FFA936;
			--accent: #FEE262;
			--bg: #464678;
			a:link { color: #FFA936; }
		}
		header {
			background: url('header.png');
		}
	}
/* end dark mode styling */


* { 
	box-sizing: border-box;
}
body {
	padding: 10px;
	font-family: 'Inconsolata', monospace;
	color: var(--text);
  background: url('background.png') center center /cover repeat;
	cursor: auto;
}

.container {
	max-width: 55rem;
	margin: 5vw auto 12px auto;
	border: 6px ridge var(--border);
	outline: 3px solid var(--gradientTop);
	outline-offset: 4px;
	border-radius: 10px;
	display: flex;
	flex-wrap: wrap;
	padding: 5px;
	gap: 5px;

	/* container background pattern */
	background-color: var(--gradientBottom);
	/* background-color: transparent; */
	background-image:  repeating-radial-gradient( var(--bg), var(--bg));
}
/* these control the column widths */
.small { flex: 1 1 9%; }
.large { flex: 1 1 82%; }
.full { flex: 1 1 100%; }
.half { flex: 1 1 49%; }
.half-main { flex: 1 1 49%; }

.half-main {
	background: #9A6390;
}
header {
	background-size: cover;
	background-position: 100% 41%;
	width: 100%;
	height: 120px; /* change banner height here*/
	border: 2px ridge var(--border);
	border-radius: 5px;
	position: relative;
}
header span {
	font-family: 'DungeonChunkMono', monospace;
	font-size: 3rem;
	position: absolute;
	bottom: 0;
	right: 10px;
	margin: 10px;
	font-weight: bold;
	text-shadow: 1px 1px var(--bg),
		0px 0px 8px var(--border),
		1px 1px 2px var(--bg),
		-1px -1px 2px var(--border);
	color: var(--text);
	letter-spacing: 2px;
}

nav {
	border: 2px ridge var(--border);
	border-radius: 5px;
	padding: 5px;
	background: #464678;
  
	
}
nav div {
	
	font-size: 1.25em;
	margin: 5px 5px 10px 5px;
}
nav a {
	background: none;
  
  display: block;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0;
  border: none;
  border-radius: 0;
  transition: color 0.2s, text-decoration 0.2s;
  margin-bottom: 0.4em;
	
}
nav a:hover,
nav a:focus {
  text-decoration: underline;
  color: var(--accent); /* or a different color if you want */
  background: none;
 
}
nav a:last-child{
  margin-bottom: 0;
}
.nav-icon {
  vertical-align: middle;
  height: 1em;
  width: auto;
  margin-left: 0.4em;
  display: inline-block;
}
/* optional button styling like in the preview */
div.small > img {
	display: block;
	margin: 5px auto;
	border:2px ridge var(--border);
	border-radius: 5px;
}

div h3 {
	text-align: center;
	margin-bottom: 10px;
}

section {
	border: 2px ridge var(--border);
	border-radius: 5px;
	background: transparent;
	padding: 5px;
}

.arrow-img {
  width: 32px;   /* or whatever size you want */
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.12));
  pointer-events: none;

}
.carousel-btn {
  display: flex;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  width: auto;
  height: auto;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: none;
}

.chunky-heading {
  font-family: 'DungeonChunkMono', monospace;
  letter-spacing: 0.8px;
  font-weight:normal;
  font-size: 1.3rem;
}

footer {
	text-align: center;
	margin-bottom: 5vw;
	font-size: 0.8rem;
}
footer a { 
	text-decoration: none;
}


h1, h2, h3, h4, h5, h6, p  { 
	margin: 5px;
	line-height: 1.2;
}
h1 { 
	font-size: 2.0rem;
	letter-spacing: 2px;
	font-weight: 900;
	text-align: center;
	border-bottom: 2px ridge var(--border);
	padding-bottom: 5px;
}
h2 { 
	font-size: 1.25rem;
	font-weight: 500;
	text-align: center;
}
h3 { 
	font-size: 1.4rem;
}
h4 { 
	font-size: 1rem;
	color: var(--accent);
	padding-left: 12px;
}

/* prevents overflow on smaller screens */
img { max-width: 100%; }
pre { overflow-x: auto; }

a:visited {
	color: var(--accent);
}

.life-updates {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.life-updates li {
  margin-bottom: 1em;
  font-size: 1rem;
  line-height: 1.4;
}

.life-updates .date {
  font-weight: bold;
  color: var(--accent);
  font-size: 0.95em;
}

.project-card {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  background: rgba(70, 70, 120, 0.7);
  border: 2px ridge var(--border);
  border-radius: 10px;
  margin: 1.5em 0;
  padding: 1em;
  gap: 1.5em;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.08);
}

.project-image {
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 300px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-image img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.10);
  display: block;
  max-width: 100%;
  border-radius: 8px;
  margin: 0 auto 1em auto;
}

.project-content {
  padding-left: 0;
  flex: 2 1 320px;
  min-width: 220px;
}

.project-tech {
  margin-left: 0em;
  font-size: 1em;
  color: #fff;
}

.project-links a {
  display: inline-block;
  margin-right: 0.5em;
  color: var(--accent);
  background: rgba(255,255,255,0.08);
  padding: 0.3em 0.9em;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.project-links a:last-child {
  margin-right: 0;
}

.project-links a:hover {
  background: var(--accent);
  color: #222;
}

.project-title {
  margin: 0;
  font-size: 1.5rem;
  color: var(--accent);
  letter-spacing: 1px;
  flex: 1 1 auto;
  text-align: left;
}

.project-description {
  margin-bottom: 0.5em;
  margin-left: 0em;
}

.project-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
  flex-wrap: wrap;
  margin-left: 0;
}

.intro-flex {
  display: flex;
  align-items: flex-start;
  gap: 1.5em;
  padding: 0 1em;
}

.my-photo {
  width: 300px;      /* Adjust as needed */
  height: 120px;     /* Adjust as needed */
  object-fit: cover;
  flex-shrink: 0;
  
}
.my-photo-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}
.my-photo-caption {
  font-size: 0.75em;
  color: var(--accent);
  margin-top: 0.5em;
  text-align: center;
}
.full > h2 {
  font-size: 1.7rem;   /* Slightly smaller than .project-title (1.5rem) */
  text-align: center;
  color: var(--text);
  letter-spacing: 1px;
  font-weight: 800;
  margin-top: 0.8em;
}
.tag {
  display: inline-block;
  background: rgba(254, 226, 98, 0.7);
  color: #464678;
  font-size: 0.85em;
  padding: 0.18em 0.7em;
  border-color: white;
  border-width: 1em;
  margin-right: 0.2em;
  margin-bottom: 0.2em;
  margin-top: 0.2em;
  font-weight: 500;
  letter-spacing: 0.5px;
  vertical-align: middle;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.tag:hover, .tag:focus {
  background: #fee262;
  color: #222;
}

#project-filter-message {
  margin-bottom: 1em;
  font-weight: bold;
  color: var(--accent);
  font-size: 1.1em;
  text-align: center;
}
.show-all-link {
  font-weight: normal;
  font-size: 1em;
  color: var(--accent);
  
  margin-left: 1em;
}
.show-all-link:hover, .show-all-link:focus {
  color: #222;
  
}

.carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
}

.carousel-track {
  width: 320px;
  height: 320px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}

.carousel-img {
  min-width: 100%;
  max-width: 100%;
  height: 320px;
  object-fit: cover;
  display: none;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.carousel-img.active {
  display: block;
}



.gallery-footer {
  text-align: center;
  font-size: 0.95em;
  margin-top: 0.5em;
  color: var(--text);
}
.gallery-footer a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 500;
}
.gallery-footer a:hover {
  color: #222;
}

/* Responsive: stack on small screens */
@media (max-width: 700px) {
  .project-card {
    flex-direction: column;
    align-items: stretch;
    padding: 0.7em;
  }
  .project-image, .project-content {
    min-width: 0;
    max-width: 100%;
  }
   .project-image img {
    max-width: 100%;
  }

  .project-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5em;
  }
  .intro-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .my-photo {
    margin-bottom: 1em;
  }

  .carousel-track, .carousel-img {
    width: 90vw;
    height: 50vw;
    min-width: 90vw;
    max-width: 90vw;
    max-height: 60vw;
  }

}