@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-Light.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;
  --def-undr: white;
  --def-bgnd: #ffdca3;
  --def-text: white;
}

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

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

body {
  margin: 0;
  padding: 0;
  background-color: hsl(37deg, 100%, 92%);
  overflow-x: clip;
}

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

h1, h2 {
  font-size: 4rem;
  line-height: 5rem;
  text-align: center;
  color: hsl(251deg, 100%, 30%);
  margin: 0 1rem 0 1rem;
  padding: 0;
}

h2 {
  font-size: 2.5rem;
  line-height: 2.75rem;
  margin-top: 2rem;
  margin-left: 2rem;
  text-align: left;
  border-bottom: 5px solid;
  border-bottom-color: #ffdda7;
  padding-bottom: 0.5rem;
}

ul {
  list-style: none;
  counter-reset: counter;
  font-size: 2.5rem;
  line-height: 3rem;
  margin: 1rem 2rem 2rem 5rem;
}

li {
  position: relative;
  counter-increment: counter;
  color: hsl(251deg, 100%, 30%);
  color: hsl(245deg, 46%, 33%);
  margin-bottom: 1rem;
  line-height: 4.5rem;
}

li:before {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-family: monospace;
  font-weight: bold;
  font-size: 1.25rem;
  line-height: 2rem;
  width: 2.25rem;
  height: 2.25rem;
  text-align: center;
  display: block;
  content: counter(counter);
  position: absolute;
  top: 1.55rem;
  left: -3rem;
  border-radius: 12.5rem;
  border: 2px solid #ffcb78;
  background-color: #fff9ef;
  color: #ffa71b;
}

li div {
  display: inline-block;
  width: 6rem;
  height: 2.5rem;
  margin: 0rem 0.5rem -0.5rem 0.5rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-image: url("../img/antArrow.png");
}

ul.synonym li div {
  background-image: url("../img/synArrow.png");
}

u {
  border-color: #eb9100;
}

u.def {
  color: hsl(301deg, 100%, 50%);
}

i {
  font-style: normal;
  color: hsl(261deg, 100%, 69%);
}

u i {
  color: #5e3a00;
  background-color: #ffd490;
}

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

#fcFromUBtn {
  color: hsl(251deg, 100%, 30%);
  background-color: #ffdda7;
}