@font-face {
  font-family: "Sarabun";
  src: url(../../fonts/Sarabun/Sarabun-Regular.ttf);
}
@font-face {
  font-family: "Kanit";
  src: url(../../fonts/Kanit/Kanit-Light.ttf);
}
@font-face {
  font-family: "Prompt";
  src: url(../../fonts/Prompt/Prompt-Regular.ttf);
}
@font-face {
  font-family: "PlexSans";
  src: url(../../fonts/IBM_Plex_Sans_Thai/IBMPlexSansThai-Medium.ttf);
}
@font-face {
  font-family: "NotoSansThai";
  src: url(../../fonts/NotoSansThai/NotoSansThai-Regular.ttf);
}
@font-face {
  font-family: "Fraunces";
  src: url(../../fonts/Fraunces_72pt/Fraunces_72pt-SemiBold.ttf);
}
:root {
  font-family: Sarabun;
  font-weight: normal;
  font-size: 16px;
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

*, *:before, *:after {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  background-color: #3f3050;
  overflow-x: clip;
}

img {
  display: block;
}

h1, h2 {
  font-family: Kanit;
  font-weight: normal;
}

h1 {
  font-size: 4rem;
  line-height: 4rem;
  text-align: center;
  color: hsl(9, 100%, 65%);
  margin: 1rem 1rem 0rem 1rem;
  padding: 0;
}

h2 {
  color: hsl(294, 100%, 78%);
  font-size: 2.8rem;
  line-height: 2.75rem;
  margin: 1rem 1rem 0.8rem 1rem;
  padding-bottom: 0.2rem;
  text-align: left;
  border-bottom: hsl(277, 46%, 37%) 3px dotted;
}

p {
  font-family: Sarabun;
  font-size: 1.8rem;
  line-height: 2.5rem;
  margin: 0rem 0rem 0rem 2rem;
}

a {
  text-decoration: none;
  color: hsl(33, 100%, 75%);
}

a span {
  font-size: 85%;
}

img {
  width: 100%;
  max-height: -webkit-max-content;
  max-height: -moz-max-content;
  max-height: max-content;
  margin: 1.5rem auto 0rem auto;
}

div.def {
  background: hsla(0, 0%, 100%, 0.75);
  margin: 0rem 2rem 0rem 2rem;
  padding: 1rem 1rem 1rem 1rem;
  border-radius: 9px;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  -ms-flex-preferred-size: 0;
      flex-basis: 0;
}

p.word {
  font-family: NotoSansThai;
  font-size: 2rem;
  line-height: 2rem;
  color: hsl(213, 100%, 27%);
}

p.eng {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

p.thai {
  font-size: 1.5rem;
  color: hsl(216, 33%, 29%);
  margin-bottom: 1rem;
}

ul {
  padding: 2rem 2rem 2rem 2rem;
}

li {
  list-style: none;
  font-size: 2rem;
  margin-left: 2rem;
  margin-bottom: 1rem;
  position: relative;
  color: #c5b7d4;
}

li span {
  position: absolute;
  left: -2rem;
  color: #8a70a9;
}

li b {
  font-family: sans-serif;
  font-weight: normal;
  font-size: 95%;
  color: #775b97;
}

u {
  border-color: #947cb0;
}

i {
  font-style: normal;
  color: #9e87b7;
}

u i {
  color: #d8cfe2;
  background-color: #2c2138;
  width: 100%;
}

u i:after {
  border-color: transparent transparent #2c2138 transparent;
}

#fcFromUBtn {
  color: hsl(245, 46%, 33%);
  background-color: hsla(47, 100%, 96%, 0.5);
  border: 1px solid #191320;
}

@media (min-width: 800px) {
  img {
    width: 70%;
  }
}