@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap');

html, body {
  height: 100%;
  padding: 0;
  margin: 0;
  font-size: 14px;
  background: #000;   /* default black background */
  color: lime;
  font-family: 'Source Code Pro', monospace;
  font-size: 14px;
}

/* Home page background with heartstring.gif */
.home html,
.home body {
  background-color: #000;
  background-image: url('images/heartstring.gif');
  background-repeat: repeat;
  background-position: top left;
  background-size: auto;
}

/* Rest unchanged */
img {
	max-width: 100%;
}

.page {
	padding: 24px;
}

.page h1:first-child {
	margin-top: 0;
}

.header {
  text-align: center;
}

.header-image {
	height: 200px;
	margin: auto;
	display: block;
}

.wrapper {
	margin: auto;
	margin-top:px;
	width: 753px;
}

.menu {
	text-align: center;
	margin-bottom: 24px;
	margin-top: 24px;
}

.menu a {
	color: lime;
}

.main {
	height: 480px;
	width: 753px;
	background-image: url('bg.jpg');
	position: relative;
}

.main iframe {
	border: none;
	position: absolute;
	top: 35px;
	left: 7px;
	width: 739px;
	height: 439px;
}

h1, h2, h3, h4, h5 {
	font-size: 12px;
}

h1 {
	font-size: 16px;
	border-bottom: 1px solid lime;
	padding-bottom: 2px;
}

h2 {
	border-bottom: 1px dotted lime;
}

a {
	color: red;
}

.fixed-return {
  position: fixed;
  bottom: 50px;        /* distance from bottom */
  left: 100px;           /* center horizontally */
  transform: translateX(-50%); /* center by shifting left 50% of element width */
  font-family: 'Source Code Pro', monospace;
  font-size: 30px;     /* adjust as needed */
  text-decoration: none;
  color: lime;
  border: 10px;
  border-color: black;
}



.slideshow-text-row {
  display: flex;
  gap: 20px; /* space between slideshow and text */
  align-items: flex-start; /* align top */
  max-width: 800px; /* optional, limit container width */
  margin: 0 auto 20px; /* center and add bottom margin */
}

.slideshow-container {
  position: relative;
  width: 400px;   /* fixed width */
  margin: 0 auto; /* center horizontally */
  background: black;
}

.side-text {
  flex-grow: 1; /* take remaining space */
  font-size: 14px;
  line-height: 1.4;
  white-space: pre-line; /* keep line breaks from <br> */
  color: lime;
}

.below-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.5;
  color: lime;
}


.slide {
  display: none;
}

.slide img {
  width: 100%;    /* fill slideshow container width */
  max-height: 220px;
  object-fit: contain;
}

/* Fade animation */
.fade {
  animation-name: fade;
  animation-duration: 1s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* Next & previous buttons */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;   /* narrower width for arrows */
  height: 30px;  /* keep square */
  padding: 0;
  margin: 0;
  font-size: 24px;
  line-height: 30px;
  text-align: center;
  background-color: rgba(0,0,0,0.5);
  border: 2px solid lime;
  border-radius: 4px;
  color: lime;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s;
}

.prev:hover, .next:hover {
  background-color: lime;
  color: black;
}

.prev {
  left: 10px;  /* slightly inset from left edge */
}

.next {
  right: 10px; /* slightly inset from right edge */
}







/* Webkit scrollbar */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background-color: lime;
  border-radius: 6px;
  border: 3px solid #000;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #aaff00;
}

/* Firefox scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: lime black;
}