/* STENTOR.CSS v1.0 */
/* HTML/CSS layout template from https://ribo.zone/free/layouts/ */
/* last updated: august 11, 2023 */

:root {
	--text: #8C3E69;
	--line: #FF96CE;
	--accent: cadetblue;
	--bg: lightgrey;
	--fill: white;
}

body { 
	color: var(--text);
	font-family: verdana, sans-serif; 
}

* { 
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	scrollbar-color: var(--text) var(--line);
}

*::-webkit-scrollbar { width: 20px; }
*::-webkit-scrollbar-track { background: var(--line); }
*::-webkit-scrollbar-thumb { background-color: var(--text); border: transparent; }

img { max-width: 75% }

nav {
	float: left;
	width: 15%;
	height: 100vh;
	position: relative;
	background-color: white;
	background-image: url("https://ik.imagekit.io/qf5hmmd1r/image(2)_aMhlvrJ5g.png");
  background-size: 400px 850px;
}

nav div {
	height: fit-content;
	width: fit-content;
	position: absolute;
	top: 50%;
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	right: -1.5vw;
	text-align: right;
}

nav a {
	display: block;
	margin: 10px 0;
	padding: 0;
	font-size: 2.5em;
	text-decoration: none;
	color:var(--fill);
	filter: drop-shadow(1px 1px 0 var(--text)) 
			drop-shadow(-1px 1px 0 var(--text)) 
			drop-shadow(0 -1px 0 var(--text)) 
			drop-shadow(1px 0 var(--text));
}

nav a:hover, nav a:focus {
	color: var(--accent);
}

main {
	float:left;
	width: 82%;
	height: 100vh;
	padding: 2em;
	overflow-y: scroll;
	background-color: var(--bg);
	background-color: #fff;
  background-image: url("https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwallpapers.com%2Fimages%2Fhd%2Fcheckered-background-18wzos93ujxijfad.jpg&f=1&nofb=1&ipt=acd18655ba811e523fe869545a06cdcb10ab95d5d3d6a348ab456b677b6a5cdc");
  background-size: 800px 1000px;
  background-repeat: repeat;
}

.container { max-width: 1500px }

section {
	margin: 2em 0;
	padding: 1em 2em;
	background-color: var(--fill);
	border: 5px solid var(--line);
	background-color: #fff;
}

.stripe {
	float: left;
	width: 3%;
	height: 100vh;
	background-color: #FFE3F5;
}

hr {
	border: none;
	border-top: 5px solid #C8FFAB;
}

h2, h3, h4, h5, h6, p, table, details, cite, blockquote, img {
	margin: 1rem 0;
}

ul, ol, dl {
	margin: 1rem 0 1rem 2rem;
}

ul ul, ol ol { 
	margin: 0 0 0 2rem;
}

p, table,  ul, ol, dl {
	font-size: 1rem;
}

a { 
	color: #CC78C6;
	padding: 2px;
}

p a:hover { 
	color: var(--fill);
	background-color: var(--accent);
}

h6 { font-size: 1em; }
h5 { font-size: 1.25em; }
h4 { font-size: 1.5em; }
h3 { font-size: 1.75em; }
h2 { font-size: 2em;
	text-align: center;
	background-color: #FFE3F5;
	padding: 5px;
}

blockquote a, blockquote code {
	color: var(--text);
}

cite { 
	display: block;
	text-align: right;
}

code, details, pre {
	background-color: var(--bg);
}

code { 
	font-family: 'Courier New', monospace; 
	padding: 2px;
}

details, pre {
	padding: 1em;
}

pre { overflow-x: auto; }

details p { margin: 1rem 0 1rem 2rem; }

table {	border: 5px solid var(--line); }
tr, td, th { border: 2px solid var(--line); }
td, th { padding: 3px }

figcaption { 
	text-align: center;
	margin: -0.5em 1em 1em 1em;
}

footer { 
	font-size: 1em;
	text-align: center;
	background-color: var(--accent); 
	margin-top: 2em;
	padding: 5px;
}

footer a { color: var(--text); }

.flex-box {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin: -1em;
}

.flex-box section {
  margin: 1em;
}

.blogpost {
  flex: 0 0 calc(50% - 2em);
}

@media screen and (max-width: 800px){

	nav, main, .stripe {
		float: none;
		width: 100%;
		height: fit-content;
	}
	
	nav { padding: 2vw }
	
	nav div {
		height: fit-content;
		width: 100%;
		position: static;
		-ms-transform: translateY(0);
		transform: translateY(0);
		text-align: right;
	}
	
	nav img {
		z-index: -1;
		position: absolute;
		left:0;
		max-height: 100%;
	}
	
	nav a {
		display: inline-block;
		margin: 5px;
	}
	
	nav a::after { content: " ↗"; }
	
	main { 
		overflow: auto;
		padding: 2em 1em;
	}
	
	header { 
		text-align: center;
		font-size: 1.5em;
	}
	
	section { padding: 0 1em; }
	
	.stripe { height: 30px; }
	
	*::-webkit-scrollbar { width: 10px; }
	
}

@font-face {
  font-family: "myFont";
  src: url("/font.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "bigFont";
  src: url("/yayfont.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "cuteFont";
  src: url("/cutefont.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

p {
  margin: 0 0 20px;
  font-family: "cuteFont", sans-serif;
  font-size: clamp(18px, 2.5vw, 25px);
  line-height: 1.5;
  text-indent: 50px;
}

li {
  margin: 0 0 20px;
  font-family: "cuteFont", sans-serif;
  font-size: clamp(18px, 2.5vw, 25px);
  line-height: 1.5;
  text-indent: 50px;
}

h1 {
  margin: 0 0 10px;
  font-family: "bigFont", sans-serif;
  font-size: clamp(28px, 2vw, 35px);
  line-height: 1.5;
  text-indent: 20px;
}

h2 {
  margin: 0 0 20px;
  font-family: "bigFont", sans-serif;
  font-size: clamp(58px, 2vw, 25px);
  line-height: 1.5;
  text-indent: 50px;
  color: black;
}

a {
  margin: 0 0 20px;
  font-family: "myFont", sans-serif;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.5;
  text-indent: 50px;
  color: indigo;
}

body {
  cursor: url("https://littlevampire.neocities.org/graphics/cursors/sanrio%20011.png") 0 0, auto;
}

a:hover {
  cursor: url("https://media.thuvien.org/photo/22425/image/8255d5e84d00d8a878b111db13f80217.png") 0 0, pointer;
}
