 /* a quick way to edit layout */
    
:root{
  
  /* base font */
  --base-font: Georgia, "Times New Roman", serif;
  --base-font-size: 11px;
  --base-line-height: 1.4;
  --base-letter-spacing: 1px;

  /* text colors */
  --text: #fff;
  --muted: #fff;
  --link: #841a1e;
  --link-hover: #841a1e;

  /* backgrounds */
  
  --body-bg: url(BW.png) fixed;
  --paper: #000;
  --panel: #000;
  --panel-soft: #000;
  --panel-pink: #000;
  --panel-white: #000;
  --panel-header: #841a1e;
  --label-bg: #000;

  /* borders */
  --border: #fff;
  --border-soft: #fff;

  /* layout sizes */
  --page-max-width: 1000px;
  --sidebar-width: 500px;
  --gap: 8px;
  --radius: 6px;
  --page-radius: 10px;
  --box-radius: 5px;

  /* effects */
  --shadow: 0 3px 10px rgba(109,88,93,.035);
}


/* basics */
    
*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;}

html,
body{
  height: 100%;}

body{
  font-family: var(--base-font);
  font-size: var(--base-font-size);
  line-height: var(--base-line-height);
  letter-spacing: var(--base-letter-spacing);
  color: var(--text);
  background: var(--body-bg);
  padding: 10px;
  overflow-x: hidden;}

body::before{
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,.02),
    rgba(0,0,0,.04) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  z-index: 1000;}
    
    
/* links */
a{
  color: var(--link);
  text-decoration: none;
  transition: .15s ease;}

a:hover{
  color: var(--link-hover);}

button,
input,
textarea{
  font: inherit;
  letter-spacing: inherit;
  color: inherit;}

img{
  max-width: 100%;}

.page,
.layout,
.column,
.box,
.box-body,
.box-head{
  min-width: 0;}
  
  
    
/* scrollbar */
::-webkit-scrollbar{
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track{
  background: #7f191d;
  border-left: 1px solid #fff;
}

::-webkit-scrollbar-thumb{
  background: #000;
  border: 1px solid #fff;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover{
  background: #000;
}

::-webkit-scrollbar-corner{
  background: #000;
}


/* layout */
.page{
  position: relative;
  max-width: var(--page-max-width);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--page-radius);
  box-shadow: var(--shadow);
  background: #333
}

.page::after{
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(130,108,113,.06);
  border-radius: 5px;
  pointer-events: none;
}

.layout{
display: grid;
  grid-template-columns:  minmax(0, 1fr) var(--sidebar-width);
  gap: var(--gap);
  padding: var(--gap);
}

.column{
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
    
    
    

/* banner + site name + subtitle + navi + rightside icons */
.banner{
  position: relative;
  overflow: hidden;
  min-height: var(--hero-min-height);
  border-bottom: 1px solid var(--border);
  background: #000;
}

.banner::before{
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(85, 56, 48,.22);
  border-radius: 7px;
  pointer-events: none;
}

.banner::after{
  content: "";
  position: absolute;
  inset: 0;
  opacity: 1;
  pointer-events: none;
  background: url(https://i.pinimg.com/1200x/46/8d/3f/468d3ffaced2a7e69a34721710d2587d.jpg) top no-repeat;
  background-size: cover;
}

.banner-inner{
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--hero-min-height);
  padding: 18px 14px 14px;
  text-align: center;
}

.site-title{
  position: relative;
  width: fit-content;
  border-radius: 999px;
  font-family:'Jacquard 24', georgia, cursive, times;
  font-size: 50px;
  font-style: italic;
  letter-spacing: 1px;
  color: #c4181d;
  text-shadow: 2px 2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, -2px -2px 0 #000, 2px 0px 0 #000, 0px 2px 0 #000, -2px 0px 0 #000, 0px -2px 0 #000, 2px 2px 2px rgba(0,0,0,0);
}

.site-subtitle{
  display: inline-block;
  width: fit-content;
  padding: 5px 12px 4px;
  border: 1px dashed rgba(38,40,29,.95);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 0 0 1px rgba(232,214,219,.35) inset;
  color: #000;
  font-size: 10px;
  font-style: italic;
  letter-spacing: 1.4px;
}

.banner-navi{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 2px;
  padding: 6px 8px;
  border: 1px solid rgba(128,25,29,.32);
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  box-shadow: 0 0 0 1px rgba(235,218,222,.18) inset;
}

.banner-navi a{
  position: relative;
  padding: 5px 12px 3px;
  border: 1px solid rgba(0,0,0,.9);
  border-radius: 999px;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255,255,255,.75) inset,
    0 0 0 1px rgba(243,229,232,.55);
  font-style: italic;
  color: #841a1e;
  letter-spacing: 1.2px;
}

.banner-navi a:hover{
  transform: translateY(-1px);
  color: #fff;
  background: #841a1e;
  box-shadow:
    0 1px 0 rgba(255,255,255,.8) inset,
    0 2px 8px rgba(143,111,118,.08);
}

.banner-rightside{
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: flex;
  gap: 11px;
  padding: 3px 7px;
  border: 1px solid rgba(224,204,209,.9);
  border-radius: 999px;
  background: rgba(255,247,248,.8);
  box-shadow: 0 0 0 1px rgba(235,218,222,.18) inset;
}

.banner-rightside a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: .7;
}

.banner-rightside a:hover{
  opacity: 1;
  transform: translateY(-1px);
}

.banner-rightside img{
  display: block;
}
    
    
    

/* re-usable boxes and titles */
.box{
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--box-radius);
  background: var(--panel);
}

.box::after{
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dotted rgba(120,100,100,.06);
  border-radius: 2px;
  pointer-events: none;
}

.box-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 9px;
  border-bottom: 1px solid var(--border-soft);
  background: var(--panel-header);
}

.box-body{
  padding: 9px;
}

.box-title{
  margin: 0;
  font-size: 12px;
  font-style: italic;
  font-weight: normal;
  color: #f5e5c3;
}

.head-dots{
  display: flex;
  align-items: center;
  gap: 4px;
}

.head-dots span{
  width: 8px;
  height: 8px;
  border: 1px solid rgba(128,108,113,.09);
  border-radius: 999px;
  background: #f5e5c3;
}

.box-soft{
  background: var(--panel-soft);
  color: #fffcdd;
  font-style: italic;
}

.box-body{
    background: var(--panel-soft);
    color: #fffcdd;
    font-style: italic;
}

.soft{
  color: var(--muted);
}

.quote{
  padding: 9px;
  border: 1px dashed #231f20;
  border-radius: 4px;
  background: var(--panel-pink);
  color: #f5e5c3;
  font-style: italic;
}

.update-log{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.note{
  padding: 7px 8px;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  background: var(--panel-pink);
  color: #fffcdd;
  font-style: italic;
}

.mini-box{
  padding: 8px;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  background: var(--panel-pink);
}

.mini-title{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
  padding: 4px 10px 1px;
  border-radius: 999px;
  background: #c2c76b;
  color: #171314;
  font-size: 10px;
  letter-spacing: 2px;
}

.mini-title img{
  width: 12px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}
    


/* polaroid gallery */

.gallery{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 5px 4px 7px;
  overflow: auto;
  height: 500px;
}
.tbr{
  height: 1500px;
  overflow: auto;
}
/* extras */
hr.dashed {
  border-top: 1px dashed #841a1e;
}
    

/* Footer + Credits */
.footer{
  position: relative;
  z-index: 1;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--border);
  background: #82191d;
  text-align: center;
}

.footer-inner{
  padding: 8px 10px;
  border: 1px dashed #171314;
  border-radius: 4px;
  background: #404934;
  color: var(--muted);
  font-style: italic;
  line-height: 1.5;
}
    
    
    

/* RESPONSIVENESS */
    
    
@media (max-width:980px){
  .layout{
    grid-template-columns: 1fr;
  }
  
  
  
  
  /* 
   Change order numbers to rearrange layout on mobile.
   Smaller number = appears higher on the page.
   
   To hide a section on mobile, use:
   
   display:none;

   example:
   .sidebar-right{ display:none; }
*/




  .main-content{
    order: 2;
  }

  .sidebar-left{
    order: 1;
  }

  .sidebar-right{
    order: 3;
  }

  .site-title{
    padding: 8px 16px 10px;
    font-size: 50px;
  }

  .banner,
  .banner-inner{
    min-height: 260px;
  }

  .banner-rightside{
    display: none;
  }

  .feature,
  .three-lists,
  .entry{
    grid-template-columns: 1fr;
  }

  .banner-navi{
    padding: 7px;
    
    
    
    
     }
    .gallery {
      margin-block: 2em;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      align-items: end;
      column-gap: 0.5em;
      row-gap: 1.5em;
    }
    .gallery > * {
      display: flex;
      flex-direction: column;
      break-inside: avoid-column;
      padding: 0.5em;
      p {
        color: #841a1e;
      }
      &:hover {
        background: #841a1e;
        color: #841a1e;
        img {
          filter: none;
      }
      }
    }
    .gallery img {
      height: auto;
      display: block;
      filter: brightness(0.9) grayscale(0.2) sepia(0.2);
      transition: 0.2s filter ease;
      margin-block-end: 1em;
    }