/**

Vanille
für Proud Electrics

**/


/* fonts */

@font-face {
	/* Born2bSportyV2 by JapanYoshi */
	font-family: Born2bSportyV2;
	src: url("Born2bSportyV2.ttf");
}


/* pages */

body {
	display: flex;
	flex-direction: column;
	min-height: calc(100vh - 3rem - 2rem);
	padding: 1rem;
	padding-top: 3rem;
	padding-bottom: 2rem;
	margin: 0;
	margin-left: 20px;
	margin-right: 20px;
	background-color: black;
	background-image: url('girl.png');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
	background-attachment: fixed;
	background-blend-mode: luminosity;
	text-align: center;
}

@media (orientation: portrait) {
	  body {
	  	background-size: cover;
	  	background-position: center top;
	  }
}

body::before {
	content: "";
	display: block;
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
	border-left: 1.5rem solid transparent;
	border-right: 1.5rem solid transparent;
	border-image-source: url("fleuron.png");
	border-image-slice: 0% 50%;
	border-image-repeat: repeat;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: crisp-edges;
	image-rendering: pixelated;
}

nav {
	padding-bottom: 1rem;
	margin-bottom: 2rem;
}

body > footer {
	padding-top: 1rem;
	margin-top: 2rem;
}

main {
	flex-grow: 1;
	align-self: center;
	max-width: 32cm;
}

section + section {
	margin-top: 3rem;
}

hr {
	border: none;
	border-top: 2px solid black;
	margin-top: 2rem;
	margin-bottom: 0.5rem;
}


/* navigation */

nav li {
	display: inline-block;
	font-size: 200%;
}
nav li::before {
	content: "/ ";
}
nav li::after {
	content: " ";
	white-space: pre-wrap;
}


/* text */

body {
	font-family: Born2bSportyV2;
	line-height: 120%;
	color: snow;
}

a {
	color: hotpink;
}

code {
	font-family: unset;
	color: white;
	background-color: black;
	padding-left: 0.125em;
	padding-right: 0.125em;
}


/* headings */

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	margin-top: 1em;
	margin-bottom: 0.5em;
	font-weight: bold;
}

h1 {
	font-size: 4rem;
	line-height: 70%;
}

h2 {
	font-size: 2.6rem;
}

h2::before, h2::after {
	content: "";
	display: inline-block;
	width: 0.6em;
	height: 0.6em;
	background-image: url("fleuron.png");
	background-size: 200% 100%;
	background-position: -100% center;
	margin-left: 0.2em;
	margin-right: 0.2em;
	vertical-align: bottom;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: crisp-edges;
	image-rendering: pixelated;
}

h2::before {
	background-position: -100% center;
}

h2::after {
	background-position: 0% center;
}

h3 {
	font-size: 1.5rem;
	text-decoration: underline;
}


/* paragraphs */

p {
	margin: 0;
	margin-top: 0.25rem;
	margin-bottom: 0.25rem;
	font-size: 1.5rem;
}

p > img {
	height: 0.6em;
	width: auto;
}


/* lists */

ol {
	counter-reset: index 0;
	padding: 0;
	margin: 0;
	list-style-type: none;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}

ol > li {
	counter-increment: index 1;
}

ol > li {
	margin-bottom: 0.5rem;
}

ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}


/* media */

figure {
	margin: 0;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}

figcaption {
	font-size: 1.25rem;
}

img {
	max-width: 100%;
	object-fit: cover;
}

audio {
	max-width: 100%;
}


/* tables */

table {
	border-collapse: collapse;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
	display: inline-table;
}

td {
	border: 2px solid black;
	padding: 0.5em;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
}
