.notepad-body {
  position: relative;
  scrollbar-color: var(--accent-color) var(--bg-color);
  scrollbar-width: thin;

  @media (min-width: 50rem) {
    margin: 0 3rem;
    overflow: hidden;
  }

  @media (min-width: 80rem) {
    display: grid;
    place-items: center;
  }
}
.notepad-main {
  display: flex;
  flex-direction: column-reverse;
  padding: 2rem 0;
  gap: 2rem;
  box-sizing: border-box;

  @media (min-width: 50rem) {
    flex-direction: row;
    height: 100vh;
  }

  @media (min-width: 80rem) {
    height: 680px;
    max-height: 680px;
    overflow-y: auto;
    max-width: 72rem;
    margin-inline: auto;
  }
}

.notepad-linkback {
  position: absolute;
  top: 0.5rem;
  left: 2rem;

  @media (min-width: 50rem) {
    left: 0.5rem;
  }
}

.notepad-text {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.margin-top {
  margin-top: 0.5rem;
}

.perfect-days {
  padding: 0.5rem 2rem;
  scrollbar-color: var(--accent-color) var(--bg-color);
  scrollbar-width: thin;

  @media (min-width: 50rem) {
    flex: 2;
    overflow-y: auto;
  }
}

.analog {
  padding: 0.5rem 2rem;
  scrollbar-color: var(--accent-color) var(--bg-color);
  scrollbar-width: thin;

  @media (min-width: 50rem) {
    flex: 2;
    overflow-y: auto;
  }
}

.noticing {
  padding: 0.5rem 2rem;
  scrollbar-color: var(--accent-color) var(--bg-color);
  scrollbar-width: thin;

  @media (min-width: 50rem) {
    flex: 1;
    overflow-x: auto;
    padding: 0.5rem 0;
  }
}

.notepad-header {
  font-family: "MS UI Gothic", sans-serif;
  font-size: 1.1rem;
  text-align: right;
}

summary {
  font-family: "MS UI Gothic", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  list-style-type: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::before {
  content: "▸";
  margin-right: 4px;
  transition: transform 0.2s ease-in-out;
}

details[open] summary::before {
  transform: rotate(90deg);
}

.roll {
  font-family: "MS UI Gothic", sans-serif;
  font-size: 0.75rem;
}

.images-container {
  display: flex;
  gap: 1rem;
  width: 100%;
}

.images-container > video,
.images-container > div {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--accent-color);
}

.images-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.images-container div a {
  display: block;
  width: 100%;
  height: 100%;
}

.images-container div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* music list */
.music-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 1rem;
  margin-top: 1rem;
}

.music-list-cover {
  width: 60px;
  height: 60px;

  img {
    display: block;
    object-fit: cover;
  }
}

.music-list-title {
  font-weight: 700;
  font-family: "MS UI Gothic", sans-serif;
  font-size: 0.8rem;
  line-height: 1.2;
}

.music-list-artist {
  font-weight: 600;
  font-size: 0.65rem;
  line-height: 1.2;
  color: var(--accent-color-shade);
}

/* meditation */

.date {
  color: var(--accent-color-shade);
  font-style: italic;
  font-size: 9px;
  margin-bottom: 0.3rem;
  display: flex;
  justify-content: space-between;
}

.noticing-text {
  font-size: 0.7rem;
  line-height: 1.4;
}

.date-margin {
  margin: 0 0.3rem;
}

.random-btn {
  font-size: 0.7rem;
  background: transparent;
  border: 1px dotted var(--text-color);
  transition: 0.3s all ease-in-out;
  padding: 3px 6px;
  margin-bottom: 1rem;
  color: var(--text-color);

  &:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
  }
}

.noticing-list li {
  display: none;
}

.noticing-img {
  width: 75px;
  height: 75px;
  margin-bottom: 0.3rem;
}
