@charset "utf-8";

@font-face {
	font-family: 'Cinzel';
	src: url("../fonts/CinzelDecorative-Regular.ttf") format("truetype");
	font-style: normal;
	font-weight: normal;
	font-display: fallback;
}
@font-face {
	font-family: 'Century Gothic';
	src: url("../fonts/centurygothic.ttf") format("truetype");
	font-style: normal;
	font-weight: normal;
	font-display: fallback;
}

/**** Global CSS ****/
body, html {
	margin: 0;
	box-sizing: border-box;
	font: 300 18px/1.8 "Century Gothic", sans-serif;
	overflow-x: hidden;
	color: rgb(252, 244, 174);
	background: rgb(255,255,255);
}

/****************NAV BAR ********/
header {
	display: inline;
}
/*************** Dropdown menu ******/
 /* Navbar container */
.navbar {
	z-index: 102;
	display: flex;
	width: 100%;
	background-color: rgba(53,53,53,1);
	font-family: 'Century Gothic';
	/* z-index: 9; */
	height: 100px;
	position: fixed;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding-top: 10px;
	padding-bottom: 10px;
	transition: background-color 0.5s ease-in-out;
}
/* Links inside the navbar */
.navbar a {
  float: left;
  color: white;
  text-align: center;
  padding: 10px 6px;
  text-decoration: none;
  font-size: 17px;
  transition: font-size 0.1s ease-in-out;
}
.logo {
	position: absolute;
	top:5px;
	left:0;
	z-index:103;
	margin-top: 25px;
	margin-bottom: 10px;
	margin-left: 50px;
	width: 170px;
	box-shadow: 1px 3px 5px rgba(30,30,30,0.8);
	transition: all 0.4s ease-in-out;
}
.logo img {
	width: 100%;
	z-index: 103;
}
.shrink {
	width: 110px;
	position: fixed;
	top: 0;
	left: 0;
}
.shrink-navbar {
	height: 60px;
	background-color: rgba(35,35,35,1);
	top: 0;
}
.shrink-nav-text {
	font-size: 12px;
}
.fade-out {
  opacity: 0;
  pointer-events: none; /* Prevents interaction */
}
.small-logo {
  z-index: 104;
  position: fixed;
  top: 10px;
  left: 10px;
  width: 130px; /* Adjust as needed */
  opacity: 0;
  margin-top: 16px;
  margin-left: 50px;
  transition: opacity 0.3s ease-in-out;
}
.show {
  opacity: 1;
  z-index: 20;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 15px;
/*  padding-left: 15%;*/
}
.nav-links .dropdown {
	display: inline;
}
.nav-links .dropdown a {
  text-decoration: none;
  /* color: rgb(179, 255, 255); */
}
/* Hide the menu toggle button on large screens */
.menu-toggle {
  display: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}
/* The dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
}
/* Dropdown button */
.dropdown .dropbtn {
  border: none;
  border-radius: 1px;
  outline: none;
  color: white;
  padding: 2px 15px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
/*  background-color: transparent;*/
  transition: all 0.3s ease-in-out;
}
/* Add a red background color to navbar links on hover */
.dropdown:hover .dropbtn,
.dropdown:focus-within .dropbtn,
.dropdown:active .dropbtn {
  background-color: red;
}
/* Dropdown content (hidden by default) */
.dropdown .dropdown-content {
  visibility: hidden;
  position: absolute;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 10;
  background-color: transparent;
  transition: all 0.3s ease-in-out;
}
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content,
.dropdown:active .dropdown-content {
	visibility: visible;
	background-color: white;
}
/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  transition: background-color 650ms ease;
}
/* grey to white on hover of dropdown items */
.dropdown-content a:hover {
  background-color: #ddd;
}
.dropdown-content a:active {
	background-color: white;
}
.navbar .nav-links .dropdown button:first-child {
	border-left: 2px solid grey;
}	
.navbar .nav-links .dropdown button:first-child {
	border-left: 2px solid grey;
}

/********** BLOCK ITEM #3 ***********/
.block-container-3 {
	width: 100%;
	margin: 0 auto;
	margin-bottom: 220px;
	background-color: rgba(83,83,84,1);
}
/* .block-container-3 {
	line-height: 0;
	column-count: 2;
	column-gap: 0;
	padding-bottom:50px;
	padding-top: 110px;
} */
.gallery {
    list-style: none;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	grid-auto-flow: dense;
	height: 100%;
	padding: 110px 5px 50px 5px; 
	/* max-width: 900px; */
}
.gallery > * {
	flex: 1 1 200px;
	position: relative;
	/* use this to make an in-frame zoom on hover */
/*	overflow: hidden;*/
}
/* .gallery img {
	width: 100%;
	height: auto;
	object-fit: cover;
	border: 2px solid rgb(150,150,150);
} */
.gallery img {
	position: relative;
	object-fit: cover;
	height: 100%;
	width: 100%;
}
 .gallery li {
	position: relative;
    break-inside: avoid;
    margin-bottom: 6px; /* matches your column-gap for consistent spacing */
}
.gallery li::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(255, 255, 255, 0);
	/* Initially transparent */
	transition: background-color 0.5s ease;
	/* Add a smooth transition effect */
	pointer-events: none;
			/* Allow interactions with elements beneath the overlay */
}
.gallery li:hover::before {
	z-index: 101; 
	background-color: rgba(0, 0, 255, 0.25);
    transition: all 0.8s ease;
}
.gallery li img {
	border: 2px solid rgba(150,150,150,0.4);
}
.gallery li:hover img {
	/* z-index: 100; */
	/* scale: 1.1; */
	border: 2px solid rgb(228, 82, 82);
    transition: all 0.8s ease;
}
.landscape {
	flex: 1 1 400px;
	grid-column: auto / span 2;
}
.grid.mosaic {
	grid-template-columns: repeat(autofill, minmax(900px, 1fr));
	background-color: unset;
	margin-left: 100px;
}
.gallery-info {
	list-style-type: none;
}
/********* @Media Queries ************/

/*** Min Widths: ***/
/* @media (min-width: 600px) {
    .block-container-3 {
        column-count: 3;
    }
}
@media (min-width: 900px) {
    .block-container-3 {
        column-count: 4;
    }
} */
/**** Max Widths ****/
@media screen and (max-width: 1275px) {
	.nav-links {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 75px;
		left: 0;
		width: 100%;
		background-color: #333;
		padding: 25px 0;
		text-align: center;
		transition: all 0.3s ease-in-out;
		opacity: 0;
		pointer-events: none;
		min-height: 100vh;
	  }
	.nav-links.active {
		display:flex !important;
		opacity: 1;
		pointer-events: auto;
	}
  .nav-links .dropdown {
		display: block;
		text-align: center;
		padding: 10px 0;
	  }
	.dropdown-content {
		width: 100%;
	}
	
	.dropdown:hover .dropdown-content,
	.dropdown:focus-within .dropdown-content,
	.dropdown:active .dropdown-content {
		position: relative;
	}
	.dropdown-content a {
		text-align: center;
	}
  .menu-toggle {
		display: block;
		font-size: 42px;
	  	z-index: 11;
	  }
}
@media screen and (max-width: 1150px) {
	.mobile-pic-fix {
		display: block;
	}
}
@media screen and (max-width: 1050px) {
	.small-logo {
		width: 100px;
		left: 0;
	}
		.block {
		width: 90vw;
	}
}

@media screen and (max-width: 950px) {
	nav div .logo {
		position: fixed;
		z-index: 103;
		width: 170px;
		margin: auto;
		text-align: center;
		left: 0;
		right: 0;
	}
	.logo-container,
	.logo-alt-container{
		width: 100%;
	}
	#menu-toggle span {
		position: absolute;
		right: 50px;
		transition: color 500ms ease;
	}
	#menu-toggle span:hover {
		color:red;
	}
	.small-logo {
		left: 0;
		position: fixed;
		margin: 0 auto;
		right: 0;
		top: 25px;
	}
}
@media screen and (max-width: 800px) {
	.gallery {
		grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	}
}
@media screen and (max-width: 650px) {
	 .block {
		width: 100vw;
	 }
	 .title-small {
		grid-area: title-small;
		text-align: center;
	 }
}
@media screen and (max-width: 600px) {
	nav div .logo {
		width: 140px;
		z-index: 103;
	}

}
@media screen and (max-width: 500px) {
	nav div .logo {
		top: 42px;
		z-index: 103;
	}
	.gallery {
		grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
	}
}
@media screen and (max-width: 350px) {
	nav div .logo {
		width: 200px;
		z-index: 103;
	}
}

