.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 0px -23px 0px;
    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: 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 */
}

.photogalleryheader {
    margin-left: 3px;
    margin-bottom: -7.5px;
    position: relative;
    justify-content: justify;
    align-items: center;
    background-image: url('./photogallerypage/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;
}

.black3menu {
    position: absolute;
    top: 50px;
    left: 5px;
    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 */
    }
}
a.historyplink {
    color: rgb(142, 0, 0);
}
a.historyplink:hover {
    color: rgb(188, 188, 22);
}

.flickrdiv {
    display: flex;
    flex-direction: column; /* Arrange items in a column */
    align-items: center; /* Center items horizontally */
    justify-content: center; /* Center items vertically */
    height: 45px;
    width: auto; /* Set the width of the parent div */ 
    padding:none;
    background-color: rgba(0, 0, 0, 0); /* Optional: background color */
    position: absolute;
    right: 3px;
    top: 53px;
}
.flickrdiv a,
.flickrdiv img {
    height: 100%; /* Ensure the elements take the full height of the parent */
    width: auto; /* Maintain aspect ratio for images */
    background-color: rgba(0, 0, 0, 0);
    border-color: rgba(0, 0, 0, 0);
}
.flickrdiv button {
    border-color: rgba(0, 0, 0, 0);
    background-color: rgba(0, 0, 0, 0);
    height: 40px;
}
.headerphotoscontainer {
    display: flex; /* Use Flexbox to align items horizontally */
    align-items: center; /* Align items to the top */
    background-color: black;
    border: 20px solid black;
    position: relative;
    margin-left: 3px;
    z-index: 1;
    box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.7); /* Add a small shadow to the top side */
}

.overlay-text {
    position: relative; /* Position the text absolutely within the container */
    color: white; /* Text color */
    font-family: 'andale mono', consolas, 'courier new', monospace;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.6em;
    text-align: left;
    word-spacing: 0.05em;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent background for readability */
    padding: none;
    border-radius: 5px;
    z-index: 10; 
}

.photoheaderimg1, .photoheaderimg2, .photoheaderimg3, .photoheaderimg4 {
    flex-basis: auto; /* Allow the images to grow and fill the container */
    overflow: hidden;
}
.photoheaderimg1 img, .photoheaderimg2 img, .photoheaderimg3 img, .photoheaderimg4 img {
    height: 170px; /* Set the height to 200px */
    width: auto; /* Maintain aspect ratio */
    display: center; /* Remove any inline spacing */
    padding-right: 10px;
    padding-left: 20px;
}


.flickrphotoalbumlinks {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
    height: auto;
    gap: 5px;
}
.flickrphotoalbumlinks a {
    display: inline-block;
    padding: 10px;
    text-decoration: none;
    color: black;
    break-inside: avoid;
}


.aboutphotography-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 10px 15px;
    align-items: flex-start; 
    gap: 20px; 
}


.aboutphotography1img img {
    flex: 0 0 auto;
    height: 220px; /* Match the height of the about header */
    width: auto; /* Maintain aspect ratio */
    border: 20px solid;
    border-color: rgb(1, 1, 1);
    box-shadow: 5px 5px 9px rgba(0, 0, 0, 0.8);
    margin: 10px 10px;
    transition-duration: 0.7s;
    overflow: hidden;
}
.aboutphotography1img img:hover {
    transform: scale(1.3); /* Scale the image on hover */
    box-shadow: 0 0 20px 10px rgba(10, 10, 10, 0.8);
}
.oldphotocaption {
    font-size: 12px;
    color: white;
    text-align: center;
    width: 200px;
}
.aboutphotosimage-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;  
}

.aboutphotographyparagraph {
    flex: 1;
    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: 3px 2px 3px rgba(0, 0, 0, 0.42);
    margin: 15px 10px;
    width: 60%;
}


.viewfromthewindow-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 10px 15px;
    align-items: flex-start; 
    gap: 10px; 
}

.viewfromwindowimg {
    flex-shrink: 1;
    max-width: 100%;
    min-width: 120px;
}
.viewfromwindowimg img {
    height: 420px; /* Match the height of the about header */
    width: auto; /* Maintain aspect ratio */
    border: 20px solid;
    border-color: rgb(1, 1, 1);
    box-shadow: 5px 5px 9px rgba(0, 0, 0, 0.8);
    margin: 10px 40px 10px 10px;
    transition-duration: 0.9s;
    overflow: hidden;
    cursor: pointer;
}
.viewfromwindowimg {
    margin-left: 0;
}
.viewfromwindowimg img:hover {
    box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.568);
    transform: scale(1.1); 
}



.viewfromwindow-paragraph {
    flex: 1;
    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: 3px 2px 3px rgba(0, 0, 0, 0.42);
    margin: 15px 10px;
    width: 65%;
    max-width: 65%;
    min-width: 200px;
   
}
/* Media query for smaller screens */
@media (max-width: 600px) {
    .viewfromwindowimg2, .viewfromwindowimg {
        max-width: 100%; /* Ensure it does not exceed the container width */
        min-width: 150px; /* Set a smaller minimum width limit for smaller screens */
        flex-direction: column;
    }

    .viewfromwindowimg2 img, .viewfromwindowimg img {
        height: auto; /* Adjust height for smaller screens */
        max-width: 100%; /* Ensure the image does not exceed the container width */
    }
}

/* Media query for very small screens */
@media (max-width: 400px) {
    .viewfromwindowimg, .viewfromwindowimg2 {
        min-width: 150px; /* Set an even smaller minimum width limit */
    }

    .viewfromwindowimg img, .viewfromwindowimg2 img {
        width: auto;
        max-width: 100px; /* Ensure the image does not exceed the container width */
    }
}
.flex-container2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    justify-content: space-between;  
    margin-left: 50px;
}
.viewfromwindowimg2 img {
    flex: 1;
    height:auto;
    width: 550px;
    border: 20px solid;
    border-color: rgb(1, 1, 1);
    box-shadow: 5px 5px 9px rgba(0, 0, 0, 0.8);
    margin-left: 50px;
    margin-bottom: 60px;
    transition-duration: 0.9s;
    overflow: hidden;
    cursor: pointer;

}

.londonskyline {
    flex: 1; /* Allow the container to grow and shrink as needed */
    margin-left: 60px; /* Add some space between the images */
    visibility: visible; /* Ensure the element is visible */
    display: block; /* Ensure the element is displayed */
    position: relative; /* Ensure it can be positioned within the flex container */
}

.londonskyline img {
    height: auto;
    width: 450px; /* Make the image take the full width of the container */
    max-width: 100%;
    border: 10px solid;
    border-color: rgb(1, 1, 1);
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.6);
    transition-duration: 0.9s;
    cursor: zoom-in;
}
.viewfromwindowimg2 img:hover {
    transform: scale(1.15); /* Scale the image on hover */
    box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.568);
}
.londonskyline img:hover {
    transform: scale(1.07); /* Scale the image on hover */
    box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.568);
}
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    padding-top: 60px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 90%;
    
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}


.londoncityinthedark-container {
    display: flex;
    flex-direction: row;
    gap: 15px;
   
}
.londoncityinthedark-container img {
    height: 180px;
    width: auto;
    margin: auto 6px;
    border: 10px solid;
    border-color: rgb(1, 1, 1);
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.6);
    transition-duration: 0.9s;
    cursor: zoom-in;
}
.londoncityinthedark-container img:hover {
    transform: scale(1.1); /* Scale the image on hover */
    box-shadow: 0 0 8px 5px rgba(246, 245, 245, 0.35);
    transform-origin: center;
}

.fullscreen-img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.884);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}
.fullscreen-img img {
    max-width: 65%;
    max-height: 65%;
    cursor: pointer;
   
}





























.websitefooter {
    justify-content: center;
    align-items: center;
    background-image: url('./photogallerypage/oldfilmreelfooter.webp');
    background-size: 640px;
    height: 150px;
}
.websitefooter p {
    font-family: Consolas,monaco,'andale mono',monospace; 
    color: white;
    padding-top: 38px;
    text-align: left;
    font-size: 10px;
}
strong {
    color: rgb(93, 23, 23);
}