@font-face { font-family: Beley; src: url('/fonts/Belmeyen-Traditional-Regular_v2.otf'); }
@font-face { font-family: Gurlo; src: url('/fonts/Gurlo-Standard-Regular.otf'); }
@font-face { font-family: Kxhi; src: url('/fonts/KxhiStandard-Regular_v5.otf'); }
@font-face { font-family: Reticulum; src: url('/fonts/LT Marathon.otf'); }
@font-face { font-family: Rithan; src: url('/fonts/RithanStandard-Regular_v2.ttf'); }
@font-face { font-family: Taanike; src: url('/fonts/Taanike-standard-Regular_v2.otf'); }
@font-face { font-family: Xediran; src: url('/fonts/XediranStandard-Regular_v3.otf'); }
@font-face { font-family: Wanderers; src: url('/fonts/Travelers-Regular.otf'); }

:root{
    --black: #000000;
    --white: #f9f9f9;
    --darkpurple: #221A45;
    --purple: #443489;
    --lavendar: #7460B0;
    --lightlavendar: #B8A0FF;
    --gray: #85888C;
    --orange: #BE5800;
    --lightorange: #EE8800;
    --blue: #1925C0;
    --lightblue: #3955E0;
    --green: #097914;
    --lightgreen: #24B934;
    --red: #B00000;
    --pink: #E06050;
} /* variables*/

body
{
  background-color: var(--black);
  color: var(--white);
	font-family: Reticulum;
	font-size: 24px;
}

div#content
{
  width: 100%;
  padding-left: .3em;
  padding-right: .3em;
  margin: auto;
  /*max-width: 38em;*/
}

a
{
  color: var(--lavendar);
}

a.FormLink
{
  color: var(--purple);
}

a.FormLink:hover
{
  color: var(--lavendar);
}

.mainBanner
{
  max-width: 70%;
  align-self: center;
}

.fullImage
{
  max-width: 80%;
  align-self: center;
}


.screenshotImage
{
  max-height: 200px;
  cursor: pointer;
  transition: 0.3s;
}

.screenshotImage:hover
{
  opacity: 0.8;
}

.screenshotTable
{
  margin-left: auto;
  margin-right: auto;
}

.langCorrectAnswer
{
  font-size: 32px;
  color: var(--lightgreen);
}

.langIncorrectAnswer
{
  font-size: 32px;
  color: var(--pink);
}

/** Modal Content **/
.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: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.95); /* Black w/ opacity */
}

.modalFrame
{
  max-width: 30em;
  display: inline-block;
}

.modalContent
{
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  aspect-ratio: auto;
}

#modalCaption
{
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #FFF;
  padding: 10px 0;
  height: 150px;
  font-size: 32px;
}

/** Modal Animation **/
.modalContent, #modalCaption
{
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.4s;
  animation-name: zoom;
  animation-duration: 0.4s;
}

@-webkit-keyframes zoom
{
  from {-webkit-transform: scale(0)}
  to {-webkit-transform: scale(1)}
}

@keyframes zoom
{
  from {transform: scale(0)}
  to {transform: scale(1)}
}

/** Modal Close Button **/

.modalClose
{
  position: absolute;
  top: 15px;
  right: 35px;
  color: F1F1F1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.modalClose:hover, .modalClose:focus
{
  color: #BBB;
  text-decoration: none;
  cursor: pointer;
}

.standardContent
{
  padding-top: 24px;
  text-align: center;
}

.imageCaption
{
  font-style: italic;
  font-size: 24px;
}

.xediran
{
  font-size: 36px;
  font-family: Xediran;
}

.taanike
{
  font-size: 48px;
  font-family: Taanike;
}

.wanderer
{
  font-size: 48px;
  font-family: Wanderers;
}

.rithan
{
  font-size: 40px;
  font-family: Rithan;
}

.kxhi
{
  font-size: 48px;
  font-family: Kxhi;
}

.gurlo
{
  font-size: 48px;
  font-family: Gurlo;
}

.belmey
{
  font-size: 80px;
  font-family: Beley;
}

.subheader
{
  font-size: 32px;
}

.pageheading
{
  font-size: 48px;
  font-style: bold;
}

.nativeWordName
{
  font-size: 32px;
  font-style: bold;
}

.pronunciation
{
  font-family: Reticulum;
  font-style: italic;
  font-size: 26px;
  color: var(--lightlavendar);
}

.transliteration
{
  font-family: Reticulum;
  font-style: italic;
  font-size: 26px;
  color: var(--lightlavendar);
}

.navLink
{
  font-size: 32px;
}

.storyTitle
{
  font-style: italic;
}

.flashTextPurpleToWhite
{
  animation: flashTextPurpleToWhite 4s;
}

.flashTextLavToBlack
{
  color: var(--black);
  animation: flashTextLavToBlack 4s;
}

@keyframes flashTextPurpleToWhite
{
  0% { color: var(--purple); }
  100% { color: var(--white); }
}

@keyframes flashTextLavToBlack
{
  0% { color: var(--lightlavendar); }
  100% { color: var(--black); }
}

.portalText
{
  color: var(--white);
  font-style: normal;
  font-size: 32px;
  vertical-align: top;
}

.portalHeader
{
  color: var(--lavendar);
  font-style: italic;
  font-size: 24px;
}

/****************/
/* Tables       */
/****************/
table.DataTable tr
{
  width: 100%;
  font-size: 24px;
}

table.DataTable tr th
{
  color: black;
	font-family: Reticulum;
  font-style: bold;
  text-align: left;
  padding-left: 5px;
  padding-top: 2px;
  padding-bottom: 2px;
}

table.DataTable tr td
{
  color: black;
	font-family: Reticulum;
  padding-left: 5px;
  padding-top: 2px;
  padding-bottom: 2px;
}

table.characterMappingTable
{
  border-collapse: collapse;
}

table.characterMappingTable th
{
  border: 1px solid white;
  font-size: 22px;
  padding: 4px 4px 0px 4px;
  text-align: center;
}

table.characterMappingTable td
{
  border: 1px solid white;
  font-size: 22px;
  padding: 4px 4px 0px 4px;
  text-align: center;
}

table.travelerPortalStatsTable
{
  border-collapse: collapse;
}

table.travelerPortalStatsTable td
{
  border: 1px solid white;
  font-size: 30px;
  padding: 4px 4px 0px 4px;
  text-align: left;
}

table.travelerPortalStatsTable th
{
  border: 1px solid white;
  font-size: 30px;
  padding: 4px 4px 0px 4px;
  text-align: center;
  font-weight: bold;
}

table.languageAnswerTable
{
  width: 100%;
  border: none;
}

table.languageAnswerTable tr td
{
  border: none;
  color: var(--white);
  font-size: 24px;
}


/****************/
/* Buttons      */
/****************/

.BtnStd
{
  background-color: var(--purple);
  border: 0px solid;
  border-radius: 12px;
  box-sizing: border-box;
  color: white;
  align-self: center;
  font-family: Reticulum;
  font-size: inherit;
  font-weight: 400;
  /*line-height: 1;*/
  margin: 10px;
  padding: 8px 12px;
  text-decoration: none;
  text-align: center;
}

.BtnSmall
{
  border-radius: 10px;
  padding: 8px 8px;
}

.BtnStd:hover
{
  background-color: var(--lavendar);
  cursor: pointer;
}

.Orange
{
  background-color: var(--orange);
}

.Orange:hover
{
  background-color: var(--lightorange);
}

.Green
{
  background-color: var(--green);
}

.Green:hover
{
  background-color: var(--lightgreen);
}

.Blue
{
  background-color: var(--blue);
}

.Blue:hover
{
  background-color: var(--lightblue);
}

.Red
{
  background-color: var(--red);
}

.Red:hover
{
  background-color: var(--pink);
}

/************/
/* Forms    */
/************/

div .textContent
{
  max-width: 30em;
  text-align: center;
  font-size: 28px;
  display: inline-block;
}

div .writing
{
  max-width: 30em;
  text-align: left;
  font-size: 28px;
  line-height: 32px;
  display: inline-block;
}

div .FormStd
{
  background-color: white;
  border: none;
  border-radius: 16px;
  font-family: Reticulum;
  display: inline-block;
  color: black;
  width: 100%;
  max-width: 25em;
}

div .FormDark
{
  background-color: black;
  color: white;
}

div .Row
{
  padding-top: .1em;
  padding-bottom: .1em;
}

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

div .screenshotRow
{
  padding-top: .1em;
  padding-bottom: .1em;
  display: inline-block;
}

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

div .Col-25
{
  float: left;
  text-align: left;
  padding-left: 4px;
  width: 23%;
  margin-top: 6px;
}

div .Col-75
{
  float: left;
  text-align: left;
  padding-left: 4px;
  padding-right: 4px;
  width: 73%;
  margin-top: 6px;
}

div .Col-33
{
  float: left;
  text-align: left;
  padding-left: 4px;
  width: 31%;
  margin-top: 6px;
}

div .Col-67
{
  float: left;
  text-align: left;
  padding-left: 4px;
  padding-right: 4px;
  width: 65%;
  margin-top: 6px;
}

div .Col-40
{
  float: left;
  text-align: left;
  padding-left: 4px;
  width: 38%;
  margin-top: 6px;
}

div .Col-20
{
  float: left;
  text-align: left;
  padding-left: 4px;
  width: 19%;
  margin-top: 6px;
}

div .Col-60
{
  float: left;
  text-align: left;
  padding-left: 4px;
  padding-right: 4px;
  width: 58%;
  margin-top: 6px;
}

div .Col-50
{
  float: left;
  text-align: left;
  padding-left: 4px;
  width: 38%;
  margin-top: 6px;
}

div .Col-100
{
  float: left;
  text-align: left;
  padding-left: 4px;
  padding-right: 4px;
  width: 100%;
  margin-top: 6px;
}


/*****************/
/* Form Controls */
/*****************/

.formHeader
{
  font-size: 32px;
}

.TextStd
{
  font-family: Reticulum;
  font-size: 24px;
  color: black;
}

.TextAreaStd
{
  font-family: Reticulum;
  vertical-align: top;
  font-size: 24px;
  white-space: pre-wrap;
}

input .FileUpload
{
  font-family: Reticulum;
  font-size: 24px;
}

.glyphs
{
  font-family: Reticulum;
  font-size: 32px;
}

.colorFade
{

}

.CheckboxStd
{
  vertical-align: center;
  width: 24px;
  height: 24px;
}

/*****************/
/* Labels/Text   */
/*****************/

.ValidationMsg
{
  color: #BE5800;
  font-family: Reticulum;
  font-style: italic;
  text-align: center;
}

.ConfirmationMsg
{
  color: #097914;
  font-family: Reticulum;
  font-style: italic;
  text-align: center;
}

/******************/
/* Header/Nav Bar */
/******************/

*
{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a
{
  text-decoration: none;
}

ul
{
  list-style: none;
}

.header
{
  background-color: var(--darkpurple);
  
  position: sticky;
  top: 0;
  min-height: 72px;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}

.logo
{
  display: inline-block;
  color: var(--white);
  margin-left: 10px;
  vertical-align: middle;
}

.iconlogo
{
  height: 60px;
  margin-top: 6px;
  margin-bottom: 6px;
  float: left;
}

.pageTitle
{
  text-align: left;
  font-size: 32px;
  padding: 16px;
}

.nav
{
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: var(--purple);
  overflow: hidden;
}

.menu a
{
  display: block;
  padding: 16px;
  color: var(--white);
}

.menu a:hover
{
  background-color: var(--lavendar);
}

.nav
{
  max-height: 0;
  transition: max-height .5s ease-out;
  font-size: 32px;
}

.hamb
{
  cursor: pointer;
  float: right;
  padding: 32px 20px;
}

.hamb-line
{
  background: var(--white);
  display: block;
  height: 4px;
  position: relative;
  width: 32px;
}

.hamb-line::before,
.hamb-line::after
{
  background: var(--white);
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}
.hamb-line::before
{
  top: 8px;
}
.hamb-line::after
{
  top: -8px;
}
.side-menu
{
  display: none;
}

.side-menu:checked ~ nav
{
  max-height: 100%;
}
.side-menu:checked ~ .hamb .hamb-line
{
  background: transparent;
}
.side-menu:checked ~ .hamb .hamb-line::before
{
  transform: rotate(-45deg);
  top: 0;
}
.side-menu:checked ~ .hamb .hamb-line::after
{
  transform: rotate(45deg);
  top: 0;
}

body:has(.side-menu:checked)
{
  overflow: hidden;
}

.subnav-content
{
  background-color: var(--white);
  width: 100%;
  z-index: 1;
  padding: 10px 0;
  display: none;
}

.subnav-content a
{
  color: var(--purple);
  text-decoration: none;
  padding: 0;
  margin: 10px 5px;
  text-align: center;
}
.subnav:hover .subnav-content
{
  display: block;
}
.subnavbtn
{
  padding: 16px 72px 16px 16px;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

/***************/
/* Login Panel */
/***************/

.loginPanel
{
  text-align: center;
  max-width: 100%;
}
.loginPanel input.text
{
  width: 90%;
}
.loginPanel div.FormStd
{
  /*max-width: 18em;*/
}

/**********/
/* Images */
/**********/
.appStoreSingleBadge
{
  text-align: center;
  padding-left: 4px;
  padding-right: 4px;
  max-width: 240px;
  margin-top: 4px;
  margin-bottom: 4px;
}

/********************/
/* Desktop-specific */
/********************/
@media (min-width: 1100px)
{
  .nav {
    height: 60px;
    max-height: none;
    top: 0;
    position: relative;
    float: right;
    width: fit-content;
    background-color: transparent;
  }
  .desktopnav {
    height: 100%;
  }
  .menu {
  }
  .menu li {
    float: left;
    vertical-align: top;
  }
  .menu a:hover {
    background-color: transparent;
    color: var(--lavendar);
  }
  .menu a:hover img {
    background-color: transparent;
    color: opacity(0.2) drop-shadow(0px 0px 0px var(--lavendar));
  }
  .hamb {
    display: none;
  }
  .subnav-content {
    padding: 10px 0;
    display: none;
    background-color: var(--darkpurple);
  }
  .subnav-content a {
    color: white;
  }
  .subnavbtn:hover {
    color: var(--lavendar);
  }
}
