@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 {
  margin: 0;
}

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

body {
  margin: 0;
  padding: 0;
  background-color: #340e1b;
  overflow-x: clip;
}

h1, h2, h3 {
  font-family: serif;
  font-weight: normal;
  color: hsl(13, 81%, 65%);
  text-align: center;
  margin: 1rem 1rem 1rem 1rem;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0rem;
}

h2 {
  font-size: 2rem;
  margin: 0rem 0rem 2rem 0rem;
  padding: 0rem 1rem 0rem 1rem;
}

h3 {
  font-size: 2rem;
  margin: 0rem 0rem 1rem 0rem;
  text-align: left;
  color: #bf3463;
}

ul {
  margin: 0rem 2rem 1rem 2rem;
  list-style: none;
  counter-reset: questions;
}

li {
  position: relative;
  color: hsl(0, 100%, 96%);
  font-size: 2rem;
  line-height: 3rem;
  margin: 1rem 2rem 1rem 3rem;
}

li::before {
  position: absolute;
  left: -2rem;
  width: 2rem;
  counter-increment: questions;
  content: counter(questions) ". ";
}

li div {
  display: block;
  text-align: left;
  margin: 0.5rem 1rem 1rem -1rem;
}

s {
  text-decoration: none;
  white-space: nowrap;
}

span {
  color: hsl(91, 100%, 87%);
  display: none;
  margin-left: 1rem;
}

span.show {
  display: block;
}

button {
  margin: 0rem 0rem 1rem 1rem;
  color: #d97495;
  background-color: #7a213f;
  padding: 0.25rem 0.5rem 0.5rem 0.5rem;
  font-size: 1.5rem;
  border: 1px solid #2a0b15;
  border-radius: 9px;
}

button:hover {
  background-color: #9d2b51;
}

p {
  font-size: 2rem;
  margin-top: 0.5rem;
}

p em {
  font-style: normal;
  color: hsl(130, 100%, 76%);
}

u {
  position: relative;
  white-space: nowrap;
  text-decoration: none;
  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;
  left: 50%;
  top: 2.35rem;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  width: clamp(6.5rem, 100%, 120%);
  color: #f5dce5;
  background-color: #57182d;
  padding: 0.25rem;
  border-radius: 0.5rem;
  opacity: 0;
}

u:hover i {
  display: block;
  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 #57182d transparent;
}

@media (min-width: 320px) {
  figure {
    width: 32%;
  }
}
@media (min-width: 1025px) { /* big landscape tablets, laptops, and desktops */
  figure {
    width: 24%;
  }
}