@import url(https://fonts.bunny.net/css?family=abeezee:400|abel:400|archivo-black:400|noto-serif-thai:700);

html,
body {
  background-color: #fbf6ed;
  margin: 0;
  overflow-x: hidden;
}

::selection {
  background-color: rgba(184, 160, 130, 0.35);
  color: #5b4638;
}

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

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

#title {
  color: rgb(59, 47, 42);
  font-family: "Archivo Black", sans-serif;
  text-shadow: 1px 1px 2px rgba(90, 67, 44, 0.2);
  text-align: center;
}

#container {
  gap: 15px;

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  height: fit-content;
  width: 100vw;

  justify-content: center;
}

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

.box {
  background-color: rgba(255, 250, 244, 0.86);
  border: 1px solid rgba(184, 160, 130, 0.18);
  box-shadow: 0 10px 30px rgba(90, 67, 44, 0.12);

  border-radius: 15px;
  padding: 2rem;
  min-width: 25%;
  max-width: 10vw;
  min-height: 5vh;
  max-height: fit-content;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background-color 0.35s ease,
    border-color 0.35s ease;
}

.box:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 48px rgba(90, 67, 44, 0.18);
  border-color: rgba(184, 160, 130, 0.28);
  background-color: rgba(255, 248, 240, 0.95);
  cursor: pointer;
}

h2 {
  color: #cc7730;
  font-family: "ABeeZee", sans-serif;
  text-align: center;
  font-size: x-large;
}

span {
  color: rgb(91, 70, 56);
  font-family: "Abel", sans-serif;
  font-size: large;
}

footer {
  display: flex;
  margin-top: 2rem;
  justify-content: center;
}

.link {
  color: #5b4638;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}

.link:hover {
  color: #b86b2b;
  border-color: #b86b2b;
}

@media only screen and (max-width: 768px), (max-height: 600px) {
  #container {
    gap: 40px;
  }

  .box {
    min-width: 50%;
    max-width: 75%;
  }
}
