@import url("https://fonts.googleapis.com/css?family=Varela+Round");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css");

.container {
  /* padding: 0 2rem; */
}

.header {
  position: sticky;
  top: 0px;
  z-index: 10;
  padding: 8px 16px;
  background: rgba(255, 245, 240, 0.95);
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.25);
  font-family: "Arial Rounded MT Bold", "Varela Round", sans-serif;
}

.headerMain {
  max-width: 640px;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

.headerLeft {
  display: flex;
  gap: 8px;
}

.headerLeft h1 {
  height: 30px;
  margin: 0;
  font-size: 1.6em;
}

.headerLeft ruby {
  height: 18px;
  margin: 0;
  font-size: 0.8em;
}

.logoWrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.headerRight {
  display: flex;
  align-items: center;
}

.menuIcon {
  font-size: 24px;
}

.header nav {
  max-width: 640px;
  margin: auto;
}

.header nav ul {
  margin: 16px 0 0;
  padding: 0;
}

.header nav li {
  padding: 8px;
  list-style: none;
  border-top: solid 1px rgba(0, 0, 0, 0.16);
}

.header nav a {
  color: #935f38;
  text-decoration: none;
}

.header nav a:hover,
.header nav a:focus,
.header nav a:active {
  text-decoration: underline;
}

.main {
  max-width: 640px;
  min-height: calc(100vh - 64px);
  /* padding: 4rem 0; */
  margin: auto;
  padding: 24px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* justify-content: center; */
  /* align-items: center; */
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
    "游ゴシック", "Yu Gothic", sans-serif;
}

.main a {
  color: #b18e73;
  text-decoration: none;
}

.main a:hover,
.main a:focus,
.main a:active {
  text-decoration: underline;
}

.main p {
  margin: 0;
  font-size: 1rem;
}

.mainHeading {
  margin: 0 0 16px;
  /* text-indent: 1.5rem; */
  /* font-family: "Yu Gothic"; */
  font-weight: 700;
  font-size: 1.6rem;
  /* line-height: 30px; */

  width: 100%;
  color: #6a4326;
  border-bottom: solid 1.5px #6a4326;
}

.mainHeading:before {
  font-family: "Font Awesome 6 Free";
  content: "";
  margin-right: 0.8rem;
}

.mainHeading:target {
  scroll-margin-top: 64px;
}

.mainHeading2 {
  margin: 0;
  font-weight: 700;
  font-size: 1.2rem;
  /* line-height: 30px; */

  width: 100%;
  color: #6a4326;
  border-bottom: solid 1px #6a4326;
}

.listTable {
  margin: 16px 0 0;
  border-spacing: 0;
}

.listTable td {
  padding: 8px;
  border-top: solid 1px rgba(0, 0, 0, 0.16);
}
.listTable tr:last-child td {
  border-bottom: solid 1px rgba(0, 0, 0, 0.16);
}

.captionBottom {
  caption-side: bottom;
  font-size: 1rem;
  text-align: start;
  padding: 8px;
}

.brandsContainer {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 32px;
}

.twitter {
  color: #88d2fb;
}
.instagram {
  color: #d555d8;
}
.line {
  color: #06c755;
}

.footerCat {
  flex: 1;
  margin-bottom: -24px;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  color: #6a4326;
  font-size: 24px;
}

.footer {
  max-width: 640px;
  margin: auto;
  display: flex;
  flex: 1;
  padding: 2rem 0;
  border-top: solid 1px #6a4326;
  justify-content: center;
  align-items: center;
}

.title a {
  color: #0070f3;
  text-decoration: none;
}

.title a:hover,
.title a:focus,
.title a:active {
  text-decoration: underline;
}

.title {
  margin: 0;
  line-height: 1.15;
  font-size: 4rem;
}

.title,
.description {
  text-align: center;
}

.description {
  margin: 4rem 0;
  line-height: 1.5;
  font-size: 1.5rem;
}

.code {
  background: #fafafa;
  border-radius: 5px;
  padding: 0.75rem;
  font-size: 1.1rem;
  font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
    Bitstream Vera Sans Mono, Courier New, monospace;
}

.grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 800px;
}

.card {
  margin: 1rem;
  padding: 1.5rem;
  text-align: left;
  color: inherit;
  text-decoration: none;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  transition: color 0.15s ease, border-color 0.15s ease;
  max-width: 300px;
}

.card:hover,
.card:focus,
.card:active {
  color: #0070f3;
  border-color: #0070f3;
}

.card h2 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
}

.card p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.5;
}

.logo {
  height: 1em;
  margin-left: 0.5rem;
}

.ulist {
  margin-top: 0;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .grid {
    width: 100%;
    flex-direction: column;
  }
}

/* @media (prefers-color-scheme: dark) {
  .card,
  .footer {
    border-color: #222;
  }

  .code {
    background: #111;
  }

  .logo img {
    filter: invert(1);
  }
} */

html,
body {
  padding: 0;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
    Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  background: #ffedea;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

* {
  box-sizing: border-box;
}

/* @media (prefers-color-scheme: dark) {
  html {
    color-scheme: dark;
  }
  body {
    color: white;
    background: black;
  }
} */
