@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);
}
:root {
  font-family: Sarabun;
  font-weight: normal;
  font-size: 16px;
  --def-undr: #404a3f;
  --def-bgnd: #6f826d;
  --def-text: #f6f8f6;
}

body {
  margin: 2rem;
  background-color: #c0c9bf;
}

section {
  position: relative;
  padding: 3rem 1rem 1rem 1rem;
  background-color: #abb7aa;
  border-radius: 0.5rem;
  margin-bottom: 3rem;
  border: 4px solid #d3d9d2;
}

section.hw {
  background-color: #cdafc7;
}

.secTitle {
  position: absolute;
  font-family: Kanit;
  font-size: 2rem;
  padding: 0rem 1rem 0rem 1rem;
  height: 3rem;
  left: 50%;
  top: 0;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#d3d9d2), to(#81937f));
  background-image: -o-linear-gradient(#d3d9d2, #81937f);
  background-image: linear-gradient(#d3d9d2, #81937f);
  border-radius: 0.5rem;
  border: 4px solid #e0e4df;
  color: white;
}

.hw .secTitle {
  background-image: -webkit-gradient(linear, left top, left bottom, from(#dcc7d8), to(#a16995));
  background-image: -o-linear-gradient(#dcc7d8, #a16995);
  background-image: linear-gradient(#dcc7d8, #a16995);
}

h1, h2, h3, h4 {
  font-family: Kanit;
  color: #586656;
}

h1 {
  font-size: 4rem;
  text-align: center;
  margin: 0rem 0rem 2rem 0rem;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
}

u {
  line-height: 1.3em;
  border-bottom: 3px dotted white;
}

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

ul, ol, p {
  font-size: 2.5rem;
  line-height: 4.125rem;
  color: #404a3f;
  margin: 0rem 1rem 1rem 0rem;
}

::marker {
  font-size: 75%;
  color: #e9ece8;
}

p.structure {
  text-align: center;
}

.structure b {
  font-family: Kanit;
  border: 1px solid #a5b2a3;
  font-style: normal;
  font-weight: normal;
  text-decoration: none;
  padding: 0rem 0.5rem 0rem 0.5rem;
  margin-right: 0.5rem;
  border-radius: 0.5rem;
  background-color: #fff3a1;
  color: #ff280e;
}

.structure s {
  font-family: Kanit;
  border: 1px solid #a5b2a3;
  font-style: normal;
  font-weight: normal;
  text-decoration: none;
  padding: 0rem 0.5rem 0rem 0.5rem;
  margin-right: 0.5rem;
  border-radius: 0.5rem;
  background-color: white;
  color: #586656;
}

.example li s {
  font-style: normal;
  font-weight: normal;
  text-decoration: none;
  margin-right: 0.5rem;
  padding-bottom: 0px;
  border-bottom: 2px solid;
  border-color: #cdd4cc;
}

.example li b {
  font-style: normal;
  font-weight: normal;
  text-decoration: none;
  margin-right: 0.5rem;
  padding-bottom: 0px;
  border-bottom: 2px solid;
  border-color: #ff280e;
}

a {
  color: #586656;
}

ul {
  padding: 0;
  margin: 0rem 1rem 0rem 2.5rem;
}

li {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}