.body {
background: radial-gradient(circle, rgba(51, 69, 139, 0.9) 0%, rgba(0,0,0,0.9) 100%);
}
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: 16px;
    font-family: 'andale mono',consolas,'courier new', monospace;
    font-weight: 600;
    border-radius: 11px;
    padding: 2.5px 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 */
}

.artpageheader {
    display: flex;
    flex-direction: column;
    border: 3px groove;
    border-color: white;
    border-radius: 11px;
    box-shadow: 5px 5px 9px rgba(0, 0, 0, 0.8);
    text-align: center;
    justify-content: space-between;
    background-image: url('./natportbackground.webp');
    background-size: cover;
    height: 145px;
    min-height: 145px;
    padding: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.65);
    margin: 0px 3px 10px 3px;
    position: relative;
}
.artpageheader h1 {
    font-family: Consolas, monaco,'andale mono',monospace; 
    position: flexible;
    font-size: 29px;
    font-weight: bold;
    color: rgb(255, 255, 255);
    text-align: center;
    padding-top: 20px;
    margin-left: 30px;
    margin-right: 30px;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.85),
        3px 3px 6px rgba(0, 0, 0, 0.75),
        4px 4px 8px rgba(0, 0, 0, 0.65);
    word-wrap: break-word;
}
h2 { 
    font-family: Consolas, monaco,'andale mono',monospace; 
    position: flexible;
    font-size: 20px;
    font-weight: bold;
    color: rgb(255, 255, 255);
    text-align: left;
    margin: 0 10px 0 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.65);
    word-wrap: break-word;
    padding: 10px;
   

}
    

/* Media query for smaller screens */
@media (max-width: 600px) {
    .artpageheader {
        height: auto; /* Allow height to adjust based on content */
    }

    .artpageheader h1 {
        font-size: 1.5em; /* Reduce font size */
        line-height: 1.2em; /* Adjust line height */
        margin: 5px;
    }

    .black3menu {
        top: 10px; /* Adjust position as needed */
        left: 10px; /* Adjust position as needed */
    }
}
.black3menu {
    position: absolute;
    top: 40px;
    left: 20px;
    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;
    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: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    max-height:auto;
    max-width: 1000px;
    font-family: 'andale mono', consolas, 'courier new', monospace;
    column-count: 3;
    column-gap: 30px;
    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;
    font-family: 'andale mono', consolas, 'courier new', monospace; /* Match the <p> font */
    font-weight: 500; /* Match the <p> font weight */
    font-size: 16px; /* Match the <p> font size */
    line-height: 1.6em; /* Match the <p> line height */
    text-align: left; /* Align text to the left */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.85),
        3px 3px 6px rgba(0, 0, 0, 0.75),
        4px 4px 8px rgba(0, 0, 0, 0.65);
    -webkit-text-stroke: none; /* Remove text stroke */
}

.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 for smaller screens */
@media (max-width: 600px) {
    .artpageheader {
        height: auto; /* Allow height to adjust based on content */
    }

    .artpageheader h1 {
        font-size: 1.5em; /* Reduce font size */
        line-height: 1.2em; /* Adjust line height */
        margin: 5px;
    }

    .artpageheader h2 {
        font-size: 1.2em; /* 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 */
    }
}
/* Gallery photos submenu modal --------------------------------- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
}

.modal-content {
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 5px;
}

.gallery-links {
    list-style: none;
    padding: 0;
}

.gallery-links li {
    margin: 10px 0;
}

.gallery-links a {
    display: block;
    padding: 10px;
    background-color: #000000d8;
    text-decoration: none;
    color: #ffffff;
    border-radius: 3px;
    transition: background-color 0.3s;
    font-family: 'andale mono', consolas, 'courier new', monospace;
}

.gallery-links a:hover {
    background-color: #7a7a7a;
    text-decoration: underline;
}

.close-modal {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

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;
    padding: 5px 20px 5px 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.85);
}

    
    h3 {
        text-align: center;
        font-family: 'andale mono', consolas, 'courier new', monospace;
        font-weight: 500;
        font-size: 15px;
        line-height: 1.6em;
        text-align: left;
        word-spacing: 0.05em;
        color:rgb(216, 202, 4);
        padding-left: 40px;
        text-shadow: 3px 2px 3px rgba(0, 0, 0, 0.42);
        
    }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item h3 {
    font-family: Consolas, monaco, 'andale mono', monospace;
    color: white;
    margin-bottom: 15px;
    font-size: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.85);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border: 10px solid black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.modal-image {
    max-width: 80%;
    max-height: 80vh;
    margin: auto;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
    cursor: zoom-in;
}
.modal-image.zoomed {
    max-width: 140%;  
    max-height: 140vh; 
    cursor: zoom-out;
    position: absolute;
    overflow: auto;
    /* Enable smooth scrolling */
    scroll-behavior: smooth;
    /* Enable drag scrolling */
    -webkit-user-select: none;
    user-select: none;
    /* Add momentum-based scrolling on iOS */
    -webkit-overflow-scrolling: touch;

}
/* Add container for zoomed image */
.image-modal.zoomed-mode {
    overflow: auto;
    cursor: move;
}

.modal-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 3rem;
    cursor: pointer;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s;
    z-index: 2001;
}

.modal-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-prev {
    left: 0;
    border-radius: 0 5px 5px 0;
}

.modal-next {
    right: 0;
    border-radius: 5px 0 0 5px;
}

.modal-close {
    position: fixed;
    right: 25px;
    top: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.websitefooter h6 {
        background: solid;
        text-decoration: none;
        font-family: 'andale mono', consolas, 'courier new', monospace;
        font-size: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7), 0 6px 20px rgba(0, 0, 0, 0.6);
        font-weight: 350;
        margin: 10px 10px 20px 10px;
        padding: 6px;
        color: white;
    }