@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap');

/*
 基本樣式
*/
:root {
  --primary-100: #B3E5FC;
  --red-600: #E53935;
  --gray-600: #757575;
  --gray-700: #616161;
  --gray-800: #424242;
  --rem: min(13.3vw, 10px);
}

html,
body {
  position: relative;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  font-family: 'Noto Sans TC', Arial, "微軟正黑體", "Microsoft JhengHei", sans-serif;
  font-size: var(--rem);
  font-weight: 400;
  color: var(--gray-800);
  background: var(--gray-100);
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--gray-600);
  margin-top: 1rem;
  margin-bottom: .6rem;
  line-height: 1.4;
}

h1 {
  font-size: 3.2rem;
  font-weight: 700;
}

h2 {
  font-size: 2.8rem;
  font-weight: 500;
}

h3 {
  font-size: 2.4rem;
  font-weight: 500;
}

h4 {
  font-size: 1.8rem;
  font-weight: 500;
}

h5 {
  font-size: 1.6rem;
  font-weight: 500;
}

h6 {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--grey-600);
}

.text {
  font-size: 1.4rem;
  font-weight: 400;
}

.note {
  font-family: "微軟正黑體", "Microsoft JhengHei", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
}

p {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

hr {
  margin-top: 5rem;
  margin-bottom: 5rem;
}

pre {
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
}

div {
  box-sizing: border-box;
}

img {
  width: 100%;
  border: none;
}

a {
  text-decoration: none;
}

samp {
  color: var(--red-600);
}