@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-size: 2.5em;
  font-family: NotoSerif-Light;
  color: #666666;
}

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: 1em;
  color: #666666;
}

a {
  text-decoration: none;
  color: grey;
  -webkit-transition: 0.6s;
  transition: 0.6s;
}
a:hover {
  color: red;
}

body {
  margin: 0;
  height: 100vh;
  overflow: hidden;
  animation: fadeInAnimation ease 1s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  /* word-break: break-all; */
}
@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#definition {
  display: flex;
  overflow: auto;
  width: calc(100% - 160px);
  height: 100%;
  /* padding: 50% 0; */
  align-items: top;
  margin-left: 80px;
}

#close {
  display: flex;
  position: absolute;
  width: 20px;
  height: 20px;
  top: 20px;
  /* top: calc(50% - 200px); */
  /* padding: 50% 0; */
  right: 20px;
}

img {
  cursor: pointer;
}

::-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;
}

ul {
  min-width: inherit;
}
