@font-face {
  font-family: 'FT88';
  src: url('FT88-Italic.ttf') format('truetype');
  font-style: italic;
  font-weight: normal;
}

body {
  font-family: "FT88", sans-serif;
  font-style: italic;
}

input, button, select, textarea {
  font-family: inherit;
  font-style: inherit;
}

.outer {
  width: 900px;
  min-height: 700px;
  border: 1px solid #000;
  padding: 6px;
  background-image: url('bg2.jpg');
  background-color: white;
  margin: auto;
}

.title {
  border: 1px solid #000;
  display: inline-block;
  vertical-align: top;
  width: 300px;
  height: 200px;
  margin-bottom: 6px;
  background-image: url('../title.gif');
  background-size: cover;
  background-position: center;
}

.site-title {
  font-size: 30px;
  text-align: center;
  padding-top: 50px;
  box-sizing: border-box;
  color: #ffffff;
}

.site-subtitle {
  text-align: center;
}

.banner-wrapper {
  display: inline-block;
  vertical-align: top;
  width: 540px;
  height: 200px;
}

.banner {
  border: 1px solid #000;
  display: inline-block;
  vertical-align: top;
  width: 540px;
  height: 170px;
  background-image: url('banner4.jpg');
  background-size: cover;
  background-position: 20%;
}

.scroller {
  border: 1px solid #000;
  display: inline-block;
  vertical-align: top;
  width: 540px;
  height: 20px;
  background: #FFF;
  margin-top: 6px;
  overflow: hidden;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee {
  overflow: hidden;
  display: flex;
  width: max-content;
  animation: marquee-scroll 15s linear infinite;
}

.marquee span {
  white-space: nowrap;
  padding-right: 50px;
  flex-shrink: 0;
}

.left {
  display: inline-block;
  vertical-align: top;
  width: 200px;
}

.menu {
  border: 1px solid #000;
  display: inline-block;
  vertical-align: top;
  padding: 24px;
  box-sizing: border-box;
  background-image: url('dith.gif');
  background-color: black;
  width: 200px;
}

.menu a {
  border: 1px solid #FFF;
  height: 32px;
  line-height: 30px;
  width: 100%;
  display: inline-block;
  color: inherit;
  text-decoration: none;
  background: #FFF;
  text-align: center;
  position: relative;
  margin-bottom: 12px;
}

.menu a:before {
  content: " ";
  display: inline-block;
  height: 30px;
  width: 30px;
  background: #000;
  border: 2px solid #FFF;
  position: absolute;
  left: -1px;
  top: -1px;
}

.friends {
  display: inline-block;
  vertical-align: top;
  padding: 24px;
  box-sizing: border-box;
  background: #000;
  color: #FFF;
  width: 200px;
  margin-top: 12px;
}

.friends a {
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
  background: #000;
  color: #FFF;
  text-decoration: none;
  padding: 3px;
}

.friends a:hover {
  text-decoration: underline;
}

.friends h2 {
  font-size: 12px;
  letter-spacing: 2px;
  margin: 0;
  padding: 0;
  margin-bottom: 12px;
  border-bottom: 2px dotted #FFF;
}

.left-image {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 200px;
  padding: 8px;
  box-sizing: border-box;
  background: #000;
  margin-top: 12px;
  gap: 6px;
}

.left-image img,
.left-image a {
  width: 48%;
  height: auto;
  display: block;
}

.left-image a img {
  width: 100%;
}

.small {
  display: block;
  width: 200px;
  margin-top: 6px;
  box-sizing: border-box;
}

/* Middle Column Layout */
.main-column {
  display: inline-block;
  vertical-align: top;
  width: 480px;
}

.main {
  border: 1px solid #000;
  width: 480px; 
  height: 435px;
  background: #FFF;
}

.main iframe {
  height: 100%;
  width: 100%;
}

.button-marquee-wrapper {
  width: 480px;
  overflow: hidden;
  border: 1px solid #000;
  background: #000;
  padding: 6px 0;
  margin-top: 6px;
  box-sizing: border-box;
}

.button-marquee {
  display: flex;
  width: max-content;
}

.button-track {
  display: flex;
  gap: 6px;
  padding-right: 6px;
  animation: button-scroll 25s linear infinite;
}

.button-track img {
  width: 88px;
  height: 31px;
  display: inline-block;
  background: #fff;
  image-rendering: pixelated;
}

@keyframes button-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.right {
  width: 180px; 
  display: inline-block;
  vertical-align: top;
}

.profile {
  border: 1px solid #000;
  width: 186px;
  height: auto;
  background: #FFF;
  padding: 6px;
  box-sizing: border-box;    
}

.avatar {
  border: 1px solid #000;
  width: 170px;
  height: 170px;
  margin-bottom: 12px;
  background-image: url('ava4.png');
  background-size: 150px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Typography & Tables */
img {
  max-width: 100%;
}

h1 {
  background: #000;
  color: #FFF;
  margin: 0;
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 1px;
  margin-top: -6px;
}

h2 {
  font-size: 14px;
  font-weight: 500;
  border-top: 1px dashed #000;
  border-bottom: 1px dashed #000;
  letter-spacing: 2px;
  padding: 3px;
}

.width-50 {
  width: 50%;
}

th, td {
  padding: 6px 12px;
  vertical-align: top;
}

th {
  background: black;
  color: white;
}

/* Gallery Grid & Lightbox */
.gallery-grid {
  display: block;
  width: 100%;
  padding: 6px;
  box-sizing: border-box;
}

.gallery-grid:after {
  content: "";
  display: table;
  clear: both;
}

.gallery-item {
  float: left;
  width: 29.33%;
  margin: 2%;
  cursor: pointer;
  border: 1px solid #000;
  transition: transform 0.2s ease;
  box-sizing: border-box;
  position: relative;
  height: 0;
  padding-bottom: 29.33%;
  overflow: hidden;
  display: none;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 80%;
  max-height: 80%;
  text-align: center;
}

.lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: 70vh;
  border: 2px solid #fff;
  width: auto;
  height: auto;
  position: static;
}

#lightboxCaption {
  color: #fff;
  font-size: 16px;
  margin-top: 12px;
  letter-spacing: 1px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 0 12px;
}

.filter-btn {
  background: #fff;
  border: 1px solid #000;
  padding: 6px 16px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.2s ease;
}

.filter-btn:hover, 
.filter-btn.active {
  background: #000;
  color: #fff;
}

.blog-post {
  display: none;
}

.blog-post.active-post {
  display: block;
}

.blog-controls {
  margin-top: 20px;
  border-top: 1px dashed #000;
  padding-top: 10px;
}

.archive-dropdown {
  margin-top: 8px;
  border: 1px solid #000;
  background: #fff;
  padding: 6px;
  width: max-content;
}

.archive-dropdown a {
  display: block;
  color: #000;
  text-decoration: none;
  padding: 4px 8px;
  font-size: 12px;
}

.archive-dropdown a:hover {
  background: #000;
  color: #fff;
}

.month-posts {
  padding-left: 12px;
  border-left: 1px dotted #000;
  margin-left: 6px;
  margin-top: 4px;
  margin-bottom: 4px;
}

.archive-month {
  margin-bottom: 4px;
}
/* FC2 Clap Button Styling */
.fc2-clap-wrapper {
  margin-top: 10px;
  text-align: center;
  width: 100%;
}

.fc2-clap-wrapper a {
  display: inline-block;
}

.fc2-clap-wrapper img {
  display: block;
  margin: 0 auto;
}