/* Custom font definitions */
@font-face {
  font-family: 'Quietism';
  src: url('QuietismText-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Quietism';
  src: url('QuietismText-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Quietism';
  src: url('QuietismText-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Quietism';
  src: url('QuietismText-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}

/* Universal body styles */
body {
  background: url('bg.gif') no-repeat center center fixed;
  background-size: cover;
  font-family: 'Quietism', 'Times New Roman', serif;
  color: #8B4513; /* Saddle brown */
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 100vh;
}

/* Title image */
.title-image {
  margin-top: 20px;
  margin-bottom: 20px;
}

.title-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Main content panel */
.main-panel {
  background-color: #FFF8DC; /* Cornsilk - warm off-white */
  border: 3px solid #A0522D; /* Sienna brown */
  padding: 25px;
  max-width: 420px;
  width: 100%;
  height: 75vh; /* Taller than wide */
  overflow-y: auto;
  box-shadow: 5px 5px 15px rgba(139, 69, 19, 0.4);
  margin-bottom: 20px;
  position: relative;
  /* Firefox scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: #8B4513 #F5DEB3;
}

/* Webkit browsers scrollbar styling for main panel */
.main-panel::-webkit-scrollbar {
  width: 16px;
}

.main-panel::-webkit-scrollbar-track {
  background: #F5DEB3; /* Wheat/parchment color */
  border: 2px inset #D2B48C;
  border-radius: 0;
}

.main-panel::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #CD853F 0%, #8B4513 50%, #654321 100%);
  border: 2px outset #A0522D;
  border-radius: 0;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.3), 
              inset -1px -1px 0 rgba(0,0,0,0.3);
}

.main-panel::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #DEB887 0%, #A0522D 50%, #8B4513 100%);
  border-color: #CD853F;
}

.main-panel::-webkit-scrollbar-thumb:active {
  background: linear-gradient(to bottom, #A0522D 0%, #654321 50%, #3E2723 100%);
  border: 2px inset #654321;
  box-shadow: inset 2px 2px 2px rgba(0,0,0,0.3);
}

.main-panel::-webkit-scrollbar-corner {
  background: #F5DEB3;
}

/* Page titles */
.title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #B0E0E6; /* Powder blue - lighter, icier */
  margin-bottom: 20px;
}

/* Navigation links */
.nav-link {
  text-align: center;
  margin-bottom: 20px;
}

.nav-link a {
  color: #A0522D;
  text-decoration: none;
  font-size: 14px;
}

.nav-link a:hover {
  text-decoration: underline;
  color: #CD853F;
}

/* Content sections */
.content {
  color: #654321;
  line-height: 1.6;
  font-size: 14px;
}

.content h3 {
  color: #A0522D;
  border-bottom: 1px dashed #D2691E;
  padding-bottom: 5px;
  margin-top: 20px;
}

/* Homepage specific styles */
.links-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-bottom: 20px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.link-column {
  flex: 1;
}

.link-column h3 {
  color: #A0522D; /* Sienna */
  font-size: 16px;
  margin-bottom: 10px;
  text-decoration: underline;
}

.link-column a {
  display: block;
  color: #8B4513; /* Saddle brown */
  text-decoration: none;
  margin: 8px 0;
  font-size: 13px;
}

.link-column a:hover {
  text-decoration: underline;
  color: #CD853F; /* Peru - warm autumn highlight */
}

/* Divider */
.divider {
  border: none;
  border-top: 2px dashed #D2691E; /* Chocolate */
  margin: 20px 0;
}

/* Description styling */
.description {
  text-align: center;
  font-size: 14px;
  color: #654321; /* Dark brown */
  line-height: 1.4;
}

/* Classic web 1.0 elements */
.construction {
  text-align: center;
  color: #B22222; /* Fire brick red */
  font-weight: bold;
  margin-bottom: 15px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Blog specific styles */
.blog-entry {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #D2691E;
}

.blog-entry:last-child {
  border-bottom: none;
}

.blog-date {
  font-size: 12px;
  color: #A0522D;
  margin-bottom: 5px;
}

.blog-title {
  font-size: 16px;
  font-weight: bold;
  color: #654321;
  margin-bottom: 8px;
}

.blog-excerpt {
  font-size: 13px;
  color: #654321;
  line-height: 1.5;
  margin-bottom: 8px;
}

.read-more {
  font-size: 12px;
}

.read-more a {
  color: #A0522D;
  text-decoration: none;
}

.read-more a:hover {
  text-decoration: underline;
  color: #CD853F;
}

/* Guestbook specific styles */
.sparkle-text {
  text-align: center;
  color: #B22222;
  font-weight: bold;
  font-size: 16px;
  margin: 15px 0;
  animation: sparkle 2s ease-in-out infinite alternate;
}

@keyframes sparkle {
  0% { text-shadow: 0 0 5px #DAA520; }
  100% { text-shadow: 0 0 15px #DAA520, 0 0 25px #CD853F; }
}

.guestbook-form {
  background-color: #F5DEB3;
  border: 2px dashed #A0522D;
  padding: 15px;
  margin: 15px 0;
}

.form-field {
  margin-bottom: 12px;
}

.form-field label {
  display: block;
  color: #654321;
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 13px;
}

.form-field input, .form-field textarea {
  width: 100%;
  padding: 5px;
  border: 1px solid #A0522D;
  background-color: white;
  font-family: 'Quietism', 'Times New Roman', serif;
  font-size: 12px;
  box-sizing: border-box;
}

.form-field textarea {
  height: 80px;
  resize: vertical;
}

.submit-btn {
  background-color: #CD853F;
  border: 2px outset #CD853F;
  padding: 8px 16px;
  color: white;
  font-family: 'Quietism', 'Times New Roman', serif;
  font-weight: bold;
  cursor: pointer;
  font-size: 13px;
}

.submit-btn:hover {
  background-color: #D2691E;
  border-color: #D2691E;
}

.submit-btn:active {
  border-style: inset;
}

.guest-entry {
  background-color: #F5F5DC;
  border: 1px solid #D2691E;
  margin: 10px 0;
  padding: 12px;
  font-size: 12px;
}

.guest-name {
  font-weight: bold;
  color: #A0522D;
  margin-bottom: 3px;
}

.guest-date {
  font-size: 10px;
  color: #8B4513;
  margin-bottom: 8px;
}

.guest-message {
  color: #654321;
  line-height: 1.4;
}

.star-decoration {
  text-align: center;
  margin: 15px 0;
  font-size: 18px;
  animation: blink 1.5s infinite;
}

.cute-divider {
  text-align: center;
  margin: 20px 0;
  color: #CD853F;
  font-size: 14px;
}

/* Lists and specialty content */
.brand-list, .composer-list {
  margin: 10px 0;
}

.brand-list li, .composer-list li {
  margin: 8px 0;
}