* {
	margin: 0;
	padding: 0;
}

body {
	display: block;
	background-color: black;
	font-family: monospace;
	color: white;
}

div {
	display: block;
}

a {
	color: white;
}

a:visited {
	color: white;
}

hr {
  border: none;
  border-top: 1px dashed white;

  margin-top: 1.5em;
  margin-bottom: 1em;
}

@media screen and (max-width: 680px) {
  .hide_mobile {
	  display: none !important;
	  visibility: hidden;
  }
}

@media screen and (min-width: 680px) {
  .show_mobile {
	  display: none !important;
	  visibility: hidden;
  }
}

/* components */

.dash_border {
	border: dashed 1px white;
}

.textbox {
	border: dashed 1px white;
	padding: 25px;
}

.row {
	flex-direction: row;
}

.col {
	flex-direction: column;
}

.opacity_0 {
	opacity: 0;
}

.opacity_1 {
	opacity: 1;
}

.img_ease_load {
	transition: all 200ms ease;
}

.nav {
	display: flex;
	gap: 10px;
	
	& h1:first-child {
		margin-right: auto;
	}
	
}

/* specifics */

.page {
	background-color: #030303;
	background: url( "static/background_stars.jpg" );
	
	width: 100%;
    min-height: 100vh;
	
	display: flex;
	flex-direction: row;
    justify-content: center;
    position: relative;
}

.content {
	background: #030303;
	
	position: relative;
    display: flex;
    flex-direction: column;
    
	max-width: 768px;
    width: 100%;
	border: solid gray;
	border-width: 0 1px 0 1px;
}

.library {
	display: flex;
	flex-direction: row;
	gap: 10px;
	margin: 10px 0;
}

.mobile_library {
	height: 350px;
	background-color: black;
	margin: 0;
}

.library_preview_container {
	width: 350px;
	height: 350px;
	margin: 0;

	flex-basis: 350px;
	flex-grow: 0;
	flex-shrink: 0;
	
	overflow: hidden;
}

#library_preview {
	position: relative;
	object-fit: cover;
	height: 100%;
	width: 100%;
	
	z-index: 1;
}

#library_preview_load {
	position: absolute;
	z-index: 0;
}

#library_desc {
	background-color: black;
	margin: 0;
	flex-basis: auto;
	height: 300px;
	& > p {
		margin: 0;
	}

	& > h1 {
		margin: 0 0 10px 0;
	}
}

.library_list {
	flex: 1;
	margin: 10px 0;
	padding: 0;

	display: flex;
	flex-direction: row;
	justify-content: space-between;

}

.library_entry {
	max-width: 120px;
	height: auto;
	flex: auto 1 auto;
	
	border: dashed white 1px;
	transition: all 100ms ease;
	
	&:hover{
		transform: scale(1.1);
		border-color: transparent;
	}
}

.selected_entry {
	z-index: 10;
	filter: drop-shadow(0 0 10px rgba(255,255,255,0.5));
}

.top_library_list > .selected_entry {
	transform: translateY(20px);
}

.bottom_library_list > .selected_entry {
	transform: translateY(-20px);
}

.more_stuff_list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2px;
}

.more_stuff_entry {
	width: 100px;

	transition: all 100ms ease;

	&:hover{
		transform: scale(1.1);
		border-color: transparent;
	}
}

#more_stuff_preview {
	min-height: 102px;
}

.badge_container {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

/* individual badge images */
.badge, .badge > image {
	width: 88px;
	height: 31px;
	image-rendering: pixelated;
}

.button:hover {
  cursor: pointer;
}

.doc {
	background: #030303;
	margin: 10px 25px;
	height: 100%;
}

.margin {
	background: blue;

    overflow: hidden;
	position: absolute;
    max-width: 120px;
	width: 100%;
    height: 100%;
}

.marginleft {
    left: 0;
    transform: translateX(-100%);
	mask-image: linear-gradient( 90deg, rgba(0, 0, 0, 0) 25%, rgba(1.0, 1.0, 1.0, 0.3) 100% );
}

.marginright {
	right: 0;
	transform: translateX(100%);
	mask-image: linear-gradient( 270deg, rgba(0, 0, 0, 0) 25%, rgba(1.0, 1.0, 1.0, 0.3) 100% );
}
