
@font-face {
  font-family: "ktegaki";
  src: url("ktegaki.ttf");
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 25px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-image: repeating-linear-gradient(
    90deg,
    #fcd5cc 0px,
    #fcd5cc 8px,
    #fce8df 8px,
    #fce8df 16px
  );
  font-family: "ktegaki", serif;
  color: #4b342f;
  font-size: 16px;
  line-height: 1.5;
}

.heart {
  font-family: Georgia, serif;
}

.sidebar {
  flex: 0 0 240px;
  background-color: #fcf1e4;
  border: 1px solid #e8b9c3;
  border-radius: 15px;
  padding: 18px;
}

.site-name {
  color: #8e3437;
  margin-top: 0;
}

.tagline {
  margin-top: -8px;
}

.side-box {
  background-color: #fff8f0;
  border: 1px dashed #d8a0a8;
  border-radius: 10px;
  padding: 12px;
  margin-top: 18px;
}

.side-box h3 {
  color: #8e3437;
  margin-top: 0;
}

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.link-list li {
  margin: 8px 0;
}

a {
  color: #4b342f;
  text-decoration: none;
}

a:hover {
  color: #8e3437;
  text-decoration: underline;
}

.calendar p {
  text-align: center;
  margin: 5px 0 10px;
}

.calendar table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-family: Georgia, serif;
  font-size: 11px;
  text-align: center;
}

.calendar th,
.calendar td {
  padding: 4px 0;
}

.calendar th {
  color: #8e3437;
}

.calendar td {
  border-radius: 4px;
}

.blog-content {
  flex: 1;
  min-width: 0;
  background-color: #fcf1e4;
  border: 1px solid #e8b9c3;
  border-radius: 15px;
  padding: 25px;
}

.blog-header {
  text-align: center;
  padding: 10px 0 20px;
  border-bottom: 1px dashed #d8a0a8;
  margin-bottom: 20px;
}

.blog-header h1 {
  color: #8e3437;
  margin: 5px 0;
}

.eyebrow {
  margin-bottom: 0;
  font-size: 14px;
}

.post {
  background-color: #fff8f0;
  border: 1px solid #e8b9c3;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 18px;
}

.post-date {
  font-size: 13px;
  margin: 0;
  color: #8e3437;
}

.post h2 {
  color: #8e3437;
  margin: 8px 0;
}

.read-more {
  display: inline-block;
  margin-top: 5px;
}

.blog-footer {
  text-align: center;
  padding-top: 15px;
}

/* Adattamento agli schermi piccoli */
@media (max-width: 750px) {
  body {
    flex-direction: column;
    padding: 12px;
  }

  .sidebar,
  .blog-content {
    width: 100%;
    flex-basis: auto;
  }

  .blog-content {
    padding: 16px;
  }
}
