/* MARK: global variables
*/
:root {
  --background-color: black;
  --text-color: white;
  --text-color-dim: #999999;
  --text-size: 15px;
  --font-weight: 500; /*100-800*/
  --blur-effect: 10px;

  --button-background-color: black;
  --button-background-color-hover: #404040;

  scroll-behavior: smooth;
}

/* MARK: general
*/
* {
  color: var(--text-color);
  color-scheme: dark;
  font-size: var(--text-size);
  /*font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;*/
  font-family: "Playpen Sans Thai", cursive;
  font-weight: var(--font-weight);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

body {
  background-color: var(--background-color);
  margin: 0px;
}

a {
  text-decoration: none;
  -webkit-user-drag: none;
  user-select: none;
}

h1 {
  padding-top: 3em;
  padding-bottom: 0.5em;
  font-size: 30px;
  text-align: center;
}

h2 {
  font-size: 20px;
  margin: 0px;
}

img {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

video {
  user-select: none;
  -webkit-user-drag: none;
  width: auto;
  height: auto;
}

footer {
  margin-top: 25vh;
  margin-bottom: 2em;
  color: var(--text-color-dim);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

footer>img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  user-select: none;
}

/*MARK: button
*/
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 4px 10px;
  border-style: solid;
  border-radius: 12px;
  border-width: 2px;
  font-size: 12px;
  border-color: color-mix(in srgb, white 20%, transparent);
  background-color: var(--button-background-color);
  color: #ffffff;
  cursor: pointer;
  transition: all 200ms ease-in-out;
}

/* PC */
@media (pointer: fine) {
  .button:hover {
    background-color: var(--button-background-color-hover);
    box-shadow: 0 0 10px 0px color-mix(in srgb, white 30%, transparent);
    /*text-shadow: 0px 0px 1px white;*/
  }
}

/* Mobile */
@media (pointer: coarse) {
  .button:active {
    background-color: var(--button-background-color-hover);
    box-shadow: 0 0 10px 0px color-mix(in srgb, white 30%, transparent);
  }
}

.button .icon {
  padding: 0px 15px 0px 0px;
  width: 3em;
  vertical-align: middle;
}

.button_row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0px 7.5vw;
}
