/* start dark mode styling */
	@media (prefers-color-scheme: dark) {
		:root {
			--text: white;
			--border: #AAD5EC;
			--accent: #F0D9A4;
			--bg: rgba(59, 100, 177, 0.692);
			--gradient-bottom: #202047;
			--gradient-top: #4D628F;
			a:link { color: lightblue; }
		}
		header {
			background: url('../../../microscopy/dolichospermum.png');
		}
	}
/* end dark mode styling */


* { 
	box-sizing: border-box;
	scrollbar-color:  var(--border) var(--gradient-bottom);
}
html {
	overscroll-behavior: none;
}
body {
	padding: 10px;
	font-family: 'MS PGothic', sans-serif;
	color: var(--text);

	/* page background pattern */
	background-color: var(--gradient-top);
	background-image:  url('https://f2.toyhou.se/file/f2-toyhou-se/images/123979781_J7reSfACrQKLa49.png?1784556837');
	background-size: auto;
	background-position: 0 0, 0 0, 10px 18px, 10px 18px, 0 0, 10px 18px;
}


.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;

	/* container background pattern */
	background-color: #202047;
	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 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: 5rem;
	position: absolute;
	bottom: 5px;
	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);
	font-family: "Alice", serif;
}

header span2 {
	font-size: 1.75rem;
	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);
	font-family: "Alice", serif;
}

header span3{
	font-size: 5rem;
	position: absolute;
	bottom: 5px;
	left: 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);
	font-family: "Alice", 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: 1.25rem;
	margin: 5px 5px 10px 5px;
}
nav a {
	display: block;
	margin: 5px;
	padding: 2px 7px;
	text-decoration: none;
	font-family: "Amar", serif;
}
nav a:link, 
	

nav a:hover, nav a:focus {
	background: url("https://f2.toyhou.se/file/f2-toyhou-se/images/124004274_91CXV7SZ4lpOgQC.jpg");
}

/* 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;
	text-align: center;

}


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: 2rem;
	letter-spacing: 2px;
	font-weight: normal;
	text-align: center;
	border-bottom: 2px ridge var(--border);
	padding-bottom: 5px;
	font-family: "Alice", serif;

}
h2 { 
	font-size: 1.25rem;
	font-weight: normal;
	text-align: center;
	font-family: "Amar", serif;
}
h3 { 
	font-size: 1.1rem;
	font-family: "Amar", serif;
	font-weight: normal;
	
}
h4 { 
	font-size: 1rem;
	color: var(--accent);
	padding-left: 12px;
	font-family: "Amar", serif;
	font-weight: normal;
}
	


/* prevents overflow on smaller screens */
img { max-width: 100%; }
pre { overflow-x: auto; }


a:hover, a:focus {
	font-style: italic;
}


@font-face {
  font-family: "Alice";
  src: url("./Fonts/Alice.ttf") format("truetype");
}

.example{
  font-family: "Alice", serif;
}

@font-face {
  font-family: "Amar";
  src: url("./Fonts/Amar.ttf") format("truetype");
}

.example{
  font-family: "Amar", serif;
}


.image-container {
  opacity: 0.08;
  transition: opacity 0.31s ease;
}

.image-container:hover {
  opacity: 1;
}

.img-container {
  opacity: 0.08;
  transition: opacity 0.31s ease;
  transform: scaleX(-1);
}

.img-container:hover {
  opacity: 1;
  transform: scaleX(-1);
}

body {
    cursor: url("https://f2.toyhou.se/file/f2-toyhou-se/images/123985343_Rx37iczQag8MlXn.png?1784564881"), auto;
}

.parent {
  position: relative;
  top: 0;
  left: 0;
}
.image1 {
  position: absolute;
  top: -30px;
  left:-150px;
}

.image2 {
  position: absolute;
  top: 755px;
  left: 620px;
}
  
.image3 {
  position: absolute;
  top: 1470px;
  left:-120px;
}


  
.container {
    position: relative;
}
  
  
body::selection{
background-color:#4D628F;
}




/* 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 20s 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 20s 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;
     
}



