/* === Base Styles === */
body, h1, h2, p, nav, a {
  margin: 0;
  padding: 0;
  font-family: 'shine', typewriter;
}

@font-face {
  font-family: "typewriter";
  src: url("/Typewriter.ttf") format("truetype");
}

@font-face {
  font-family: "shine";
  src: url("/Shine.ttf") format("truetype");
}

body {
  background-color: #85a0cf;
  color: black;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.05) 1px,
    transparent 1px,
    transparent 4px
  );
}

/* === Container === */
.container {
  max-width: 800px;
  width: 90%;
  margin: 40px auto;
  padding: 0;
  text-align: center;
}

/* === Box === */
.box {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: #f7f8fc;
  text-align: center;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  border-radius: 5px;
  border: 2px solid black;
  transition: transform 0.2s, box-shadow 0.2s;
}

/* Hover effect for boxes except header */
.box:not(.header-box):hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Logo */
.logo {
  width: 300px;
  height: auto;
  display: block;
  margin: 0 auto 0px auto;
}

/* Navigation */
.nav-buttons {
  text-align: center;
  margin-top: 10px;
}

.nav-buttons a {
  font-family: typewriter;
  font-weight: bold;
  color: black;
  text-decoration: none;
  margin: 0 20px;
  font-size: 22px;
  display: inline-block;
  transition: color 0.3s, text-shadow 0.3s, transform 0.2s;
}

.nav-buttons a:hover {
  color: #7CB9E9;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
  transform: scale(1.05);
}

/* Images inside boxes scale correctly */
.box img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 10px auto;
}

/* Promo image specific */
.promo {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 10px auto;
}

/* Music / Video layout */
.track, .video {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}

.cover {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border: 2px solid black;
  transition: transform 0.2s;
}

.cover:hover {
  transform: scale(1.05);
}

.player, .video-info {
  flex: 1;
}

.player iframe {
  width: 100%;
  height: 42px;
  border: 0;
}

/* Watch link button */
.watch-link {
  display: inline-block;
  margin-top: 8px;
  color: black;
  font-weight: bold;
  text-decoration: none;
}

.watch-link:hover {
  color: #617D93;
}

/* Updates page */
.entry {
  margin-top: 10px;
  text-align: left;
}

.entry img {
  max-width: 450px;
  width: 100%;
  height: auto;
  margin: 10px auto;
  display: block;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.entry-date {
  font-weight: bold;
  margin-bottom: 5px;
  font-family: 'Courier New', monospace;
}

/* Poster */
.poster {
  max-width: 90%;
  height: auto;
  display: block;
  margin: auto;
}

/* Header box */
.header-box {
  border: 2px solid black;
  border-radius: 8px;
  padding: 20px 0;
  background-color: #f7f8fc;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  position: relative;
}

/* Decorative stars */
.header-box::before,
.header-box::after {
  content: '★';
  font-size: 24px;
  display: block;
  position: absolute;
  top: 23%;
  transform: translateY(-50%);
  color: black;
}
.header-box::before { left: 10px; }
.header-box::after { right: 10px; }

/* Logo spacing */
.header-box img {
  margin-bottom: 10px;
}

/* Tagline and accent line spacing fix */
.tagline {
  font-family: typewriter;
  font-size: 18px;
  font-style: normal;
  color: black;
  margin: 10px 0 10px 0;  
  line-height: 1.2;
}

.accent-line {
  border: none;
  height: 2px;
  width: 80%;
  background: #333;
  margin: 5 auto 15px auto; 
  opacity: 0.7;
}

/* Mobile responsive */
@media screen and (max-width: 600px) {

  .container {
    width: 95%;
    margin: 20px auto;
    padding: 10px;
  }

  .box {
    padding: 15px;
    border-radius: 5px;
  }

  .header-box img, .logo {
    width: 150px;
    height: auto;
    margin-bottom: 5px;
  }

  .header-box .tagline {
    font-size: 14px;
    margin: 5px 0 5px 0;
    color: black;
  }
  
  .accent-line {
  border: none;
  height: 2px;
  width: 90%;
  background: #333;
  margin: 5 auto 15px auto; 
  opacity: 0.9;
}


  /* Navigation horizontal */
  .nav-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    padding-top: 0;
  }

  .nav-buttons a {
    display: inline-block;
    margin: 5px 10px;
    font-size: 16px;
    animation: none;
    transform: none;
  }

  /* Promo image scaling */
  .promo, .box img {
    max-width: 90%;
    height: auto;
    display: block;
    margin: 0 auto 10px auto;
  }

  .track, .video {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .player, .video-info {
    width: 100%;
  }

  .entry img {
    max-width: 90%;
  }

  body {
    font-size: 16px;
  }

  h1 { font-size: 2em; }
  h2 { font-size: 1.5em; }
}

/* Hidden paragraph class */
.hidden-paragraph { display: none; }