/*Home Brew Stylle*/

body {
    font-family: 'Times New Roman', Times, serif;
    background-color: #c77b09;
    color: #ffffff;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start; /* Align items at the top */
    min-height: 100vh;
    flex-wrap: wrap;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url("../images/backGround.jpg");
    background-attachment: fixed; /* Make the background image fixed */
}

/* Button */
.btn-homebrew {
    display: inline-block;
    padding: 10px 25px;
    margin-top: 15px;
    background-color: #2c2c2c; 
    color: #ffffff;
    text-decoration: none;
    font-family: 'Times New Roman', Times, serif;
    font-variant: small-caps;
    font-weight: bold;
    letter-spacing: 1px;
    border: 2px solid rgb(61, 6, 6); 
    border-radius: 4px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-homebrew:hover {
    background-color: rgb(61, 6, 6); /
    color: #ff7b00; 
    border-color: #ff7b00;
    box-shadow: 0 0 10px rgba(255, 123, 0, 0.4);
    transform: translateY(-2px);
}

.btn-homebrew:active {
    transform: translateY(0);
}
/* Button */

/* Navigation Sidebar */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(44, 44, 44, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid rgb(61, 6, 6);
    z-index: 2000;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    box-sizing: border-box; /* Important to keep the padding from breaking the width */
}

.nav-title {
    font-size: 1.8rem;
    font-variant: small-caps;
    color: #ff7b00;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-variant: small-caps;
    padding: 8px 12px;
    transition: all 0.3s ease; 
    border-radius: 4px;
    border-bottom: 2px solid transparent; 
}

.nav-links a.active {
  color: #ff7b00; /* Stays gold */
    border-bottom: 2px solid #bf4040; /* Keep the red line visible */
    pointer-events: none; /* Makes it unclickable */
    cursor: default;
    background: rgba(255, 255, 255, 0.05);
}

.nav-links a:hover {
    color: #ff7b00; 
    background-color: rgba(61, 6, 6, 0.4); 
    border-bottom: 2px solid #bf4040; 
    text-shadow: 0 0 8px rgba(255, 123, 0, 0.6); 
}
/* Navigation Sidebar */

.bigger-content {
    display: flex;
    flex-direction: row; /* Sidebar stays on the right */
    align-items: flex-start;
    width: 100%;
    padding-left: 20px; /* This controls how "close" to the left edge it is */
    gap: 20px;
    padding-top: 80px;  
    padding-left: 80px; 
    gap: 20px;
}

.container {
    display: flex;
    width: 100%;
}

.left-spacer {
    width: 10%; /* Adjust the width as needed */
}

.content {
    width: 60%; 
    padding: 20px;
    display: flex;
    flex-wrap: wrap;     
    gap: 20px;           
    width: 70%;          
    align-items: stretch; 
}

.book-entry {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 4px rgba(0,0,0,0.7);
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
    flex: 1;             
    min-width: 300px;    
}

.right-spacer {
    width: 30%; 
    padding: 20px;
    margin-top: 20px; 
}

.right-spacer img {
    width: 100%; 
    height: auto;
    margin-top: 20px; 
    border: 5px solid rgb(61, 6, 6); 
    border-radius: 10px; 
}

h1, h2, h3 {
    color: #ffffff;
}
h1 {
    border-bottom: 2px solid #a59eff;
    padding-bottom: 10px;
}

h2 {
  border-bottom: 2px dashed #a59eff;
}

p, ul, ol {
    margin-bottom: 20px;
}
ul, ol {
    padding-left: 20px;
}

/*
.navigation {
    margin-bottom: 20px;
}

.navigation {
    position: fixed;
    top: 15%; 
    left: 5%;
    width: 200px; 
    background-color: #2c2c2c;
    padding: 10px;
    display: flex;
    flex-direction: column;
    z-index: 1000; 
    border: 3px solid rgb(61, 6, 6);
    border-radius: 5%;
}


.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

/* When open, make it visible */
.overlay.open {
  visibility: visible;
  opacity: 1;
}

/* Close button styling */
#close-menu {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #bf4040;
  cursor: pointer;
}

/* Navigation links inside overlay */
.overlay-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.overlay-nav a {
  color: #bf4040;
  font-size: 2rem;
  text-decoration: none;
  transition: color 0.2s;
}

.overlay-nav a:hover {
  color: #ff7b00;
}

/* Optional: style the open-menu button */
#open-menu {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1001;
  background: #2c2c2c;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  cursor: pointer;
}

*/

@media (max-width: 1630px) {
  .container {
    flex-direction: column; 
  }

  .left-spacer {
    width: 100%;
    height: 50px;
  }

  .right-spacer {
    width: 100%;
    height: auto;
  }
}