@charset "UTF-8";
/***
    The new CSS reset - version 1.8.5 (last updated 14.6.2023)
    GitHub page: https://github.com/elad2412/the-new-css-reset
***/
/*
    Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property
    - The "symbol *" part is to solve Firefox SVG sprite bug
    - The "html" attribute is exclud, because otherwise a bug in Chrome breaks the CSS hyphens property (https://github.com/elad2412/the-new-css-reset/issues/36)
 */
@import url(https://fonts.googleapis.com/css?family=Noto+Sans+Thai:300,regular,500,600,700,800,900&display=swap);
*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
  all: unset;
  display: revert;
}

/* Preferred box-sizing value */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Reapply the pointer cursor for anchor tags */
a,
button {
  cursor: revert;
}

/* Remove list styles (bullets/numbers) */
ol,
ul,
menu {
  list-style: none;
}

/* For images to not be able to exceed their container */
img {
  max-inline-size: 100%;
  max-block-size: 100%;
}

/* removes spacing between cells in tables */
table {
  border-collapse: collapse;
}

/* Safari - solving issue when using user-select:none on the <body> text input doesn't working */
input,
textarea {
  -webkit-user-select: auto;
}

/* revert the 'white-space' property for textarea elements on Safari */
textarea {
  white-space: revert;
}

/* minimum style to allow to style meter element */
meter {
  -webkit-appearance: revert;
  -moz-appearance: revert;
       appearance: revert;
}

/* preformatted text - use only for this feature */
:where(pre) {
  all: revert;
}

/* reset default text opacity of input placeholder */
::-moz-placeholder {
  color: unset;
}
::placeholder {
  color: unset;
}

/* remove default dot (•) sign */
::marker {
  content: initial;
}

/* fix the feature of 'hidden' attribute.
   display:revert; revert to element instead of attribute */
:where([hidden]) {
  display: none;
}

/* revert for bug in Chromium browsers
   - fix for the content editable attribute will work properly.
   - webkit-user-select: auto; added for Safari in case of using user-select:none on wrapper element */
:where([contenteditable]:not([contenteditable=false])) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
  -webkit-user-select: auto;
}

/* apply back the draggable feature - exist only in Chromium and Safari */
:where([draggable=true]) {
  -webkit-user-drag: element;
}

/* Revert Modal native behavior */
:where(dialog:modal) {
  all: revert;
}

html,
body {
  font-family: "Noto Sans Thai", sans-serif;
  font-weight: 400;
  color: #fff;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

p {
  line-height: 150%;
}

h1 {
  font-size: 38px;
  font-weight: 600;
  text-align: center;
  margin: 25px 0;
}

h2 {
  font-size: 32px;
  font-weight: 600;
  text-decoration: underline;
  margin: 20px 0;
  text-align: center;
}

h3 {
  font-size: 26px;
  font-weight: 600;
  margin: 15px 0;
}

ol {
  list-style: decimal;
  padding: 15px 25px;
}

ul {
  list-style: disc;
  padding: 15px 25px;
}

li {
  line-height: 150%;
}

ol li::marker,
ul li::marker {
  color: #40d11b;
}

table {
  border-collapse: collapse;
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
}
table tr td,
table tr th {
  border: 1px solid #333;
  padding: 15px;
}
table tr th {
  background-color: #3e3e3e;
  color: #fff;
  font-size: 18px;
  text-align: center;
}
table tr td:hover {
  background-color: #e3e3e3;
}

.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 99;
  background: #0a0013;
}
.header .logo {
  font-size: 38px;
  animation: pulse 2s infinite;
  font-weight: 600;
}
.header .container {
  padding: 20px 16px;
  display: flex;
  justify-content: center;
}

.main {
  height: 100%;
  flex: 1 1 auto;
  padding: 95px 0 60px;
  background-color: #272727;
}
.main .cards {
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.main .cards .card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 38px 10px 38px;
  border: 1px solid #3e3e3e;
  box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.7);
  height: 165px;
  position: relative;
}
.main .cards .card::before {
  content: "";
  position: absolute;
  top: 15px;
  left: -10px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 20px;
  background-color: #986634;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  color: #fff;
}
.main .cards .card:first-child::before {
  background-color: #ffc42b;
}
.main .cards .card:nth-child(2)::before {
  background-color: #818181;
}
.main .cards .card__img {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.main .cards .card__img .img {
  position: relative;
  width: 78px;
  height: 78px;
}
.main .cards .card__img .img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}
.main .cards .card__bonus {
  animation: pulse 2s infinite;
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  flex: 0 0 50%;
}
.main .cards .card__btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 80px;
  min-height: 34px;
  border-radius: 2px;
  padding: 10px 0;
  font-weight: 600;
  background-color: #ff9600;
  width: 160px;
}
.main .cards .card__btn a:hover {
  background-color: #ffb83f;
}
.main .cards .card__title {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.main .cards .card__title .title {
  color: #40d11b;
  font-size: 20px;
  font-weight: 600;
}
.main .cards .card__title .rating {
  display: flex;
  align-items: center;
  gap: 10px;
}
.main .cards .card__title .rating .number {
  background-color: #ffc42b;
  padding: 5px;
  border-radius: 50%;
  font-size: 14px;
  color: #333;
}
.main .cards .card__title .rating .stars svg {
  color: #ffc42b;
  max-width: 12px;
}
.main .cards .card:nth-child(1)::before {
  content: "1";
}
.main .cards .card:nth-child(2)::before {
  content: "2";
}
.main .cards .card:nth-child(3)::before {
  content: "3";
}
.main .cards .card:nth-child(4)::before {
  content: "4";
}
.main .cards .card:nth-child(5)::before {
  content: "5";
}
.main .cards .card:nth-child(6)::before {
  content: "6";
}
.main .cards .card:nth-child(7)::before {
  content: "7";
}
.main .cards .card:nth-child(8)::before {
  content: "8";
}
.main .cards .card:nth-child(9)::before {
  content: "9";
}
.main .cards .card:nth-child(10)::before {
  content: "10";
}
.main .cards .card:nth-child(11)::before {
  content: "11";
}
.main .cards .card:nth-child(12)::before {
  content: "12";
}
.main .cards .card:nth-child(13)::before {
  content: "13";
}
.main .cards .card:nth-child(14)::before {
  content: "14";
}
.main .cards .card:nth-child(15)::before {
  content: "15";
}
.main .cards .card:nth-child(16)::before {
  content: "16";
}
.main .cards .card:nth-child(17)::before {
  content: "17";
}
.main .cards .card:nth-child(18)::before {
  content: "18";
}
.main .cards .card:nth-child(19)::before {
  content: "19";
}
.main .cards .card:nth-child(20)::before {
  content: "20";
}
.main .cards .card:nth-child(21)::before {
  content: "21";
}
.main .cards .card:nth-child(22)::before {
  content: "22";
}
.main .cards .card:nth-child(23)::before {
  content: "23";
}
.main .cards .card:nth-child(24)::before {
  content: "24";
}
.main .cards .card:nth-child(25)::before {
  content: "25";
}
.main .content p {
  margin: 12px 0;
}
.main .content a {
  color: #40d11b;
}
.main .content img {
  max-width: 500px;
  display: flex;
  margin: 15px auto;
}

.container {
  max-width: 80vw;
  margin: 0 auto;
  padding: 0 16px;
}

.footer {
  background-color: #0a0013;
  text-align: center;
  padding: 50px 0;
  font-size: 14px;
  font-weight: 300;
}

@media (max-width: 1199px) {
  .main {
    padding: 85px 0 30px;
  }
  .main .cards {
    padding: 1px 0;
  }
  .main .cards .card {
    flex-direction: column;
    height: auto;
    gap: 1px;
    padding: 10px 10px 10px 10px;
  }
  .main .cards .card::before {
    top: 0;
    left: 0;
    font-size: 16px;
    width: 30px;
    height: 30px;
  }
  .main .cards .card__img {
    align-items: center;
    gap: 15px;
  }
  .main .cards .card__img .img {
    width: 100px;
    height: 100px;
  }
  .main .cards .card__title .rating .number {
    font-size: 12px;
  }
}
@media (max-width: 768px) {
  h1 {
    margin: 20px 0;
    font-size: 30px;
  }
  h2 {
    font-size: 24px;
    margin: 15px 0;
  }
  h3 {
    font-size: 20px;
    margin: 10px 0;
  }
  .main .content img {
    max-width: 100%;
  }
  .container {
    max-width: 100%;
  }
  .header .logo {
    font-size: 30px;
  }
}
@keyframes pulse {
  0% {
    text-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    text-shadow: 0 0 10px rgb(255, 255, 255);
  }
  100% {
    text-shadow: 0 0 0 rgba(255, 255, 255, 0.5);
  }
}