@import url("https://fonts.googleapis.com/css2?family=Funnel+Sans:ital,wght@0,300..800;1,300..800&family=Noto+Serif+Thai:wght@100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

html {
  background-color: #fbf6ed;
  margin: 0;
}

/* Header */
header {
  position: fixed;
  top: 0;

  left: 0;
  width: 100%;

  display: flex;
  justify-content: center;
  flex-direction: row;
  z-index: 1000;
}

.no_select {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
} 

#header_container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

/* Body */
#back_button {
  display: flex;
  border-radius: 50px;
  border: #d6c7b2 solid 2px;
  padding: 5px;
  margin-bottom: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#back_button:hover {
  transform: scale(1.1);
}

#page_title {
  font-family: "Noto Serif Thai", serif;
  text-align: center;
  font-size: 2.5rem;
  backdrop-filter: blur(20px);
  padding: 10px;
  border-radius: 20px;
  color: #3b2f2a;
  background-color: rgba(255, 248, 240, 0.7);
  border: 1px solid rgba(184, 160, 130, 0.2)
}

#container {
  padding-top: 100px;
  width: 100%;
}

.article_meta {
  width: 90%;
  max-width: 1200px;
  margin: 8px auto 0;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  color: #7a6252;
  text-align: center;
}

.article_ad_container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px auto;
  width: 90%;
  max-width: 1200px;
}

article {
  margin: 0 auto;
  max-width: 1200px;
}

section {
  background-color: rgba(255, 250, 244, 0.86);
  padding: 20px;
  border-radius: 25px;
  color: #3b2f2a;
  margin: 20px auto;
  font-size: 1.5rem;
  width: 90%;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(90, 67, 44, 0.12);
  border: 1px solid rgba(184, 160, 130, 0.18)
}

#container h1,
h2,
h3 {
  font-family: "Nunito", sans-serif;
  color: #2f241f;
  font-size: 2.5rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  text-align: center;
}

#container hr {
  border: 1px solid #e4d6c3;
  width: 80%;
}

.full_length_hr {
  width: 100%;
}

#container p,
li {
  font-family: "Inter", sans-serif;
  color: #5b4638;
  line-height: 1.6;
  margin-bottom: 20px;
}

#container strong {
  font-family: "Inter", sans-serif;
}

#container title {
  font-size: 2rem;
  margin-top: 20px;
  margin-bottom: 10px;
}

a {
  font-family: "Funnel Sans", sans-serif;
  color: #b86b2b;
  transition: color 0.2s ease;
}

a:hover {
  color: #8f4e1f
}

/* Article Images */
.article_image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(90, 67, 44, 0.15);
  border: 1px solid rgba(184, 160, 130, 0.2);
}

/* Engage Button */
.engage_button {
  background-color: transparent;
  border: #c9ae91 solid 3px;
  border-radius: 10px;
  color: #3b2f2a;
  font-family: "Funnel Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  outline: none;
  transition: box-shadow 0.4s, transform 0.4s;
}

.engage_button:hover {
  box-shadow: 0 4px 10px rgba(90, 67, 44, 0.2);
  transform: translateY(-2px);
}

.engage_button:active {
  transform: translateY(4px) scale(0.98);
  box-shadow: 0 2px 5px rgba(90, 67, 44, 0.14)
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.ad {
  display: flex;
  justify-content: center;
}

/* Mobile */
@media only screen and (max-width: 1200px) {
}

@media only screen and (max-width: 768px) {
  #page_title {
    font-size: 1.5rem;
    width: 80vw;
  }
  #container h1,
  h2,h3 {
    font-size: 1.5rem;
  }

  #container p,
  li {
    font-size: 1.2rem;
  }

  .article_meta {
    font-size: 0.85rem;
  }

  #container strong {
    font-size: 1.2rem;
  }

  a {
    display: flex;
    justify-content: center;
  }
}
