
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Times New Roman, sans-serif;
}

body {
    background-color: #A27D76; /* bg */
    padding-top: 50px;
    padding-left: 100px;
    padding-right: 100px;
    padding-bottom: 100px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
   
}

/* header custom */
.hero-header {
background-image: url('https://cavedwell.neocities.org/deerheader.jpeg');
width: auto;
    height: 200px;
    margin: 0;
    padding: 0;
    display: block;
    overflow: hidden; 
    background-size: cover;
    background-position: center;
    position: relative;
    border: 2px dotted #FFF5DC;
   
}
 /*  header text */
.header-overlay {
    display: flex;            
    flex-direction: column;    
    justify-content: center;   
    align-items: center;       
    text-align: center;       
    width: 100%;
    height: 100%;
    font-size: 3rem;
    margin-top: 0; 
    margin-bottom: 10px;
   
}

/* perhaps add again later .container {
    display: flex;  
    flex-direction: column; 
} */

/* --- nav --- */
.sidebar-nav {
    width: 100px; 
    background-color: transparent; 
    padding: 0px 0;
}

.sidebar-nav ul {
    display: flex;              
    flex-direction: row;         
    list-style: none;            
    padding: 0;
    margin: 0;
     border: 2px dotted #FFF5DC; 
     border-top: none;  
}

.sidebar-nav {
    width: 100%;                 /* full width */
}

.sidebar-nav ul li a {
    display: block;
    padding: 8px 15px;
    color: #FFE3DD;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.3s ease;
}

/* keeps everything constant with columns and text
 add later this is just spacing .main-content h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}*/

.main-content {
  width: 100%;
    background-color: transparent;
    display: flex;         
    gap: 0;
    color: #FFE3DD;
  border: 2px dotted #FFF5DC; 
    border-top: none; /* outer borders */
}

.side-col {
  flex: 1;
  min-width: 0;       
  width: 300px;
  max-height:800px ;

}
.middle-col  {
  width: 70%; 
  padding: 20px;
  flex: 2;
   overflow: auto;
  height: 80vh;
} 

/* this adds the dotted borders and spacing around columns */
.col {
    padding:  30px 20px;     
    background-color: transparent;
    border-right: 2px dotted  #FFF5DC; 
    text-align: center;
    box-sizing: border-box; 
}

/* this removes double border */
.col:last-child {
    border-right: none;     
}

/* --- idk wat this does i got it from reddit --- */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .sidebar-nav {
        width: 100%; 
    }
    
    .sidebar-nav ul {
        display: flex;
        justify-content: space-around; 
        flex-wrap: wrap;
    }
    
  
}