body {
    font-family: monospace;
    background-color: #141414;
    color: #ffffff;
    font-size: 14px;
    line-height: 150%;
}

main {
    width: min(75ch, 100% - 2rem);
    margin-inline: auto;
    margin-top:40px;
    margin-bottom:48px;
}

a {
    color: #eaff73;
}

img, svg, video {
    max-width: 100%;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    color: #eaff73;
}

h1 {
    line-height: 100%;
}

footer {
    margin-top: 24px;
}

code, pre {
    background-color: #323232;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.codehilite {
    padding: 10px;
}

::selection {
    background: #eaff73;
    color: #141414;
}

#about {
    margin-top: 24px;
}

.log {
    margin-bottom: 6px;
}

.log-title {
    font-weight: bold;
    font-size: 1.1em;
}

.log-info {
    font-size: 0.8em;
    margin-bottom: -10px;
}

.thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.img-self {
    float: left;
    width: 12%;
    margin: 0 1rem 1rem 0;
}

.img-left {
    float: left;
    width: 50%;
    margin: 0 1rem 1rem 0;
}

.img-right {
    float: right;
    width: 50%;
    margin: 0 0 1rem 1rem;
}

.clear {
    clear: both;
}

.img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.img-grid img {
    width: 100%;
    height: auto;
    display: block;
}

.online-index,
.blog-index,
.photo-index,
.lastfm-index,
.musicfav-index,
.albums-index,
.show-index,
.markah-index,
.sns-index,
.statuscafe-index,
.pages,
.rings {
    margin-top: 24px;
}

@media (max-width: 540px) {
    .img-grid {
        grid-template-columns: 1fr;
    }

    .img-left,
    .img-right {
        float: none;
        width: 100%;
        margin: 1rem 0;
    }

    .img-self {
        float: left;
        width: 20%;
        margin: 0 1rem 1rem 0;
    }

    .tilephoto {
        grid-template-columns: repeat(2, 1fr);
    }
}

.log-list {
    margin-top: 8px;
}

.post-body {
  white-space: pre-wrap;
  margin-bottom: 0.5em;
}

.post-body p {
  margin: 0 0 0.5em 0;
}

.pubdate {
  display: block;
  margin-top: 1em;
  font-size: 0.75em;
}

.pubdate a {
    color:#ffffff;
}

#misskeyid {
  list-style: none;
  padding-left: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

#misskeyid li {
  margin-bottom: 1em;
  padding-bottom: 0.5em;
}

.tilephoto {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  line-height: 0%;
}

.banner8831 {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
}

.history-entry {
    line-height: 100%;
}

.history-number {
    color: #676767;
}

.history-title-no-a {
    color: #ffffff;
    text-decoration: none;
}

.history-title {
    color: #ffffff;
    text-decoration: none;
}

.history-title:hover{
    text-decoration: underline;
}

.img-about {
    float: left;
    width: 40%;
    margin: 0 1rem 1rem 0;
}

.status-text span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
}

#status-label {
    color: #676767;
}

#status-status {
    color:#eaff73;
    font-weight: bold;
}

.pages,
.rings {
    text-align: left;
    text-align: left;
}

.rings-sub {
    font-size: 0.9em;
    color: #676767;
}

.grid-button {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.grid-button > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.grid-button textarea {
  width: 100%;
  min-height: 180px;
  box-sizing: border-box;
  background-color: #323232;
  color: #ffffff;
}

.musicfav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
}

.musicfav-entry {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.musicfav-entry img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.musicfav-entry p {
  margin: 0;
  line-height: 1.25;
  word-break: break-word;
}

.musicfav-entry p .artist {
  font-size: 0.9em;
  color: #676767;
}

@media (max-width: 600px) {
  .musicfav-grid {
    grid-template-columns: 1fr;
  }
}

.musicfav-updated-bold {
    color:#eaff73;
    font-weight: bold;
}

#blog {
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 0px;
}

.blog-item {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 4px;
}

.blog-date {
    color:#676767;
}

.blog-title {
    text-decoration: none;
    color:#ffffff;
}

.blog-title:hover {
    text-decoration: underline;
}

.docs-list ul {
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 0px;
}

.docs-list li {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 4px;
}

.docs-list a {
    color:#ffffff;
    text-decoration: none;
}

.docs-list a:hover {
    text-decoration: underline;
}

.oshi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.oshi-grid img {
    border-radius: 100%;
}