body {
  background-image: url("https://file.garden/Zs_PhfPK_QLwMvba/citurs/hmm.jpg");
  background-size: 300em;
  background-repeat: no-repeat;
  font-family: 'inkyregular', sans-serif;
  font-size: 1em;
  color: white;
  cursor: url("https://file.garden/Zs_PhfPK_QLwMvba/bef.cur"), default;
  }
  
  
  
  
  a, button {
    cursor: url("https://file.garden/Zs_PhfPK_QLwMvba/opposite.cur"), pointer
  }
  
  
  
h1 a {
  text-decoration: none;
  color: #edb8ab;
  }
  
img {
  max-width: 100%;
  }
  
.wrapper { /*everything goes inside this*/
  width:69em;
  margin: auto;
  }
  
 .comment-box {
  padding: 1em;
  border-radius: 5px;
  font-size: 1.4em;
  }
  
.header, .comment-box {
  margin-top: 1em;
  margin-bottom: 1em;
  }

.comic-box, .sidebar-wrapper {
  display: inline-block;
  }
  
.sidebar-wrapper { /*sidebar goes inside this*/
  width: 23em;
  background-image: url("https://file.garden/Zs_PhfPK_QLwMvba/citurs/polaroid.png");
  background-size: 21em;
  background-repeat: no-repeat; /* prevents tiling */
  background-position: center;
  border:0px solid #000;
  position: absolute;
  margin-left: 7em;
  }
  
.sidebar, .sidebar-2 {
  padding: 2em;
  border-radius: 0.5em;
  margin-bottom: 1em;
  }
  
.header h1, .sidebar-wrapper h2 {
  text-align:center;
  }
  
.sidebar-2 {
  margin-top: 0.9em;
  }
  
.header {
  width: 50em;
  text-align: center;
  margin: 0 auto;
  margin-top: 0.9em;
  margin-bottom: 0.9em;
  margin-left: 2em;
  margin-right: 2em;
  font-size: 20px;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
  }
  
.comic-box { /*this is where the page of the comic goes*/
  width: 38em; /* or whatever size you're using */
  background-image: url("https://file.garden/Zs_PhfPK_QLwMvba/citurs/paper.png");
  background-size: cover;       /* or 'contain' */
  background-repeat: no-repeat; /* prevents tiling */
  background-position: center;  /* centers the image */
  padding: 2em;                 /* keep your existing padding */
  border-radius: 5px; 
  }
  
/*Prevent image overflow*/
.comic-box img, .comment-box img, .header img, .sidebar-wrapper img {
  max-width: 100%;
  height: auto;
  }
  
.comment-box, .page-navigation {
  width: 48.5em;
  }
  
.comment-box { /*commentary box below the comic page + nav*/
  }
  
.page-navigation {
  margin-top: 1em;
  padding: 2em 0;
  overflow: visible;
  background-image: url("https://file.garden/Zs_PhfPK_QLwMvba/citurs/bant%C4%B1ms%C4%B1.png");
   background-repeat: no-repeat; /* prevents tiling */
  background-position: center;
  background-size: 50em;
  
}
  

  
.button { /*sidebar buttons*/
  text-align: center;
  margin: 0 auto;
  padding: 0.1em;
  padding-top: 0.3em;
  padding-bottom: 0.3em;
  margin-top: 0.3em;
  margin-bottom: 0.3em;
  font-weight: bold;
  color: white;
  font-size: 1.3em;
  border-radius: 1px;
  text-decoration: underline;
  }
  

  
  
.border2 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5em;
  padding: 0.5em;
  width: 100%;
  box-sizing: border-box;
}




.nav-img {
  display: block;
  width: 4em;
  height: auto;
  max-width: 80px;
}

.nav-img-l-trans {
  display: block;
  width: 4em;
  height: auto;
  max-width: 80px;
  opacity: 0.5;
}

.nav-img-r-trans {
  display: block;
  width: 4em;
  height: auto;
  max-width: 80px;
  opacity: 0.5;
}




  
  
.nav-button {
  display: inline-block;
  flex: 0 0 auto;
   text-align: center;
  margin: 0 auto;
  padding: 0.1em;
  padding-top: 0.3em;
  padding-bottom: 0.3em;
  margin-top: 0.3em;
  margin-bottom: 0.3em;
  font-weight: bold;
  color: white;
  font-size: 1.3em;
  border-radius: 1px;
  text-decoration: underline;
  }
  

  
.button a, .nav-button a, a {
  color: #c7875c;
  }
  
a:hover {
  color: white;
  }
  
.footer {
  text-align: center;
  font-size: 1.2em;
  padding: 1em;
  color: white;
  }
  
center {
  text-align: center;
  }
  
  
@media(max-width: 1200px) {
  .wrapper {
    width: 85%;
    }
    
  .sidebar-wrapper {
    width: 21%;
    }
    
  .comic-box, .comment-box, .page-navigation {
    width: 38em;
    }
    
  .header {
    width: 75%;
    }
  }
  
@media(orientation: portrait) { /*mobile*/
  .wrapper {
    width: 100%;
    padding: 0;
    margin: 0 auto;
  border: 0px solid black;
  top: 0;
  left: 0;
  right: 0;
    }

  .header, .sidebar-wrapper, .comic-box, .comment-box, .page-navigation {
    margin: 0 auto;
    width: 90%;
    margin-top: 1em;
    margin-bottom: 1em;
    border: 0px solid red;
    }
    
  .header {
    width: 115%;
    }
  
  .sidebar-wrapper, .comic-box {
    position: static;
    display: block;
    }
    
  .sidebar, .sidebar-2 {
    margin-left: 0;
    margin-right: 0;
    text-align: center;
    /*the width is broken on mobile and i can't figure out why
    it's just slightly narrower than everything else and i don't understand
    */
    }
    
  .sidebar-wrapper img { /*to keep the widget icons from getting huge*/
    max-height: 5em;
    width: auto;
    }
    
  .sidebar img {
    max-height: 100%;
    padding-top: 2em;
    padding-bottom: 2em;
    }
    
  .sidebar p {
    text-align: left;
    }
    
  .sidebar h2 { /*hides the sidebar label in mobile theme*/
    font-size: 0;
    padding: 0;
    margin-bottom: 2%;
    }
    
  .button {
    display: inline-block;
    width: 5.25em;
    margin-left: 0.3em;
    margin-right: 0.3em;
    }
  }
  
@media (max-width: 600px) {
  .border2 {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap; /* no wrapping */
    padding: 0.5em;
    gap: 0.5em;
    overflow-x: auto; /* allows horizontal scrolling if needed */
  }

  .nav-button {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .nav-img {
    width: 60px;
    max-width: 70px;
    height: auto;
    display: block;
  }
  
   .nav-img-r-trans {
    width: 60px;
    max-width: 70px;
    height: auto;
    display: block;
    opacity:0.5;
  }
  
    .nav-img-l-trans {
    width: 60px;
    max-width: 70px;
    height: auto;
    display: block;
    opacity:0.5;
  }
  
}



  