@font-face {
  font-family: Braille;
  src: url(/fonts/Braille/Swell-Braille.ttf);
  font-style: normal;
}

@font-face {
  font-family: CormorantGaramond-Light;
  src: url(/fonts/Cormorant_Garamond/CormorantGaramond-Light.ttf);
  font-style: normal;
}

@font-face {
  font-family: CormorantGaramond-LightItalic;
  src: url(/fonts/Cormorant_Garamond/CormorantGaramond-LightItalic.ttf);
  font-style: italic;
}

@font-face {
  font-family: CormorantInfant-Light;
  src: url(/fonts/Cormorant_Infant/CormorantInfant-Light.ttf);
  font-style: normal;
}

@font-face {
  font-family: NotoSerif-Light;
  src: url(/fonts/Noto_Serif_JP/NotoSerifJP-ExtraLight.otf);
  font-style: normal;
}

h1 {
  font-weight: normal;
  font-family: CormorantGaramond-Light;
  color: #666666;
}

/* Title font */

.english {
  font-family: CormorantGaramond-Light;
  font-size: 1.2em;
}

.japanese {
  font-family: NotoSerif-Light;
  font-size: 1em;
  margin-left: -0.5em;
}

li {
  font-weight: normal;
  font-size: 1em;
  font-family: NotoSerif-Light;
  margin: 1.2em 0;
  color: #666666;
}
ol {
  padding-left: 1em;
}

ol li::marker {
  font-variant-numeric: normal;
  font-family: NotoSerif-Light;
}

p {
  font-weight: normal;
  font-size: 1em;
  font-family: NotoSerif-Light;
  margin: 1.2em 0;
  padding-left: 0em;
  color: #666666;
}

a {
  text-decoration: underline;
  text-decoration-color: transparent;
  -webkit-text-decoration-color: transparent;
  -moz-text-decoration-color: transparent;
  color: #1d44a7;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}
a:hover {
  text-decoration-color: #1d44a7;
}

body {
  margin: 0;
  height: 100vh;
  overflow: hidden;
  animation: fadeInAnimation ease 1s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}
@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#syn2 {
  font-family: CormorantGaramond-Light;
  color: black;
  /* z-index: 999; */
  position: fixed;
  left: 50%;
  top: 40px;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-size: 1.5em;
  -webkit-user-select: none; /* Chrome all / Safari all */
  -moz-user-select: none; /* Firefox all */
  -ms-user-select: none;
  user-select: none;
  z-index: 5;
}

#nav {
  position: fixed;
  width: 100%;
  height: 3em;
  bottom: 0;
  background-color: white;
  outline: solid 1px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: space-between;
  -webkit-user-select: none; /* Chrome all / Safari all */
  -moz-user-select: none; /* Firefox all */
  -ms-user-select: none;
  user-select: none;
}

.navbar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

.nav-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  font-family: CormorantGaramond-Light;
  font-size: 1.2em;
  color: black;
  margin-top: 0.6em;
  margin-left: 0.7em;
  margin-right: 1em;
  -webkit-transition: 0.6s;
  transition: 0.6s;
}

#navblue:hover {
  color: #afced6;
}

#navred:hover {
  color: #ee9191;
}

#navyellow:hover {
  color: #dad67d;
}

#navgreen:hover {
  color: #aec7b2;
}

#navteal:hover {
  color: #9dc297;
}

.menu {
  white-space: nowrap; /* [1] */
  overflow-x: auto; /* [2] */
  -webkit-overflow-scrolling: touch; /* [3] */
  -ms-overflow-style: -ms-autohiding-scrollbar; /* [4] */
}

.menu::-webkit-scrollbar {
  display: none;
}

.vertical-line {
  opacity: 0.3;
  border-left: 1px solid black;
  height: calc(100% - 200px);
  position: absolute;
  left: 50%;
  margin-left: -0.5px;
  top: 88px;
  z-index: -1;
}

#definition {
  position: absolute;
  top: 88px;
  /* left: 80px; */
  /* width: calc(50% - 160px); */
  width: 50%;
  height: calc(100% - 200px);
  overflow: auto;
  box-sizing: border-box;
  padding-left: 88px;
  padding-right: 88px;
}

.definitionviewer {
  border: none;
  text-decoration: none;
  position: absolute;
  top: 88px;
  /* right: 80px; */
  right: 0px;
  /* width: calc(50% - 160px); */
  width: 50%;
  height: calc(100% - 200px);
  -webkit-user-select: none; /* Chrome all / Safari all */
  -moz-user-select: none; /* Firefox all */
  -ms-user-select: none;
  user-select: none;
}

button {
  all: unset;
  cursor: pointer;
}

#audiobutton {
  position: absolute;
  left: 23em;
  top: 2.8em;
}

#scanner {
  width: 100%;
  height: calc(100% - 3em);
  position: fixed;
  top: 0px;
  opacity: 0;
}
/* CART */
#cartbutton {
  -webkit-user-select: none; /* Chrome all / Safari all */
  -moz-user-select: none; /* Firefox all */
  -ms-user-select: none;
  user-select: none;
  position: fixed;
  font-family: CormorantInfant-Light;
  font-size: 1.5em;
  top: 28px;
  right: 40px;
  cursor: pointer;
  z-index: 20;
}
/* CART */
/* COOKIES */
#cookies {
  position: absolute;
  font-family: NotoSerif-Light;
  font-size: 0.75em;
  bottom: calc(3em + 50px);
  /* right: 10px; */
  left: 50%;
  -webkit-transform: translate(-50%);
  transform: translate(-50%);
  width: 385px;
  height: 230px;
  display: grid;
  background-color: black;
  color: white;
  grid-template-rows: 3fr 1fr;
  text-align: justify;
  display: none;
  z-index: 20;
}
#privacy {
  text-decoration-color: white;
  color: white;
}
#privacybuttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 10px;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
  margin-top: -5px;
}
#rejectall {
  justify-self: stretch;
  border: solid 1px white;
  text-align: center;
}
#acceptall {
  justify-self: stretch;
  background-color: white;
  color: black;
  text-align: center;
}
/* COOKIES */
#langbutton {
  -webkit-user-select: none; /* Chrome all / Safari all */
  -moz-user-select: none; /* Firefox all */
  -ms-user-select: none;
  user-select: none;
  position: fixed;
  font-family: NotoSerif-Light;
  font-size: 1.2em;
  top: 27px;
  left: 40px;
  cursor: pointer;
  z-index: 20;
  text-decoration: underline;
  text-decoration-color: transparent;
  -webkit-text-decoration-color: transparent;
  -moz-text-decoration-color: transparent;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}
#langbutton:hover {
  text-decoration-color: black;
  -webkit-text-decoration-color: black;
  -moz-text-decoration-color: black;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}
::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}
::-webkit-scrollbar-track {
  background: #ffffff;
  opacity: 0.1;
}
::-webkit-scrollbar-thumb {
  background: rgb(235, 235, 235);
  opacity: 0.2;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}
