/* 72SeasonsStyle.css - Global stylesheet for 72 Microseasons */

body {
  background-color: #f8f5f0;
  font-family: "Georgia", "Times New Roman", serif;
  color: #333;
  margin: 0;
  padding: 0;
}

.container {
  position: relative;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #fdfbf7;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/img/72Seasons/paper-texture.jpg') no-repeat center center;
  background-size: cover;
  opacity: 0.33; /* Adjust this for stronger or lighter washi effect */
  z-index: -1;
}
.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.header img {
  width: 220px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.title-section {
  flex: 1;
  margin-left: 1.5rem;
}

h1 {
  font-size: 2.8rem;
  margin: 0;
  color: #2f2f2f;
}

h2 {
  font-size: 1.4rem;
  font-style: italic;
  color: #666;
  margin-top: 0.5rem;
}

.dates {
  font-size: 1rem;
  color: #999;
  margin-top: 0.5rem;
}

.content {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.main-text {
  flex: 2;
  font-size: 1.1rem;
  line-height: 1.8;
}

.poem {
  flex: 1;
  font-size: 1rem;
  font-style: italic;
  color: #555;
  border-left: 2px solid #ddd;
  padding-left: 1rem;
}

.poem .kanji {
  writing-mode: vertical-rl;
  font-family: "Hiragino Mincho ProN", serif;
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 1rem;
}

footer {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #aaa;
}

footer a {
  color: #666;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Mobile layout tweaks */
@media (max-width: 600px) {
  .container {
    padding: 1rem;
    margin: 1rem auto;
  }

  .header {
    flex-direction: column;
    align-items: center;
  }

  .header img {
    width: 100%;
    max-width: 180px;
    margin-bottom: 1rem;
  }

  .content {
    flex-direction: column;
  }

  .poem {
    border-left: none;
    border-top: 2px solid #ddd;
    padding-left: 0;
    padding-top: 1rem;
  }
}
