
		:root {
			--text: white;
			--border: #5a7678;
			--accent: #74C365;
			--bg: rgb(4, 71, 4,.8);
		  --gradientBottom: rgb(4, 71, 4, .8);
			--gradientTop: rgb(33, 122, 33, 1);
			--size: clamp(10rem, 1rem + 40vmin, 30rem);
     --gap: calc(var(--size) / 14);
			a:link { color: rgb(20, 240, 47, 1); }
		}
		header {
			background: url('***dark mode banner image***');
		}
/* end dark mode styling */


* { 
	box-sizing: border-box;
}
body {
	padding: 10px;
	font-family: 'VCR OSD Mono', sans-serif;
	color: var(--text);

	/* page background pattern */
	background-color: var(--gradientTop);
	background-image: url("https://bettysgraphics.neocities.org/images/backgrounds/pattern%20556.gif");
	background-size: 500px 500px;
	background-position: 0 0, 0 0, 10px 18px, 10px 18px, 0 0, 10px 18px;
}


.container {
	max-width: 60rem;
	margin: 5vw auto 12px auto;
	border: 6px ridge var(--border);
	display: flex;
	flex-wrap: wrap;
	padding: 5px;
	gap: 5px;

	/* container background pattern */
	background-color: var(--gradientTop);
	background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, var(--gradientBottom) 9px ), repeating-linear-gradient( var(--bg), var(--bg));
}
/* these control the column widths */
.small { flex: 1 1 9%; }
.large { flex: 1 1 69.3%; }
.full { flex: 1 1 49%; }
.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;
	background-image: url("crowbot.png")
}
header span {
	font-size: 2.5rem;
	position: absolute;
	bottom: 0;
	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(--gradientTop);
}

section.half {
  color: white;
  background-color: #2a6d30;
  opacity: 1;
  background-image:  linear-gradient(#3f7c39 2px, transparent 2px), linear-gradient(90deg, #3f7c39 2px, transparent 2px), linear-gradient(#3f7c39 1px, transparent 1px), linear-gradient(90deg, #3f7c39 1px, #2a6d30 1px);
  background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px;
  background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
  max-height: 450px;
  overflow-y: scroll;
}
section.large {
  color: white;
  background-color: #2a6d30;
  opacity: 1;
  background-image:  linear-gradient(#3f7c39 2px, transparent 2px), linear-gradient(90deg, #3f7c39 2px, transparent 2px), linear-gradient(#3f7c39 1px, transparent 1px), linear-gradient(90deg, #3f7c39 1px, #2a6d30 1px);
  background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px;
  background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
  max-height: 600px;
  overflow-y: scroll;
}

.badges-home img {
  max-height: 62px;
  height: auto;
  max-width:176px;
  object-fit: cover;
}

section.full img {
  flex:25%;
  height:100%;
  padding: 5px;
}

section.small img {
  width: 90%;
  padding-bottom: 5px;
}

section.small {
  max-height: 450px; 
  overflow-y: scroll;
}

.prof {
  display:flex;
}

.abt {
  padding-left: 10px; 
}

.prof img{
  max-width: 200px; 
  max-height: 75%; 
  padding-bottom: 10px;
}

.abt p{
 padding-left: 10px;
}

.abt h3{
 padding-left: 10px;
}

.badges{
 display: flex; 
 flex-wrap: wrap;
}

.badges img {
  flex: 50%;
  padding: 5px;
  max-width: 50%;
  height: 100%;
}

.interests img {
 flex:50%;
 max-width:48%;
 padding: 5px;
}

.posts {
 display: flex; 
 flex-wrap: wrap;
 justify-content: space-between;
 overflow-y: scroll;
 gap: 20px;
}

.posts div {
  width:100%; 
  flex:100%;
  min-height: 150px;
  background-color: var(--gradientTop);
	background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, var(--gradientBottom) 9px ), repeating-linear-gradient( rgb(24, 74, 24), rgb(24, 74, 24));
	padding: 10px;
	border: 2px ridge var(--border);
	border-radius: 5px;
	padding-right: 10px;
}

.btn {
  border: 2px ridge var(--border);
	border-radius: 5px;
  padding: 5px;
  background: linear-gradient(var(--gradientTop),var(--gradientBottom));
  color: white;
  font-family: 'VCR OSD Mono', sans-serif;
}

.btn:hover {
  background: linear-gradient(rgb(4, 104, 4, .8) ,rgb(4, 61, 4, .8));
}

.btn.active {
  background: linear-gradient(rgb(51, 166, 51), rgb(41, 138, 41));
}

nav {
	border: 2px ridge var(--border);
	border-radius: 5px;
	padding: 5px;
	background: linear-gradient(var(--gradientTop),var(--gradientBottom));
	height:100%;
}
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 ridge var(--border);
	border-radius: 5px;
}


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

.marquee {
  --gap: 20px;
  position: relative;
  display: flex;
  overflow: hidden;
  max-width: fit-content;
  gap: var(--gap);
}

.track {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  gap: var(--gap);
  animation: marquee 5s linear infinite;
  will-change: transform;
}

.marquee img {
    padding: 0 0.5vw;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Hide scrollbar for Chrome, Safari and Opera */
section::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
section {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

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;
}

p {
  font-size: 18px; 
}

li {
  font-size: 18px; 
  padding-bottom: 8px;
  padding-right: 5px;
}

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