.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 0px 3px;
    z-index: 1001;
    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 */
}

.equipmentheader {
    margin: 0px 3px 30px 3px;
    position: relative;
    justify-content: center;
    align-items: center;
    background-image: url('./equipment-resources/oldfilmreel.webp');
    background-size: 630px;
    background-repeat: repeat;
    height: 145px;
    z-index: 1000;
    border-radius: 16px;
    box-shadow: 5px 5px 9px rgba(0, 0, 0, 0.8);
}

.equipmentheader 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;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Dispersed shadow */
}


.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 for smaller screens */
@media (max-width: 600px) {
    .equipmentheader {
        height: auto; /* Allow height to adjust based on content */
        min-height: 110px;
        background-size: 500px;
    }

    .equipmentheader h1 {
        font-size: 1.5em; /* Reduce font size */
        line-height: 1.2em; /* Adjust line height */
        margin: 5px;
    }

    .black3menu {
        top: 10px; /* Keep it near the top */
        left: 10px; /* Keep it near the left edge */
    }
}
.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.museumlink {
    color: rgb(142, 0, 0);
}
a.museumlink:hover {
    color: rgb(188, 188, 22);
}
b {
    color: rgb(100, 182, 234);
    text-decoration: none;
    font-family: 'andale mono', consolas, 'courier new', monospace;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.6em;
    text-align: left;
    word-spacing: 0.05em;
    text-shadow: 2px 2px 4px rgba(2, 2, 2, 0.93);
}

/* 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 {
    background-color: #3c3c3cc8;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 30%; /* Could be more or less, depending on screen size */
    max-width: 400px;
    text-align: center; /* Center the content */
}

.modal-content img {
    max-width: 100%; /* Ensure the image does not exceed the modal width */
    height: auto; /* Maintain aspect ratio */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Image Modal styles */
.imagemodal {
    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 */
}

.imagemodal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 800px;
    text-align: center; /* Center the content */
}

.imagemodal-content img {
    max-width: 100%; /* Ensure the image does not exceed the modal width */
    height: auto; /* Maintain aspect ratio */
}

img.expandable {
    cursor: zoom-in; /* Change cursor to zoom-in on hover */
    transition: transform 0.3s ease; /* Smooth transition */
}

img.expandable:hover {
    transform: scale(1.1); /* Slightly enlarge the image on hover */
}
/* EQUIPMENT BUTTONS ---------------------------------------------------------------- */
.equip1buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0px 25px 40px 25px;
    justify-content: left;
    align-items: center;
}
div.equip1buttons button {
    background-color: rgba(0, 0, 0, 0.7); /* Black with 50% opacity */
    color: white;
    border-radius: 0px;
    font-size: 15px;
    font-family: 'andale mono', consolas, 'courier new', monospace;
    font-weight: 600;
    padding: 3px 3px;
    cursor: pointer;
    border: 2px solid;
    border-color: rgba(33, 32, 36, 0.7); 
    margin: 2px 2px;
    transition-duration: 0.7s;
    box-shadow: 2px 2px 5px rgba(255, 255, 255, 0.7);
    text-decoration: none;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.517);
}

div.equip1buttons button:hover {
    background-color: rgba(255, 255, 255, 0.8); /* Change background color on hover */
    border-color: rgb(255, 255, 255);
    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);
}
/* EQUIPMENT BUTTONS END ---------------------------------------------------------------- */

.equip1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 85%;
    max-width: 85%;
    margin: 20px 20px 0px 20px;
}
.equip1images {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.equip1images img {
    width: 100px;
    max-width: 100px;
    max-height: auto;
    object-fit: contain;
    cursor: pointer;
    margin: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7), 0 6px 20px rgba(0, 0, 0, 0.6);
}




.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: 10px 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;
    }