@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400&display=swap');

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

/* Track */
::-webkit-scrollbar-track {
  background: rgba(0,0,0,0)
  ; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #272626; 
  border-radius: 10px;
}

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

html, body, body * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: #161616;

  /*-webkit-user-select: none;  Safari */
  /*-ms-user-select: none;  IE 10 and IE 11 */
  /*user-select: none;  Standard syntax */
}

/* General CSS */
/* Navigation Bar */

.navigation-bar {
  text-align: center;
  background-color: #272626;
  padding: 8px;
  padding-left: 12px;
  padding-right: 12px;
  top: 0;
  position: sticky;
  z-index: 100;
}

.items-left {
  float: left;
  color: white;
  font-size: 6vw;
  padding: 2%;
}

.items-mid {
  margin: auto;
  display: inline-block;
  color: #d5f406;
  padding-top: 1%;
}

.logo {
  width: 30vw;
  padding-left: 1px;
}

.items-right {
  float: right;
  color: white;
  font-size: 6vw;
  padding: 2%;
}


/* Body Content */

.container {
  margin: auto;
  margin-top: 10px;
}

.title, .content-gray, .title-selectable {
  width: 100%;
}

.title {
  background: linear-gradient(#88d902, #5f9804);
}
/* Content Gray */
.content-gray {
  background-color: #2E2E2E;
  background-image: linear-gradient(#444444, #222222);

}

.content-left {
  float: left;
  text-align: center;
  width: 40%;
  padding-top: 15px;
}

.content-left img {
  width: 80%;
  padding-bottom: 15px;
}

.content-right {
  float: right;
  text-align: left;
  width: 60%;
  padding: 15px;
  padding-left: 0px;
}
/* Content Border */
.content-border {
  border: 1px solid #4F4F4F;
  background-color: #111111;
}

.slider-container {
	position: relative;
	z-index: 0;
}

.prev i, .next i{
	display: table-cell; 
	vertical-align: middle;
}

.prev, .next {
	display: table;
	text-align: center;
	position: absolute;
	color: white;
	z-index: 2;
	font-size: 5vw;
	height: 100%;
	width: 10%; 
	transition: opacity 250ms, width 500ms;
}

.prev {
	left: 5%;
	opacity: 0;
	pointer-events: none;
}

.next {
	right: 5%;
	opacity: 1;
	float: right;
	float: right;
}

.slider {
	margin: auto;
	margin-top: 4%;
	margin-bottom: 4%;
	width: 90%;
	overflow: scroll;
	overflow-y: hidden;
	white-space: nowrap;
	position: relative;
}

.overlay {
	position: absolute;
	background: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0), #111111);
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1;
	transition: background 1s ease-out;
}

.list {
	width: 30%;
	display: inline-block;
	margin-right: 10px;
	transition: background-color 200ms;
	padding-bottom: 3%; 
}

.list:active {
	background-color: #272626;
}

.list-image {
    position: relative;
    padding-bottom: 140%;
}

.list-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.list-title {
	text-align: center;
	white-space: normal;

}

/* Title Selectable */

.buttons {
	display: inline-block;
	padding: 2%;
	text-align: center;
	font-size: 3.5vw;
	border: 1px solid #4F4F4F;
	border-radius: 5px 5px 0px 0px;
	color: #C1C1C1;
}

.b-selected {
	background: linear-gradient(#88d902, #5f9804);
	border-color: #5a8f03;
	color: white;
}

#column2, #column3 {
  display: none;
}

/* Anime Column */

.anime-column {
	width: 100%;
	display: inline-block;
	opacity: 1;
	transition: opacity 500ms, background-color 200ms;
}

.anime-column:active {
	background-color: #272626;
}

.column-image {
	width: 30%;
	padding: 5%;
	float: left;
}

.column-image img {
	width: 90%;
}

.column-text {
	width: 70%;
	float: right;
	padding-top: 5%;
}

.column-title {
	color: #d5f406;
	font-size: 3.5vw;
}

.column-desc {
	color: #6F6F6F;
	font-size: 3vw;
	padding-top: 5%;
}

/* Footer */

.footer {
	background-color: #272626;
	color: #C1C1C1;
	text-align: center;
	font-size: 2vw;
	padding: 5%;
	margin-top: 15%;
}

.footer .clickable {
	color: white;
	padding-top: 2%;
}

/* Menu */

#menu {
	background-color: #272626;
	position: fixed;
	width: 60vw;
	height: 100%;
	font-size: 5vw;
	color: white;
	margin-left: -100vw;
	transition: margin 500ms;
	z-index: 100;
}

.menu-container {
	width: 80%;
	margin: auto;
}

.menu-list {
	width: 100%;
	padding: 4%;
}

.menu-list:active {
  background: linear-gradient(#88d902, #5f9804);
}

.icon, .name {
	display: inline-block;
}

.icon {
	width: 19%;
	text-align: center;
	float: left;
}

.name {
	width: 80%;
	font-size: 4vw;
	padding-left: 5%;
  padding-top: 1%;
}

/* Search */

#search {
	width: 100%;
	position: fixed;
	background-color: #272626;
	text-align: center;
	margin-top: -100vw;
	transition: margin 500ms;
	z-index: 99;
}

#search input {
	width: 90%;
	padding: 2%;
	margin: 5%;
	background-color: #141414;
	border: 1px solid gray;
	color: gray;
}


/* List Style */
/* A-Z List */

.azlist {
  color: #d5f406;
  font-size: 3.5vw;
  padding: 5%;
  padding-top: 3%;
  line-height: 2;
}

.azlist a {
    display: block;
    position: relative;
    padding: .5vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.azlist a:hover {
    background-color: #1e1e1e;
}

.azlist a span {
    text-align: right;
    float: right;
    /* display: inline; */
    vertical-align: top;
}

.azlist a[data-type=complete]:before {
    content: "Complete";
    position: absolute;
    /* top: 0; */
    /* font-size: 1vw; */
    right: 5px;
    background-color: #383838;
    padding: 0 16px;
    border-radius: 15px;
}

.azlist a[data-type=ongoing]:before {
    content: "On-going";
    position: absolute;
    /* top: 0; */
    /* font-size: 1vw; */
    right: 5px;
    background-color: #383838;
    padding: 0 16px;
    border-radius: 15px;
}

/* Search Filter */

.filter-left, .filter-right {
  display: inline-block;
  font-size: 3.5vw;
  padding: 5%;
}

.f-left-items, .f-right-items {
  display: block;
}

.f-right-items select {
	width: 50vw;
}

.f-below {
  margin-top: 5%;
}

.filter-left {
  float: left;
  width: 20%;
}

.f-left-items {
  color: white;
  width: 100%;
}

.filter-green {
  color: #d5f406;
}

.filter-right {
  float: right;
  width: 80%;
}

.f-right-col {
  width: 100%;
}

.f-right-items {
  display: inline-block;
}

.f-right-after {
  padding-left: 5%;
}

.f-right-items select{
  background-color: white;
}

#top {
  top: 0;
}

.back-to-top {
  position: fixed;
  bottom: 5vw;   
  /*right: 5vw;  */
  left: 50%;
  transform: translate(-50%, 0);
  font-size: 12vw;
  color: white;
  opacity: 0;
  transition: opacity 250ms;
}


/* Profile Style */
/* Episode List */

.eplist {
  color: #d5f406;
  font-size: 3.5vw;
  padding: 5%;
  padding-top: 3%;
  line-height: 2;
  width: 75%;
  display: inline-block;
  float: left;
}

.eplist a p {white-space: nowrap;text-overflow: ellipsis;overflow: hidden;direction: rtl;text-align: left;}

.datelist {
  color: #C1C1C1;
  font-size: 3.5vw;
  padding: 5%;
  padding-top: 3%;
  line-height: 2;
  width: 25%;
  display: inline-block;
  float: right;
  white-space: nowrap;
}


/* Watch Style */

.video_boss {
    width: 46%;
    margin: auto;
    box-sizing: border-box;
}

.video_boss * {
	box-sizing: border-box;
	overflow:hidden;
}

.video-wrapper {
	padding-bottom: 56.25%;
	position: relative;
}

.video-wrapper iframe, .video-wrapper video {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
	background-color: #000;
}

.episode-pick {
  width: 100%;
  text-align: center;
  padding: 5%;
}

.ep-pick-items {
  display: inline-block;
}

.ep-pick-items select {
  width: 65vw;
  background-color: gray;
  color: white;
  padding: 2%;
  margin: 1vw 0;
}

.ep-icon {
  padding: 3vw;
  color: #d5f406;
  font-size: 5vw;
}

.switch-server {
  width: 100%;
}

.video-details {
  margin-top: 5%;
}

.server-items {
  width: 50%;
  display: inline-block;
  float: left;
  color: white;
  padding: 3%;
}

.s-items-left {
  text-align: right;
  font-size: 4vw;
}

.s-items-right {
  text-align: left;
}

.s-items-right select {
  background-color: gray;
  color: white;
}

.download {
  text-align: center;
  font-size: 3.5vw;
  margin-top: 10%;
}

.d-link {
  color: #d5f406;
}

.d-name {
  color: #C1C1C1;
  padding-top: 3%;
}

.footer-custom {
  position: fixed;
  bottom: 0;
}

/* Normal Message */

.normal-message {
  color: white;
  font-size: 3vw;
  padding: 3%;
}

.n-centered {
  text-align: center;
}

.n-justified {
  text-align: justify;
}

.nothing-placeholder {
  width: 100%;
  text-align: center;
}

.nothing-placeholder img {
  width: 40%;
  padding: 5%;
  padding-bottom: 0;
}

.return-home {
  color: #d5f406;
  text-align: center;
  padding: 10%;
}

/* Clickable Text */

.text-link {
  color: #d5f406;
}


/* Predetermined styles */

.anime-title {
  color: #d5f406;
  font-size: 3vw;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  padding: 5px 0;
}

.small {
  font-size: 3.5vw;
}

.anime-desc {
  font-size: 1em;
  color: #C1C1C1;
  padding-top: 10px;
}

.anime-summary {
    color: #C1C1C1;
    padding-top: 10px;
	font-size: 1vw;
    max-height: 5vw;
	overflow: hidden;
	text-overflow: ellipsis;
}

.anime-genre {
  color: #d5f406;
}

.text-title {
  font-size: 1em;
  color: white;
  padding: 5px;
  padding-left: 10px; 
}

/* Remove styles from hyperlinks */

a {
	text-decoration: none;
	color: inherit;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

#blur1 {
	width: 100vw;
	height: 100vh;
	position: fixed;
	background-color: black;
	opacity: 0;
	z-index: 95;
	pointer-events: none;
	transition: opacity 500ms;
}

.fa-chevron-right:before, .fa-chevron-left:before {
    vertical-align: middle;
    overflow: auto;
}

@media only screen and (min-width: 768px), screen and (max-height: 500px) and (orientation: landscape){
  /* For desktop: */
  
  .navigation-bar {
	  padding: 0;
  }

  .items-left {
	  font-size: 1.5vw;
	  padding: 2%;
  }
  
  .logo {
	  width: 12vw;
  }
  
  .items-right {
	  font-size: 1.5vw;
  }
  
  .content-left {
	  width: 30%;
  }
  
  .content-right {
	  width: 70%;
  }
  
  .content-left img {
	  width: 60%;
  }
  
  .anime-desc, .anime-title, .text-title, .column-title, .column-desc, .anime-genre, .buttons, .footer, .eplist, .datelist, .filter-left, .filter-right, .azlist, .normal-message, .download, .s-items-left {
	  font-size: 16px;
  }
  
  #menu, .name {
	  font-size: 1vw;
  }
  
  #menu {
	  width: 20vw;
  }
  
  .icon {
	  font-size: 1.2vw;
  }
  
  .column-image {
	  width: 20%;
	  padding: 3%;
  }
  
  .column-text {
	  width: 80%;
  }
  
  .column-desc {
	  
	padding-top: 3%;
  }
  
  .column-image img {
	  width: 100%;
  }

  .list {
	  width: 20%;
  }
  
  .footer {
	  padding: 2%;
	  margin-top: 8%; 
  }
  
  .f-right-items select {
	  width: 10vw;
  }
  
  .back-to-top {
	  font-size: 4vw;
  }
  
  .nothing-placeholder img {
	  width: 30%;
  }
  
  .episode-pick {
	  padding: 0;
  }
  
  .ep-pick-items select {
	  padding: 1%;
	  width: 32vw;
  }
  
  .ep-icon {
	  font-size: 1.5vw;
	  padding: 2vw;
  }
  
  .video_boss {
	  width: 720px;
  }
  
  .video-details {
	  margin-top: 2%;
  }
  
  .s-items-left {
	  width: 44%;
  }
  
  .s-items-right {
	  width: 56%;
  }
  
  .s-items-right select{
	  width: 20vw;
  }
  
  .download {
	  margin-top: 5%;
  }
  
  #search input {
	  padding: 1%;
	  margin: 2%;
  }
  
  .prev {
	  font-size: 2vw;
  }
  
  .next {
	  font-size: 2vw;
  }
}

@media only screen and (max-height: 500px) and (orientation: landscape) {
	.anime-desc, .anime-title, .text-title, .column-title, .column-desc, .anime-genre, .buttons, .footer, .eplist, .datelist, .filter-left, .filter-right, .azlist, .normal-message, .download, .s-items-left {
	  font-size: 16px;
	}
	
	.video_boss {
	  width: 65%;
  }
  
  #menu, .name {
	  font-size: 16px;
  }
  
  #menu {
	  width: 30vw;
  }
  
  .icon {
	  font-size: 2vw;
  }
  
  .prev {
	  font-size: 3vw;
  }
  
  .next {
	  font-size: 3vw;
  }
}

@media screen and (max-width: 900px) {
	.video_boss {
		width: 80%;
	}
}

@media screen and (max-width: 750px) {
	.video_boss {
        width: 98%;
	}
	.datelist {
        width: 30%;
	}
	.eplist {
        width: 70%;
	}
	.anime-summary {
        font-size: 3vw;
        max-height: 15vw;
	}
	.buttons, .column-title, .azlist, .filter-left, .filter-right, .eplist, .datelist, .download, .small {
		font-size:.9em;
	}

	.column-desc, .ep-icon, .normal-message, .prev, .next, .anime-summary, .anime-desc {
		font-size:.8em;
	}
	.name, .s-items-left, .anime-title, .back-to-top {
		font-size:1em;
	}
  #navcontainer {
    width: auto;
  }
}