/*
SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
*/

/* COLOR THEME */
:root {
  --primary-color: #030303;
  --secondary-color: #f1f1f1;
  --background-color: #dddddd;
  --text-color: #030303;
  --btn-text: #eee;
  --btn-color: #333;
  --btn-color2: #444;
  --btn-color3: #555;
  --btn-shadow: #111;
}

@font-face {
  font-family: "pencil";
  src: url(media/fonts/pencil.otf);
}
@font-face {
  font-family: "headlines";
  src: url(media/fonts/headlines.ttf);
}

/* UNIVERSALS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 128rem;
  margin: auto;
}

h1 {
  font-family: "pencil", sans-serif;
  font-size: 4.8rem;
}

header {
  background-color: var(--primary-color);
  padding: 1.2rem;
  color: var(--background-color);
}

.head-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-title {
  margin-left: 3.2rem;
}

#bear-icon {
  width: 6.4rem;
}
.hero-section {
  padding: 6.4rem;
  margin-top: 4.8rem;
  position: relative;
}
.hero-title {
  font-size: 12.8rem;
  font-family: "pencil", sans-serif;
}
.hero-chinese {
  font-size: 9.6rem;
  margin-top: -6.4rem;
}
.hero-img {
  width: 50%;
}
.hero-section p {
  padding-right: 8rem;
  font-size: 2rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.link-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 9.6rem;
  padding: 0 12rem;
  font-size: 4.8rem;
  font-family: "headlines", sans-serif;
}

.plan-section {
  margin-top: 20rem;
}
.plan-title {
  font-size: 9.6rem;
  font-family: "pencil";
}
ul {
  font-size: 4.8rem;
  margin-left: 12.8rem;
}
.ca {
  width: 100%;
  text-align: center;
  font-size: 2.8rem;
  font-weight: 500;
  margin-top: 2.4rem;
  margin-bottom: 3.2rem;
}
footer {
  width: 100%;
  background-color: var(--text-color);
  color: var(--background-color);
  font-family: "pencil";
  font-size: 3.2rem;
  padding: 2.4rem;
}

/* BUTTONS & LINKS */

a:link,
a:visited {
  text-decoration: none;
  color: var(--btn-color);
  border-bottom: #111 2px solid;
}

a:hover,
a:active {
  color: var(--btn-color3);
}

.btn-icon {
  width: 28px;
  height: auto;
  stroke: var(--background-color);
  fill: var(--background-color);
  margin: 0 0.8rem;
}

.btn {
  padding: 10px 20px;
  background-color: var(--btn-color);
  color: var(--btn-text);
  border-radius: 5px;
}

.clickable {
  background-color: var(--btn-color);
  box-shadow: 0 3px var(--btn-shadow);
  transform: translateY(-3px);
}

.clickable:hover {
  background-color: var(--btn-color2);
  box-shadow: 0 5px var(--btn-shadow);
  transform: translateY(-5px);
  cursor: pointer;
}

.clickable:active {
  background: var(--btn-color3);
  box-shadow: 0 2px var(--btn-shadow);
  transform: translateY(-2px);
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  .container {
    width: 95%;
  }
}
