/* ===== font ===== */
@font-face {
	font-family: Dyslexic;
	src: url("/assets/fonts/OpenDyslexic3-Regular.ttf") format("truetype");
}
@font-face {
	font-family: WFont;
	src: url("/assets/fonts/W95F.otf") format("opentype");
}
@font-face {
	font-family: Perfect;
	src: url("/assets/fonts/Perfect DOS VGA 437.ttf") format("truetype");
}


:root {
	
    /* ===== quick edit ===== */
	
	--borderwidth: 4px;
	--borderstyle: dashed;
	--logofont: Perfect;
	--headingfont: WFont;
	--bodyfont: Dyslexic;
	
}

/* ===== light mode col ===== */
:root {
		--text: #200e14;
		--textalt: white;
		--section: #FCF5F9;
		--sectionalt: #ffecf7;
		--bg1: #ffcfec;
		--bg2: #ffa3d5;
		--accent: #FF70BE;
		--link: #871a43;
		--bgimage: linear-gradient(var(--accent),var(--link)); /* you could also use an image! formatting: url("example.png") */
	}

/* ===== dark mode col ===== */
	:root[data-theme="dark"] {
		--text: #FFFDED;
		--textalt: black;
		--section: #28111E;
		--sectionalt: #52263f;
		--bg1: #ffc3e6;
		--bg2: #ffdef2;
		--accent: #ea50a4;
		--link: #FFECF6;
		--bgimage: linear-gradient(var(--link),var(--accent)); /* you could also use an image! formatting: url("example.png") */
	}

/* ===== preloader ===== */
#preloader {
    align-items: center;
    justify-content: center;
    width: 100%;
    display: flex;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    background: #fff
    url("assets/tumblr_p2ploading.gif")
    no-repeat center;
    z-index: 9999;
}

/* === main === */
* { 
	scrollbar-color: var(--link) var(--accent);
	box-sizing: border-box;
	max-width: 100%; /* so everything adjusts on smaller screens */
}
html {
	overscroll-behavior: none;
}
body { 
	margin: 0; padding: 0;
	color: var(--text);
	font-family: var(--bodyfont), sans-serif;
	font-size: 12px;
}

/* === page container === */
.container{
	display: flex;
	flex-wrap: nowrap;
    justify-content: center;
	max-width: 100%;
	min-width: 0;
    min-height: 100vh;
    gap: 5px;
	
	background: linear-gradient(var(--bg2) 50%, var(--bg1) 50%), var(--bg1); /* this sets the background of the whole page */
	background-size: 8px 8px;
	background-attachment: fixed;
}

/* === main card === */
#fullcard { 
	display: flex;
    flex-direction: column;
	justify-content: center;
	max-width: 70%;
	min-height: 100vh;
	margin-left: 30px;
	padding: 0 calc(1.25rem + 1vw);
	background: var(--section);
	border-left: 2px var(--borderstyle) var(--bg1);
	border-right: 2px var(--borderstyle) var(--bg1);
}

/* ===== glitter ===== */
.glitter {
	display: block;
    width: 95%;
    max-width: 800px;
	text-align: center;
    margin-inline: auto;
}
.glitterbunting {
	display: flex;
	width: 100%;
	height: 100px;
	margin-bottom: 10px;
	background-image: url("assets/tumblr_heartbunting.gif");
		background-repeat: repeat-x;
		background-position: center;
		background-size: auto 100px;
}
.blinkiewall {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	max-width: 100%;
	height: fit-content;
	padding: 2px;
	gap: 3px;
}
.blinkiewall img {
	width: auto;
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

/* === toggles === */
.toggles {
	display: flex;
	flex-direction: row;
	flex: 0 0 auto;
	justify-self: right;
	gap: 5px;
}
.toggle-button {
	color: var(--text);
	font-family: var(--logofont);
	font-size: 11px;
	flex: 1;
	max-height: fit-content;
	align-self: flex-start;
	padding: 5px;
	margin-top: 5px;
	background: var(--sectionalt);
	border: 2px solid var(--accent);
	border-radius: 5px;
}
.toggle-button:hover {
	background-color: var(--bg1);
}
.toggle-button-mini {
	display: none;
}

/* === right column === */
#rightcard {
	display: flex;
	max-width: 160px;
	max-height: fit-content;
	margin-right: 30px;
	flex: 1 1 12%;
	flex-direction: column;
}
.rightwindow {
	color: var(--text);
	font-size: 11px;
	display: flex;
	flex: 0 1 12%;
	flex-wrap: wrap;
	flex-direction: column;
	max-height: fit-content;
	padding: 5px;
	background: var(--sectionalt);
	border: 3px solid var(--accent);
}
.windowtitle {
	font-size: 12px;
	font-family: var(--headingfont), serif;
	color: var(--textalt);
	text-transform: uppercase;
	background: var(--accent);
	margin-top: 8px;
	padding:2px;
	padding-bottom:0;
	border-top-right-radius:5px;
	border-top-left-radius:5px;
	letter-spacing:2px;
}
#rightcard a {
	text-decoration: none;
}
.tinynav {
	display: none;
}

/* === Angel banner === */
.pageimg { 
	display: block;
    justify-self: center;
	width: var(--width);
	max-width: 1000px;
	margin-inline: auto;
	background: var(--section);
}

/* === navbar === */
#navbar {
    padding: 2px;
	font-family: var(--headingfont), serif;
    color: var(--text);
    border-top: var(--borderwidth) var(--borderstyle) var(--accent);
    border-bottom: var(--borderwidth) var(--borderstyle) var(--accent);
    background: var(--section);
    width: 100%;
    min-height: 45px;
	display: flex;
    justify-self: center;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: flex-start;
	justify-content: center;
    gap: 12px;
    margin-bottom: 0.2vh;
}
.navbuttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90px;
    color: var(--text);
    text-decoration: none;
}
.navbuttons h5 {
    margin: 4px;
    text-align: center;
    font-size: 14px;
}
.navstar {
  	width: 80px;
  	aspect-ratio: 1;
	display: flex;
  	background-color: var(--bg2);
    background-size: 35%;
    background-position: center;
    background-repeat: no-repeat;
  	clip-path: polygon(
        50% 0%,
        62% 32%,
        100% 32%,
        69% 52%,
        80% 88%,
        50% 68%,
        20% 88%,
        31% 52%,
        0% 32%,
        38% 32%
    );
}
.home {
    background-image: url("/assets/home.svg");
}
.map {
    background-image: url("/assets/map-pin.svg");
}
.members {
    background-image: url("/assets/members.svg");
}
.gallery {
    background-image: url("/assets/gallery-camera.svg");
}
.news {
    background-image: url("/assets/news.svg");
}
.about {
    background-image: url("/assets/about-info.svg");
}
.navstar:hover {
    transform: scale(1.1) rotate(4deg);
    filter: brightness(1.15);
}

/* === timeline === */
#timegrid {
	display: grid;
	grid-template-columns: 35% 20% 35% repeat(3, 1fr);
	gap: 10px;
}
.timedash {
	justify-self: center;
	grid-column: 2;
		width: 12px;
		min-height: 300px;
		--_g: 12px left 50%,var(--accent) calc(100% - 1px),#0000;
		background: 0/100% calc(4*12px) no-repeat space;
		background-image:
			radial-gradient(circle closest-side at top var(--_g)),
			radial-gradient(circle closest-side at bottom var(--_g)),
			linear-gradient(#0000 25%,var(--accent) 0 75%,#0000 0);
}
.timeimgleft {
	grid-column: 1;
	align-content: center;
	justify-content: right;
	text-align: right;
}
.timeimgright {
	grid-column: 3;
	align-content: center;
	justify-content: left;
	text-align: left;
}
.timeimgleft img {
	max-width: 100%;
	margin: 10px;
	transform: rotate(2deg);
	outline: 2px dashed var(--bg1);
	outline-offset: 2px;
}
.timeimgright img {
	max-width: 100%;
	margin: 10px;
	transform: rotate(-2deg);
	outline: 2px dashed var(--bg1);
	outline-offset: 2px;
}
.timeimgleft img:hover, .timeimgright img:hover{
	transform: scale(1.03) rotate(4deg);
}

/* === members === */
.membergrid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}
@media (min-width: 1200px) {
	.membergrid {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap:15px
	}
}
.memberboxes {
	display: block;
	text-align: center;
	align-content: space-around;
}
.memberimages {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	justify-items: center;
}
.memberimages img {
	width: 100%;
	max-width: 250px;
	object-fit: cover;
	filter: drop-shadow(-1mm 2mm 2mm rgba(0, 0, 0, 0.3));
}

.duo1 {
	transform: rotate(4deg);
	position: relative;
	top: 5px;
}
.duo2 {
	transform: rotate(-2deg);
	position: relative;
	top: -5px;
}
.trio1 {
	transform: rotate(-4deg);
	position: relative;
	top: 6px;
}
.trio2 {
	transform: rotate(2.5deg);
	position: relative;
	top: 14px;
}
.trio3 {
	align-content: center;
	transform: rotate(-1deg);
	position: relative;
	top: -4px;
	left: 6vw;
}

/* === gallery === */
.gallerygrid {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	grid-auto-rows: 200px;
	grid-auto-flow: dense;
	align-items: center;
	gap: 5px;
}
.gallerygrid img {
	width: 100%;
	align-items: center;
	object-fit: cover;
	max-height: 225px;
	overflow-y: scroll;
}
.gallerylong {
	grid-column: span 2;
}

/* ===== GAL DOMEI-N ===== */
.webring {
	color: var(--text);
	font-size: 11px;
	max-width: 300px;
	max-height: fit-content;
	padding: 5px;
	background: var(--sectionalt);
	border: 3px solid var(--accent);
	border-radius: 4px;
	text-align: center;
	margin: 0 auto;
}
.webring a:hover {
	color: var(--accent);
}
.ringsites {
	width: 90%;
	display: grid;
	grid-template-columns: 25% 30px 65%;
	background-color: var(--sectionalt);
	border-radius: 4px;
	gap: 5px;
	margin-left: 10px;
	justify-self: center;
	align-items: center;
}
.ringsites > * {
	border-left: var(--borderwidth) var(--borderstyle) var(--accent);
	padding-left: 5px;
	padding-bottom: 5px;
}
.ringsites img {
	border-left: none;
}


/* === text === */
.middletext {
	text-align: center;
	margin: 0 auto;
	max-width: 65%;
}

main { 
	margin: 0;
}
h1, h2, h3, h4, nav p { 
	font-family: var(--logofont), serif;
	line-height: 1;
	font-weight: bold;
	margin: 1rem 0;
}
h1, h2, h3, nav p {
	text-align: center;
}
h1 { 
	font-size: calc(2.0rem + 2.0vw);
	margin: 3rem 0 1.5rem 0;
	border-bottom: var(--borderwidth) var(--borderstyle) var(--accent);
	padding-bottom: 1rem;
}
h2, nav p { 
	font-size: calc(1.50rem + 1.25vw);
}
h3 { 
	font-size: calc(1rem + 1.125vw);
}
h4 { 
	font-size: calc(1rem + 0.9vw);
}

/* === links === */
a:link { 
	color: var(--link);
	text-underline-offset: 2px;
	text-decoration-thickness: 2px;
	text-decoration-color: var(--accent);
}
a:hover, a:focus { 
	color: var(--link);
	text-decoration-style: wavy;
	text-decoration-thickness: 1px;
}
a:visited {
	color: var(--link);
	text-decoration-color: var(--accent);
}



/* === things i forget about === */
nav { 
	margin: 1rem 0 1rem 0;
	padding: 0.5rem 0 1rem 0;
	border-top: var(--borderwidth) var(--borderstyle) var(--accent);
	border-bottom: var(--borderwidth) var(--borderstyle) var(--accent);
}
nav li { 
	margin: 0.25rem;
}
footer {
	padding: 1rem;
	margin-top: 10px;
	border-top: var(--borderwidth) var(--borderstyle) var(--accent);
}
hr { 
	border: 0;
	width: 98%;
	margin: 1rem 0;
	border-top: var(--borderwidth) var(--borderstyle) var(--accent);
}
.fullcard > ul, footer p { 
	margin: 0;
	padding: 0;
	text-align: center;
}
.fullcard > ul li { 
	list-style-type: none;
	display: inline-block;
	padding: 0 0.5rem;
}

/* === other === */
p, ul, ol, details, table {
	margin: 1rem 0;
}
p, li, dd, dt, cite, code { 
	line-height: 1.4;
}
sup, sub { 
	line-height: 0.5;
}
s, del { 
	text-decoration-color: var(--link); 
	text-decoration-thickness: 2px;
}
ul ul, ol ul {
	margin: 0;
}
ul li::marker { 
	color: var(--accent);
	font-size: 125%;
	line-height: 1;
}
ul ul li::marker, ol ul li::marker { 
	color: var(--text);
}
figure { 
	background: var(--accent);
	border: 10px solid var(--accent);
	border-radius: 8px;
	margin: 1rem auto;
	width: fit-content;
	display: table;
}
figure img { 
	border-radius: 5px;
}
figcaption { 
	text-align: center;
	display: table-caption;
	caption-side: bottom;
	background: var(--accent);
	border: 10px solid var(--accent);
	border-radius: 0 0 8px 8px;
	margin-top: -10px;
	padding: 0 10px 10px 10px;
}
figcaption a:link {
	text-decoration-color: var(--section);
}
table { 
	max-width: 100%;
	margin: 1rem auto;
}
th, td { 
	border-radius: 8px;
	padding: 3px 5px;
}
th { 
	color: var(--section);
	background: var(--link);
	border: 2px solid var(--link);
}
td { 
	border: 2px solid var(--accent);
}
code { 
	display: inline-block;
	border: 2px solid var(--accent);
	border-radius: 8px;
	padding: 2px 5px;
}
pre code { 
	display: block;
	overflow-x: auto;
}
blockquote {
	border-left: var(--borderwidth) var(--borderstyle) var(--accent);
	border-right: var(--borderwidth) var(--borderstyle) var(--accent);
	margin: 1rem 0 1rem 1rem;
	padding-left: 1rem;
	padding-right: 1rem;
}
details { 
	background: var(--sectionalt);
	border: 3px solid var(--accent);
	border-radius: 5px;
	padding: 1rem 2rem 1rem 1rem;
}
details summary { 
	cursor: pointer;
}
details > *:not(summary) { 
	margin-left: 1.5rem;
}
details ul li::marker {
	color: var(--text);
}
details a:link {
	text-decoration-color: var(--section);
}
details code {
	border: 2px solid var(--section);
}
details table { 
	max-width: 100%;
	margin: 1rem auto;
}
details td { 
	border: 2px solid var(--section);
}
::selection {
	color: var(--section);
	background-color: var(--text);
}

/* ===== 404 ===== */
.lost {
	display: flex;
	flex-wrap: nowrap;
    justify-content: center;
	align-items: center;
	max-width: 100%;
	min-width: 0;
    min-height: 100vh;
	padding: 25vh;
	
	background-image: linear-gradient(to bottom, var(--bg1), var(--bg2));
}
#lostcard {
	display: block;
	justify-content: center;
	text-align: center;
	width: 80%;
	min-width: 200px;
	max-width: 800px;
	height: 80%;
	padding: 10%;
	background: var(--section);
	border-top: var(--borderwidth) var(--borderstyle) var(--accent);
	border-bottom: var(--borderwidth) var(--borderstyle) var(--accent);
}


/* ===== mobile ver ===== */
@media (max-width: 700px) {
	
	/* === main card === */
	#fullcard { 
		max-width: 85%;
		margin-left: 20px;
		margin-right: 20px;
	}
	
	/* === glitter === */
	.toggles {
		display: flex;
		flex-direction: column;
		gap: 5px;
		position: fixed;
		top: 1vh; right: 1vw; 
	}
	.toggle-button {
		display: none;
	}
	.toggle-button-mini {
		display: block;
		align-content: center;
		color: var(--text);
		font-family: var(--logofont);
		font-size: 11px;
		height: 35px;
		width: 35px;
		padding: 5px;
		background: var(--sectionalt);
		border: 2px solid var(--accent);
		border-radius: 5px;
	}
	.toggle-button-mini:hover {
    	background-color: var(--bg1);
	}
	
	/* === navbar === */
	#navbar {
		width: 100%;
		min-height: 40px;
		gap: 12px flex;
	}
	.navbuttons {
		flex: 1 1 90%;
	}
	.navstar {
		width: 10vw;
		aspect-ratio: 1;
		display: flex;
	}
	
	
	/* === right column === */
	#rightcard {
		display: none;
	}
	.rightwindow {
		display: none;
	}
	.windowtitle {
		display: none;
	}
	.tinynav {
		display: grid;
		grid-template-columns: 45% 10% 45%;
		justify-content: space-evenly;
		justify-items: center;
		gap: 5px;
	}
	
	/* === members === */
	.membergrid {
		grid-template-columns: repeat(1, 1fr);
	}
	.trio3 {
		left: 35%;
	}
	
	
	/* ===== 404 ===== */
	.lost {
		padding: 25vw;

		background-image: linear-gradient(to bottom, var(--bg1), var(--bg2));
	}
}