html, body {
    margin: 0;
    padding: 0;
    
}

p {
    padding: 20px;
}

.content {
    color: black;
    background-image: url('images/bgs/SB059.JPG');
    margin: 0 !important;
    height: auto;
    padding: 20px !important;
    margin: 0 auto;
}

/* --- Notes --- */
.note-one {
  
    width: 220px;
    height: 350px;
    margin-left: 30px;
    margin-top: 10px;
    padding: 5px;
    font-family: 'Doto', sans-serif;
    font-size: 18px;
    font-weight: bold;
    position: relative;
    background-color: #000000;
    background-image: url('images/bgs/SB022.JPG');
    overflow: auto;
    border: 5px dashed #143B29;
}

.note-one > p {
    padding-top: 10px;
}

.note-two {
    background-color: #000000;
    font-family: 'Doto', sans-serif;
    color: #98F527;
    width: 200px;
    height: 200px;
    margin-top: 10px;
    position: relative;
    transform: rotate(2deg);
    border: 5px dashed #DB9D12;
}



.note-three {
    background-image: url('https://yesterweb.org/img/bb/lined_paper.png');
    font-family: 'Doto', sans-serif;
    color: black;
    padding: 10px;

    width: 300px;
    height: 500px;

    transform: rotate(-2deg);
    border: 5px dashed #000000;

    display: flex;
    flex-direction: column;

    overflow-y: auto;    /* ← scrolls instead of overflowing */
}

.note-three-top {
    background-color: #FAFAFA;
    width: 250px;
    height: 40px;
}

.note-four {
    color: black;
    background-color: lightyellow;
    background-image: url('images/smilefolder.png');
    background-repeat: repeat;
    font-family: 'Doto', sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    width: 200px;
    height: 300px;
    border: 5px dashed #000000;
   
}

.note-five {
    font-family: 'Doto', sans-serif;
    position: relative;
    background-color: #3b0909;
    width: 500px;
    height: 900px;
    background-image: url('https://sadgrl.online/images/bgs/tile/sandy.jpg');
    border: 5px dashed #27F5DD;

    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto; 
}


.note-five-fg {
    font-family: 'Doto', sans-serif;
    background-color: #EDDDB2;
    width: 300px;
    height: 300px;
    position: absolute;
    top: 0;
    right: 0;
    transform: rotate(-4deg);
    border: 5px dashed #DB9D12;
    overflow-y: auto; 
}

/* --- Layout Elements --- */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    justify-content: space-evenly;
    align-items: center;
}

.row > div {
    margin-right: 30px;
    margin-bottom: 30px;
}

.paperclip {
    max-width: 60px;
    position: absolute;
    top: -30px;
    left: 50px;
}

.blue {
    background-color: lightblue;
    transform: rotate(-2deg);
}

.blue::before {
    content: "";
    position: absolute;
    bottom: -1.9em;
    right: 0;
    border-width: 2em 2em 0 0;
    border-style: solid;
    border-color: #89b6c4 transparent;
}

.blue::after {
    content: "";
    position: absolute;
    bottom: -1.9em;
    left: 0;
    right: 1.9em;
    border-width: 1em;
    border-style: solid;
    border-color: lightblue;
}

.tack {
    width: 30px;
    margin: 0 auto;
    display: block;
    margin-top: 10px;
}

.highlight {
    background-color: black;
    opacity: .8;
}

.highlightWhite {
    background-color: #F2ECDA;
    opacity: .8;
}

.MenuLink {
    color:pink;
}

#sheetData {
  color: pink;
  font-family: 'Doto', sans-serif;
  font-size: 16px;
  padding: 8px 10px;
 background-color: #3b0909;
  height: 500px;
  border: 2px dashed #000000;
  display: flex;
  flex-direction: column;

  overflow-y: auto;    /* ← scrolls instead of overflowing */
}

  #sheetData td,
  #sheetData th {
  border: 1px solid #000000 !important;   
}
  


/* --- Photo Gallery --- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 10px;
    padding: 20px;
    margin-top: 40px;
}

.gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
}
.gallery img:hover {
    transform: scale(1.05);
}

#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    background: rgba(0,0,0,0.6); /* slightly lighter than before */

    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;

    /* no column layout anymore — the popup handles that */
}

/* --- Lightbox Overlay --- */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* ensures overlay is on top */
}

/* --- Popup Box --- */
#lightbox .popup {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* caption below image */
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    background: #111;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
}

/* --- Lightbox Image --- */
#lightbox img {
    max-width: 85vw;
    max-height: 75vh;  /* leave space for caption */
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* --- Caption --- */
.lb-caption {
    color: #fff;
    font-family: 'Doto', sans-serif;
    font-size: 16px;
    text-align: center;
    padding: 8px 0 0 0;
    width: 100%;
    flex-shrink: 0;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

/* --- Caption fade-in animation --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Lightbox Buttons --- */
.lb-prev, .lb-next, .lb-close {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 24px;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.25s;
}

.lb-close {
    top: 10px;
    right: 10px;
}

.lb-prev {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.lb-next {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.lb-prev:hover, .lb-next:hover, .lb-close:hover {
    background: rgba(255, 255, 255, 0.35);
}
.responsive-doc {
    width: 100%;
    height: calc(100% - 240px); /* adjust depending on how tall your .note-five-fg block is */
    overflow-y: auto;
    border-radius: 8px;
    border: 2px dotted pink;
   
}

.responsive-doc iframe {
    width: 100%;
    height: 100%;
    border: none;
   
}

.overlay-plant1 {
    position: absolute;
    top: 500px;
    left: 500px;
    
    /* Make sure the image is above other elements */
    z-index: 15;
}

.overlay-plant2 {
    position: absolute;
    top: 250px;
    left: 250px;
    
    /* Make sure the image is above other elements */
    z-index: 15;
}

.overlay-plant3 {
    position: absolute;
    top: 250px;
    left: 817px;
    
    /* Make sure the image is above other elements */
    z-index: 15;
}


.media {
    background-color: #EDCA5C;
    font-family: 'Geostar', sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: black;
    text-align: center;
    opacity: .8;
}

.larger {
    width: 70px;
    margin-left: 50px;
    margin-top: 0px;
}

.tape {
    width: 110px;
    margin-top: -20px;
    margin-left: -20px;
    transform: rotate(5deg);
}

.intro {
    width: 500px;
    height: 100px;
    text-align: center;
    background-color: #6d457d;
    background-image: url('https://yesterweb.org/img/bb/starring.png');
    color: white;
    transform: rotate(2deg);
}

.intro > p {
    margin: 20px;
    padding: 0;
}

/* --- Scrolling Header Text --- */
.scrolling-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    color:#ffffff;
}

.scrolling-text {
    display: inline-block;
    padding-right: 50px;
    animation: scroll-left 15s linear infinite;
}

/* reverse direction for second line */
.scrolling-container:nth-of-type(2) .scrolling-text {
    animation: scroll-right 15s linear infinite;
}

@keyframes scroll-left {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes scroll-right {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

#lonesporefont {
    font-family: 'lonesporefont';
}

#construction {
    color: #D1A111;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* --- Root Variables --- */
:root {
    --body-bg-image: url('images/bgs/100C.png');
    --content: #43256E;
}



/* --- Fonts --- */

@font-face {
    font-family: Doto;
    src: url('Doto-VariableFont_RONDwght.ttf');
}

@font-face {
    font-family: Geostar;
    src: url('Geostar-Regular.ttf');
}

@font-face {
    font-family: 'lonesporefont';
    src: url('lonespore.ttf');
}

/* --- Body Styles --- */
body {
    margin: 0;
    background-color: #08031A;
    background-size: 500px;
    color: #000000;
    font-family: Doto;
    background-image: var(--body-bg-image);

}



* {
    box-sizing: border-box;
}

/* --- Layout --- */
#container {
    max-width: 900px;
    margin: 0 auto;
    border: 5px dashed #27F5DD;
}

#container a {
    color: #000000;
    font-weight: bold;
}

/* --- Header --- */
#header {
    width: 100%;
    text-align: center;
    vertical-align: middle;
    font-size: 36px;
    font-family: 'Doto';
    height: 150px;
    background-image: url('images/bgs/stars3.gif');
    background-color: #111111;
    border: 5px dashed #DB410B;
}

/* --- Navbar --- */
#navbar {
    height: 40px;
    background-color: #13092D;
    width: 100%;
}

#navbar ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style-type: none;
    justify-content: space-evenly;
}

#navbar li {
    padding-top: 10px;
}

#navbar li a {
    color: #ED64F5;
    font-weight: 800;
    text-decoration: none;
}

#navbar li a:hover {
    color: #a49cba;
    text-decoration: underline;
}

/* --- Flex Layout --- */
#flex {
    display: flex;
}

aside {
    background-image: url('images/bgs/SB022.JPG');
    font-family: 'Doto', sans-serif;
    width: 200px;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    color: #DB410B;
    border: 5px dashed #000000;
}

main {
    background-image: url('images/bgs/pdj50225.gif');
    background-repeat: repeat;
    background-color: #43256E;
    flex: 1;
    padding: 20px;
    order: 2;
}

#leftSidebar {
    order: 1;
}

#rightSidebar {
    order: 3;
}

/* --- Footer --- */
footer {
    background-color: #13092D;
    width: 100%;
    height: 40px;
    padding: 10px;
    text-align: center;
}

/* --- Headings --- */
h1, h2, h3 {
    font-weight: bold;
  
}

h1 {
    font-size: 25px;
  
}

strong {
    color: #000000;
}

/* --- Boxes --- */
.box {
    background-color: #13092D;
    border: 1px solid #ED64F5;
    padding: 10px;
}

/* --- Top Bar --- */
#topBar {
    width: 100%;
    height: 30px;
    padding: 10px;
    font-size: smaller;
    background-color: #13092D;
}



/* --- Media Query --- */
@media only screen and (max-width: 800px) {
    #flex {
        flex-wrap: wrap;
    }

    aside {
        width: 100%;
    }

    main {
        order: 1;
    }

    #leftSidebar {
        order: 2;
    }

    #rightSidebar {
        order: 3;
    }

    #navbar ul {
        flex-wrap: wrap;
    }
    
      

   


