* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #abc5dc;
  color: #111111;
  font-family: Georgia, "Times New Roman", serif;
}




.home-page {
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 55px 30px 30px;
}

.home-grid {
  width: min(900px, 100%);
  display: grid;

  grid-template-columns:
    minmax(180px, 1fr)
    minmax(200px, 260px)
    minmax(180px, 1fr);

  grid-template-areas:
    ". intro ."
    "head avatar soul"
    ". body .";

  align-items: center;
  justify-items: center;

  column-gap: 45px;
  row-gap: 55px;
}




.site-intro {
  grid-area: intro;
  text-align: center;
}

.site-intro h1 {
  margin: 0 0 25px;
  font-size: 1.7rem;
  font-weight: normal;
  letter-spacing: 0.08em;
}

.site-intro p {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}




.highlight {
  display: inline;
  padding: 1px 5px 2px;
  background: #f5dce4;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.home-section {
  text-align: center;
}

.home-section h2 {
  margin: 0 0 27px;
  font-size: 1.55rem;
  font-weight: normal;
  letter-spacing: 0.1em;
}

.home-section p {
  margin: 0;
}




.head-section {
  grid-area: head;
}

.avatar-section {
  grid-area: avatar;
}

.soul-section {
  grid-area: soul;
}

.body-section {
  grid-area: body;
}




.link-line {
  font-size: 1.2rem;
  line-height: 1.6;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.link-line a {
  color: #111111;
  text-decoration: none;
}

.link-line a:visited {
  color: #111111;
}

.link-line a:hover,
.link-line a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.link-line span {
  margin: 0 1px;
}




.avatar-section {
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar {
  display: block;
  width: 230px;
  max-width: 100%;
  height: auto;
}


.play-button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.play-button {
    background-color: #000;
    color: #FFF;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.play-button:hover {
    background-color: #FFF;
    color: #000;
    border: 1px solid #000;
}




@media (max-width: 620px) {
  .home-page {
    min-height: auto;
    padding: 45px 20px 35px;
  }

  .home-grid {
    grid-template-columns: 1fr;

    grid-template-areas:
      "intro"
      "avatar"
      "head"
      "soul"
      "body";

    row-gap: 42px;
  }

  .site-intro h1 {
    font-size: 1.5rem;
  }

  .site-intro p {
    font-size: 1.05rem;
  }

  .avatar {
    width: 190px;
  }

  .home-section h2 {
    margin-bottom: 18px;
  }

  .link-line {
    white-space: normal;
  }
}






.log-button {
  display: block;
  margin: 16px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  cursor: pointer;
}

.log-button:hover,
.log-button:focus-visible {
  opacity: 0.6;
}




.log-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  pointer-events: none;
}

.log-modal.is-open {
  display: block;
}




.log-window {
  position: absolute;
  top: 45px;
  right: 45px;

  width: 340px;
  max-width: calc(100vw - 30px);
  max-height: 360px;
  overflow-y: auto;

  padding: 44px 20px 22px;

  background: #abc5dc;
  color: #111111;

  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #4f5d68;
  border-bottom: 2px solid #4f5d68;

  box-shadow:
    2px 2px 0 #111111,
    6px 6px 0 rgba(0, 0, 0, 0.18);

  font-family: "Courier New", Courier, monospace;
  pointer-events: auto;
}




.log-window::before {
  content: "update log";

  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  height: 28px;

  display: flex;
  align-items: center;

  padding: 0 8px;

  background: #f5dce4;
  color: #111111;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.04em;
}




.log-window h2 {
  display: none;
}




.log-close {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 2;

  width: 22px;
  height: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  background: #f5dce4;
  color: #111111;

  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #9f9f9f;
  border-bottom: 2px solid #9f9f9f;
}

  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1;

  cursor: pointer;
}

.log-close:active {
  border-top-color: #4f5d68;
  border-left-color: #4f5d68;
  border-right-color: #ffffff;
  border-bottom-color: #ffffff;
}




.log-entries {
  padding-top: 6px;
}

.log-entries p {
  margin: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.log-entries p:last-child {
  margin-bottom: 0;
}

.log-entries strong {
  font-weight: bold;
}




@media (max-width: 620px) {
  .log-window {
    top: 18px;
    right: 15px;
    width: calc(100vw - 30px);
    max-height: 70vh;
  }




