
/*
#ec9787 - peach
#e97451 - orange-peach
#7e3940 - maroonish-brown
#cb9d06 - goldish
#578270 - turqoise
#4d9e9a - lightish turqoise
#61234a - dark purple
#a69483 - brownish-grey
#5a5659 - grey
#324421 - dark green
#4b342f - brown
*/

/*
#9e0142    #d53e4f    #f46d43
#fdae61    #fee08b    #ffffbf
#e6f598    #abdda4    #66c2a5
#3288bd    #5e4fa2
*/

/* start light mode styling */
	:root {
        --muted-red: #9e0142;
        --muted-orange-1: #d53e4f;
        --muted-orange-2: #f46d43;
        --muted-orange-3: #fdae61;
        --muted-yellow-1: #fee08b;
        --muted-yellow-2: #ffffbf;
        --muted-yellow-3: #e6f598;
        --muted-green-1: #abdda4;
        --muted-green-2: #66c2a5;
        --muted-blue: #3288bd;
        --muted-purple: #5e4fa2;

        --default-font: 'MS PGothic', sans-serif;

        --bg-dark: #2F241F;
        --text-light: #D9C3B0;
        --rust: #BF5326;
        --ochre: #D99B36;
        --highlight: #F2CB60;

		--text: #3E2723;
        --outline: brown;
		--border: #C25927;
		--accent: #D81B60;
        --main-page: #e5decf;
        --main-page-accent: #e5cbba;
        --main-page-darker-accent: #d9bda5;
		--bg: #FDF9F2;
	}
	header {
		background: url('images/snowy\ forest-dithered.png');
	}

* { 
	box-sizing: border-box;
	scrollbar-color:  var(--border) var( --outline);
}
html {
	overscroll-behavior: none;
}
body {
	padding: 10px;
	font-family: var(--default-font);
	color: var(--text);

	/* page background pattern */
   background-color: var(--bg);
  opacity: 1;
  background-image:  radial-gradient(var(--bg-dark) 1.5px, transparent 1.5px), radial-gradient(var(--bg-dark) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  background-position: 0 0,10px 10px;
}

.small, .large, .half, .full {
  min-width: 0;
}

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

	/* container background pattern */
	background-color: var(--main-page);

}
/* 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%; }


header {
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 120px; /* change banner height here*/
	border: 2px ridge var(--border);
	border-radius: 5px;
	position: relative;
}
header span {
	font-size: 2.5rem;
	position: absolute;
	bottom: 0;
	right: 10px;
	margin: 10px;
	font-weight: bold;
	text-shadow: 1px 1px var(--text),
		-1px 1px var(--text),
		1px -1px var(--accent),
		-1px -1px var(--accent);
	color: var(--gradient-top);
}


nav {
	border: 2px ridge var(--border);
	border-radius: 5px;
	padding: 5px;
    min-width: fit-content;
	background: var(--main-page);
}
nav div {
	text-align: center;
	font-size: 1.25rem;
	margin: 5px 5px 10px 5px;
}
nav a {
	display: block;
	margin: 5px;
	background: var(--main-page-accent);
	border-radius: 5px;
	padding: 2px 7px;
	text-decoration: none;
}
nav a:link, nav a:visited { 
	color: var(--text);
}
nav a:hover, nav a:focus {
	background: var(--main-page-darker-accent)
}

/* optional button styling like in the preview */
div.small > img {
	display: block;
	margin: 5px auto;
	border:2px ridge var(--border);
	border-radius: 5px;
}


section {
	border: 2px ridge var(--border);
	border-radius: 5px;
	background: linear-gradient(var(--gradient-top),var(--gradient-bottom));
	padding: 5px;
}


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: 1.4rem;
	letter-spacing: 2px;
	font-weight: normal;
	text-align: center;
	border-bottom: 2px ridge var(--border);
	padding-bottom: 5px;
}
h2 { 
	font-size: 1.25rem;
	font-weight: normal;
	text-align: center;
}
h3 { 
	font-size: 1.1rem;
}
h4 { 
	font-size: 1rem;
	color: var(--accent);
	padding-left: 12px;
}


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


a:hover, a:focus {
	font-style: italic;
}
a:visited {
	color: var(--accent);
}


.overlay-img {
  position: relative; 
  left: -10%;
  bottom: 50%;
  filter: drop-shadow(5px 5px 2px #000004a9);
  rotate: -15deg;
  overflow: visible;
  width: 300px;
  height: 111px;
  object-fit: cover; /* Prevents image distortion */
  z-index: 2;
  pointer-events: none; /* Allows users to click buttons under the image */
  outline: none;
}  

/* #region Hover Button Thing*/
.imgtxt {
  width: fit-content;
  height: fit-content;
  display: inline-block;
  position: relative;
}
.imgtxt span {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-size: 2.5rem;
  color: #FFF;
  filter: drop-shadow(1px 1px 0 black) 
    drop-shadow(-1px 1px 0 black)
    drop-shadow(1px -1px 0 black)
    drop-shadow(-1px -1px 0 black);
}
.imgtxt:hover span, .imgtxt:focus span {
  opacity: 1;
}
.imgtxt:hover img, .imgtxt:focus img {
  /* add hover effects like transform or filter to your images here! */
}
/* #endregion */

/* #region Scrolling Stamps*/

/* The main window that hides the overflow */
.stamp-marquee {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  max-width: 100%; /* Adjust to fit your layout */
  padding: 1px ;
}

/* The track holding all images */
.stamp-track {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite; /* Adjust time to change speed */
}

/* Pause the scrolling when a user hovers their mouse over it */
.stamp-track:hover {
  animation-play-state: paused;
}

.stamp-track a:hover{
  scale:1.1
}
/* Space out the individual stamps */
.stamp-track img {
  image-rendering: pixelated;
  flex-shrink: 0;
  margin: 0 3px; /* Space between stamps */
  width: auto;    /* Standard web stamp width */
  height: auto;   /* Standard web stamp height */
}

/* The Animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Moves the track exactly halfway */
  }
}

/* #endregion */

/* #region Photo Collection */
.photopile { 
  display: flex; 
  flex-wrap: wrap;
  align-items: center;
  justify-content: left;
  max-width: 100%;
  transform: rotate(20deg) translate(10vh, 20vh);
}
.photopile figure { 
  display: inline-block;
  background: white;
  box-shadow: 1px 4px 5px rgba(0,0,0,0.55);
  transform: rotate(2deg);
  margin: 0 -25px;
}
.photopile figure img {
  max-width: calc(100% - 2rem);
  margin: 1rem 1rem 0 1rem;
  border: 2px rgb(0,0,0,0.55) inset;
}
.photopile figcaption, .popovers figcaption {
  font-family: var(--default-font);
  text-align: center;
  margin: 0.5rem 1rem 1rem 1rem;
  font-size: 1rem;
  color: black;
}
.photopile button { 
  background: none; 
  border: none;
  max-width: 40%;
}
.photopile button:hover, .photopile button:focus { 
  z-index: 3;
  scale: 1.05;
  cursor:pointer;
}
.photopile button:nth-child(2n) { 
  transform: rotate(-10deg);
}
.photopile button:nth-child(3n) {
  transform: rotate(5deg);
}
.photopile button:nth-child(4n) { 
  transform: rotate(4deg);
}
.photopile button:nth-child(5n) { 
  transform: rotate(-2deg);
}
.photopile button:nth-child(6n) {
  transform: rotate(-7deg);
}
:popover-open {
  border: none;
  box-shadow: 1px 4px 5px rgba(0,0,0,0.55);
  position: fixed;
  top: 90vh;
  left: 50vw;
  transform: translate(-50%,-50%);
}
.popovers figure:popover-open {
  display: block;
  background: white;
  width: 88vmin;
}
.popovers figure:popover-open figcaption {
  margin: 2.5vmin 1rem 4vmin 1rem;
  font-size: 175%;
  color: black;
}
.popovers figure:popover-open img {
  margin: 4vmin 4vmin 0 4vmin;
  width: 78vmin;
  border: 4px rgb(0,0,0,0.55) inset;
}
/* #endregion */

