/* Style for Cordelya's relvokcor.xyz site */

:root {
	--dk-purple: #130122;
	--rus-violet: #200439;
	--lt-rus-violet: #361356;
	--ultra-violet: #6f4d8f;
	--lilac: #bca8ce;
	--pale-purple: #ded3e8;
	--ghost-white: #f7f4f9;
}

/* Classes */
.container {
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	align-items: stretch;
	margin: 0 auto;
	background-color: var(--pale-purple);
	min-height:100%;
	width: 100%;
}
.header {
	background-color: var(--lt-rus-violet);
	line-height: 1.2;
	padding-bottom: 3vh;
	text-align: center;
	width: 100%;
	flex: 1 0 auto;
}
.header h1 {
	color: var(--lilac);
	font-size: 2.5em;
	font-weight: 300;
}
.header a {
	border: 1px solid var(--ultra-violet);
	border-radius: 290486px;
	color: white;
	font-size: 0.6em;
	letter-spacing: 0.2em;
	padding: 1em 2em;
	text-transform: uppercase;
	text-decoration: none;
	transition: none 200ms ease-out;
	transition-property: color, background;
	margin: 1em;
}
.header a:hover {
	background: var(--ultra-violet);
	color: var(--ghost-white);
}
/* Image gallery grid https://blog.logrocket.com/responsive-image-gallery-css-flexbox */
.image-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: space-evenly;
}
.image-gallery > li {
	height: 250px;
	cursor: pointer;
	position: relative;
	flex: 1 1 auto;
	list-style: none;
}
.image-gallery li img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	vertical-align: middle;
	border-radius: 5px;
}
/*
.image-gallery::after {
	content: "";
	flex-grow: 999;
}
*/
.overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(57,57,57,0.502);
	top: 0;
	left: 0;
	transform: scale(0);
	color: #fff;
	border-radius: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.image-gallery li:hover .overlay {
	transform: scale(1);
}
.main {
	flex: 3 1 auto;
	margin: 0 auto;
	background-color: var(--pale-purple);
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: stretch;
	width: 100%
}
.sidebar {
	flex: 1 1 auto;
	background: var(--lilac);
	color: var(--rus-violet);
	width: 100%;
}

.elsewhere,
.navigate {
	margin: auto;
	max-width: 90%;
}
.elsewhere h2,
.navigate h2 {
	text-align: center;
}
.elsewhere a,
.navigate a {
	background-color: var(--pale-purple);
	color: var(--dk-purple);
	display: block;
	padding: 12px;
	text-decoration: none;
	text-align: center;
	border: 1px solid var(--dk-purple);
	transition: none 200ms ease-out;
	transition-property: color, background;
}
.elsewhere a:hover,
.navigate a:hover {
	background-color: var(--ghost-white);
}
.elsewhere a:active,
.navigate a:active {
	background-color: var(--dk-purple);
	color: white;
}
.tc-badge {
	width: fit-content;
	margin: 5px auto;
	text-align: center;
	line-height: 1.5;
}
.tc-badge img:hover {
	box-shadow: 5px 5px 5px var(--dk-purple);
}
.content {
	flex: 3 auto;
	padding: 2em 1em;
	max-width: 55em;
}
.footer {
	flex: 1 auto;
	background-color: var(--lt-rus-violet);
	color: var(--ghost-white);
	margin-top: auto;
	width: 100%;
	padding-bottom: 3vh;
}
.footer a {
	color: var(--lilac);
}
blockquote .quote-author {
	font-style: italic;
	float: right;
}
/* Elements */
body {
	font-family: "Verdana", "Helvetica", "Arial", sans-serif;
	line-height: 1.5;
	color: var(--rus-violet);
	background-color: var(--pale-purple);
	background-image: url("data:image/svg+xml,%3Csvg width='48' height='64' viewBox='0 0 48 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M48 28v-4L36 12 24 24 12 12 0 24v4l4 4-4 4v4l12 12 12-12 12 12 12-12v-4l-4-4 4-4zM8 32l-6-6 10-10 10 10-6 6 6 6-10 10L2 38l6-6zm12 0l4-4 4 4-4 4-4-4zm12 0l-6-6 10-10 10 10-6 6 6 6-10 10-10-10 6-6zM0 16L10 6 4 0h4l4 4 4-4h4l-6 6 10 10L34 6l-6-6h4l4 4 4-4h4l-6 6 10 10v4L36 8 24 20 12 8 0 20v-4zm0 32l10 10-6 6h4l4-4 4 4h4l-6-6 10-10 10 10-6 6h4l4-4 4 4h4l-6-6 10-10v-4L36 56 24 44 12 56 0 44v4z' fill='%236f4d8f' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
	margin: 0;
	min-height: 100vh;
	}
h1 {
	font-weight: bold;
}
h1,
h2,
strong {
	color: var(--dk-purple);
}
h1.title {
	text-align:center;
}
p.subtitle {
	font-style: italic;
	font-weight: lighter;
	font-size: smaller;
	text-align: center;	
}
blockquote {
	background-color: var(--ghost-white);
	border-bottom: 5px solid var(--ultra-violet);
	border-left: 1px solid var(--ultra-violet);
	padding: 15px 20px;
}
code,
pre {
	background: var(--lilac);
	border-bottom: 1px solid var(--ultra-violet);
	color: var(--dk-rus-violet);
}
code {
	padding: 2px 4px;
	vertical-align: text-bottom;
}
pre {
	border-left: 2px solid var(--dk-purple);
	padding: 1em;
	max-width: 75%;	
}
hr {
	border: 2px solid var(--ultra-violet);
}
/* Media Queries */
@media only screen and (min-width: 800px) {
	.container {
		max-width: 65em;
	}
	.main {
		flex-flow: row nowrap;
	}
	.content {
		order: 2;
	}
	.sidebar {
		order: 1;
		margin-right: 10px;
		min-width: 12em;
		max-width: 15em;
	}
}
