* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #FFF8F0;
  background-image: radial-gradient(#FFC9D4 1px, transparent 1px),
                     radial-gradient(#AEE2F5 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  font-family: 'Quicksand', sans-serif;
  color: #5B4636;
}

.page-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px;
}

h1, h2, h3 {
  font-family: 'Baloo 2', cursive;
  margin-top: 0;
}

/* Banner */
.banner {
  background: linear-gradient(135deg, #FFC9D4, #AEE2F5);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  border: 4px dashed #F4B942;
  margin-bottom: 20px;
}

.banner h1 {
  font-size: 2.2em;
  color: #5B4636;
  margin-bottom: 6px;
}

.tagline {
  font-weight: 600;
  color: #5B4636;
  margin: 0;
}

/* Nav */
.navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  background: #FFF0F3;
  border: 2px solid #FFC9D4;
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 20px;
}

.navbar a {
  text-decoration: none;
  color: #5B4636;
  font-weight: 600;
  background: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  border: 2px solid #AEE2F5;
  transition: transform 0.15s ease, background 0.15s ease;
}

.navbar a:hover {
  background: #F4B942;
  color: #5B4636;
  transform: scale(1.05);
}

/* Cards */
.card {
  background: #FFF0F3;
  border: 3px solid #FFC9D4;
  border-radius: 18px;
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: 4px 4px 0px #AEE2F5;
}

.welcome-card {
  background: #fff;
  border-color: #AEE2F5;
  box-shadow: 4px 4px 0px #FFC9D4;
}

/* Badges */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.badge {
  display: inline-block;
  background: #F4B942;
  color: #5B4636;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9em;
}

.link-badge {
  text-decoration: none;
  background: #E4DBF7;
  color: #6A4FA0 !important;
  cursor: pointer;
}

.link-badge:hover {
  background: #D8CCF0;
  color: #5B4636 !important;
}

/*any links starting with <a href=""></a>*/
a {
  color: #B39DDB;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

a:hover {
  color: #9575CD;
}

/* Blog entries: date on top, description, image at bottom */
.blog-entry {
  border-top: 2px dotted #FFC9D4;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
}

.blog-entry:first-of-type {
  border-top: none;
  padding-top: 0;
}

.log-date {
  font-size: 0.85em;
  font-weight: 600;
  color: #A97C50;
}

.blog-entry h3 {
  margin: 4px 0 6px;
  color: #5B4636;
}

.blog-entry p {
  margin: 0 0 14px;
}

.blog-image {
  background: #fff;
  border: 3px solid #AEE2F5;
  border-radius: 14px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  color: #A97C50;
}

.blog-image span {
  font-size: 0.8em;
  font-weight: 400;
  margin-top: 4px;
}

.blog-image img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

/* Milestones */
.milestone-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.milestone-list li {
  padding: 8px 0;
  border-bottom: 1px dashed #FFC9D4;
  font-weight: 600;
}

.milestone-list li.done {
  color: #A97C50;
  text-decoration: line-through;
  opacity: 0.7;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 2px dotted #FFC9D4;
}

.page-arrow {
  background: #FFC9D4;
  color: #5B4636;
  border: 3px solid #5B4636;
  border-radius: 999px;
  min-width: 46px;
  height: 46px;
  padding: 0 14px;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 0 #d68fa0, 0 6px 8px rgba(91, 70, 54, 0.15);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.page-arrow:hover:not(:disabled) {
  background: #F4B942;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 7px 0 #d68fa0, 0 9px 10px rgba(91, 70, 54, 0.18);
}

.page-arrow:active:not(:disabled) {
  transform: translateY(1px) scale(0.96);
  box-shadow: 0 2px 0 #d68fa0, 0 3px 6px rgba(91, 70, 54, 0.15);
}

.page-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
}

#page-indicator {
  font-weight: 600;
  color: #A97C50;
}


/* Carrot visitor counter */
.hit-badge {
  height: 20px;
  vertical-align: middle;
  border-radius: 4px;
}



/* Footer */
footer {
  text-align: center;
  padding: 20px 0;
  font-size: 0.85em;
  color: #A97C50;
}
