﻿@font-face {
	font-family: Aurebesh;
 	src: url("./font/Aurebesh.woff2") format('woff2');
	src: url("./font/Aurebesh.otf") format('opentype');
  	src: url("./font/Aurebesh.ttf") format('truetype');
}

@font-face {
	font-family: Xolonium;
	src: url("./font/Xolonium-Regular.woff2") format('woff2');
	src: url("./font/Xolonium-Regular.otf") format('opentype');
	src: url("./font/Xolonium-Regular.ttf") format('truetype');
}

@font-face {
	font-family: Mandalorian;
	src: url("./mandalorian/mandalorian/MandoAF-Classic.woff2") format('woff2');
	src: url("./mandalorian/mandalorian/MandoAF-Classic.otf") format('opentype');
	src: url("./mandalorian/mandalorian/MandoAF-Classic.ttf") format('truetype');
}

* {
	font-family: Xolonium;
	font-size: 3vh;
	touch-action: manipulation;
}

html, body {
	margin: 0px;
	padding: 0px;
	height: 100%;
	width: 100%;
	overflow: auto;
/* 	-webkit-animation-name: animatedBackground;
	-webkit-animation-duration: 100s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: ease;
	-webkit-animation-fill-mode: forwards;
	animation-name: animatedBackground;
	animation-duration: 100s;
	animation-iteration-count: infinite;
	animation-timing-function: ease;
	animation-fill-mode: forwards; */
}

body {
	background-image: url("images/background-1.jpg");
	background-position: center;
    display: flex;
	flex-direction: column;
   display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
   display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
   display: -ms-flexbox;      /* TWEENER - IE 10 */
   display: -webkit-flex;     /* NEW - Chrome */
}

.content {
	flex: 1 0 auto;
}

.bgmando {
	background-color: black;
	background-image: url("https://aurebesh.org/mandalorian/bgmando-1.jpg") !important;
	background-position: center;
	box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.8);
}

#mandoscript {
	width: 800px;
	max-width: 90%;
	border: 2px solid white;
	border-radius: 10px;
	margin-top: 20px;
	margin-bottom: 20px;
	-webkit-box-shadow: 0px 0px 15px 5px rgba(255,255,255,1);
	-moz-box-shadow: 0px 0px 15px 5px rgba(255,255,255,1);
	box-shadow: 0px 0px 15px 5px rgba(255,255,255,1);
	background-color: white;
}

#footer {
	flex-shrink: 0;
	background-color: grey;
	padding: 10px;
	padding-bottom: 20px;
	background-image: url("https://aurebesh.org/images/footer-2.jpeg");
	background-repeat: no-repeat;
	background-position: center;
	background-attachment: fixed;
	background-size: cover;
    background-color: rgba(100, 100, 100, 0.8);
    -webkit-box-shadow: 0px 0px 9px 2px rgba(255,255,255,1);
    -moz-box-shadow: 0px 0px 9px 2px rgba(255,255,255,1);
    box-shadow: 0px 0px 9px 2px rgba(255,255,255,1);
	border-top: 2px solid white;
}

#links-1 {
	font-size: 75%;
}

#links-2, #copyright {
	font-size: 50%;
}

#links-2 b {
	font-size: 125%;
}

#links-1 a:link, a:visited {
  color: white;
}

#links-2 a:link, a:visited {
  color: white;
}

@media only screen and (max-width: 650px) {
  #topnav, #topnavmandalorian {
    display: none;
  }
  #dlbutton {
    display: none;
  }
}

@media only screen and (max-height: 550px) {
  #topnav {
    display: none;
  }
}
@media only screen and (max-height: 550px) {
  #topnavmandalorian {
    display: none;
  }
}

#topnav, #topnavmandalorian {
	position: fixed;
	top: 0px;
	width: 100%;
	max-width: 100%;
	height: 2vh;
	color: white;
	text-decoration: none !important;
	padding-bottom: 25px;
	margin-bottom: -25px;
	text-transform: uppercase;
	line-height: 1.6;
	font-weight: bold;
    outline: none !important; 
	transition: all 0.5s ease;
	z-index: 99999;
}

#topnav {
	background-image: url("images/lightsaber sml.png");
	background-repeat: no-repeat;
	background-position: 52.5% -3px;
	background-size: auto 6vh;
}

#topnavmandalorian {
	padding-top: 14px;
	background-image: url("mandalorian/darksabermenu.png");
	background-repeat: no-repeat;
	background-position: 52% -2px;
	background-size: auto 7vh;
}

#topnav:focus-within {
	background-image: url("images/lightsaber sml off.png");
	transition: all 0.5s ease;
}

#topnav:focus {
	background-image: url("images/lightsaber sml.png");
	transition: all 0.5s ease;
}

#topnavmandalorian:focus-within {
	background-image: url("mandalorian/darksabermenu off.png");
	transition: all 0.5s ease;
}

#topnavmandalorian:focus {
	background-image: url("mandalorian/darksabermenu.png");
	transition: all 0.5s ease;
}

#topnav a {
	text-decoration: none !important;
}

#topnavmandalorian a {
	text-decoration: none !important;
}

.topnavitem {
	text-shadow: 0px 0px 10px white, 0 0 10px white, 0 0 15px white;
    outline: none !important; 
}

.inactivetopnavitem {
	text-decoration: none !important;
	color: black;
	font-size: 75%;
}

#topnavmandalorian .inactivetopnavitem {
}

.activetopnavitem {
	text-decoration: none !important;
	color: #990000 !important;
	font-size: 75%;
}
.inactivetopnavitemsvg {
	text-decoration: none !important;
	color: black;
	font-size: 75%;
	background: none !important;
	/* border-bottom: none; */
}

.activetopnavitemsvg {
	text-decoration: none !important;
	color: #990000 !important;
	font-size: 75%;
background: radial-gradient(circle, rgba(153,0,0,1) 0%, rgba(153,0,0,0) 90%, rgba(153,0,0,0) 100%);
	border-radius: 25px;
	/* border-bottom: 4px solid  #990000 !important; */
}

#menu {
	position: fixed;
	top: 0px;
	background-color: white;
	color: black;
	height: 0%;
	width: 100%;
	transition: all 0.5s ease;
	overflow: hidden;
	z-index: 9999999;
}

#menu a {
	text-decoration: none;
	color: black;
	transition: all 0.5s ease;
	font-size: 5vh;
}

#menu a:hover {
	color: #990000;
	transition: all 0.5s ease;
}

.info {
	font-size: 2vh;
	margin-top: -0vh;
	color: green;
}

#menubutton {
	position: fixed;
	top: 15px;
	right: 30px;
	height: 12vw;
	max-height: 90px;
	width: 12vw;
	max-width: 90px;
	background-image: url("images/menu.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
	cursor: pointer;
	transition: all 0.4s ease;
	opacity: 0.8;
	z-index: 9999;
}

#menubutton:hover {
	color: rgba(204, 153, 0, 1.0);
	transition: all 0.4s ease;
	opacity: 1.0;
}

#menu_addition {
	position: absolute;
	left: 10px;
	bottom: 10px;
}

#word, .word {
	display: inline-block;
	position: relative;
    font-variant: small-caps;
	font-size: 300%;
	color: white;
	margin-top: -30px;
	margin-bottom: 10px;
	z-index: 9998;
    line-height: 60%;
}

@media screen and (max-width: 750px) {
	#word {
		margin-top: -20px;
	}
}

#categories {
	max-height: 5vh;
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap
}
.choose {
	position: relative;
	display: inline-block;
	color: white;
	text-shadow: 1px 1px 2px white, 0 0 25px white, 0 0 2px white;
	font-size: 75%;
	cursor: pointer;
	z-index: 9999;
	transition: all 0.4s ease;
}
.choose:hover {
	color: rgba(204, 153, 0, 1.0) !important;
	transition: all 0.4s ease;
	text-shadow: none;
}

#text, .text {
	display: inline-block;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 10px;
	height: auto;
	min-height: 70px;
	width: auto;
	min-width: 300px;
	border: 0px solid black;
	border-radius: 5px;
	font-family: Aurebesh;
	font-size: 200%;
	background-color: rgba(255, 255, 255, 0.8);
}

.textmandalorian {
	font-family: Mandalorian !important;
	padding-top: calc(10px + 1vh) !important;
}

#keyboard {
	display: inline-block;
	vertical-align: bottom;
	position: relative;
	bottom: 0px;
	bottom: 5px;
	margin-bottom: 5px;
	padding: 4px;
	width: 90%;
	max-width: 1200px;
	border: 0px solid grey;
	border-radius: 5px;
	background-color: rgba(255, 255, 255, 0.8);
	transition: all 0.5s ease;
}

#submit {
	display: inline-block;
	border: 1px solid rgba(0, 0, 0, 0.5);
	border-radius: 4px;
	margin: 4px;
	padding: 4px;
	cursor: pointer;
}

#submit {
	background-color: rgba(255, 255, 255, 0.6);
}


.letter, .letterfixed, .number, #spacebar, .specialchar, .specialcharfixed {
	position: relative;
	border: 1px solid rgba(0, 0, 0, 0.2);
	cursor: pointer;
}

#help, #remove, #skipper {
	position: relative;
	cursor: pointer;
	display: inline-block;
	width: auto;
	min-width: 20px;
	height: auto;
	min-height: 20px;
    margin: 2px;
	padding: 4px;
    border-radius: 4px;
	border: 1px solid rgba(0, 0, 0, 0.5);
	background-color: rgba(255, 255, 255, 0.6);
}

#help {
	float: left;
}

#remove {
	float: right;
}

.keybox {
	display: inline-block;
	height: auto;
	padding-top: 10px;
	padding-left: 10px;
	border: 0px solid red;
}


@media screen and (max-width: 1005px) {

	.keybox {
		padding-left: 0px;
		padding-right: 0px;
		text-align: center;
	}
}

.misckeys {
	display: inline-block;
	height: auto;
	border: 0px solid green;
}

.letter, .letterfixed, .number, #spacebar, .specialchar, .specialcharfixed {
	float: left;
	display: inline-block;
	width: auto;
	min-width: 40px;
	height: auto;
	min-height: 30px;
    margin: 6px;
	padding: 4px;
    background-color: rgba(158, 199, 219, .5);
    border-radius: 4px;
	-webkit-box-shadow: 0px 0px 5px 3px rgba(102,204,255,0.8);
	-moz-box-shadow: 0px 0px 5px 3px rgba(102,204,255,0.8);
	box-shadow: 0px 0px 5px 3px rgba(102,204,255,0.8);
}

#text, .text, #keyboard {
	-webkit-box-shadow: 0px 0px 9px 2px rgba(255,255,255,1);
	-moz-box-shadow: 0px 0px 9px 2px rgba(255,255,255,1);
	box-shadow: 0px 0px 9px 2px rgba(255,255,255,1);
}

#spacebar {
	width: 100px;
	margin-left: 22px;
	margin-right: 22px;
}

#zero {
	margin-left: 22px;
}

@media screen and (max-width: 1005px) {

#spacebar, #zero {
    margin: 6px;
}

}

.aureb {
	font-size: 5vh;
	font-family: Aurebesh !important;
}

.mandal {
	font-size: 5vh;
	margin-top: 1vh;
	font-family: Mandalorian !important;
}

.latin {
	display: none;
}

.incorrect {
-webkit-animation-name: incorrect;
-webkit-animation-duration: 1s;
-webkit-animation-iteration-count: 1;
-webkit-animation-timing-function: ease;
-webkit-animation-fill-mode: forwards;
animation-name: incorrect;
animation-duration: 1s;
animation-iteration-count: 1;
animation-timing-function: ease;
animation-fill-mode: forwards;
}
.correct {
-webkit-animation-name: correct;
-webkit-animation-duration: 1s;
-webkit-animation-iteration-count: 1;
-webkit-animation-timing-function: ease;
-webkit-animation-fill-mode: forwards;
animation-name: correct;
animation-duration: 1s;
animation-iteration-count: 1;
animation-timing-function: ease;
animation-fill-mode: forwards;
}
.skip {
-webkit-animation-name: skip;
-webkit-animation-duration: 1s;
-webkit-animation-iteration-count: 1;
-webkit-animation-timing-function: ease;
-webkit-animation-fill-mode: forwards;
animation-name: skip;
animation-duration: 1s;
animation-iteration-count: 1;
animation-timing-function: ease;
animation-fill-mode: forwards;
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes incorrect {
    0% {background-color: rgba(255, 255, 255, 0.8);}
    20% {background-color: rgba(255, 0, 0, 0.5);}
	100% {background-color: rgba(255, 255, 255, 0.8);}
}
/* Standard syntax */
@keyframes incorrect {
    0% {background-color: rgba(255, 255, 255, 0.8);}
    20% {background-color: rgba(255, 0, 0, 0.5);}
	100% {background-color: rgba(255, 255, 255, 0.8);}
}
/* Safari 4.0 - 8.0 */
@-webkit-keyframes correct {
    0% {background-color: rgba(255, 255, 255, 0.8);}
    10% {background-color: rgba(0, 255, 0, 0.3);}
	100% {background-color: rgba(255, 255, 255, 0.8);}
}
/* Standard syntax */
@keyframes correct {
    0% {background-color: rgba(255, 255, 255, 0.8);}
    10% {background-color: rgba(0, 255, 0, 0.3);}
	100% {background-color: rgba(255, 255, 255, 0.8);}
}
/* Safari 4.0 - 8.0 */
@-webkit-keyframes skip {
    0% {background-color: rgba(255, 255, 255, 0.8);}
    10% {background-color: rgba(255, 0, 255, 0.3);}
	100% {background-color: rgba(255, 255, 255, 0.8);}
}
/* Standard syntax */
@keyframes skip {
    0% {background-color: rgba(255, 255, 255, 0.8);}
    10% {background-color: rgba(255, 0, 255, 0.3);}
	100% {background-color: rgba(255, 255, 255, 0.8);}
}

@keyframes animatedBackground {
	from { background-position: 0 0; }
	to { background-position: 0 100%; }
}
@-webkit-keyframes animatedBackground {
	from { background-position: 0 0; }
	to { background-position: 0 100%; }
}

#keyboard, #submit, .choose, #word, .word, #skipper {
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	 -khtml-user-select: none; /* Konqueror HTML */
	   -moz-user-select: none; /* Firefox */
		-ms-user-select: none; /* Internet Explorer/Edge */
			user-select: none; /* Non-prefixed version, currently
								  supported by Chrome and Opera */
}


#general {
	color: rgba(255, 0, 0, 0.5);
	text-shadow: 1px 1px 2px rgba(255, 0, 0, 0.5), 0 0 25px rgba(255, 0, 0, 0.5), 0 0 2px rgba(255, 0, 0, 0.5);
}

.muteicon {
	position: absolute;
	top: 15px;
	left: 15px;
	cursor: pointer;
	background-color: black;
	padding: 5px;
	padding-bottom: 0px;
	border-radius: 10px;
}

.appmuteicon {
	position: absolute;
	bottom: 15px;
	right: 15px;
	cursor: pointer;
	background-color: black;
	padding: 5px;
	padding-bottom: 0px;
	border-radius: 10px;
	z-index: 9999999;
	
}

.helpimage {
	height: 0px;
	overflow: hidden;
	transition: all 0.5s ease;
}

.helpimage img {
	max-width: 100%;
	transition: all 0.5s ease;
}

h1 {
	font-family: Aurebesh !important;
	font-size: 200%;
	max-width: 90%;
	margin-left: 2%;
	margin-right: 2%;
}

h2, h3, h4, h5, h6, h7, h8 {
	font-size: 120%;
	margin-top: 0.83em;
	margin-bottom: 0.83em;
}

h1, h2, h3, h4, h5, h6, h7, h8 {
	color: white;
	font-weight: normal;
}

p, i {
	font-family: Xolonium !important;
	color: white;
	/* letter-spacing: .1vh; */
}

p {
	font-size: 75%;
	margin-left: 5%;
	margin-right: 5%;
}

p a {
	font-size: 100%;
	text-decoration: none;
	color: green;
	text-decoration: underline;
}

i {
	font-size: 100%;
}

.aff a {
	font-size:75%; !important;	
}

.aff i {
	color: #white !important;
	font-size:55%; !important;	
}

.line_break {
	background-color: white;
	width: 100%;
	height: 2px;
}

.aff-close-button {
    position: absolute;
    bottom: 3%;
    right: 3%;
    background-color: #4a4a4a;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    z-index: 10; /* Ensure the button is above other content */
}

.teepublicimg {
	width: 400px;
	max-width: 90%;
}

.subteepublicimg {
	width: 200px;
	max-width: 20%;
}

#latintext {
	margin: 10px;
	margin-bottom: 0px;
	text-align: center;
	width: 90%;
	height: 100px;
	min-width: 100px;
	min-height: 50px;
	max-width: 98%;
	background-color: rgba(255, 255, 255, 0.5);
}

#auretext, #mandaloriantext {
	text-align: center !important;
	padding: 10px;
	height: auto;
	width: auto;
	min-height: 20px;
	min-width: 20px;
}
#auretext {
	font-family: Aurebesh !important;
}
#mandaloriantext {
	font-family: Mandalorian !important;
}

#capture {
	height: auto;
	width: auto;
	min-height: 20px;
	min-width: 20px;
}

#storylist {
  color: white;
}

#storylist a:link, a:visited {
  color: white;
}

#storyreader {
  color: white;
  font-family: Aurebesh !important;
  width: 80%;
/*   background: radial-gradient(circle, rgba(255,255,255,.9) 0%, rgba(255,255,255,.1) 80%, rgba(255,255,255,.9) 100%), url("../images/parchment.jpg"); */
  background-color:rgba(255,255,255,0.3);
  border: 1px solid white;
  border-radius: 15px;
  padding: 30px;
}

.translatordetails {
	display: inline-block;
	width: auto;
	min-width: 100px;
}

.translatorsummary {
	color: white;
	cursor: pointer;
	outline: none;
}

.fb-page {
	max-width: 90% !important;
	z-index: 0 !important;
}

.facebookaltlink {
	font-size: 75%;
	color: white;
	margin-top: -30px;
	margin-bottom: -30px;
}

@media screen and (min-width: 606px) {

	#footerdivider {
		display: none; }	
	}