@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 {
  padding: 0;
  background-color: hsl(312, 15%, 18%);
  overflow-x: clip;
}

img {
  display: block;
}

h1, h2, h3 {
  font-family: Kanit;
  font-weight: normal;
  text-align: center;
}

h1 {
  font-size: 3rem;
  line-height: 3.5rem;
  padding: 1rem 1rem 3rem 1rem;
  color: hsl(325, 100%, 75%);
}

h2 {
  font-size: 2.5rem;
  line-height: 3rem;
  margin-bottom: 2rem;
  color: #a687a0;
}

#hwDiv {
  margin: 0rem 0rem 0rem 0rem;
  padding: 0rem;
  font-size: 2.5rem;
  line-height: 3.5rem;
  background-color: #352732;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: repeat(1, 1fr);
  -webkit-column-gap: 1rem;
     -moz-column-gap: 1rem;
          column-gap: 1rem;
  row-gap: 2rem;
  counter-reset: count;
}

div.fig {
  position: relative;
  background-color: #4d3949;
  margin-bottom: 3rem;
}

div.fig img {
  width: 100%;
}

p.hr {
  text-align: center;
  margin: 1rem 0 2rem 0;
  color: hsl(33, 100%, 72%);
}

ul.wordList {
  padding: 1rem 1rem 1rem 1rem;
  margin: 0;
  font-size: 2rem;
  line-height: 3.5rem;
  text-align: center;
  color: hsl(38, 100%, 74%);
}

ul.wordList li {
  display: inline-block;
  margin: 0rem 1rem 0rem 0rem;
}

u {
  position: relative;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 2px dotted #a687a0;
}

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%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  width: clamp(6rem, 100%, 100%);
  color: #c1abbc;
  background-color: #251b23;
  top: 100%;
  padding: 0.25rem;
  border-radius: 0rem 0rem 0.5rem 0.5rem;
  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 #251b23 transparent;
}

#fcFromUBtn {
  opacity: 1;
  background-color: #251b23;
  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);
}

@media (min-width: 1024px) {
  #hwDiv {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
    padding: 1rem;
  }
}
@media (min-width: 1900px) {
  #hwDiv {
    -ms-grid-columns: (1fr)[3];
    grid-template-columns: repeat(3, 1fr);
    padding: 2rem;
  }
}