/* ==========================
   TINY ROOM ONLINE
   BROWN CHEETAH JOURNAL PAGE
   ========================== */

* {
  box-sizing: border-box;
}


body {
  margin: 0;
  padding: 30px 10px;

  color: #3b2418;
  font-family: Verdana, Arial, sans-serif;

  background-color: #1c120d;
  background-image: url("journalbg.jpg");
background-size: 650px auto;
background-position: center top;
background-repeat: repeat;
background-attachment: fixed;
}


/* MAIN PAGE */

.page {
  max-width: 920px;
  margin: auto;

  background: rgba(255, 245, 233, 0.93);

  border: 4px solid #5a3420;
  border-radius: 12px;

  box-shadow:
    0 0 0 5px rgba(168, 117, 77, 0.45),
    0 0 24px rgba(0, 0, 0, 0.45);
}


/* TOP STRIP */

.top-strip {
  padding: 8px;

  text-align: center;

  color: #fff4ea;
  font-size: 10px;
  letter-spacing: 3px;

  background:
    linear-gradient(
      to bottom,
      #8b5639,
      #4a2a1b
    );

  border-bottom: 2px solid #2e180f;
}


/* HEADER */

header {
  padding: 35px 20px;
  text-align: center;

  background:
    linear-gradient(
      135deg,
      rgba(255, 236, 214, 0.95),
      rgba(217, 172, 120, 0.95),
      rgba(111, 66, 39, 0.95)
    );

  border-bottom: 3px solid #5b3621;
}


header h1 {
  margin: 5px 0;

  color: #4b2616;
  font-family: Georgia, serif;
  font-size: 50px;
  letter-spacing: 3px;

  text-shadow:
    2px 2px #fff5eb,
    0 0 8px rgba(255, 233, 211, 0.8);
}


.mini-title {
  margin: 0;

  color: #6e4a36;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
}


.subtitle {
  margin-bottom: 0;

  color: #fff4ea;
  font-family: Georgia, serif;
  font-style: italic;

  text-shadow: 1px 1px rgba(74, 42, 27, 0.45);
}


/* NAV */

nav {
  padding: 12px;
  text-align: center;

  background: rgba(57, 31, 20, 0.95);

  border-bottom: 3px solid #8a5839;
}


nav a {
  display: inline-block;

  margin: 4px;
  padding: 7px 12px;

  color: #fff6ef;
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;

  background:
    linear-gradient(
      to bottom,
      #c28955,
      #7b492f
    );

  border: 1px solid #efc7a4;
  border-radius: 6px;

  box-shadow:
    inset 0 1px #ffe8d1,
    0 2px 3px rgba(37, 20, 13, 0.35);
}


nav a:hover {
  color: #432416;

  background:
    linear-gradient(
      to bottom,
      #f4cfaa,
      #c78d5d
    );
}


/* MAIN */

main {
  padding: 20px;
}


/* SHARED BOX STYLE */

.intro-box,
.status-box,
.quote-box,
.journal-entry {
  margin-bottom: 22px;
  padding: 18px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 249, 242, 0.96),
      rgba(247, 228, 209, 0.96)
    );

  border: 2px solid #a06b46;
  border-radius: 8px;

  box-shadow:
    4px 4px 0 rgba(158, 112, 74, 0.35);
}


/* BOX TITLES */

.box-title {
  margin:
    -18px
    -18px
    15px
    -18px;

  padding: 8px 10px;

  color: #fff7f0;
  text-align: center;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 2px;

  background:
    linear-gradient(
      to bottom,
      #8f593c,
      #5b3421
    );

  border-bottom: 2px solid #3d2115;
}


/* STATUS GRID */

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
}


.status-grid p {
  margin: 4px 0;
  font-size: 12px;
}


/* JOURNAL ENTRY */

.entry-top {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 10px;
  padding-bottom: 8px;

  border-bottom: 1px dashed #bb8f6d;
}


.date {
  color: #8a5a3d;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 2px;
}


.entry-label {
  color: #6a4028;
  font-size: 10px;
  font-weight: bold;
}


.journal-entry h2 {
  margin-top: 0;

  color: #4a2818;
  font-family: Georgia, serif;
  font-size: 28px;
}


.journal-entry p,
.intro-box p,
.quote-box p {
  line-height: 1.75;
  font-size: 13px;
}


/* FOOTER */

footer {
  padding: 18px;

  text-align: center;

  color: #f1dcc8;
  font-size: 10px;
  line-height: 1.7;

  background: rgba(58, 31, 20, 0.96);

  border-top: 3px solid #8e5b3c;
}


/* LINKS */

a {
  color: #7c4529;
}


a:hover {
  color: #b36945;
}


/* SELECTION */

::selection {
  color: #2b160d;
  background: #deb186;
}


/* SCROLLBAR */

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #ead5c4;
}

::-webkit-scrollbar-thumb {
  background: #966242;
  border: 2px solid #ead5c4;
}

::-webkit-scrollbar-thumb:hover {
  background: #73452d;
}


/* MOBILE */

@media screen and (max-width: 650px) {

  .status-grid {
    grid-template-columns: 1fr;
  }

  header h1 {
    font-size: 36px;
  }

  nav a {
    font-size: 11px;
  }

  .entry-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

}