body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    text-align: center;
    display: flex; /* newly added */
    flex-direction: column; /* newly added */
    min-height: 100vh; /* newly added */
    background-color: #000000;
}

.sub-title {
    padding: 20px 10px;
    color: #FFFFFF;
    font-size: 36px;
    font-weight: bold;
    font-family: 'Work Sans', sans-serif; /* Apply Work Sans font */
    /* font-family: 'Montserrat', sans-serif; */
    letter-spacing: 6px; /* Add spacing between each letter */
}

.sub-sub-title {
    padding: 20px 10px;
    color: #FFFFFF;
    font-size: 24px;
    font-weight: bold;
    font-family: 'Work Sans', sans-serif; /* Apply Work Sans font */
    /* font-family: 'Montserrat', sans-serif; */
    letter-spacing: 6px; /* Add spacing between each letter */
}

.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    flex-grow: 1; /* newly added - Ensure the container grows to fill space between header and footer */
}

.image-container img {
    width: 100%;
    max-width: 500px; /* Optional: Set a max-width for larger screens */
    margin-bottom: 20px; /* Adds padding between images */
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.image-container img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Removes margin from the last image */
.image-container a:last-child img {
    margin-bottom: 0;
}

footer {
    padding: 10px 0;
    font-size: 12px;
    color: #f9f9f9;
    background-color: #000000;
    width: 100%;
}

/* Modal Styles */
.modal {
    z-index: 1000;
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto;
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #fefefe;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.modal-content button {
    margin-top: 10px;
    padding: 10px 20px;
    border: none;
    background-color: #333;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    margin-right: 5px;
}

.modal-content button:last-child {
    margin-right: 0;
}

.modal-content button:hover {
    background-color: #555;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
    text-decoration: none;
}