:root
{
	--bar-color:#4162DFA6;
	--center-color:#6865F44D;
	--item-color:#D0C4FF;
	--backdrop-color:#262E83;
	--default-button-color:#2C32D5D6;
	--highlighted-button-color:#FFB23D;
	--first-shadow-color:#181C6AAB;
	--second-shadow-color:#1A1857C9;
	--first-highlight-color:#C9D8FF96;
	--second-highlight-color:#64A7EDB8;
	--third-highlight-color:#FDFDFF;
	--third-shadow-color:#7265C3;
}

 /* Dropdown Button */
.dropbtn {
  background-color:var(--default-button-color);
  color: white;
  padding: 0.5em;
  font-size: 3.5vh;
  border: none;
  cursor: pointer;
  transition: background-color 0.5s;
}

/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus {
  background-color: var(--highlighted-button-color);
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--item-color);
  font-size:2.5vh;
  min-width: 30vw;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 0.5em 0.5em;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;} 

@font-face
{
	font-family: "OpenDyslexic";
	src:
		url("fonts/OpenDyslexic-Regular.otf") format("opentype");
}
#SmallerLogo
{
	background-color:var(--default-button-color);
	max-height:7.75vh;
	transition: background-color 0.5s;
	
}

#SmallerLogo:hover, #SmallerLogo:focus
{
	background-color:var(--highlighted-button-color);
	cursor:pointer;
}

#headerbar, #headerbarsmall
{
	color:white;
	display:flex;
	flex-wrap:wrap;
	background-color:var(--bar-color);
	overflow:visible;
	font-size:5vh;
	width:100%;
	box-shadow: 0vh 3vh var(--first-shadow-color);
}
.flexfiller
{
	flex-grow:3;
	max-width:100%;
}
#headerbar *, #headerbarsmall *
{	
}

#centralContent
	{
		width:96vw;
	}

@media screen and (max-width:105vh)
{
	.homeBox
	{
	width:100%;
	}
	#homeContainer
	{
		flex-direction:column;
	}
	.infoBox
	{
		max-width:85%;
	}
	
	#SmallerLogo
	{
		display:none;
	}
	.optionalFooter
	{
		display:none;
	}
	.halfsiesContainer
	{
	display:flex;
	flex-direction:column;
	padding:4%;
	padding-bottom: 0%;
	padding-top: 2%;
	justify-content:center;
	align-items: center;
	}

	.halfsies
	{
		max-width:105%;
	}
	.verticalHalfsies
	{
	max-height:100%;
	max-width:82%;
	padding:0%;
	flex-grow:1;
	}

	.verticalHalfsiesContainer
	{
	display:flex;
	flex-direction:row;
	font-size:2vh;
	}
	#profileDesc
	{
	font-size:2.25vh;
	}
	.smallerModule
	{
		font-size:2.1vh;
	}
	.theMedia {
  width: 42%;
  height: 32%;
  padding: 0%;
  flex-grow: 1;
  margin-left: 6vw;
  margin-right: auto;
  margin-bottom: 2vh;
}
}

@media screen and (min-width:105vh)
{
	.homeBox
	{
	width:31%;
	}
	#homeContainer
	{
		flex-direction:row;
	}
	
	.infoBox
	{
		max-width:45%;
	}
	
	#SmallerLogo
	{
		display:flex;
	}
	.optionalFooter
	{
		display:flex;
	}
	.halfsiesContainer
	{
		display:flex;
		flex-direction:row;
		padding:4%;
		padding-bottom: 0%;
		padding-top: 2%;
	}

	.halfsies
	{
		max-width:50%;
		flex-grow: 1;
	}
	.verticalHalfsies
	{
	max-height:50%;
	padding:0%;
	flex-grow:1;
	}

	.verticalHalfsiesContainer
	{
	display:flex;
	flex-direction:column;
	font-size:2.27vh;
	}
	#profileDesc
	{
	font-size:2.5vh;
	flex-grow: 1;
	}
	.smallerModule
	{
		font-size:2.27vh;
	}
	.theMedia {
  width: 20%;
  height: 52%;
  flex-grow: 1;
  margin-left: 3vw;
  /*! margin-right: auto; */
  margin: 2%;
}
}

@media screen and (max-width:155vh)
{
	#centralContent
	{
		width:96vw;
	}
	

}
@media screen and (min-width:155vh)
{
	#centralContent
	{
		width:140vh;
	}
	
}





#verticalMenu
{
	margin:auto;
	padding-top:2.5vh;
	display:flex;
	flex-direction:column;
	min-width:50vh;
	text-align:center;
	font-size:7vh;
}

#verticalMenu *
{
	color:black;
}

#backVertical
{
	text-decoration:underline;
	font-size:5vh;
	padding-left:10%
}



.menuOverlay
{
	padding-top:3.5vh;
	position:fixed;
	top:0;
	bottom:0;
	left:0;
	right:0;
	min-width:100vw;
	min-height:100vh;
	z-index:1;
	background-color:var(--center-color);
}

.hidden
{
	display:none;
}



#footerbar
{
	background-color:var(--bar-color);
	margin-top:10vh;
	width:100%;
	display:flex;
	font-size:3.5vh;
	align-content:stretch;
	justify-content:flex-end;
	min-height:5vh;
	margin-right:5%;
	box-shadow: inset 0vh 0.35vh var(--first-highlight-color);
}
#footerbar *
{
	margin-top:1vh;
	margin-bottom:1vh;
	min-height:3.5vh;
	min-width:8.5vh;
	margin-right:2vh;
	color:white;
}



#footerbar a
{
	text-decoration:underline;
}

#fontButton
{
	border-radius: 50%;
	background-color:var(--bar-color);
	position:fixed;
	right:5%;
	top:12%;
	font-size:4vh;
	height:6.7vh;
	width:6.7vh;
	opacity:0.65;
	filter:alpha(opacity=65);
	display:block;
	border: 10% var(--bar-color);
}
#fontButton:hover
{
	opacity:1.0;
	filter: alpha(opacity=100);
}


header
{
	padding:0;
	margin:0;
}

body
{
	min-height: 100vh;
	width:100%;
	display: flex;
    flex-direction: column;
	justify-content: space-between;
	padding:0;
	margin:0;
}

html
{
	background-image: url('TestBG.png');
	background-size:50%;
	background-color:var(--backdrop-color);
	background-attachment:fixed;
	padding:0;
	margin:0;
}


#centralContent
{
	margin-top:5.5vh;
	margin-right:auto;
	margin-left:auto;
	background-color:var(--center-color);
	min-height:80vh;
	border-radius:-119px;
	margin-bottom:3.5vh;
	
	padding-top: 3%;
	box-shadow: 4vh 4vh var(--first-shadow-color), inset 0.5vh 0.5vh var(--first-highlight-color);
}

.infoBox
{
	display:flex;
	flex-direction:column;
	background-color:var(--item-color);
	justify-content:center;
	margin-left:auto;
	margin-right:auto;
	margin-top:2.5%;
	margin-bottom:2.5%;
	border-radius:10px;
}


#homeContainer
{
	display:flex;
	justify-content:center;
	align-content:center;
	max-width:90%;
	margin-left:auto;
	margin-right:auto;
}

#infoBoxHolder
{
	display:flex;
	flex-direction:row;
	flex-wrap:wrap;
	align-items:flex-start:
}

.infoBox *
{
	max-width:90%;
	
}

.thumbnailInfoBox
{
	padding-top:3%;
	margin:auto;
	display:flex;
	justify-content:center;
}
.titleBoxInfoBox
{
	display:flex;
	width:95%;
	justify-content:center;
	align-items:center;
	min-height:9%;
	text-align:center;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:1%;
	font-size:3.2vh;
}
.titleBoxInfoBox *
{
	color:black;
	margin-top:1%;
	min-height:3.2vh;
	margin-bottom:0.5%;
	text-decoration:underline;
}
.descriptionInfoBox
{
	font-size:2vh;
	text-align:center;
	margin-left:auto;
	margin-right:auto;
	margin-top:0%;
}
.markdownContainer
{
	max-width:90%;
	background-color:var(--item-color);
	background-image:url('glossStripes.png');
	background-size:47%;
	background-repeat:repeat-y;
	background-position:-61%;
	margin-left:auto;
	margin-right:auto;
	padding-bottom:3%;
	margin-bottom:8%;
	display:flex;
	flex-direction:column;
	align-items:center;
	border-radius:-18px;
	flex-grow: 1;
	box-shadow: 2.75vh 2.75vh var(--second-shadow-color), inset 0.5vh 0.5vh var(--third-highlight-color);
	filter:brightness(0.9);
	transition: background-position 1.25s, filter 0.45s, transform 0.45s;
	transform:scale(1);
	transition-timing-function:cubic-bezier(.68,-0.55,.27,1.55);
	
}

.markdownContainer.highlightable:hover
{
	transform:scale(1.025);
	background-position:198%;
	filter:brightness(1.1);
	cursor:pointer;
}

#headerMarkdown
{
	margin-bottom:3%;
	font-size: 2.5vh;
}

.downloadIcon
{
  display: inline;
  margin: 0 0.125em;
  padding: 0;
  vertical-align: sub;
  height:1.5rem;
  cursor:pointer;
}

.downloadLink
{
	font-size:1.25rem;
	text-align:center;
	text-decoration:underline;
	color:black;
}


md-block 
{
	max-width:90%;
	
}

md-block *
{
	margin-left:2%;
	margin-right:2%;
	max-width:100%;
}

md-block * *
{
	margin-left:0%;
	margin-right:0%;
	border-radius: 5%;
}

md-block * img
{
	background-color:transparent;
	filter: drop-shadow(-0.7vh -0.7vh 0 var(--third-shadow-color)) drop-shadow(0.85vh 0.8vh 0 var(--third-highlight-color));
	width:100%;
	margin-top:2.5vh;
	margin-bottom:2.5vh;
}





md-block h1, h2
{
	text-align:center;
	text-decoration:underline;
}


md-block ul li ul
{
	font-size: 85%;
}

button {
  background-color: var(--item-color);
  border: none;
  color: black;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  

}

a
{
	cursor:pointer;
}



.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    min-width: 100%;
    min-height: 100vh;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(5px);
    z-index: 1;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
}

.hidden {
    display: none;
}

.modal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.9vh;
    max-width: 100%;
    padding: 2%;
    max-height: 97vh;
    position: sticky;
    top: 2%;
    background-color: rgba(0, 0, 0, 0.35);
    background-blend-mode: screen;
    border-radius: 15px;
    z-index: 2;
    margin-left: auto;
    margin-right: auto;
}

.modal .flex {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#modal-image {
	max-height: 75vh;
	max-width: 100%;
	object-fit: scale-down;
}

#modal-exit-button{
    /*! padding-top:-16vh; */
    border-color:rgb(1, 0, 0);
	height:2vh;
    background: rgba(0, 0, 0, 0);
     border:0.2vh solid white; 
    max-width:9vh;
    color: white;
    font-family: times;
    padding: 0.2rem;
	font-size:2.5vh;
	height:4vh;
}

#modal-exit-button:hover{
	cursor:pointer;
}

.hidden {
    display: none;
}

#zoomedName {
    color: white;
    text-align: center;
	font-size:3vh;
}

#zoomedDescription {
    color: white;
    text-align: center;
    color: rgb(200, 200, 200);
    font-size: 2vh;
	 margin-bottom:-0.4vh;
    /* Next rules are only be have a clearer preview */
}

#imageHolder
{
	margin-top:3.5vh;
	display: flex;
	max-width: 100%;
	flex-wrap: wrap;
	margin-bottom: 2vh;
	align-items: center;
	justify-content: center;
	padding: 2%;
}

#orderSwapButton
{
	font-family:t;
	margin-left:auto;
	margin-right:auto;
	margin-top:4vh;
	display:flex;
	font-size:2.5vh;
	border-radius:0.2em;
	padding: 2%;
	text-decoration: underline;
	background-image:url('glossStripes.png');
	background-size:47%;
	background-repeat:repeat-y;
	background-position:-61%;
	box-shadow: 1vh 1vh var(--second-shadow-color), inset 0.5vh 0.5vh var(--third-highlight-color);
	filter:brightness(0.9);
	transition: background-position 1.25s, filter 0.45s, transform 0.45s;
	transition-timing-function:cubic-bezier(.68,-0.55,.27,1.55);
	margin-bottom:0em;
	max-width:90%;
	transform:scale(1);
}

#orderSwapButton:hover
{
	background-position:198%;
	filter:brightness(1.1);
	cursor:pointer;
	transform:scale(1.15);
}

.theMedia
{
	box-shadow: 1vh 1vh var(--second-shadow-color);
	filter:brightness(1);
	transform:scale(1);
	outline:0em solid var(--highlighted-button-color);
	transition: filter 0.45s, transform 0.45s, outline 0.45s;
	transition-timing-function:cubic-bezier(.68,-0.55,.27,1.55);
	background-color: var(--first-highlight-color);
}

.theMedia:hover
{
	outline:0.2em solid var(--highlighted-button-color);
	filter:brightness(1.1);
	transform:scale(1.03);
}

.pdfEmbed
{
	max-width:90%;
	margin-left:auto;
	margin-right:auto;
	margin-top:1em;
}

.TtheMedia
{
	display:flex;
	/*! max-width:90%; */
	padding: 0.5em;
	height: 30vh;
	width: 40%;
}

#blogMarkdown
{
	font-size:3vh;
}

#fontButtons
{
	display:flex;
	justify-content:center;
	font-family:"Times New Roman";
	height: 6.4vh;
	padding: 1%;
	max-width: 100%;
}

#fontButtons *
{
	padding:1%;
	font-size:4vh;
	font-family:"Times";
	margin-left: 1vh;
	margin-right: 1vh;
	box-shadow: 0.5vh 0.5vh var(--second-shadow-color), inset 0.5vh 0.5vh var(--third-highlight-color);
	background-image:url('glossStripes.png');
	background-size:47%;
	background-repeat:repeat-y;
	background-position:-61%;
	
	filter:brightness(0.9);
	transition: background-position 1.25s, filter 0.45s, transform 0.45s;
	transform:scale(1);
	transition-timing-function:cubic-bezier(.68,-0.55,.27,1.55);
	
}



#fontButtons *:hover
{
	transform:scale(1.025);
	background-position:198%;
	filter:brightness(1.1);
	cursor:pointer;
}