/* style.css — shared styles for every page. Edit a value here, it changes site-wide. */

body {
  background-color: #0c0c0c;
  color: #e8e8e8;
  font-family: Verdana, Tahoma, Geneva, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  padding: 20px 10px;
}

a        { color: #e02424; text-decoration: none; }
a:hover  { color: #ffffff; text-decoration: underline; }

.page { max-width: 880px; margin: 0 auto; }

.panel {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  padding: 14px;
  margin-bottom: 16px;
}
.panel h2 {
  margin: -14px -14px 14px -14px;
  padding: 9px 14px;
  background: #1a1a1a;
  color: #f2f2f2;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 2px solid #e02424;
  border-radius: 6px 6px 0 0;
}

.sitetitle {
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  font-weight: bold;
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 0 0 10px rgba(224, 36, 36, 0.55), 0 2px 2px #000;
  margin: 0 0 10px 0;
}

.nav { text-align: center; margin-bottom: 18px; }
.nav a {
  display: inline-block;
  padding: 4px 12px;
  color: #aaa;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
}
.nav a:hover { color: #e02424; text-decoration: none; }

/* main column wide (blog + gallery = the focus), side column narrow */
.columns { display: flex; gap: 16px; flex-wrap: wrap; }
.col-side { flex: 1 1 220px; }
.col-main { flex: 2.4 1 420px; }

.avatar { width: 100%; border: 1px solid #333; border-radius: 6px; display: block; }

.about { color: #bbb; }

.friends { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.friends a {
  display: block;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 8px;
  text-align: center;
  font-size: 12px;
  color: #e8e8e8;
}
.friends a:hover { background: #e02424; border-color: #e02424; color: #fff; text-decoration: none; }

/* photo gallery grid */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  display: block;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.gallery a:hover img { border-color: #e02424; box-shadow: 0 0 10px rgba(224,36,36,0.45); }
.gallery figcaption { font-size: 11px; color: #999; margin-top: 5px; text-align: center; }

/* blog post list */
.postlist { list-style: none; margin: 0; padding: 0; }
.postlist li { border-bottom: 1px solid #222; padding: 10px 0; }
.postlist li:last-child { border-bottom: none; }
.postlist a { font-size: 15px; }
.postlist .date { display: block; color: #999; font-size: 11px; margin-top: 2px; }

input[type="text"], textarea {
  width: 100%;
  box-sizing: border-box;
  background: #0c0c0c;
  color: #e8e8e8;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 8px;
  font-family: inherit;
  font-size: 13px;
}
input[type="text"]:focus, textarea:focus { outline: none; border-color: #e02424; }
button, .btn {
  background: #e02424;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 18px;
  font-weight: bold;
  cursor: pointer;
}
button:hover, .btn:hover { background: #ff3030; }

.footer { text-align: center; color: #777; font-size: 11px; margin-top: 24px; }

.gb-entry { border-bottom: 1px solid #222; padding: 10px 0; }
.gb-entry .who { color: #e02424; font-weight: bold; }
.gb-entry .when { color: #777; font-size: 10px; }
