* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
@font-face {
  font-family: "AdelleSansTHA";
  src: url("../assets/fonts/AdelleSansTHA-Bold.eot");
  src: url("../assets/fonts/AdelleSansTHA-Bold.eot?#iefix")
      format("embedded-opentype"),
    url("../assets/fonts/AdelleSansTHA-Bold.woff2") format("woff2"),
    url("../assets/fonts/AdelleSansTHA-Bold.woff") format("woff"),
    url("../assets/fonts/AdelleSansTHA-Bold.svg#AdelleSansTHA-Bold")
      format("svg");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AdelleSansTHA";
  src: url("../assets/fonts/AdelleSansTHA-Regular.eot");
  src: url("../assets/fonts/AdelleSansTHA-Regular.eot?#iefix")
      format("embedded-opentype"),
    url("../assets/fonts/AdelleSansTHA-Regular.woff2") format("woff2"),
    url("../assets/fonts/AdelleSansTHA-Regular.woff") format("woff"),
    url("../assets/fonts/AdelleSansTHA-Regular.svg#AdelleSansTHA-Regular")
      format("svg");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: AdelleSansTHA;
  background-color: #f25620;
}
a {
  text-decoration: none;
  color: inherit;
}

.bg-container {
  background-image: url("../assets/header-bg.png");
  background-position: top;
  background-repeat: no-repeat;
  background-size: 100%;
  min-height: 100dvh;
  width: 1280px;
  margin: 2rem auto;
  border: 1px solid transparent;
}
.sub-container {
  background-image: url("../assets/main-bg.png");
  background-position: top;
  background-repeat: repeat;
  background-size: 100%;
  width: 1100px;
  margin: 2rem auto 0 auto;
}
.container {
  width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.header-logo {
  margin-top: 8rem;
}

.shopping-bag {
  width: 70%;
}
.body-text {
  text-align: center;
  margin: 2rem 0;
}

.body-text h2 {
  font-size: 60px;
}
.body-text h1 {
  font-size: 80px;
  color: #e35f2d;
}
.body-text h5 {
  font-size: 40px;
}
.promotion-img {
  width: 90%;
}
.register-section {
  width: 100%;
  background-color: #ee7623;
  opacity: 0.8;
  background-image: repeating-linear-gradient(
      45deg,
      #f7e0a9 25%,
      transparent 25%,
      transparent 75%,
      #f7e0a9 75%,
      #f7e0a9
    ),
    repeating-linear-gradient(
      45deg,
      #f7e0a9 25%,
      #ee7623 25%,
      #ee7623 75%,
      #f7e0a9 75%,
      #f7e0a9
    );
  background-position: 0 0, 20px 20px;
  background-size: 40px 40px;
  height: 200px;
  margin: 2rem auto;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.register-btn {
  display: flex;
  justify-content: center;
  text-align: center;
}
.register-img {
  width: 350px;
}
.map-section {
  display: flex;
  justify-content: center;
  align-items: center;
}
.map-section img {
  width: 90%;
}
.zone-text {
  width: 90%;
  margin: 3rem auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.zone-text div {
  font-size: 20px;
  font-weight: bold;
  width: 219px;
  height: 70px;
  background-color: red;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.2;
  text-align: center;
  color: #fff;
}

.zone-text div:nth-child(1) {
  background-color: #972016;
}
.zone-text div:nth-child(2) {
  background-color: #163b0c;
}
.zone-text div:nth-child(3) {
  background-color: #dae05f;
  color: #000;
}
.zone-text div:nth-child(4) {
  background-color: #531036;
}
.zone-text div:nth-child(5) {
  background-color: #ebb0a7;
}
.zone-text div:nth-child(6) {
  background-color: #16164c;
}
.zone-text div:nth-child(7) {
  background-color: #1c75ba;
}

.footer-section {
  display: flex;
  justify-content: center;
  margin-bottom: -1rem;
}

.footer-section img {
  width: 50%;
}

@media only screen and (max-width: 1280px) {
  .bg-container {
    width: 100%;
  }
  .sub-container {
    width: 89%;
  }
  .container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }
  .header-logo {
    width: 90%;
  }
  .body-text h2 {
    font-size: 40px;
  }
  .body-text h1 {
    font-size: 70px;
    color: #e35f2d;
  }
  .body-text h5 {
    font-size: 30px;
  }
  .promotion-img {
    width: 80%;
  }
}

@media only screen and (max-width: 800px) {
  .bg-container {
    padding-top: 1.4rem;
  }
  .sub-container {
    margin-top: -9px;
  }
  .header-logo {
    margin-top: 4rem;
  }
  .body-text h2 {
    font-size: 30px;
  }
  .body-text h1 {
    font-size: 40px;
    color: #e35f2d;
  }
  .body-text h5 {
    font-size: 20px;
  }
  .promotion-img {
    width: 100%;
  }
  .register-img {
    width: 80%;
  }
  .register-term {
    text-align: center;
  }
  .footer-section img {
    width: 80%;
  }
}
