@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);
}
*, *:before, *:after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

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

img {
  display: block;
}

:root {
  font-family: Prompt;
  font-weight: normal;
  font-size: 16px;
  --def-undr: #4c4c4c;
  --def-bgnd: #7f7f7f;
  --def-text: #fefefe;
}

body {
  margin: 0rem;
  background-color: #cbcbcb;
  overflow-x: clip;
}

section {
  position: relative;
  margin-bottom: 6rem;
  background-color: #d5d5d5;
}

h2.sectionTitle {
  margin: 0;
  font-family: Kanit;
  font-size: 3rem;
  line-height: 3rem;
  text-align: center;
  position: absolute;
  left: 50%;
  top: 0;
  -webkit-transform: translate(-50%, -100%);
      -ms-transform: translate(-50%, -100%);
          transform: translate(-50%, -100%);
  color: white;
  background-color: black;
  padding: 0rem 2rem 0rem 2rem;
  border-radius: 0.5rem 0.5rem 0 0;
}

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

h1 {
  font-size: 3rem;
  line-height: 3.5rem;
  text-align: center;
  margin-bottom: 4rem;
}

ol {
  list-style-type: thai;
  font-family: Sarabun;
  font-size: 2.5rem;
  margin-bottom: 0;
  padding: 1rem 1rem 1rem 4rem;
  text-align: left;
}

::marker {
  color: #4723c7;
}

figure {
  isolation: isolate;
  width: 100%;
  position: relative;
  margin-bottom: 2rem;
}

figure img {
  width: 100%;
  height: auto;
}

figcaption {
  font-family: Sarabun;
  font-size: 2.3rem;
  line-height: 3rem;
  text-align: center;
  color: white;
  background-color: black;
  padding: 0.7rem 1rem 0.5rem 1rem;
}

@media (min-width: 1024px) {
  .imagesContainer {
    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 {
    max-width: 48vw;
    margin-bottom: 2vw;
  }
}
@media (min-width: 1800px) {
  figure {
    max-width: 32vw;
    margin-bottom: 1vw;
  }
}