/* CSS Document */

:root {
    --dark: #1E1E20;
	--mid: #989B9C;
	--light: #ECF0F1;
	--active: #DC3522;
	--active-mid: #B83D30;
	--inactive: #D8D9D7;
	--margin-color: #F2E8EF;
}

* {
	color: var(--light);
	font-family: "ivystyle-sans", sans-serif;
	font-size: 15px;
	box-sizing: border-box;
}

html {
	background-color: var(--margin-color);
	overflow-x: hidden;
	margin-right: calc(100% - 100vw);
  	line-height: 1.5rem;
}

body {
	background-color: var(--dark);
	margin: 2rem auto;
	max-width: 60rem;
	padding: .5rem 1rem .25rem;
	border: 1px solid var(--mid);
  	box-shadow: 2px 2px var(--mid);
	box-sizing: content-box;
}

h1, h2, h3, h4 {
	margin-bottom: .25rem;
	margin-top: .1rem;
}

h1 {
	font-size: 17px;
}

p {
	line-height: 1.5rem;
	margin: -4px 0 0.25rem;
}

hr {
	margin: .5rem 0 .5rem;
	height: 1px
}

ul {
	list-style-type: '- ';
	margin: 0 0 0.25rem;
}

li {
	list-style-position: inside;
}

footer {
	clear: both;
	margin-top: .25rem;
	& > hr {
		margin-top: 0;
	}
	& > p {
		color: var(--mid);
	}
}

.siteicon {
	height: 5rem;
	float: right;
	margin: 0;
}

.headerList {
	display: flex;
	padding: 0rem;
	margin-top: .25rem;
	margin-bottom: .5rem;
	list-style: none;
	flex-wrap: wrap;
	& > li {
		margin-right: 1rem;
		margin-bottom: .3em;
		& > a {
			color: var(--inactive);
			width: 100%;
			display: inline-block;
			margin-right: .5rem;
			text-align: center;
			vertical-align: middle;
			white-space: nowrap;
			text-decoration: none;
			border: 1px solid var(--inactive);
			outline: 0;
			box-shadow: 2px 2px var(--mid);
			appearance: none;
			box-sizing: inherit;
		}
		& > a.headerButtonActive {
			color: var(--active);
			border: .1rem solid var(--active);
			box-shadow: 2px 2px var(--active-mid);
		}
	}
}

.solid {
	border: none;
	border-bottom: 1px solid var(--active);
}

.dashed {
	border: none;
	border-bottom: 1px dashed var(--active);
}

.pinImage {
	min-width: 10rem;
	max-width: 20rem;
	margin: .75rem;
	margin-top: 0;
	
	& > p {
		color: var(--mid);
		font-style: italic;
		text-align: center;
		margin-bottom: 0;
	}
	
	& > img {
		width: 100%;
		min-height: 10rem;
		display: inline-block;
	}
}


.pinRightImage {
	margin-right: 0;
	float: right;
}

.pinLeftImage {
	margin-left: 0;
	float: left;
}

.postSection {
	margin-top: 1rem;
	& > p {
		text-indent: 2rem;
	}
	
}

.post-content {
	& .postSection:first-of-type {
		margin-top: .5rem;
	}
}

.post-header {
	& hr {
		margin: 0 auto;
	}
}

.pinTopImage {
	margin: auto;
}

.pinBorder {
	& > img {
		border: 1px solid var(--light);
		box-shadow: 2px 2px var(--mid);
	}
}

.clearfix:after { 
   content: "."; 
   visibility: hidden; 
   display: block; 
   height: 0; 
   clear: both;
}

.carousel {
	margin: .5rem auto;
	padding: 0;
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: baseline;
	clear: both;
	gap: 2rem;
	& > div {
		display: block;
		margin: 0;
		min-width: 10rem;
		max-width: 10rem;
		flex: 1;
		& > img {
			max-width:100%;
			max-height:100%;
			min-height: unset;
		}
	}
	& > div > img:hover {
		smax-width: 30rem;
		smin-width: 30rem;
		transform: scale(3);
		/*min-width: 30rem;
		/max-width: 30rem;*/
	}
}

.vcarousel {
	margin: .5rem auto;
	padding: 0;
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: baseline;
	clear: both;
	gap: 1rem;
	& > iframe {
		display: block;
		margin: 0;
		min-width: 20rem;
		flex: 1;
		aspect-ratio: 3 / 2;
	}
}

@media screen and (max-device-width: 650px)  {
	.pinRightImage {
		margin: 1rem auto;
		float: none;
	}

	.pinLeftImage {
		margin: .5rem auto;
		float: none;
	}
}