@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-Medium.ttf);
}
:root {
  font-family: Sarabun;
  font-weight: normal;
  font-size: 16px;
}

body {
  background-color: #d3ead2;
  margin: 3rem;
}

i {
  font-style: normal;
  color: #cc0000;
}

span.number {
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  display: block;
  width: 3rem;
  height: 3rem;
  font-size: 2rem;
  text-align: center;
  color: white;
  background-color: #a3acff;
  border: 2px solid white;
  border-radius: 50%;
  margin: 0;
  padding: 0;
}

p.word {
  position: relative;
  display: block;
  font-size: 2rem;
  color: #5768ff;
  background-color: #fdffcc;
  border-radius: 15px 15px 0 0;
  padding: 1rem 1rem 1.25rem 3rem;
  margin: 0rem 0rem 0rem 0rem;
}

p.word u.def {
  font-size: 3rem;
  border-bottom: none;
  margin-right: 1rem;
}

p.word u::after {
  content: ":";
}

p.sentence {
  display: block;
  font-size: 3rem;
  line-height: 4.5rem;
  color: #54a6a1;
  background-color: white;
  border-radius: 0 0 15px 15px;
  padding: 1.5rem 2rem 1rem 2rem;
  margin: 0rem 0rem 3rem 0rem;
}

u {
  text-decoration: none;
  border-bottom: 3px dotted #c2e2c1;
  line-height: 1.2em;
}

u > em {
  background-color: #c2e2c1;
  color: #366f34;
  padding: 0.5rem 1rem 0.5rem 1rem;
}

u > em:after {
  border-color: transparent transparent #c2e2c1 transparent;
  border-width: 10px;
  margin-left: -10px;
}