:root {
  --purple: #586bf3;
  --yellow: #eacf00;
  --font: #02003d;
}

html, body {
  margin: 0;
}

body {
  background-color: #f2f2ff;
  padding: 30px 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
  font-family: 'Noto Sans TC', sans-serif;
  line-height: 1.3;
  letter-spacing: 1px;
}

h1 {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--font);
}

h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--font);
}

h3 {
  width: 100%;
  font-size: 16px;
  font-weight: 400;
  margin: 0 0 10px;
}

p {
  font-size: 16px;
  font-weight: 300;
}

a {
  text-decoration: none;
  color: #586bf3;
  font-family: system-ui;
}

p.light {
  font-weight: 100;
}

a.link {
  font-size: 20px;
  font-weight: 700;
  color: #586bf3;
  margin-bottom: 10px;
}

.page {
  width: 1024px;
  max-width: 100%;
  padding: 80px 50px 20px;
  margin: 0 auto;
}

.hide {
  display: none !important;
}

.title {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 20px;
  padding: 10px;
}
.col {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 20px;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 0 1px 0 var(--purple);
  padding: 20px;
}
.result {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 0 10px;
}

.col table tr {
  background-color: rgba(169, 173, 240, 0.1);
}
.col table th {
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  padding: 5px;
  color: var(--font);
}
.col table td {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  padding: 10px;
  color: var(--font);
}
.col table td:first-child {
  text-align: left;
  width: 220px;
}

.desc {
  font-size: 16px;
  padding: 5px;
}
.desc>div {
  display: inline-flex;
  font-size: 16px;
}
.desc>div:first-child {
  width: 120px;
}
.desc.focus {
  background-color: rgba(88, 107, 243, 1);
  border-radius: 4px;
}
.desc.focus div {
  color: white;
}

.button {
  width: fit-content;
  min-width: 150px;
  padding: 10px 15px;
  border-radius: 6px;
  background-color: var(--purple);
  border: none;
  color: white;
  font-size: 20px;
  font-weight: 300;
  text-align: center;
  cursor: pointer;
  appearance: none;
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  font-size: 12px;
  font-weight: 500;
  margin-top: 50px;
}

.footer img {
  width: 12px;
  margin: 0 3px;
}

#form-error {
  display: flex;
  width: 100%;
  font-size: 14px;
  font-weight: 600;
  color: rgb(250, 115, 115);
  padding: 20px 10px;
}

@media (max-width: 768px) {
  body {
    padding: 0;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 18px;
  }

  p {
    font-size: 12px;
  }

  a.link {
    font-size: 16px;
  }

  .page {
    padding: 20px;
  }

  .button {
    font-size: 16px;
  }

  .col {
    padding: 15px 10px;
  }
}
