/* General styles */
body, h1, h2, h3, p, a, li, table {
    font-family: monospace; /* Set all text to use a monospace font */
}

a {
    color: red !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

/* Hovering menu styles */
.floating-menu {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #333;
    color: #FFF;
    z-index: 1000;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.floating-menu > ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.floating-menu > ul > li {
    position: relative;
    margin-right: 20px;
}

.floating-menu > ul > li > a {
    color: red !important;
    font-weight: bold !important;
    padding: 5px 10px;
    display: block;
}

.floating-menu li ul {
    display: none;
    position: absolute;
    background-color: #444;
    top: 100%;
    left: 0;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.floating-menu li:hover ul {
    display: block;
}

.floating-menu li ul li {
    margin: 0;
    position: relative;
}

.floating-menu li ul li a {
    color: red !important;
    font-weight: bold !important;
    padding: 5px 10px;
    display: block;
}

.floating-menu li ul li ul {
    display: none;
    position: absolute;
    background-color: #555;
    top: 0;
    left: 100%;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.floating-menu li ul li:hover ul {
    display: block;
}

/* Content padding */
.content {
    padding-top: 100px; /* Adjusted for extra space so menu doesn't cover title */
}

/* Header styles */
header {
    text-align: center;
    padding: 20px;
}

header h2 {
    margin-top: 0;
}

header img {
    max-width: 33%;
    height: auto;
    aspect-ratio: 1 / 1;
}

@media screen and (max-width: 768px) {
    header img {
        max-width: 50%;
    }
}

@media screen and (max-width: 480px) {
    header img {
        max-width: 75%;
    }
}

/* Responsive table styles */
.attachment-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: black; /* Set background color to black */
}

.attachment-table td, .attachment-table th {
    padding: 8px;
    background-color: black; /* Set background color to black */
    color: white; /* Set text color to white */
    text-align: center; /* Center content horizontally */
    vertical-align: middle; /* Center content vertically */
}

.attachment-table th {
    text-align: center;
}

@media screen and (max-width: 768px) {
    .attachment-table td, .attachment-table th {
        display: block;
        width: 100%;
    }

    .attachment-table td {
        border: none;
        padding: 10px;
    }
}

/* Lightbox styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border: 5px solid white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.lightbox.active {
    display: flex; /* Show lightbox when active */
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

