
.fa-home{
  transform:scale(1.5);
}

.home {
height: fit-content;
  width: fit-content;
  position: sticky;
  left: 0;
  z-index: 5;
  top: 0;
  overflow: hidden;
}

.home a {
  color: rgba(190,190,190, 0.6);
  padding: 1em;
  text-decoration: none;
  display: block;
  position:relative;
  font-size:17px;
}

/* Change color on hover */
.home a:hover {
  color: white;
}

body {
	margin: 0;
	background: #000;
}

@font-face {
	font-family: "Kosugi Maru";
	src: url("ui/KosugiMaru-Regular.ttf");
}

.flat{
	object-fit:contain;
  width:75px;
  height:auto;
  position:relative;
user-select:none;
}

.disable{
  filter: grayscale(1);
}

/***.iconbg0{
  margin:1%;
  display:inline-table;
  background-image:url('/ui/iconbg0.png');
  background-position: center;
  background-repeat: no-repeat; 
  background-size:contain;
  text-align:center;
  width:124px;
  height:auto;
  position:relative;
  z-index:-1;
user-select:none;
}

.iconbg6{
  margin:1%;
  display:inline-table;
  background-image:url('/ui/iconbg6.png');
  background-position: center;
  background-repeat: no-repeat; 
  background-size:contain;
  text-align:center;
  width:124px;
  height:auto;
  position:relative;
  z-index:-1;
user-select:none;
}

.pic{
  transform: scale(0.97);
  vertical-align:bottom;
user-select:none;
}

.iconfg0{
  position:absolute;
  width:124px;
  height:auto;
  z-index:1;
user-select:none;
}

.iconfg6{
  position:absolute;
  width:124px;
  height:auto;
  z-index:1;
user-select:none;
}

.bgfg{
  position:absolute;
  width:124px;
  height:auto;
  z-index:1;
user-select:none;
}**/


.kosugi-maru-regular {
	font-family: "Kosugi Maru", sans-serif;
	font-weight: 400;
	font-style: normal;
}

.backbutton {
	position: fixed;
	z-index: 5;
	top:0;
	left:0;
}
.backbutton img {
	width:70%;
}

.previous {
	bottom: 5%;
	left: 3%;
	position: fixed;
	z-index: 5;
	transform: rotateY(180deg);
	user-select:none;
}

.next {
	bottom: 5%;
	right: 3%;
	position: fixed;
	z-index: 5;
	user-select:none;
}

.backgroundMain {
	background-image: url('ui/bg.jpg');
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-position: center;
	top: 0;
	left: 0;
	position: absolute;
	width: 100%;
}

.backgroundArc1 {
	background-image: url('ui/bgarc1.jpg');
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-position: bottom;
	top: 0;
	left: 0;
	position: absolute;
	width: 100%;
}

.backgroundEvents{
	background-image: url('ui/bgevents.jpg');
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-position: 75%;
	top: 0;
	left: 0;
	position: absolute;
	width: 100%;
}

.backgroundArc2 {
	background-image: url('ui/bgarc2.jpg');
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-position: center;
	top: 0;
	left: 0;
	position: absolute;
	width: 100%;
}

.backgroundArc3 {
	background-image: url('ui/bgarc3.jpg');
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-position: center;
	top: 0;
	left: 0;
	position: absolute;
	width: 100%;
}


.backgroundArc4 {
	background-image: url('ui/bgarc4.jpg');
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-position: center;
	top: 0;
	left: 0;
	position: absolute;
	width: 100%;
}

.backgroundArc5 {
	background-image: url('ui/bgarc5.jpg');
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-position: center;
	top: 0;
	left: 0;
	position: absolute;
	width: 100%;
}

.backgroundArc6 {
	background-image: url('ui/bgarc6.jpg');
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-position: center;
	top: 0;
	left: 0;
	position: absolute;
	width: 100%;
}


.overlaybox {
	background-color: rgba(0, 0, 0, 0.5);
	margin:auto;
	width:95%
}

.list tr {
	box-shadow: unset;
}

.list td, th {
  padding: 0;
}

.list img{
	max-width:574px;
	width:100%;
}

.gridNames a{
	text-decoration:none;
}

table {
	border: 0;
	/* reset */
	font-family: "Kosugi Maru", sans-serif;
	max-width: 65%;
	width:604px;
	margin: 0 auto;
	padding:1px;
	color: #fff;
	border-color: transparent;
	border-style: solid;
	border-width: 25px 15px;
	border-spacing: 0px;
	border-image: url(ui/textboxbg.png) 55 30 fill;
	z-index: 4;
}

td, th {
	text-align: left;
	padding: 8px;
}

tr {
	background-attachment: fixed;
	box-shadow: 0px 0px 1px 1px #E0D7BC;
	clip-path: inset(-4px 0px -4px 0px);
}

.header {
  max-width:420px;
	z-index: 3;
	margin: auto;
	text-align: center;
}

.header img {
  width:100%;
}

.ColImgWidth {
	width: 0.0001%;
}

.ColName {
	width: 20%;
}

.ColDialogue {
	width: 40%;
}

.portrait {
	text-align: center;
  width:300px;
  vertical-align:text-bottom;
  display:table-cell;
}

.portrait img {
	max-width:150px;
	height:auto;
  margin-bottom:-4px;
}

.box {
	margin: auto;
	text-align: center;
	width: 300px;
}

.box img {
	box-sizing: border-box;
	width: 100px;
	margin: 5px;
}

.notspeaking {
	filter: brightness(50%);
}

.background {
	margin: auto;
	text-align: center;
	width: 100%;
	height: auto;
}

.background img {
	width: 300px;
}

a {
  color: #e0d7bc;
}



@media screen and (max-width:675px) {
	tr {
		display: grid;
	}
	table{
		width:304px;
	}
	
	table.list{
		width:95%;
		max-width:unset;
	}
	table.gridNames{
		width:95%;
		max-width:unset;
	}
	
	div.overlaybox{
	width:99%
	}
	
col.ColImgWidth {
	width: 100%;
}

col.ColName {
	width: 100%;
}

col.ColDialogue {
	width: 100%;
}
}