/* Album Dropdown and Fullscreen Button Styles */
.album-dropdown-container {
    position: relative;
    display: inline-block;
    margin: 10px 0 20px 0;
}
.album-dropdown-btn {
    background: #222;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}
.album-dropdown-btn i {
    font-size: 1.2em;
}
.album-dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 110%;
    background: #a5a5a5;
    min-width: 220px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border-radius: 6px;
    z-index: 1000;
    flex-direction: column;
}
.album-dropdown-menu a {
    color: #000000;
    padding: 10px 16px;
    font-family: Consolas, monaco,'andale mono',monospace;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #6c6a6a;
    transition: background 0.2s;
}
.album-dropdown-menu a:last-child {
    border-bottom: none;
}
.album-dropdown-menu a:hover {
        background: #ffffff;
        border-radius: 6px;
}
.fullscreen-btn {
    position: absolute;
    top: 10px;
    right: -50px;
    background: rgba(40,40,40,0.7);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2em;
    transition: background 0.2s;
}
.fullscreen-btn:hover {
    background: #222;
}
.body {
    background-color: rgb(33, 33, 33);
    margin: 0;
    padding: 0;
}
nav {
    width: 100%; /* Ensure it spans the full width */
    text-align: center;
    background: rgb(13, 3, 50);
    border: 3px groove;
    border-radius: 16px;
    border-color: rgba(59, 58, 62, 0.7); 
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.65);
    box-shadow: 5px 5px 9px rgba(0, 0, 0, 0.8);
    padding-top: 12px;
    padding-bottom: 12px;
    margin: 5px 3px 5px 3px;
    z-index: 1000;
    position: relative;
}
.topnav a {
    color: rgba(255, 255, 255, 0.677); 
}
a:hover {
    color: black;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 1px 0;
}

nav li {
    padding-right: 1rem;
    padding-left: 1rem;
    text-decoration: none;
    
}

button {
    background-color: rgba(70, 69, 85, 0.7); 
    color: white;
    font-size: 15px;
    font-family: 'andale mono',consolas,'courier new', monospace;
    font-weight: 600;
    border-radius: 11px;
    padding: 1px 1px;
    cursor: pointer;
    border: 2px solid;
    border-color: rgba(33, 32, 36, 0.7); 
    margin: 2px 2px;
    transition-duration: 0.7s;
    box-shadow: 5px 5px 9px rgba(0, 0, 0, 0.8);
    text-decoration: none;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.517);
}
 


button:hover {
    background-color: rgb(255, 255, 255); /* Change background color on hover */
    border-color: rgb(97, 223, 245);
    box-shadow: 0 0 7px rgba(255, 255, 0, 0.8), 0 0 20px rgba(255, 255, 0, 0.6), 0 0 25px rgba(255, 255, 0, 0.4); /* Glowing light yellow effect */
    color: black;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.377);
}

nav a {
    display: flex;
    align-items: justify;
    justify-content: center;
    text-decoration: none;
    height: 100%; /* Ensure the anchor takes the full height of the li */
}

.photogalleryheader {
    margin-left: 3px;
    margin-bottom: 10px;
    position: relative;
    justify-content: justify;
    align-items: center;
    background-image: url('../../oldfilmreel.webp');
    background-size: 640px;
    height: 145px;
    z-index: 1000;
}

.photogalleryheader h1 {
    font-family: Consolas, monaco,'andale mono',monospace; 
    position: flexible;
    font-size: 28px;
    font-weight: bold;
    color: rgb(255, 255, 255);
    text-align: center;
    padding-top: 50px;
    margin-left: 30px;
    margin-right: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.65);
    word-wrap: break-word;
}
.no-top-padding {
    padding-top: 0 !important;
}
.black3menu {
    position: absolute;
    top: 50px;
    left: 15px;
    background-color: rgba(44, 44, 44, 0.412);
    border: 3px solid rgba(255, 255, 255, 0.493);
    color: white;
    padding: 5px;
    cursor: pointer;
    display: flex;
    align-items:center;
    Justify-content:center;
    height: 30px;
    width: auto;
    z-index: 999;
}
/* Media query to adjust layout on smaller screens */
@media (max-width: 600px) {
    .black3menu {
        top: auto;
        bottom: 10px; /* Adjust as needed */
        left: 10px; /* Adjust as needed */
    }
}
.black3menu:hover {
    box-shadow: 0px 0px 7px rgba(255, 231, 75, 0.749), /* Center */
    2px 2px 7px rgba(255, 231, 75, 0.71), /* Bottom-right */
    -2px -2px 7px rgba(255, 231, 75, 0.621), /* Top-left */
    2px -2px 7px rgba(255, 231, 75, 0.729), /* Top-right */
    -2px 2px 7px rgba(255, 231, 75, 0.711); /* Bottom-left */;
}
.black3menu button {
    background: none;
    border: solid 4px black;
    color: inherit;
    font: inherit;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    box-shadow: none;
}
.black3menu button:hover {
    border: solid 4px rgba(239, 254, 101, 0.685);
}
.black3menu:hover {
    background-color: rgba(198, 208, 108, 0.536);
}

.black3menu img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: pointer;
}

.black3menu .dropdown {
    display: none;
    position: absolute;
    top: 100%; /* Position below the button */
    left: 0;
    background-color: rgba(24, 24, 24, 0.877); 
    color: white;
    padding: 22px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    max-height:350px;
    max-width: 1000px;
    font-family: 'andale mono', consolas, 'courier new', monospace;
    column-count: 3;
    column-gap: 55px;
    border-radius: 0px 16px 16px 16px;
}

.black3menu .dropdown ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.black3menu .dropdown ul li {
    padding: 10px 25px;
    break-inside: avoid;
    margin: 0px;
    white-space: nowrap;
}

.black3menu .dropdown ul li a {
    color: white;
    text-decoration: none;
    display: block;
}

.black3menu .dropdown ul li a:hover {
  text-shadow: 0px 0px 7px rgba(255, 231, 75, 0.749), /* Center */
    2px 2px 7px rgba(255, 231, 75, 0.71), /* Bottom-right */
    -2px -2px 7px rgba(255, 231, 75, 0.621), /* Top-left */
    2px -2px 7px rgba(255, 231, 75, 0.729), /* Top-right */
    -2px 2px 7px rgba(255, 231, 75, 0.711); /* Bottom-left */
}

.black3menu:focus-within .dropdown {
    display: block;
}
/* Media query to allow wrapping on smaller screens */
@media (max-width: 600px) {
    .black3menu .dropdown ul li {
        white-space: normal; /* Allow text to wrap on smaller screens */
    }
}
h2 {
    font-family: Consolas, monaco,'andale mono',monospace; 
    position: flexible;
    font-size: 20px;
    font-weight: bold;
    color: rgb(255, 255, 255);
    text-align: left;
    text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.85);
}
p {
    font-family: 'andale mono', consolas, 'courier new', monospace;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6em;
    text-align: left;
    word-spacing: 0.05em;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.85);
}
a.lomolink {
    color: rgb(142, 0, 0);
}
a.lomolink:hover {
    color: rgb(188, 188, 22);
}
/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
}

img.expandable {
    cursor: zoom-in; /* Change cursor to zoom-in on hover */
}
/* Modal end - Modal end - Modal end - Modal end - Modal end- */

#slideshow-image {
    border: 20px solid #000;
}

#image-modal {
    transition: opacity 0.2s;
}
#image-modal img {
    border: 20px solid #000000;
    border-radius: 10px;
}

#slideshow-caption {
    color: #fff;
    font-style: italic;
    font-size: 1.1em;
    text-align: center;
    margin-top: 12px;
}

.slideshow-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 3px 0 30px 0;
}

.slideshow-btn {
    position: static; /* Remove absolute positioning */
    transform: none;
    margin: 0 6px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s;
    z-index: 2;
}

.slideshow-btn:hover { opacity: 1; }

.album-btn {
    display: block;
    width: 100%;
    max-width: 340px;
    background: #000000;
    color: #fff;
    font-family: 'andale mono', consolas, 'courier new', monospace;
    font-weight: 560;
    font-size: 17px;
    text-decoration: none;
    padding: 12px 0;
    border-radius: 6px;
    margin: 0 auto;
    letter-spacing: 1px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(26, 26, 26, 0.15);
    text-align: center;
}
.album-btn:hover, .album-btn:focus {
    background: #444;
    color: #fff;
    box-shadow: 0 0 7px rgba(255, 255, 0, 0.8), 0 0 20px rgba(255, 255, 0, 0.6), 0 0 25px rgba(255, 255, 0, 0.4); /* Glowing light yellow effect */
    
}
.album-btn-container {
    display: grid;
    background-color:  rgb(21, 21, 21);
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 16px;
}
@media (max-width: 700px) {
    .album-btn-container {
        grid-template-columns: 1fr;
    }
}
.album-btn {
    width: 95%; /* Make buttons fill their grid cell but not overflow */
    margin: 0 auto;
}
.slideshow-container {
    margin-top: 0px;
    position: relative;
    z-index: 1;
}
#slideshow-image {
    cursor: zoom-in; /* Shows a magnifying glass icon */
}
.websitefooter p {
        background: solid;
        text-decoration: none;
        font-family: 'andale mono', consolas, 'courier new', monospace;
        font-size: 11px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7), 0 6px 20px rgba(0, 0, 0, 0.6);
        font-weight: 600;
        margin: 50px 10px 20px 10px;
        padding: 6px;
    }
    strong {
        color: rgb(176, 33, 33);
        font-family: 'courier new', monospace, 'andale mono', consolas;
        font-size: 12px;
        text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.75);
        font-weight: 600;
    }