/* CYANOBACTERIA.CSS v1.1 */
/* HTML/CSS layout template from https://ribo.zone/free/layouts/ */
/* last updated: june 28, 2026 */

@font-face { 	
  font-family: 'SimonType'; 
	src: url("https://tyrantt00.neocities.org/fonts/SimonType.woff2") format("woff2"); 	
	font-weight: normal;
	font-style: normal; 
	font-display: swap; 
}
/* start light mode styling */
	:root {
		--text: #4588D5;
		--border: #ACC4F3;
		--accent: #98ffa8;
		--bg: #F0F5FF;
		--gradient-top: #ACC4F3;
		--gradient-bottom: #fcb9c4;
	}
	header {
		background: url('https://tyrantt00.neocities.org/watercolor-blue-and-orange-line-plaid-repeat-seamless-pattern-background-free-vector.jpg');
	}
/* end light mode styling */


/* start dark mode styling */
	@media (prefers-color-scheme: dark) {
			:root {
		--text: #4588D5;
		--border: #98ffa8;
		--accent: #d9f2ff;
		--bg: #F0F5FF;
		--gradient-top: #ACC4F3;
		--gradient-bottom: #ffc6ac;
	}
	header {
		background: url('https://tyrantt00.neocities.org/watercolor-blue-and-orange-line-plaid-repeat-seamless-pattern-background-free-vector.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: 'SimonType', sans-serif;
	color: var(--text);
	z-index: 11;

	/* page background pattern light mode */


	background-color: var(--gradient-top);
 background-image: url("https://tyrantt00.neocities.org/247fe86a02d5b35629282c435016f55a.gif");
 background-repeat: no-repeat;
 background-attachment: fixed;
	background-size: cover;
	background-position: center;
}
.page-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center; /* Centers both columns together on the screen */
  align-items: flex-start; /* Aligns them at the top */
  gap: 20px;               /* The spacing between your main container and sidebar */
  max-width: 75rem;        /* Increased to fit both containers nicely */
  margin: 5vw auto 12px auto; /* Centers the whole layout on the screen */
}	
.sidebar-right {
  width: 18rem;            /* Set how wide you want your second column to be */
  flex-shrink: 0;          /* Prevents the sidebar from squishing */
  border: 6px ridge var(--border);
  outline: 3px solid var(--gradient-top);
  outline-offset: 4px;
  border-radius: 10px;
  padding: 5px;
  background-image: url('https://tyrantt00.neocities.org/StarsLight.jpg'); /* Matches main container */
  background-repeat: repeat;
  background-size: 160px;
}

.container {
	max-width: 55rem;
	margin: 0;
	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-image: url('https://tyrantt00.neocities.org/StarsLight.jpg');
	background-repeat: repeat;
	background-size: 160px;
}
.FrameMain {
  display: inline-block; 
  position: absolute;
  top: 50px;
  left: 100px;
  width: 50%;
  height: 50%;
  z-index: 1; 
  pointer-events: none;  
  object-fit: fill;    
}
.left-nav-column {
  flex: 1 1 18%;
  display: flex;
  flex-direction: column;
}
.middle-content-column {
  flex: 1 1 54%;
  display: flex;
  flex-direction: column;
  gap: 5px; /* Keeps your template's inner box spacing */
   border: 20px solid transparent; /* Set width to match your frame's thickness */
  border-image-slice: 0; /* Adjust this number to slice your image corners correctly */
 /* Repeats the frame cleanly across the edges */
}
.right-sidebar-column {
  flex: 1 1 24%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* 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 {

  display: flex;
  background-size: cover;
	background-position: center;
	width: 100%;
	height: 120px; /* change banner height here*/
	border: 2px ridge var(--border);
	border-radius: 5px;
	position: relative;
	max-height: 50px;
}
	

.aboutme {
  position: relative;
  margin-left: 2rem;
  width: 30%;
  height: auto;
  display: block;
  z-index: 10;
pointer-events: none; 
}

.floating-badge {
  position: absolute;   
  top: -25%;        
  left: -7%;         
  width: 18%;   
  max-width: 100;
  height: auto;  
  display: block;
  z-index: 9999;  
   pointer-events: none; 
}

header span {
	font-size: 2.5rem;
	position: relative;
	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);

}

nav.small {
	border: 2px ridge var(--border);
	border-radius: 5px;
	padding: 5px;
background-image: url("https://tyrantt00.neocities.org/photo-1712145176570-6cb1d98a126a.png");
}

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: 2px auto;
	border:2px ridge var(--border);
	border-radius: 5px;
	

}




section {
	border: 2px ridge var(--border);
	border-radius: 5px;
background-image: url("https://tyrantt00.neocities.org/photo-1712145176570-6cb1d98a126a.png");

	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 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;
}

/* 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);
}
h1, h2, h3, h4, h5, h6, p, span, a {
  position: relative; /* REQUIRED: Enables z-index to work on these tags */
  z-index: 10000;     /* Sits higher than your frame or badge (9999) */
}