@font-face {
  font-family: 'WF Sarabun';
  src: url('../fonts/sarabun/sarabun-regular-webfont.woff2') format('woff2'),
    url('../fonts/sarabun/sarabun-regular-webfont.woff') format('woff'),
    url('../fonts/sarabun/sarabun-regular-webfont.svg#sarabunregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'WF Sarabun';
  src: url('../fonts/sarabun/sarabun-semibold-webfont.woff2') format('woff2'),
    url('../fonts/sarabun/sarabun-semibold-webfont.woff') format('woff'),
    url('../fonts/sarabun/sarabun-semibold-webfont.svg#sarabun_semiboldregular') format('svg');
  font-weight: bold;
  font-style: normal;
}

* {
  box-sizing: border-box;
}


html {
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
}

body {
  background: #f1f1f1;
  margin: 0;
  color: #222;
  font-size: 16px;
}

body,
input,
textarea,
select {
  font-family: "WF Sarabun", sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
  color: #000;
  text-decoration: none;
}

p {
  margin: 0 0 1.2em;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
  max-width: 100%;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 960px) {
  .container {
    padding: 0 20px;
  }
}

.text-center {
  text-align: center;
}

#heading {
  background: #fff;
  padding:  0 0;
  text-align: center;
}

#main-logo {
  margin: 10px 0 0;
  width: 300px;
  max-width: 80%;
}

#body {
  padding: 30px 20px;
}

#footer {
  display: block;
  position: relative;
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 20px 0 0 0;
}

#footer:before {
  content: "";
  display: block;
  height: 2px;
  background: #54A19B;
  width: 100px;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -50px;
}

.waves {
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -10px;
  /*Fix for safari gap*/
  min-height: 100px;
  max-height: 150px;
}

.content {
  position: relative;
  height: 20vh;
  text-align: center;
  background-color: white;
}

/* Animation */
.parallax>use {
  animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}

.parallax>use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}

.parallax>use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}

.parallax>use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes move-forever {
  0% {
    transform: translate3d(85px, 0, 0);
  }

  100% {
    transform: translate3d(-90px, 0, 0);
  }
}

/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }

  .content {
    height: 30vh;
  }

  h1 {
    font-size: 24px;
  }
}

.contact-list {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0 auto;
  gap: 10px;
  flex-direction: column;
  max-width: 300px;
}
.contact-list a {
  display: block;
  box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
  border-radius: 30px;
  font-size: 1.4em;
  padding: 10px 20px;
}
.contact-list a:hover {
  background: #ddd;
}
.contact-list img {
  width: 26px;
  vertical-align: middle;
  margin: 0 10px 0 0;
}

.contact-list-mini {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0 auto 20px;
  gap: 5px;
  justify-content: center;
}
.contact-list-mini li {
  padding: 0;
  margin: 0;
}
.contact-list-mini img {
  width: 22px;
  margin: 0;
}
.contact-list-mini a {
  display: block;
    font-size: 0px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 22px;
    width: auto;
    text-align: center;
}