
/* start light mode styling */
	:root {
		--text: darkslategrey;
		--border: #960B3A;
		--accent: pink;
		--bg: #E3DCE1;
		--gradientTop: white;
		--gradientBottom: rgb(240, 248, 255, .8);
	}
	header {
		background: url(https://i.imgur.com/katM3Iw.jpeg) no-repeat center center;
    background-size: cover;
    height: 300px;
    width: 100%;
	}
/* end light mode styling */


/* start dark mode styling */
	@media (prefers-color-scheme: dark) {
		:root {
			--text: white;
			--border: #785A6B;
			--accent: #C365A2;
			--bg: #FFC4DA;

			--gradientTop: pink;
			a:link { color: lightblue; }
		}
		header {
			background: url(https://i.imgur.com/katM3Iw.jpeg);
		}
	}
/* end dark mode styling */

iframe[name="myframe"] {
    width: 100%;
    height: 600px; /* Fixed height instead of 100% */
    border: none;
    background: transparent;
    overflow: hidden; /* Add this */
    display: block; /* Add this */
}

iframe[name="myframe"]::-webkit-scrollbar {
  display: none;                  /* Chrome / Safari */
}
* { 
	box-sizing: border-box;
	max-width: 100vw; /* Add this back */
}
.clicksplode-star {
    z-index: 999999 !important;
    pointer-events: none !important;
    display: block !important;
    position: fixed !important;
}

body > div[style*="position: absolute"][style*="monospace"] {
    z-index: 999999 !important;
    pointer-events: none !important;
}

html {
    overflow-x: hidden !important;
    overflow-y: auto;
    width: 100%;
}
html, body {
  overflow-x: hidden !important;
}

body {
	padding: 10px;
	font-family: 'MS PGothic', sans-serif;
	color: var(--text);

  cursor: url('https://i.imgur.com/uWEILP8.gif'), auto;

	/* page background pattern */
	background-color: #FFD9EE;
	min-height: 100vh; /* Add this line */
  max-width: 100vw;
  overflow-x: hidden !important;
  position: relative; /* Add this */
  width: 100%; /* Add this */
}
a:hover, button:hover {
  cursor: url('https://i.imgur.com/Aqg2QkP.png'), pointer;
}

.container {
	max-width: 55rem;
	margin: 1vw auto 12px auto;
	border: 6px solid var(--border); /* outer border is big box */
	outline: 3px solid var(--border);
	outline-offset: 4px;
	border-radius: 10px;
	display: flex;
	flex-wrap: wrap;
	padding: 5px;
	gap: 5px;

	/* container background pattern */
	background-color: var(--gradientBottom);
	background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, var(--gradientBottom) 9px ), repeating-linear-gradient( var(--bg), var(--bg));
}
.update-log-entry{
    font-size: 10px;
    flex: 1 1 9%;
}

/* 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%;}


.update-log {
  flex: 1 1 9%;
  max-height: 200px;
  overflow-y: auto; /* only shows scrollbar when needed */
}
.update-log h4 {
  text-align: center;
}
header {
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 120px; /* change banner height here*/
	border: 2px solid var(--border); /* change outer border of banner here*/
	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(--gradientTop);
}


nav {
	border: 2px solid var(--border);
	border-radius: 5px;
	padding: 5px;
	background: linear-gradient(var(--gradientTop),var(--gradientBottom));
}
nav div {
	text-align: center;
	font-size: 1.25rem;
	margin: 5px 5px 10px 5px;
}
nav a {
	display: block;
	margin: 5px;
	background: linear-gradient(to right,var(--bg),var(--gradientBottom));
	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(--gradientBottom), var(--gradientTop));
}

/* optional button styling like in the preview */
div.small > img {
	display: block;
	margin: 5px auto;
	border:2px solid var(--border);
	border-radius: 5px;
}


section {
	border: 2px solid var(--border);
	border-radius: 5px;
	background: linear-gradient(var(--gradientTop),var(--gradientBottom));
	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 solid var(--border);/* this is the line under it*/
	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);
}
#calendar-container table {
    background: white !important;
    border-collapse: collapse !important;
    flex: 1 1 9%;
    color: black !important;
}

#calendar-container td {
    min-width: 15px !important;
    min-height: 15px !important;
    padding: 3px !important;
    border: 1px solid black !important;
    text-align: center !important;
    color: black !important;
    font-size: 14px !important;
    background: white !important;
}

#calendar-container strong {
    color: red !important;
}