/* =====================
   GLOBAL RESET
   ===================== */

* {
  box-sizing: border-box;
}

/* =====================
   BODY & PAGE BASE
   ===================== */

body {
  background-color: #f6c1d1; /* pastel pink */
  background-image: radial-gradient(#00000022 1px, transparent 1px);
  background-size: 20px 20px;
  color: #000;
  font-family: "Courier New", monospace;
  margin: 0;
  padding: 40px 0;
}

/* Left-aligned content container */
main {
  background-color: #fff0f5;
  border: 4px solid #000;
  max-width: 800px;
  margin: 0 0 0 40px;
  padding: 30px;
  box-shadow: 0px 0px 0 #000;
  position: relative;
  z-index: 2;
}

/* =====================
   HEADINGS
   ===================== */

h1 {
  font-size: 2.5rem;
  text-align: center;
  color: #000;
  background: linear-gradient(to right, #f9a8d4, #c4b5fd);
  padding: 15px;
  border: 3px solid #000;
  margin-bottom: 30px;
  text-shadow: 2px 2px 0 #fff;
}

/* =====================
   TEXT
   ===================== */

p {
  line-height: 1.6;
  margin-bottom: 15px;
}

/* =====================
   LINKS
   ===================== */

a {
  color: #7c3aed;
  text-decoration: none;
  font-weight: bold;
  background-color: #fde68a;
  padding: 2px 6px;
  border: 2px solid #000;
}

a:hover {
  background-color: #f472b6;
  color: #000;
}

/* =====================
   LISTS
   ===================== */

ul {
  list-style-type: "✦ ";
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

/* =====================
   IMAGES (BLOG CONTENT ONLY)
   ===================== */

img {
  display: block;
  max-width: 100%;
  margin: 20px auto;
  border: 3px solid #000;
  box-shadow: 0px 0px 0 #000;
}

/* =====================
   DECORATIVE ELEMENTS
   ===================== */

hr {
  border: none;
  height: 4px;
  background: repeating-linear-gradient(
    to right,
    #000,
    #000 10px,
    #f9a8d4 10px,
    #f9a8d4 20px
  );
  margin: 30px 0;
}

/* =====================
   BLOG POSTS
   ===================== */

.post {
  background-color: #fff;
  border: 3px solid #000;
  margin-bottom: 40px;
  padding: 20px;
  box-shadow: 0px 0px 0 #000;
}

.post-header {
  border-bottom: 3px dashed #000;
  margin-bottom: 15px;
  padding-bottom: 10px;
}

.post-title {
  margin: 0;
  font-size: 1.6rem;
  text-align: left;
}

.post-meta {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* =====================
   STATUS TABLE
   ===================== */

.post-status {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
  font-size: 0.9rem;
}

.post-status th {
  text-align: left;
  background-color: #fde68a;
  border: 2px solid #000;
  padding: 6px;
  width: 30%;
  text-transform: lowercase;
}

.post-status td {
  border: 2px solid #000;
  padding: 6px;
  background-color: #fff0f5;
}

/* =====================
   POST CONTENT
   ===================== */

.post-content p {
  margin-top: 10px;
  line-height: 1.7;
}

/* =====================
   SCROLLING OVERLAY PNG
   ===================== */

.overlay-kuromi {
  position: fixed;
  top: 60px;
  right: -150px;
  width: 1000px;          /* larger */
  opacity: 0.65;         /* more opaque */
  pointer-events: none;
  z-index: 1;

  /* OVERRIDES global img styling */
  border: none;
  box-shadow: none;
  margin: 0;
}

/* =====================
   TWO-COLUMN LAYOUT
   ===================== */

.layout {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

/* Blog column stays dominant */
.blog {
  flex: 1;
}

/* =====================
   SIDEBAR
   ===================== */

.sidebar {
  width: 220px;
  background-color: #fff0f5;
  border: 3px solid #000;
  padding: 15px;
  box-shadow: 0px 0px 0 #000;
  font-size: 0.9rem;
}

/* Sidebar heading */
.sidebar h3 {
  margin-top: 0;
  text-align: center;
  background-color: #fde68a;
  border: 2px solid #000;
  padding: 6px;
  margin-bottom: 10px;
}

/* Sidebar text */
.sidebar p {
  margin: 0;
  line-height: 1.5;
}

/* Center text inside sidebar only */
.sidebar {
  text-align: center;
}