﻿/* Variables, reset, page background, typography, and shared wrapper. */

:root {
  --font-main: Georgia, "Times New Roman", serif;
  --font-secondary: "Chiron GoRound TC", "Noto Sans TC", sans-serif;
  --color-main: #b6193f;
  --color-secondary: #fff0e4;
  --color-cta: #b6193f;
  --container-width: 1800px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: #000;
  color: var(--color-secondary);
  font-family: var(--font-secondary);
  line-height: 1.3;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(#0000006e, #0000006e),
    url("../../images/Usagimao-mainbackground.webp") center center / cover no-repeat;
  transform: translateZ(0);
  will-change: transform;
}

button {
  font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-main);
  font-family: var(--font-main);
}

h1 {
  font-size: 50px;
}

h2 {
  font-size: 40px;
}

h3 {
  font-size: 34px;
}

h4 {
  font-size: 28px;
}

a {
  color: var(--color-main);
}

img,
video {
  max-width: 100%;
}

::-webkit-scrollbar {
  width: 8px;
  background-color: transparent;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  border: 4px solid transparent;
  border-radius: 16px;
  background-color: var(--color-cta);
}

::-webkit-scrollbar-button {
  display: none;
}

.wrapper {
  width: 100%;
  max-width: calc(var(--container-width) + 70px);
  padding: 0 35px;
}