/*手打ちの温かみのあるCSS*/
* {
  box-sizing: border-box;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin: 0;
}

p {
  letter-spacing: 0.05em;
  line-height: 1.8;
  margin: 0;
}

html,
body {
  padding: 0;
  margin: 0;
}

html {
  width: 100svw;
  height: 100svh;
}

body {
  width: 100%;
  height: 100%;
  font-size: 14px;
  font-family: "Sawarabi Gothic";
  background-color: #f5f5f5;
  color: #333333;
  display: flex;
  flex-direction: column;
}

header,
main,
footer {
  padding: 16px 20px;
}
header,
footer {
  height: 64px;
  width: 100%;
}

main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

footer {
  color: #555555;
}

.container {
  margin: 0 auto;
  width: 100%;
  max-width: 1080px;
}

/*Thanks https://github.com/chr15m/DoodleCSS*/
.content {
  padding: 8px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-style: solid;
  border-width: 8px;
  border-image: url("images/border.svg") 10 10 10 10 stretch stretch;
}

.avatar {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 100%;
}
.profile {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section_title {
  margin-bottom: 0.25rem;
}

section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

section h3 {
  margin-bottom: 0.25rem;
}

.articles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media only screen and (orientation: portrait) {
  main {
    align-items: flex-start;
  }
  .articles {
    grid-template-columns: unset;
  }
}
.thumbnail {
  width: 50%;
  object-fit: cover;
  border-radius: 8px;
}

a {
  font-weight: 500;
  margin-bottom: 1rem;
  transition: opacity 0.1s ease-in-out;
}

a:hover {
  opacity: 0.8;
}

object {
  pointer-events: none;
}
.logo {
  display: block;
  margin: 0;
  width: 180px;
  height: 24px;
}
