@import url("https://fonts.googleapis.com/css2?family=Kanit:wght@300&display=block");
@import url("https://fonts.googleapis.com/css2?family=Prompt:wght@300&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Sarabun:wght@300&display=swap");
i {
  font-style: normal;
  color: #FFCE4D;
}

body {
  margin: 5%;
  background-color: black;
}

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

h1.main {
  color: #5f00ad;
  font-size: 3rem;
  line-height: 3rem;
  text-align: center;
  margin: 4rem 2rem 0rem 2rem;
}

h1.sub {
  color: #9514ff;
  font-size: 5rem;
  line-height: 5rem;
  text-align: center;
  margin: 1rem;
}

div.province h2 {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border: 4px solid black;
  text-align: center;
  display: inline-block;
  font-size: 4rem;
  line-height: 5rem;
  color: white;
  margin: 0;
  background-color: #ff4e33;
  position: relative;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  padding: 0rem 1rem 0rem 1rem;
  border-radius: 15px 15px 0 0;
}

p.link {
  text-align: center;
  margin: 2rem auto;
}

a {
  color: #00B7C2;
  font-size: 3rem;
  line-height: 3rem;
  text-decoration: none;
  border-bottom: 2px solid;
  width: 100%;
}

div.province {
  margin-top: 3rem;
  display: inline-block;
}

div.pics {
  display: inline-block;
  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;
}

figure {
  display: inline-block;
  margin: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border: 4px solid black;
  width: 100%;
}

figcaption {
  font-size: 2rem;
  line-height: 4rem;
  text-align: center;
  background-color: #270047;
  color: white;
  padding-top: 0.2rem;
}

figure.plant figcaption {
  background-color: #003305;
}

img {
  display: block;
  width: 100%;
  margin: 0rem auto;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

@media only screen and (min-width: 1025px) {
  figure {
    width: 512px;
  }

  figure.plant {
    width: 100%;
    max-width: 512px;
  }
}