@font-face {
  font-family: digifont;
  src: url("ShipporiAntiqueB1-Regular.ttf");
}

* {
	padding: 0;
	margin: 0;
	font-family: digifont;
}

html {
	width: 100%;
	height: 100%;
}

body {
	/*background-image: url("assets/wg2.png");*/
	color: white;
	width: 100%;
	height: 100%;
}

.background {
	position: fixed;
	width: 150vw;
	height: 150vh;
}

.background-inner {
	position: fixed;
	width: 150vw;
	height: 150vh;
	background-size: cover;
	object-fit: fill;
	background-image: linear-gradient(98deg, yellow, green);
}

.cover {
	display: none;
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	background-color: black;
	opacity: 0;
}

.no-css {
	display: none;
	user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}

.content {
	/*opacity: unset;*/
	display: block;
	position: absolute;
	justify-content: center;
	/*height: 100vh;*/
	min-width: 1125px;
	width: 1450px;
	left: 50%;
	transform: translate(-50%, 0);
}

.box {
	display: flex;
	margin-top: 50px;
	height: 20cm;
}

.box-down {
	display: flex;
	/*margin-bottom: 50px;*/
	height: 50px;
	user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}

.bd-actual {
	/*flex: 1;*/
}

.bd-box {
	border: 2px solid black;
	border-radius: 5px;
	margin: 5px;
	background-image: unset;
	background-color: #F2F2F2;
	color: black;
	box-shadow: 5px 5px 10px black;
	padding-top: 10px;
	padding-bottom: 10px;
}

.bd-nothing {
	/*flex: 4;*/
}


.box-left {
	flex: 3;
	/* background-image: unset; */
	/* background-color: #FF6666; */
	margin: 5px;
	border: 2px solid black;
	background-color: silver;
	/*backdrop-filter: blur(5px);*/
	border-radius: 5px;
	box-shadow: 5px 5px 10px black;
	background-image: linear-gradient(silver, grey);
}

.box-left-inner {
	width: 100%;
	height: 100%;
}

.box-left-evo {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: stretch;
	align-content: center;
	height: 100%;
}

.evo-row {
	display: flex;
	width: 95%;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-around;
	align-items: center;
}

.digimon-box {
	width: 60px;
	aspect-ratio: 1;
	background-color: white;
	background-image: url("spr_unknown.png");
	background-size: 80% /*contain*/;
	background-repeat: no-repeat;
	background-origin: padding-box;
	background-position: center; 
	border: 2px solid blue;
	border-radius: 5px;
	z-index:4;
	image-rendering: pixelated;
	cursor: pointer;
	/*opacity: 0.5;*/
}

.box-right {
	flex: 1;
	background-image: unset;
	background-color: unset;
	opacity: 0;
	overflow-y: scroll;
	margin-right: 20px;
	padding-right: 10px;
}

.line-h {
	position: absolute;
	border-top: 4px solid black;
	width: 1px;
	height: 1px;
	z-index:1;
}

.line-v {
	position: absolute;
	border-left: 4px solid black;
	width: 1px;
	height: 64px;
	padding-bottom: 4px;
	z-index:1;
}

.evo-line-h {
	position: absolute;
	border-top: 4px solid black;
	width: 1px;
	height: 1px;
	z-index:4;
	border-color: aqua;
	/*box-shadow: 0px 0px 10px 5px;*/
}

.evo-line-v {
	position: absolute;
	border-left: 4px solid black;
	width: 1px;
	height: 64px;
	padding-bottom: 4px;
	z-index:4;
	border-color: aqua;
	/*box-shadow: 0px 0px 10px 5px;*/
}

.prev-line-h {
	position: absolute;
	border-top: 4px solid black;
	width: 1px;
	height: 1px;
	z-index:2;
	border-color: #a862ea;
}

.prev-line-v {
	position: absolute;
	border-left: 4px solid black;
	width: 1px;
	height: 64px;
	padding-bottom: 4px;
	z-index:2;
	border-color: #a862ea;
}

#digi-cards {
	width: 100%;
}
#evo-list {
	padding-bottom: 5px;
}

.card-box {
	border: 2px solid black;
	border-radius: 5px;
	margin: 5px;
	background-color: #F2F2F2;
	/*height: 150px;*/
	box-shadow: 5px 5px 10px black;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-bottom: 10px;
	user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	color: black;
	overflow: hidden;
}

.card-box-digimon {
	/*height: 150px;*/
}

#dm-card-name {
	color: black;
	text-align: center;
	margin-bottom: 10px;
	font-family: digifont;
}

#dm-card-attr-out {
	color: black;
	text-align: center;
	margin-top: 10px;
}

#dm-card-attr-icon  {
	display: inline;
	position: relative;
	top: 4px;
	padding-left: 2px;
	padding-right: 2px;
	height: 20px;
	user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}

#dm-card-name {
	/*font-size: 1.3em;*/
	font-size: 125%;
	overflow: hidden;
	width: 100%;
}

/* Artwork Box */

.dm-card-art-box {
	width: 80%;
	height: 80%;
	display: block;
	margin-left: auto;
	margin-right: auto;
	background-color: white;
	padding: 10px;
	/*padding-bottom: 0px;*/
	border-radius: 10px;
	border: 1px solid gray;
	overflow: hidden;
	/*height: 80%*/
	-webkit-touch-callout:none;
	-webkit-user-select:none;
	-khtml-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
	user-select:none;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
}

#dm-card-art-padder {
	display: line;
	padding-right: 400px;
}

.card-box-digimon-img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1;
	margin: 0px;
	/*margin-left: auto;
	margin-right: auto;
	background-color: white;
	/*padding-top: 5px;*/
	/*padding-bottom: 5px;*/
	/*padding: 10px;
	border-radius: 10px;
	border: 1px solid gray;*/
	/*height: 80%*/
	-webkit-touch-callout:none;
	-webkit-user-select:none;
	-khtml-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
	user-select:none;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
}

.non-unlockable-mon {
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
}

.unlockable-mon-upper {
	padding-top: 10px;
	padding-left: 10px;
	padding-bottom: 5px;
}

.unlockable-mon {
	padding-top: 5px;
	background-color: #d8ecf3;
	color: rgb(120,120,120);
	font-weight: bold;
	/*border: 0 none;*/
	border-top: 2px solid #f0f5f5;
	padding-bottom: 10px;
	padding-left: 10px;
	padding-right: 10px;
	background-clip: border-box;
	font-size: small;
}

.digimon-box-card {
	width: 40px;
	height: 40px;
	background-color: white;
	background-image: url("spr_unknown.png");
	background-size: 32px /*contain*/;
	background-repeat: no-repeat;
	background-origin: padding-box;
	background-position: center; 
	border: 2px solid blue;
	border-radius: 5px;
	/*z-index:4;*/
	image-rendering: pixelated;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	/* opacity: 0.5; */
}

.dmb-splitter {
	display: flex;
}

.dmb-splitter-sprite {
	width: 40px;
}

.dmb-splitter-name {
	width: 100%;
	margin-left: 10px;
	margin-right: 10px;
	border-bottom: 1px solid gray;
	overflow-wrap: anywhere;
}

.dmb-splitter-name-main {
	font-weight: bold;
	cursor: pointer;
}

.dmb-splitter-name-warning {
	font-weight: bold;
	color: darkred;
}

.dmb-splitter-name-sub {
	padding-top: 0px;
	font-size: small;
	color: gray;
	cursor: pointer;
	font-size: small;
}

.dmb-conditions {
	text-align: left;
	margin-top: 5px;
	margin-right: 10px;
	font-size: x-small;
}

.dmb-conditions li {
	margin-left: 24px;
	padding-left: 0px;
}

.dmb-conditions ul {
	padding-left: 0px;
}

li::marker {
	padding-left: 0px;
	padding-right: 0px;
}

.dmb-oops-digi {
	/*color: darkblue;*/
	font-weight: bold;
}

.dmb-oops {
	text-align: left;
	margin-top: 5px;
	margin-left: 2px;
	margin-right: 10px;
	font-size: x-small;
	font-weight: bold;
	cursor: pointer;
	/*color: grey;*/
	/*text-decoration: underline;*/
}

.dmb-oops-block {
	padding-bottom: 3px;
	border-bottom: 1px dotted black;
}

.dmb-oops-other {
	color: darkred;
}

.dmb-conditions-attr {
	text-decoration: underline dotted;
	cursor: help;
}

.dmb-conditions-attr-icon  {
	display: inline;
	position: relative;
	top: 4px;
	padding-left: 2px;
	padding-right: 2px;
	height: 16px;
	user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}

.dmb-conditions-digimon-icon  {
	display: inline;
	position: relative;
	top: 4px;
	padding-left: 2px;
	padding-right: 2px;
	height: 16px;
	user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}

.condition-caremistakes {
	color: darkred;
	font-weight: bold;
}

.condition-effortlvl {
	color: darkgreen;
	font-weight: bold;
}

.condition-jogressbattle {
	color: darkblue;
	font-weight: bold;
}

.help-text {
	cursor: help;
	font-style: italic;
}

#randomize-line {
	text-decoration: underline;
	cursor: pointer;
	color: blue;
}

.box-right p {
	user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}

/*Scroll Bar*/

/* width */
.box-right::-webkit-scrollbar {
	width: 5px;
}

/* Track */
.box-right::-webkit-scrollbar-track {
	background-color: rgba(0,0,0,0);
	border-radius: 10px;
}
 
/* Handle */
.box-right::-webkit-scrollbar-thumb {
	background-color: rgba(255,255,255,0.8);
	border-radius: 10px;
}

/* Handle on hover */
.box-right::-webkit-scrollbar-thumb:hover {
	background-color: rgba(255,255,255,1);
}

.box-down {
	margin-bottom: 50px;
}

.imdummy {
	position: absolute;
	display: none;
	opacity: 0;
}

.rema-box{
	position: absolute;
	width: 10px;
	height: 10px;
	top: 0px;
	left: 0px;
	background-image: unset;
	background-color: red;
	z-index:10;
	display: none;
	opacity: 0;
}

.card-box-eye {
	display: none;
}

#digi-eye {
	display: none;
}

#random-eye {
	display: none;
}

.digimon-box, .digimon-box-card {
	transition: border-color 0.2s, box-shadow 0.5s;
}

@media screen and (max-width: 480px) {
	/*.box-left, .card-box {
		border-color: red;
	}*/
	
	.content {
	display: unset;
	flex: unset;
	left: unset;
	transform: unset;
	min-width: unset;
	width: 100%;
	}
	
	.box {
		height: 15cm;
	}
	
	.box-left {
		display: flex;
		flex: 1;
		margin: unset;
		margin-left: 5px;
		margin-right: 5px;
	}
	
	.evo-row {
	/*width: 90%;*/
	}
	
	
	.box-right {
	display: none;
	flex: unset;
	margin: 0;
	padding: 0;
	position: fixed;
	margin-right: unset;
	padding-right: unset;
	width: 80vw;
	/*min-width: 80vw;*/
	height: 100vh;
	
	top: 0px;
	left: 50%;
	transform: translate(-50%, 0);
	z-index:8;
	}
	
	.digimon-box {
		width: 9vw;
		aspect-ratio: 1;
		user-select: none;
		-webkit-user-select: none;
		-ms-user-select: none;
	}
	
	/* Artwork Box */
	.card-box-digimon-img {
		/*width: 70%;*/
	}
	
	.prev-line-h, .prev-line-v {
		display: none;
	}
	
	.imdummy {
		opacity: 1;
	}
	
	.line-h, .evo-line-h, .prev-line-h, .line-v, .evo-line-v, .prev-line-v {
		transform: translate(-4px,-10px);
	}
	
	.cover {
		z-index: 7;
		backdrop-filter: blur(10px);
		opacity: 0.5;
	}
	
	.box-down {
		justify-content: center;
	}
	
	.dmb-conditions-attr {
	text-decoration: unset;
	cursor: unset;
	}
	
	.evo-row {
	justify-content: space-evenly;
	width: 99%
	}
	
	.card-box {
	box-shadow: 1px 5px 5px black;
	}

	.rema-box{
		display: none;
		left: 0px;
	}

	.card-box-eye {
		display: block;
		height: 1px;
		overflow: visible;
		/*display: flex;
		position: relative;
		bottom: 32px;*/
		/*height: 32px;*/
	}
	
	#digi-eye {
		display: block;
		position: absolute;
		top: 10px;
		right: 15px;
		/*display: inline;*/
		/*position: absolute;*/
		height: 32px;
		margin-top: 5px;
		margin-left: 5px;
		margin-right: 5px;
		opacity: 0.25;
		-webkit-touch-callout:none;
		-webkit-user-select:none;
		-khtml-user-select:none;
		-moz-user-select:none;
		-ms-user-select:none;
		user-select:none;
		-webkit-tap-highlight-color:rgba(0,0,0,0);
	}
	
	#random-eye {
		display: block;
		position: absolute;
		top: 10px;
		right: 15px;
		/*display: inline;*/
		/*position: absolute;*/
		height: 32px;
		margin-top: 5px;
		margin-left: 5px;
		margin-right: 5px;
		opacity: 0.25;
		-webkit-touch-callout:none;
		-webkit-user-select:none;
		-khtml-user-select:none;
		-moz-user-select:none;
		-ms-user-select:none;
		user-select:none;
		-webkit-tap-highlight-color:rgba(0,0,0,0);
	}
	
	
}

@media screen and (max-width: 1455px) {
		
	/*.box-left, .card-box {
		border-color: red;
	}*/
	
	.content {
		left: unset;
		transform: unset;
		min-width: unset;
		width: 100%;
		/*min-width: unset;
		width: 100%;*/
	}
	
	.box-right {
		min-width: 200px;
		/*margin-right: unset;
		padding-right: unset;*/
	}
	.prev-line-h, .prev-line-v {
		/*display: none;
		opacity: 0;*/
	}

	
}