
html, body {
  margin: 0; padding: 0; height: 100%; width: 100%; overflow-x: hidden;
  background: #000;
  font-family: Calibri, Arial, sans-serif;
  font-size: 13px;
  color: white;
}

/* Wrapper grid: manga on left, iframe center, sidebar right */
.wrapper {
  display: grid;
  grid-template-columns: minmax(200px, 25%) minmax(300px, 50%) minmax(200px, 25%);
  grid-template-rows: 1fr;
  height: 100vh;
  gap: 20px;
  padding: 20px;
  box-sizing: border-box;
}

/* Zine image stuff */
.manga-page {
  max-width: 100%;
  height: auto;
  justify-self: start;
  align-self: auto;
  border-radius: 4px;
  object-fit: contain;
}

/* Main content */
.main {
  background: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(0,0,0,0.5);
}

/* iframe shenanagins to fill space...idk if i like this tbh */
.main iframe {
  flex-grow: 1;
  width: 100%;
  border: none;
}

/* Sidebar stuff */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  max-height: 100vh;
  box-sizing: border-box;
  padding-bottom: 50px;
  align-self: auto;
  
}

iframe.cbox {
  width: 100% !important;
  max-width: 500px;
  height: 1000px !important;
  border: none;
  display: block;
}

.lastfm-wrapper {
  max-height: 350px;     
  overflow: hidden;      
  width: 100%;
  max-width: 300px;      
}

iframe.lastfm {
  width: 54% !important;
  height: 40% !important;
  min-height: 300px;  
  border: none;
  display: block;
  padding-bottom: 5px; 
  box-sizing: border-box;
  max-height: 400px;
   margin-bottom: 15px;
   overflow:hidden;
}


/* Sidebar links */
.menu a {
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding: 6px 6px;
  display: inline-block;
  font-size: 16px;
  text-align: left;
}

.menu a:hover {
  text-decoration: underline;
}

/* Sidebar images */
.sidebar img {
  max-width: 150px;
 margin-left: 0;
  margin-right: 0;
}


/* Marquee finally moved style out of html */
.marquee-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: black;
  color: white;
  padding: 5px 10px;
  box-sizing: border-box;
  z-index: 1000;
  border-top: 1px solid #444;
}

.marquee-container marquee {
  font-weight: bold;
  font-size: 15px;
  white-space: nowrap;
}

/* someone said this could help the site do better on mobile. So we formatted everything to a 3 grid system...every day we stray farther from the template. Like the ship of thesesus.  */
/* Responsive: stack vertically on small screens */
@media (max-width: 900px) {
  .wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
  }

  .manga-page,
  .main,
  .sidebar {
    max-width: 100%;
    height: auto;
  }
}

.logo {
  width: 150px;    
  height: auto;    
  display: inline-block; 
  margin: 10px auto; 
  text-align: left;
}
.makezines {
   margin-left: 0;
  margin-right: 0;
}
