@font-face {
  font-family: "Sarabun";
  src: url(../../../../../fonts/Sarabun/Sarabun-Regular.ttf);
}
@font-face {
  font-family: "Kanit";
  src: url(../../../../../fonts/Kanit/Kanit-Regular.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-Regular.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: 2rem;
  padding: 0;
  background-color: #03004d;
  overflow-x: clip;
  counter-reset: lc;
}

img {
  display: block;
}

div.dict {
  background-color: hsla(0, 0%, 100%, 0.17);
  border-radius: 9px;
  padding: 0.5rem 1rem 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

div.dict h2 {
  font-size: 3rem;
  line-height: 3rem;
  color: #817dff;
  margin: 0;
}

div.dict p {
  font-size: 2.5rem;
  line-height: 3.5rem;
  color: #aba8ff;
  margin: 0;
}

h1, h2, h3 {
  font-family: Kanit;
  font-weight: normal;
  color: hsl(314, 100%, 39%);
}

h1 {
  font-size: 4rem;
  line-height: 4rem;
  text-align: center;
  margin: 1rem 1rem 1rem 1rem;
  padding: 0;
  font-weight: normal;
}

ul {
  list-style: none;
  padding: 0.5rem 1rem 1rem 1.5rem;
  counter-reset: lc;
}

p, li {
  position: relative;
  font-family: Sarabun;
  font-size: 2.5rem;
  line-height: 3.5rem;
  margin: 0rem 0rem 1rem 2rem;
  color: hsl(0, 0%, 100%);
}

li:before {
  position: absolute;
  left: -3.25rem;
  top: 1rem;
  font-family: monospace;
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 2.25rem;
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 2.25rem;
  text-align: center;
  background-color: hsl(314, 100%, 39%);
  counter-increment: lc;
  content: counter(lc);
}

s {
  text-decoration: none;
  color: hsl(39, 91%, 84%);
}

u {
  position: relative;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 2px dotted rgba(255, 255, 255, 0.5);
}

h3 u {
  border-bottom: 2px dotted;
}

u i {
  font-family: sans-serif;
  font-size: 1rem;
  line-height: 1.1rem;
  text-align: center;
  font-style: normal;
  white-space: normal;
  position: absolute;
  color: white;
  background-color: #37349b;
  width: 102%;
  top: 100%;
  padding: 0.25rem;
  border-radius: 0.3rem;
  opacity: 0;
}

u:hover i {
  opacity: 1;
  z-index: 1;
}

u > i:after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  border-width: 10px;
  margin-left: -10px;
  border-style: solid;
  border-color: transparent transparent #37349b transparent;
}

#fcFromUBtn {
  opacity: 1;
  background-color: #020036;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

#fcFromUBtn:hover {
  -webkit-box-shadow: inset 0 0 100px 100px hsla(0, 0%, 100%, 0.25);
          box-shadow: inset 0 0 100px 100px hsla(0, 0%, 100%, 0.25);
}

div.btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

div.btn a {
  font-family: sans-serif;
  position: relative;
  color: white;
  text-shadow: 0.05rem 0.05rem 0rem rgb(134, 23, 4);
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.3rem;
  display: inline-block;
  text-align: center;
  background-image: -webkit-gradient(linear, left top, left bottom, from(hsl(30, 94%, 68%)), to(rgb(134, 23, 4)));
  background-image: linear-gradient(to bottom, hsl(30, 94%, 68%), rgb(134, 23, 4));
  border: 1px solid hsl(314, 100%, 39%);
  padding: 0rem 1rem 0rem 1rem;
  border-radius: 5rem;
}

div.btn a:hover {
  background-image: -webkit-gradient(linear, left bottom, left top, from(hsl(30, 94%, 68%)), to(rgb(134, 23, 4)));
  background-image: linear-gradient(to top, hsl(30, 94%, 68%), rgb(134, 23, 4));
}

div.btn a:after {
  content: "";
  position: absolute;
  width: 90%;
  height: 50%;
  left: 50%;
  top: 10%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  border-radius: 5rem 5rem 1rem 1rem;
  background-image: -webkit-gradient(linear, left top, left bottom, from(hsla(0, 0%, 100%, 0.2)), color-stop(hsla(0, 0%, 100%, 0.5)), to(hsla(0, 0%, 100%, 0.1)));
  background-image: linear-gradient(to bottom, hsla(0, 0%, 100%, 0.2), hsla(0, 0%, 100%, 0.5), hsla(0, 0%, 100%, 0.1));
}

div.btn:hover a:after {
  -webkit-transform: rotateX(180deg) translateX(-50%);
          transform: rotateX(180deg) translateX(-50%);
  top: 40%;
}