/*list of styles for the program*/
:root {	/*Colors*/
	--neon: #EC00EC;
	--bacg: #3e236e;
	--bluh: #00aef7;
	--yelh: #ebe91b;
}
body {
background-color: #0D0D0D;
color: white;
font-family:Garamond, serif;  /*Futara;*/
}
.titel {
        color: var(--neon);
        font-size: 50px;
		font-weight: bold;
		text-shadow: 0 0 0.3em currentColor;
		text-decoration: none;
		transition: 1s;
}
a:link {
	color: var(--neon);
	background-color: transparent;
	text-decoration: none;
	transition: 0.5s;
}
a:visited {
	color: var(--neon);
	background-color: transparent;
	text-decoration: none;
}
a:hover {
	color: var(--yelh);
	background-color: transparent;
	text-decoration: none;
	transition: 0.5s;
}
a:active {
	color: var(--yelh);
	background-color: transparent;
	text-decoration: none;
}

.h5 {
	display: inline-block;
	color: var(--neon);
	height: 50px;
	width: 170px;
	background-color: transparent;
	font-size: 20px;
	border-radius: 12px;
	border: var(--neon) 0.2em solid;
	text-shadow: 0 0 1em currentColor, 0 0 1em #808080;
	box-shadow: inset 0 0 0.4em 0 var(--neon), 0 0 0.4em 0 var(--neon);
	position: relative;
	outline: none;
	font-weight: bold;
	transition: 0.1s;
}
.h5:hover {		/*the effect that happens after hovering the cursor over h5*/
	width: 175px;
	transition: 0.1s;
	color: var(--bacg);
	background-color: var(--neon);
	cursor: pointer;
	border: var(--bacg);
}

.h5:active {
	color: var(--bacg);
	background-color: var(--neon);
	width: 170px;
	height: 49px;
	transition:0.1s;
	filter: brightness(70%);
}
hr {
	margin-right: 10px;
	margin-left: 10px;
	border-width: 2px;
	border-color: var(--neon);
	background-color: var(--neon);
	border-style: double;
	border-radius: 5%;
	text-shadow: 0 0 1em currentColor, 0 0 1em #808080;
	box-shadow: inset 0 0 0.4em 0 var(--neon), 0 0 0.4em 0 var(--neon);
}
.openup{
	padding-left: 10px;
	padding-right: 10px;
	width: 100%;
}
.openup td{
	width: 25%;
	vertical-align: top;
	padding-right: 10px;
	padding-left: 10px;
}
.openup td.larger {
	padding-right: 40px;
}

.search input[type=text] {
	display: inline-block;
	color: var(--neon);
	height: 40px;
	background-color: transparent;
	font-size: 20px;
	border-radius: 12px;
	border: var(--neon) 0.2em solid;
	box-shadow: inset 0 0 0.4em 0 var(--neon), 0 0 0.4em 0 var(--neon);
	position: relative;
	outline: none;
	font-weight: bold;
	width: 100%;
	padding-left: 20px;
}
.search input[type=text]::placeholder {
	color: var(--neon);
	filter: brightness(70%);
}
.search input[type=text]:hover {
		filter: contrast(200%);
}
.search input[type=text]:active {
	filter: brightness(90%);
}

.filler {
	display: none;
	visibility: hidden;
	width: 70px;
	position: relative;
}
@keyframes appear {
  0% { background-color: var(--neon);  }
  100% { background-color: transparent; } 
}

.submit {
	display: none;
	color: var(--neon);
	height: 50px;
	width: 70px;
	font-size: 25px;
	background-color: transparent;
	border-radius: 25px;
	border: var(--neon) 0.2em solid;
	text-shadow: 0 0 1em currentColor, 0 0 1em #808080;
	box-shadow: inset 0 0 0.4em 0 var(--neon), 0 0 0.4em 0 var(--neon);
	position: relative;
	outline: none;
	font-weight: bold;
	transition: 0.2s;
	animation: appear 0.2s;
}

.submit:hover {		/*the effect that happens after hovering the cursor over the search button*/
	width: 80px;
	transition: 0.1s;
	color: var(--bacg);
	background-color: var(--neon);
	cursor: pointer;
	border: var(--bacg);
	transition: 0.2s;
}

.submit:active {
	color: var(--bacg);
	background-color: var(--neon);
	width: 68px;
	transition:0.1s;
	filter: brightness(70%);
}

.hyde {
  max-height: 0;
  overflow-y: auto;
  transition: max-height 0.2s ease-out;
  text-align: left;
  font-family: Futara;
}
.accordion {
	display: inline-block;
	color: var(--neon);
	height: 50px;
	background-color: transparent;
	font-size: 20px;
	border-radius: 12px;
	border: var(--neon) 0.2em solid;
	text-shadow: 0 0 1em currentColor, 0 0 1em #808080;
	box-shadow: inset 0 0 0.4em 0 var(--neon), 0 0 0.4em 0 var(--neon);
	position: relative;
	outline: none;
	font-weight: bold;
	cursor: pointer;
	width: 100%;
	text-align: center;
	transition: 0.2s;
}
.accordion:active {
	color: var(--bacg);
	background-color: var(--neon);
	transition:0.2s;
	filter: brightness(70%);
}

.active, .accordion:hover {
	color: var(--bacg);
	background-color: var(--neon);
	transition:0.2s;
}

.accordion:after { /* plus symbol b4 click*/
  content: '\25BC';
  color: var(--neon);
  font-weight: bold;
  float: right;
  margin-left: 5px;
  background-color: var(--backg);
  transition: 0.2s;
}

.accordion.active:after {  /* minus symbol after click*/
  content: "\25B2";
  color: var(--backg);
  background-color: var(--neon);
  transition: 0.2s ease-out;
}

.panel {
  background-color: var(--backg);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  text-align: left;
}

.genrus { /* genre dropdown menu position */ 
  position: relative;
  margin-top: 10px;
}

.genrus select { /* genre dd menu style */ 
  background-color: var(--bacg); /* black */ 
  color: var(--neon); /* white */ 
  padding-left: 12px;
  width: 30vh;
  height: 50px;
  border: 2px solid black;
  font-size: 22px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  -webkit-appearance: button;
  appearance: button;
  outline: none; 
} 
.genrus select:hover {
  border-color: var(--neon);
}
.genrus::before {  /* dd menu sign before hover */
  content: "\f13a";
  font-family: FontAwesome;
  position: absolute;
  top: 0;
  right: 0;
  width: 20%;
  height: 100%;
  text-align: center;
  font-size: 28px;
  line-height: 50px;
  color: black;
  background-color: var(--neon);
  pointer-events: none;
}

.genrus:hover::before {  /* dd menu sign after hover */
  color: var(--neon);
  background-color: black;
}

.genrus select option { 
  padding: 30px;
}

.add {
	margin-top: 10px;
	display: inline-block;
	color: var(--neon);
	height: 40px;
	width: 60px;
	background-color: transparent;
	font-size: 20px;
	border-radius: 12px;
	outline: none;
	font-weight: bold;
	transition: 0.1s;
}
.add:hover {
	transition: 0.1s;
	color: var(--bacg);
	background-color: var(--neon);
	cursor: pointer;
	border: var(--bacg);
}

.add:active {
	color: var(--bacg);
	background-color: var(--neon);
	height: 35px;
	width: 55px;
	transition:0.1s;
	filter: brightness(70%);
}
	
.remove{
	display: inline-block;
	color: var(--neon);
	height: 40px;
	width: 30px;
	background-color: transparent;
	font-size: 20px;
	border-radius: 12px;
	outline: none;
	font-weight: bold;
	transition: 0.1s;
	margin-top: 15px;
}
.remove:hover {	
	transition: 0.1s;
	color: var(--bacg);
	background-color: var(--neon);
	cursor: pointer;
	border: var(--bacg);
}

.remove:active {
	color: var(--bacg);
	background-color: var(--neon);
	height: 37px;
	width: 27px;
	transition:0.1s;
	filter: brightness(70%);
}
.sign {  /* > or < at score*/
	cursor: pointer;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
	color: var(--neon);
	background-color: transparent;
	font-size: 35px;
	height: 50px;
	width: 50px;
	border-radius: 10px;
	outline: none;
	transition: 0.1s;
	border: 2px solid black;
	margin-top: 10px;
	vertical-align: center;
}

.sign:hover {		/*the effect that happens after hovering the cursor over ">"/"<"*/
	transition: 0.1s;
	color: var(--bacg);
	background-color: var(--neon);
	cursor: pointer;
	border: var(--bacg);
}

.sign:active {  /*the effect that happens after pressing ">"/"<"*/
	color: var(--bacg);
	background-color: var(--neon);
	height: 47px;
	width: 47px;
	transition:0.1s;
	filter: brightness(70%);
}

.scorer { /* genre dropdown menu position */ 
  position: relative;
}
.scorer select { 
  margin-top: 10px;
  background-color: var(--bacg); 
  color: var(--neon);  
  padding: 12px;
  height: 50px;
  width: 85px;
  border: 2px solid black;
  font-size: 22px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  -webkit-appearance: button;
  appearance: button;
  outline: none; 
}
.scorer select:hover { 
  border-color: var(--neon);
}
.scorer::before {  /* dd menu sign before hover */
  margin-top: 10px;
  content: "\f13a";
  font-family: FontAwesome;
  position: absolute;
  bottom: 0x;
  right: 0;
  width: 30%;
  height: 152%;
  text-align: center;
  font-size: 22px;
  line-height: 50px;
  color: black;
  background-color: var(--neon);
  pointer-events: none;
}

.scorer:hover::before {  /* dd menu sign after hover */
  color: var(--neon);
  background-color: black;
}

.scorer select option { 
  padding: 30px;
}

.rarted {  /*table at score*/
	text-align: center;
	width: 100%;
}
.rarted td{
	text-align: center;
	height: 50px;
	width: 50%;
	vertical-align: middle;
}

.tarded {  /*table at status*/
	text-align: left;
	width: 100%;
}
.tarded td{
	text-align: left;
	width: 2vh;
}
.tri-state{
	height: 26px;
	width: 26px;
	font-size:15px;
	padding-top: 0;
	padding-bottom: 0;
	padding-right: 0;
	padding-left: 0;
	color: var(--neon);
	background-color: transparent;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	border: 2px solid black;
	transition: 0.1s;
	font-weight: bold;
	vertical-align: middle;
}
.tri-state:hover{
	transition: 0.1s;
	color: var(--bacg);
	background-color: var(--neon);
	cursor: pointer;
	border: var(--bacg);
}
.tri-state:active{
	color: var(--bacg);
	background-color: var(--neon);
	height: 24px;
	width: 24px;
	transition:0.1s;
	filter: brightness(70%);
}

.unselectable {
	display: inline-block;
	user-select: none;
	font-size: 28px;
	cursor: pointer;
	vertical-align: middle;
}

.inputtext { 
  display:inline-block;
  margin-top: 10px;
  background-color: var(--bacg); 
  color: var(--neon);  
  width: 100%;
  height: 55px;
  border: 2px solid black;
  font-size: 22px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  -webkit-appearance: button;
  appearance: button;
  outline: none; 
}
.inputtext:hover { 
  border-color: var(--neon);
}

.rupert { /* genre dropdown menu position */ 
  position: relative;
}
.rupert select { 
  background-color: var(--bacg); 
  color: var(--neon);  
  height: 50px;
  width: 100px;
  border: 2px solid black;
  font-size: 22px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  -webkit-appearance: button;
  appearance: button;
  outline: none; 
}
.rupert select:hover { 
  border-color: var(--neon);
}
.rupert::before {  /* dd menu sign before hover */
  margin-top: 10px;
  content: "\f13a";
  font-family: FontAwesome;
  position: absolute;
  bottom: 0x;
  right: 0;
  width: 30%;
  height: 152%;
  text-align: center;
  font-size: 22px;
  line-height: 50px;
  color: black;
  background-color: var(--neon);
  pointer-events: none;
}

.rupert:hover::before {  /* dd menu sign after hover */
  color: var(--neon);
  background-color: black;
}

.smarted {
  width: 100%;
  text-align: center;
}
.smarted td {
  width: 33%;
}

.flex-container {	/*changes the header*/
	background-color: #3e236e;
	margin: 10px;
	text-align: center;
	padding-bottom: 10px;
	font-size: 30px;
	flex-direction: row;
	color: var(--neon);
	border-radius: 12px;
	border: var(--yelh) 0.2em solid;
	box-shadow: inset 0 0 0.4em 0 var(--yelh), 0 0 0.4em 0 var(--yelh);
	font-family: Futara;
}

.flex-tape {	/*changes the programs body*/
background-image: url(mapa.jpg);
	background-color: #616161;
	margin: 10px;
	line-height: 10px;
	font-size: 32px;
	flex-direction: row;
	height: 87.5vh;
	overflow: auto;
	border-radius: 12px;
	border: var(--neon) 0.2em solid;
	box-shadow: inset 0 0 0.4em 0 var(--neon), 0 0 0.4em 0 var(--neon);
}

.container {	/*programs body style*/
	display: flex;
	flex-wrap: wrap;
	margin: 0 10vh 0 10vh;
	padding: 1.5vh 2vh 0 2vh;
}

.main_text {
  display: inline-block;
background: rgb(62,35,110);
background: linear-gradient(90deg, rgba(62,35,110,0.6797093837535014) 20%, rgba(0,35,110,0) 60%);
 /* color: #2A1B3D; */
 /* opacity: 0.8; */
  font-weight: bold;
}

.sub_text {
  display: inline-block;
  overflow-y: auto;
 /* background-color: #D83F87; */
  padding-bottom: 20px;
  text-overflow: ellipsis;
}

img {			/*changes all image format*/
 /* #150c25 */
 width: 100%;
 height:100%;
 border-radius: 5%;	
 border-width: 3px;
 border-style: solid;
 border-color: white;
}


.main {			/*changes the image used in default view)*/
	width: 20vh;
	height: 35vh;
	margin: 2vh;
}

.tab { /*manga text */
	width: 40vh;
	padding-right: 0.5vh;
	line-height: 1;
	flex: 1;
	display: inline-block;
	min-width: 0px;
	overflow: auto;  /*hidden;
	text-overflow: ellipsis; 
	min-width: 0px; */
}
.tab td{ /*manga description */
	padding-top: 12px;
	text-align: left;
	vertical-align: top;
}
.tab th { /* manga title */
	text-align: center;
	vertical-align: center;
	font-size: 50px;
	line-height: 0.9;	
	font-weight: bold;
	padding-top: 1.6vh;
}

article {		/*changes each individual container of the four results*/
	padding-right: 5px;
	padding-top:5px;
	padding-bottom:5px;
	height: 40vh;
	width: 100vh;
	background-color: black;
	flex: 5;
	display:flex;
	border-radius: 10px;
	border: var(--neon) 0.2em solid;
	box-shadow: inset 0 0 0.4em 0 var(--neon), 0 0 0.4em 0 var(--neon);
	border-style: double;
}
/*@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; } 
}*/
@keyframes fader {
  0% { opacity: 0.6; }
  100% { opacity: 1;} 
}
article.tspawn {
	animation: fader 0.5s;
}

@keyframes fadeIn {
  0% { background-color: var(--neon); opacity: 0; }
  100% { background-color: black; opacity: 1;} 
}
article.t0 {
	animation: fadeIn 0.3s;
}
article.t1 {
	animation: fadeIn 0.6s;
}
article.t2 {
	animation: fadeIn 0.6s;
}
article.t3 {
	animation: fadeIn 0.9s;
}
article:hover {
	background: rgb(0,0,0);
	background: linear-gradient(120deg, rgba(0,0,0,1) 50%, rgba(62,35,110,0.758140756302521) 100%);
	cursor: pointer;
	/*transition: 1s;*/
}

.checked { /* vertesanas zvaigznu krasa */
	color: orange;
}

.centrus { /* vertesanas zvaigznes */
text-align: right;
opacity: 0.9;

}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow-y: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

							/* Modal Content!!!! */
.modal-content {
  font-size: 20px;
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border-radius: 4px;
  border: var(--neon) 0.2em solid;
  box-shadow: inset 0 0 0.4em 0 var(--neon), 0 0 0.4em 0 var(--neon);
  width: 80%;
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
  max-height: 80vh;
  overflow-x: hidden;
}
.modal_img {
	width: 240px;
	height: 410px;
	margin: 2vh;
	padding-right: 2vh;
}
.modal_img:hover {
	cursor: pointer;
	filter: saturate(200%);
	/*filter: contrast(200%); */
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

.modal-header {
  padding: 2px 16px;
  background-color: #3e236e;
  color: white;
  text-align: left;
  font-size: 34px;
  display: block;
}
h3 { /* "Description" text title */
font-size: 40px;
}

.modal-body {
	padding: 4px 16px;
	background-color: black;
	font-size: 34px;
	display: inline-block;
	min-width: 97.86%;
	}

.modal-footer {
  padding: 4px 16px;
  background-color: #3e236e;
  color: white;
}

/* width */
::-webkit-scrollbar {
  width: 10px;  
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
  border-radius: 10px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #888; 
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #666; 
}

