@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: #f4f3f7;
  --def-bgnd: #6d5b8f;
  --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(260deg, 22%, 56%);
  overflow-x: clip;
}

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

h1, h2 {
  font-size: 4rem;
  text-align: center;
  color: hsl(46deg, 100%, 79%);
  margin: 0 0 0 0;
  padding: 0;
}

h2 {
  font-size: 3rem;
}

ul {
  list-style: none;
  counter-reset: counter;
}

figure {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin: 1rem 2rem 2rem 2rem;
  border: 3px solid #423857;
  border-radius: 11px;
  overflow: hidden;
  background-color: #6a598b;
}

figure img {
  width: 100%;
  border-bottom: 2px solid #423857;
}

figcaption {
  font-family: sans;
  font-size: 3rem;
  line-height: 3.6rem;
  text-align: center;
  padding: 4rem;
  color: white;
}

figcaption span {
  display: block;
  font-weight: bold;
  color: hsl(310deg, 100%, 79%);
}

figcaption p:nth-of-type(n+2) {
  border-top: 1px dotted;
}

figcaption.english {
  font-family: Fraunces;
}

figcaption.thai {
  font-family: Sarabun;
  font-size: 4.2rem;
  line-height: 6.6rem;
}

u {
  border-color: #6a598b;
}

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

u i {
  color: #423857;
  background-color: #9384b0;
}

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

#fcFromUBtn {
  color: hsl(46deg, 100%, 79%);
  background-color: #77659c;
}

@media (min-width: 1000px) {
  div.figures {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
            justify-content: space-evenly;
  }
  figure {
    margin: 0 0 3vw 0;
    row-gap: 2vw;
    max-width: 45vw;
  }
}