*{
 padding:0;
 margin: 0;
}

/* start dark mode styling */
	@media (prefers-color-scheme: dark) {
		:root {
			--text: white;
			--border: #7e1010;
			--accent: #832b28;
			--bg: rgba(14, 0, 0, 0.8);
			--gradient-bottom: rgb(78, 60, 99);
			--gradient-top: rgb(32, 8, 8);
			a:link { color: rgb(248, 60, 60); }
		}
		header {
			background: url('https://f2.toyhou.se/file/f2-toyhou-se/images/112343040_aFxxdqFgw5skbmX.jpg');
		}
	}
/* end dark mode styling */


* { 
	box-sizing: border-box;
	scrollbar-color:  var(--border) var(--gradient-bottom);
}
html {
	overscroll-behavior: none;
}
body {
	padding: 10px;
	font-family: 'Reading Font', serif;
	color: var(--text);

	/* page background pattern */
	background-color: var(--gradient-top);
	background-image: url('https://f2.toyhou.se/file/f2-toyhou-se/images/123736650_h4Q1f1C2v8uBJdP.png');
	background-size: auto;
	background-position: 0 0, 0 0, 10px 18px, 10px 18px, 0 0, 10px 18px;
	 cursor: url("https://64.media.tumblr.com/4b04534d658d1e2cdbb3e08f5f161a17/0be022a307cf949b-99/s75x75_c1/dfb0b92b222bc64281e76d15a8cc3a4f1b85a670.gifv"), auto;
}

body::selection{
background-color:red;
}

@font-face {
  font-family: "Custom Font";
  src: url("./fonts/Kelmscott.ttf") format("truetype");
}

.example {
	font-family: "Custom Font", serif;
}

@font-face {
  font-family: "Reading font";
  src: url("./fonts/Aug.ttf") format("truetype");
}

.example {
	font-family: "Reading font", serif;
}


.container {
	max-width: 55rem;
	margin: 5vw auto 12px auto;
	border: 6px ridge var(--border);
	outline: 3px solid var(--gradient-top);
	outline-offset: 4px;
	border-radius: 10px;
	display: flex;
	flex-wrap: wrap;
	padding: 5px;
	gap: 5px;
	position: relative;

	/* container background pattern */
	background-color: ; rgba(14, 0, 0, 0.8);
	background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, var(--gradient-bottom) 9px ), repeating-linear-gradient( var(--bg), var(--bg));
}
/* these control the column widths */
.small { flex: 1 1 11%; }
.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: 150px; /* 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;
	text-shadow: 2px 2px var(--gradient-top),
		-2px 2px var(--gradient-top),
		2px -2px var(--gradient-top),
		-2px -2px var(--gradient-top);
	color: white;
		font-family: 'Custom Font', serif;
}

header span2 {
	font-size: 2.5rem;
	position: absolute;
	bottom: 10;
	right: 10px;
	margin-top: 30px;
	margin-right: 10px;
	text-shadow: 2px 2px var(--gradient-top),
		-2px 2px var(--gradient-top),
		2px -2px var(--gradient-top),
		-2px -2px var(--gradient-top);
	color: white;
		font-family: 'Custom Font', serif;
}


nav {
	border: 2px ridge var(--border);
	border-radius: 5px;
	padding: 5px;
	background: linear-gradient(var(--gradient-top),var(--gradient-bottom));
}
nav div {
	text-align: center;
	font-size: 2rem;
	margin: 5px 5px 10px 5px;
}
nav a {
	display: block;
	margin: 5px;
	background: linear-gradient(to right,var(--bg),var(--gradient-bottom));
	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: linear-gradient(to right,var(--bg), var(--gradient-bottom), var(--gradient-top));
}

/* 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;
	overflow: hidden;
}


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: left;
}
h3 { 
	font-size: 1.1rem;
		font-weight: normal;
		text-align: left;
}
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: rgb(248, 60, 60);
}



.image-container {
  opacity: 0.08;
  transition: opacity 0.31s ease;
}


.img-container {
  opacity: 0.08;
  transition: opacity 0.31s ease;
  transform: scaleX(-1);
}




/* EZ Gallery by netfriend - https://netfriend.neocities.org/ez-gallery/ */

.ezgallery.montage { 
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.ezgallery.montage img {
  flex: auto;
  margin: 0 5px 5px 0;
  object-fit: contain;
  object-position: bottom;
}

.ezgallery.horizontal { 
  display: grid;
  grid-gap: 5px;
  gap: 5px;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  grid-auto-rows: minmax(100px, auto);
}

.ezgallery.horizontal a {
  text-align: center;
}

.ezgallery.horizontal img {
  text-align: center;
  vertical-align: middle;
  margin: 0 5px 5px 0;
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
  object-position: bottom;
}


.container {
    position: relative;
}

.decor {
    position: absolute;
    left: -100px;
    bottom: 200px;
}

.parent {
  position: relative;
  top: 0;
  left: 0;
}


.image2 {
  position: absolute;
  top: -20px;
  left: -80px;
 
}

.image3 {
  position: absolute;
  top: -90px;
  right: -120px;
 
}

.image4 {
  position: absolute;
  bottom: 650px;
  right: -70px;
 
}


.image5 {
  position: absolute;
  top: 970px;
  left: -50px;
 
}


.image6 {
  position: absolute;
  bottom: -180px;
  left: -180px;
 
}


.image7 {
  position: absolute;
  bottom: 730px;
  right: -80px;
 
}



/* The outer window that hides the overflow */
.marquee-wrapper {
  overflow: hidden;
  width: 100%; /* Adjust to fit your layout */
  padding: 10px 0;
}

/* The track holding all the images in a row */
.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll 10s linear infinite; /* Change 20s to adjust speed */
}


/* Individual stamp styling */
.marquee-track img {
  margin: 0 10px; /* Spacing between stamps */
}

/* The animation loop */
@keyframes scroll {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%); /* Moves exactly half the track's width */
  }
}


/* The outer window that hides the overflow */
.marquee-wrapper-opp {
  overflow: hidden;
  width: 100%; /* Adjust to fit your layout */
  padding: 10px 0;
}

/* The track holding all the images in a row */
.marquee-track-opp {
  display: flex;
  width: max-content;
  animation: scrollopposite 30s linear infinite; /* Change 20s to adjust speed */
}


/* Individual stamp styling */
.marquee-track-opp img {
  margin: 0 10px; /* Spacing between stamps */
}

/* The animation loop */
@keyframes scrollopposite {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%); /* Moves exactly half the track's width */
  }
}

.marquee-track:hover {
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
     animation-play-state: paused;
}

.marquee-track-opp:hover {
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
     animation-play-state: paused;
     
}

  