@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-Regular.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: #461349;
  overflow-x: clip;
}

h1, h2 {
  font-family: serif;
  font-weight: normal;
  color: #c438cc;
  text-align: center;
  margin: 1rem 1rem 1rem 1rem;
}

h1 {
  font-size: 2.5rem;
}

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

.gallery {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin: 0rem 0rem 2rem 0rem;
  padding: 0;
  background: #661b6a;
}

div.pic {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

div.pic img {
  width: 100%;
  display: block;
}

div.thai {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 2rem 1rem 1rem 1rem;
  font-family: Sarabun;
  color: #ebbdee;
  font-size: 1.5rem;
  line-height: 120%;
}

p.head {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

p {
  margin-bottom: 1rem;
}

p.from {
  font-weight: bold;
  margin-bottom: 0rem;
}

p.sig {
  margin-bottom: 0rem;
}

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