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

body {
    background-color: #1b1614; /* Deep dark background */
    color: #f4eae1;            /* Soft light text color */
    font-family: Georgia, serif;
}

/* Master Layout Spacing */

.main-layout {
    max-width: 1200px;         /* Locks the site width so it stays cozy */  
    margin-right: auto;
    margin-left: auto;
    padding-left: 20px;        /* Adds a safety cushion space on the left edge */
    padding-right: 20px;       /* Adds a safety cushion space on the right edge */
    position: relative;
    width: 100%;
    border: 2px solid #b17b37;       /* Creates your fantasy gold line border */
    border-radius: 12px;             /* Curving amount: change number to make it more or less round */
    background-color: #221b18;      /* Ensures the whole background color matches */
    overflow: hidden;                /* Clean cut: stops inner code from spilling past the rounded edges */
    margin-top: 40px;                /* Adds spacing above the card so it doesn't hug the browser top */
    margin-bottom: 40px;             /* Adds spacing below the card */
    
}
    
    .navbar {
  display: flex;
  justify-content: space-between; 
  align-items: center;           
  
  /* CHANGES MADE HERE: */
  position: relative;       /* Drops the screen lock so it sits naturally in order */
  width: 100%;              /* Fits completely inside the width of the parent box container */
  margin-top: 15px;         /* Adds a clean gap below the character name text */
  margin-bottom: 20px;      /* Adds a clean gap above the content underneath it */
  
  /* Styling to match your look */
  background-color: #1a0f0a;     
  padding: 12px 20px;            
  box-sizing: border-box;        
}

    

    
    /*lowkey?*/

/* 1. LEFT BOX: Style your navigation container */
.sidebar-wrapper {
    width: 240px;               /* Fixed width of your navigation column */
    height: 100vh;              /* Spans perfectly from top to bottom */
    position: fixed;            /* Pins it to the left so it never moves when scrolling */
    top: 0;
    left: auto;
    background-color: #221b18;  /* Lighter dark shade for the menu contrast */
    border: 2px solid #b17b37; /* A subtle fantasy gold border line */
    padding: 40px 20px;
    margin-top: 40px;                /* Adds spacing above the card so it doesn't hug the browser top */
    margin-bottom: 40px;             /* Adds spacing below the card */
}

.sidebar-wrapper .nav-btn {
    display: block;
    text-decoration: none;
    color: var(--parchment);
    font-weight: bold;
    text-align: center;
    
    /* 1. Size control: Make sure this fits your image size */
    width: 100%;
    padding: 20px 10px 20px 10px; /* Adjust top/bottom padding to center your text vertically on the image */
    margin: 12px 0;
    
    /* 2. Remove the old border box */
    border: none;
    
    /* 3. Load your custom button texture */
    background-image: url('https://files.catbox.moe/biifec.png'); /* Put your normal image file path here */
    background-size: 100% 100%;                  /* Forces the image to perfectly stretch over the button size */
    background-repeat: no-repeat;
    background-position: center;
    
    /* Smooth fading transition when hovering */
    transition: all 0.2s ease-in-out;

}

/* 2. RIGHT BOX: Style your main content container */
.content-wrapper {
    margin-left: 240px;         /* CRUCIAL: Pushes this whole container right to avoid overlapping */
    padding: 60px;
    width: calc(100% - 240px);  /* Fills up the remaining space on the screen */
    max-width: 900px;           /* Prevents text from stretching too wide on giant screens */
}

.content-wrapper h1 {
    color: #b17b37;
    font-size: 2.8rem;
    margin-bottom: 20px;
    
}

.sidebar-avatar {
    display: block;
    
    width: 130%;                /* Forces the picture to shrink down to perfectly match the sidebar width */
    max-width: 400px;           /* Prevents it from getting too big—adjust this number to make it smaller/larger */
    height: auto;               /* Keeps the picture's perfect proportions so it doesn't look stretched or squished */
    
    margin: 0 auto 20px -30px /* Centers it cleanly and pushes "Archives" safely down beneath it */
    
}
    
    .corner-image {
    position: fixed;   /* Keeps it locked in the corner even when scrolling */
    top: 10px;         /* Spacing from the top edge */
    left: 10px;       /* Spacing from the right edge (change to left: 10px for the left corner) */
    z-index: 9999;     /* Layers it on top of all text, boxes, and graphics */
    
    /* Optional controls to size your image perfectly */
    width: 50px;       /* Forces the width to a clean size */
    height: auto;      /* Automatically calculates height to keep the shape normal */
    
    background-image: url(https://files.catbox.moe/ro6jsi.png)
    
    }
    
    /* The main navigation bar container */
    
.navbar {
  display: flex;
  justify-content: space-between; /* Pushes links to the left and icon to the right */
  align-items: center;           /* Vertically centers the text and icon */
  
  /* Layout and sticky position rules */
  position: fixed;               /* Keeps it stuck to the screen while scrolling */
  top: 0;                        /* Pins it to the very top edge */
  left: 0;
  width: 100%;                   /* Makes it stretch fully across the screen */
  z-index: 10000;                /* Layering: ensures it stays on top of everything */
  
  /* Styling to match your image */
  background-color: #1a0f0a;     /* Dark brown background color */
  padding: 15px 30px;            /* Top/Bottom padding and Left/Right padding */
  box-sizing: border-box;        /* Keeps padding from breaking width calculations */
  
}
  
  .header{
   	background: rgb(32, 31, 26);
	background: var(--bgGradient);

	background-size:200px;
	z-index:10;
	
	height:var(--headerFull);
	
position: sticky;
  top: calc((var(--headerFull) - var(--headerBar)) * -1);
  left: 1em;
  overflow:hidden;
  filter:drop-shadow(-2px -4px 0px rgba(0, 0, 0, 0.25));
}

.header-bar{
  border-top:2px solid #0d0908;
  background-color:#150f0d;

width:100%;
  height: calc(var(--headerBar));
  position: absolute;
  bottom: 0;
  z-index: 5;
}








