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

html, body {
  overflow-x: hidden;
}

body {
  font-family: serif;
  background-image: url("images/twin-peaks.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover
}

body {
    cursor: url("https://file.garden/aX2DSgTMcUHpUpui/cursor.cur"), auto;
}

#main-content-wrapper {
  /*PLACE ALL CONTENT TO THE RIGHT OF THE SIDE-BAR BELOW THIS WRAPPER*/
  /*PICSART BACKGROUND REMOVER*/
  /*MAINTAIN ASPECT RATIO*/
  
  margin-left: 250px; /* Must match the sidebar's width */
  /* or use padding-left */ 
}



/* SIDEBAR */
#sidebar {
  text-align: center;
  position: fixed;
  left: 0;
  top: 0;
  width: 240px;
  height: 100vh;
  background-image: url("images/green godess.jpeg");
  background-repeat: no-repeat; /* Prevents the image from repeating */
  background-size: cover;  
  background-position: center center;
  padding: 20px;
  z-index: 10;
  overflow-y: scroll; 
  overflow-x: hidden;
  background-color: #ad9a9a;
}

.sidebar h2 {
    color:#4CAF50;
}
#sidebar ol {
  list-style-type: lower-greek;
  padding:0;
  margin:0;
  list-style-position: inside; 
}
#sidebar li a:hover {
    background-color: #575757;
}

#sidebar li {
  margin: 0;
  padding: 0;
}

#sidebar li a {
  display: inline;
  padding: 0;
  line-height: 1.2;
}

#sidebar::-webkit-scrollbar {
  width: 8px;
}

#sidebar::-webkit-scrollbar-thumb {
  background-color: #666666;
  border-radius: 4px;
}

#sidebar::-webkit-scrollbar-track {
  background: #ffffff; /* color of the scrollbar track */
}

.shadow-effect {
  /* The shadow property */
  /* 0 0 means no offset from the image edges */
  /* 15px is the blur radius (higher number = more blur) */
  /* 0 is the spread (keeps the shadow close to the box size) */
  /* #00000033 (or rgba(0,0,0,0.2)) is a semi-transparent black color */
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.2); 
  
  /* Optional: adds some rounded corners for a softer look */
  border-radius: 8px; 
}

.greek-list {
    list-style-type: lower-greek; /* Applies lower-greek numbering */
    padding-left: 20px; /* Adds padding so markers are visible */
    margin: 0;
}

.main-content-wrapper {
    margin-left: 250px;
    }
  
.marquee-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  overflow: hidden;
  color: white;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: scroll-left 10s linear infinite;
}

@keyframes scroll-left {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
  
.container {
  width: 100%; /* Adjust the width as needed, e.g., 900px or 80% */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  /* Optional: Add a border or background to see the container's boundaries */
  /* border: 1px solid black; */
}

.tabs > article {
  margin-top:8px;
}
.tabs menu {
  margin-bottom: 6px;
}
  
  .image-container img {
    /* Initial state: no glow */
    filter: drop-shadow(0 0 0px #fff);
    /* Smooth transition for the glow effect */
    transition: filter 0.3s ease-in-out;
}

.image-container img:hover {
    /* Glow effect on hover: horizontal-offset vertical-offset blur-radius color */
    filter: drop-shadow(0 0 15px #00ffcc); /* Change color and size as needed */
}

.window-row {
  display:flex;
  gap: 20px;
  align-items: flex-start;
}

.window-row {
  width: auto !important;
  margin: 0 !important;
}

.window .window-body {
max-height: 220px;
overflow-y: scroll;
}

.window .window-body::-webkit-scrollbar {
  width: 8px;
}

.window .window-body::-webkit-scrollbar-thumb {
  background-color: #666666;
  border-radius: 4px;
}

.window .window-body::-webkit-scrollbar-track {
  background: #CCCCCC; /* color of the scrollbar track */
}

.merged-block {
  background-image: url("images/moongif.gif"); /* or any bg you want */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 30px;
  max-width: 900px;
  margin: 0 auto;
}


/* ========================
   FULL MOBILE OPTIMIZATION
======================== */
@media (max-width: 768px) {
  /* --- Sidebar --- */
  #sidebar {
    position: relative;     /* sidebar scrolls with page */
    width: 100%;            /* full width */
    height: auto;           /* automatic height */
    padding: 10px;          /* smaller padding */
    overflow: visible;      /* allow natural scrolling */
    z-index: 5;             /* keep below main content if needed */
  }
  /* --- Main content wrapper --- */
  #main-content-wrapper {
    margin-left: 0;         /* remove desktop offset */
    padding: 10px;          /* breathing room */
  }
  /* --- Window row --- */
  .window-row {
    display: flex; 
    flex-wrap: wrap;          /* stack if necessary */
    justify-content: center;  /* center horizontally */
    gap: 15px;                /* slightly smaller gap on mobile */
  }
  /* --- Individual windows --- */
  .window-row > .window {
    width: 100%;              /* full width inside wrapper */
    max-width: 300px;         /* keep original max-width */
    margin-bottom: 20px;      /* spacing when stacked */
    box-sizing: border-box;
  }
  /* --- Scrollable content inside windows --- */
  .window-row > .window .window-body {
    max-height: 200px;        /* adjust to your content preference */
    overflow-y: auto;         /* scroll appears if content is too tall */
    padding-right: 5px;       /* optional: avoid scrollbar overlap */
  }
  /* Optional: thin scrollbars */
  .window-row > .window .window-body::-webkit-scrollbar {
    width: 6px;
  }
  .window-row > .window .window-body::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.3);
    border-radius: 3px;
  }
  .window-row > .window .window-body {
    scrollbar-width: thin;        /* Firefox */
    -ms-overflow-style: auto;     /* IE 10+ */
  }
  /* --- Images --- */
  .shadow-effect {
    max-width: 100%;      /* shrink to container width */
    height: auto;         /* maintain aspect ratio */
    margin-bottom: 15px;  /* spacing below images */
  }
  /* --- Typography --- */
  body {
    font-size: 16px;      /* slightly smaller on mobile */
  }
  .title-bar-text {
    font-size: 1rem;
  }
  /* --- Optional container adjustment --- */
  .container {
    width: 95%;           /* almost full width */
  }
}
