body {
  height: 100%;
}

.headerbg {
   position: relative;
  display: inline-block; /* Shrinks container to fit image width */
}

.headerbg img {
	 display: block; /* Removes tiny bottom whitespace gap */
  max-width: 100%;
}

.title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Shifts text back by half its own size */
  color: white;
  text-align: center;
}

/* Grid for page layout (Homepage)*/
	.homegrid {
  display: grid;
  grid-template-areas:
    "header header header"
	"video video video"
    "drawingImage drawing drawing"
	"videography videography videographyEx"
	"photographyImage photography photography"
	"content1 content2 content3";
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  gap: 5px;
  background-color: #fffde3;
  padding: 5px;
}
	
.homegrid div {

  padding: 10px;
}
	
.homegrid div.header {
  grid-area: header;
  text-align: center;
  font-size:100%;
  height: 100%;
}
	
.homegrid div.video {
  grid-area: video;
	text-align: center;
	font-size:100%;
}
	
.homegrid div.drawingImage {
  grid-area: drawingImage;
  text-align: center;  
  justify-content: center;
}
	
.homegrid div.drawing {
  grid-area: drawing;
  text-align: left; 
	
}
	
.homegrid div.videography {
  grid-area: videography;
  text-align: left; 
  
	
}
	
.homegrid div.videographyEx {
  grid-area: videographyEx;
  text-align: left; 
	
}
	
.homegrid div.photography {
  grid-area: photography;
  text-align: left; 
	
}
	
.homegrid div.photographyImage {
  grid-area: photographyImage;
  text-align: left; 
	
}

	
.homegrid div.content1 {
  grid-area: content1;
  text-align: center; 
	
}

.homegrid div.content2 {
  grid-area: content2;
  text-align: center; 
	
}

.homegrid div.content3 {
  grid-area: content3;
  text-align: center; 
	
}

	
	nav {
		position: fixed;
		width:100%;
		height:100%;
		background-color: rgb(28 28 28 / 95%);
		z-index: 1;
  		top:0;
		bottom:0;
		left:0;
		right:0;
		display: none;
	}
	
.navigation {
  display: flex;
  list-style-type: none;
  flex-direction: column;   /* Stack links vertically */
  justify-content: center;  /* Center vertically in the viewport */
  align-items: flex-start;  /* Keep text left-aligned */
  min-height: 100vh;        /* Full screen height */
  padding-left: 11%;        /* Inset from the left edge */
  gap: 14px;                /* Even spacing between items */
}

.navigation a {
  color: #f2f2f2;
  text-decoration: none;
  font-size: clamp(1.75rem, 2.6vw, 2.5rem); /* Scales smoothly with screen size */
  font-weight: 400;
  line-height: 1.25;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.navigation a:hover {
  opacity: 0.7;
  transform: translateX(4px); /* Subtle nudge on hover */
}
	
	.fadeIn {
		opacity: 0;
	}
	
.footerGrid {
  display: grid;
  grid-template-areas:
    "top top top"
    "left right furtherright"
    "bot bot bot";
  grid-template-columns: 1fr 2fr 1fr;
  gap: 3px;
  background-color: #333333;
  color:white;
  padding: 5px;
}
.footerGrid div {
  
  padding: 10px;
}
.footerGrid div.top {
  grid-area: top;
  text-align: center;
}
.footerGrid div.left {
  grid-area: left;
}
.footerGrid div.right {
  grid-area: right;
}
.footerGrid div.furtherright {
  grid-area: furtherright;
}
.footerGrid div.bot {
  grid-area: bot;
  text-align: center;  
}

.footerGrid a {
    color:white;
    text-decoration:none;
}


	/* Grid for page layout (Gallery)*/
	.galleryGrid {
  display: grid;
  grid-template-areas:
	"header header header"
	"click a d"
    "content1 content2 content3"
    "content4 content5 content6"
    "content7 content8 content9"
	"content10 content11 content12"
	"content13 content14 content15"
	"content16 content17 content18"
	"footer footer footer"
	"e contact w";
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  background-color: #fffde3;
  gap: 5px;
  padding: 5px;
}
	
.galleryGrid div {
  padding: 10px;
  background-color: #f2d5a3;
  border-radius:10%;
}
	
.galleryGrid div.header {
  grid-area: header;
  background-color: #fffde3;
  text-align: center; 
  background-image: url('../Photography/Z.JPG');
  background-size: cover;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
	
}

.galleryGrid div.footer {
  grid-area: footer;
  background-color: #fffde3;
  text-align: center; 
  color: #a98b55;
}

.galleryGrid div.click {
  grid-area: click;
  background-color: #fffde3;
  text-align: left; 
  color: #a98b55;
	
}
.galleryGrid div.contact {
  grid-area: contact;
  background-color: #fffde3;
  text-align: center; 
  color: #a98b55;
	
}


.galleryGrid div.content1 {
  grid-area: content1;
  background-color: #f2d5a3;
	border-radius:10%;
  text-align: center; 
}

.galleryGrid div.content2 {
  grid-area: content2;
  text-align: center; 
}

.galleryGrid div.content3 {
  grid-area: content3;
  text-align: center; 
	
}

.galleryGrid div.content4 {
  grid-area: content4;
  text-align: center; 
	
}

.galleryGrid div.content5 {
  grid-area: content5;
  text-align: center; 
	
}

.galleryGrid div.content6 {
  grid-area: content6;
  text-align: center; 
	
}

.galleryGrid div.content7 {
  grid-area: content7;
  text-align: center; 
	
}

.galleryGrid div.content8 {
  grid-area: content8;
  text-align: center; 
	
}

.galleryGrid div.content9 {
  grid-area: content9;
  text-align: center; 
	
}

.galleryGrid div.content10 {
  grid-area: content10;
  text-align: center; 
	
}

.galleryGrid div.content11 {
  grid-area: content11;
  text-align: center; 
	
}

.galleryGrid div.content12 {
  grid-area: content12;
  text-align: center; 
	
}

.galleryGrid div.content13 {
  grid-area: content13;
  text-align: center; 
	
}

.galleryGrid div.content14 {
  grid-area: content14;
  text-align: center; 
	
}

.galleryGrid div.content15 {
  grid-area: content15;
  text-align: center; 
	
}



.bigImg {
	max-width: 60vw; max-height: 80vh; object-fit: contain;
}

.bigImgDisplay {
	position: fixed;
  inset: 0;
  background-color: rgb(28 28 28 / 95%);
  z-index: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
}

.closeTxt {
	color: rgb(255 255 255 / 70%); font-family: sans-serif; font-size: 14px; margin: 0;
}