@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: #48442d;
  --def-bgnd: #877f54;
  --def-text: #f1f0e9;
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  background-color: #cac5aa;
  overflow-x: clip;
}

h1, h2 {
  font-family: Kanit;
}

h1 {
  font-size: 4rem;
  text-align: center;
  color: #ff00ea;
  background-color: #402848;
  margin: 0 0 4rem 0;
  padding: 0;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

ol.bird {
  list-style: none;
  counter-reset: birdCount;
}
ol.bird li {
  counter-increment: birdCount;
  position: relative;
  isolation: isolate;
  margin-bottom: 8rem;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100vw;
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(160, 186, 145, 0.5)), to(rgba(160, 186, 145, 0)));
  background-image: -o-linear-gradient(rgba(160, 186, 145, 0.5), rgba(160, 186, 145, 0));
  background-image: linear-gradient(rgba(160, 186, 145, 0.5), rgba(160, 186, 145, 0));
  border-radius: 23px 23px 0 0;
}
ol.bird li::before {
  content: counter(birdCount);
  display: block;
  width: 3rem;
  height: 3rem;
  border-radius: 3rem;
  color: white;
  background-color: #84a772;
  position: absolute;
  text-align: center;
  font-family: monospace;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 3rem;
}
ol.bird figure {
  position: relative;
}
ol.bird figure img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  z-index: 1;
}
ol.bird figcaption {
  position: absolute;
  width: 100%;
  text-align: center;
  font-family: Sarabun;
  font-size: 2.5rem;
  line-height: 3.5rem;
  height: 3.5rem;
  padding: 6rem 0.5rem 0.5rem 0.5rem;
  color: #fff9e0;
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(64, 40, 72, 0)), to(#402848));
  background-image: -o-linear-gradient(rgba(64, 40, 72, 0), #402848);
  background-image: linear-gradient(rgba(64, 40, 72, 0), #402848);
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(132, 167, 114, 0)), to(#84a772));
  background-image: -o-linear-gradient(rgba(132, 167, 114, 0), #84a772);
  background-image: linear-gradient(rgba(132, 167, 114, 0), #84a772);
  height: 10rem;
  -webkit-transform: translateY(-6rem);
      -ms-transform: translateY(-6rem);
          transform: translateY(-6rem);
  z-index: -1;
  border-radius: 0rem 0rem 23px 23px;
}

@media (min-width: 1024px) {
  ol.bird {
    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;
  }

  ol.bird li {
    max-width: 48vw;
  }
}