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;
}

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

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

/* 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;
}

.boxer {
  margin-top: 120px;
  display: grid;
  grid-template-columns: repeat(auto-fit, 20rem);
  grid-gap: 25px;
  justify-content: center;
  justify-items: center;
}

.box {
  background-color: rgba(255, 250, 244, 0.86);
  border: 1px solid rgba(184, 160, 130, 0.18);
  color: #3b2f2a;

  border-radius: 20px;
  height: 11rem;
  width: 20rem;
  transition: all 0.3s ease;
  cursor: pointer;
  
  display: flex;
  flex-direction: column;
  justify-content: center;

  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(90, 67, 44, 0.12);
}

.box:hover {
  transform: translateY(-6px) scale(1.01);
  border: 1px solid rgba(184, 160, 130, 0.4);
  box-shadow: 0 15px 40px rgba(90, 67, 44, 0.2);
}

h2 {
  font-family: "Nunito", sans-serif;
  color: #2f241f;
  font-size: 1.25rem;
  margin-bottom: 10px;
  padding: 0 10px;
  text-align: center;
}

p {
  font-family: "Inter", sans-serif;
  color: #5b4638;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.4;
  margin-left: 10px;
  margin-right: 10px;
  text-align: center;
}

/* Mobile */
@media only screen and (max-width: 768px) {
  #page_title {
    font-size: 1.5rem;
    width: 80vw;
  }
  
  h2 {
    font-size: 1.1rem;
  }

  p {
    font-size: 0.85rem;
  }
}
