body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    overflow: hidden;
    background-color: black; /* Added this line */
}

.content-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Changed from flex-start to center */
    align-items: center;
    height: 100%;
    padding: 0 20px; /* Added horizontal padding */
    box-sizing: border-box; /* Ensure padding is included in width calculation */
}

.background-container {
    display: none; /* Hide the full-page background */
}

.thumbnail-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none; /* Allow clicking through the thumbnails */
    background-color: black; /* Added this line */
}

.thumbnail {
    position: absolute;
    width: 100px;  /* Slightly smaller to fit in grid cells */
    height: 150px; /* Slightly smaller to fit in grid cells */
    background-size: cover;
    background-position: center;
    opacity: 0.5; /* Adjust opacity as needed */
}

.text-overlay, .bottom-text {
    background-color: rgba(0, 0, 0, .5);
    padding: 0px;
    border-radius: 50px;
}

.text-overlay {
    text-align: center;
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 1);
    background-color: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%; /* Ensure full width */
}

.text-overlay h1,
.text-overlay h2,
.text-overlay .sui-logo-container {
    background-color: rgba(0, 0, 0, 1); /* Changed to fully opaque black */
    padding: 10px;
    margin: 10px 0;
    display: inline-block;
    width: auto;
    max-width: 100%; /* Ensure content doesn't overflow on small screens */
}

.text-overlay h1 {
    font-size: 5em;
    margin-bottom: 20px;
}

.sui-logo-container {
    margin: 20px 0;
}

.text-overlay h2 {
    font-size: 2.5em;
    margin-top: 20px;
}

.sui-logo {
    max-width: 100px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 1));
    background-color: transparent;
    padding: 0;
    border-radius: 2px;
}

.bottom-text {
    text-align: center;
    color: white;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 1);
    display: flex;
    justify-content: center;
    gap: 20px;
    background-color: rgb(79, 43, 0); /* Changed to fully opaque color */
    padding: 10px 20px;
    border-radius: 0;
    position: static;
    transform: none;
    margin-top: 20px;
    flex-direction: row; /* Ensure items are in a row */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure full width */
    box-sizing: border-box;
}

.bottom-text a {
    color: white;
    text-decoration: none;
    transition: color 0.3s, text-decoration 0.3s;
}

.bottom-text a:hover {
    color: yellow;
    text-decoration: underline;
}

.bottom-text p {
    margin: 0;
    font-size: 1.5em;
    white-space: nowrap; /* Prevent text from wrapping within each link */
}

h1 {
    font-size: 5em;
    margin-bottom: 0.0em;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

p {
    font-size: 2em;
    margin: 0.5em 0;
}

p1 {
    font-size: 1.2em;
}

p2 {
    font-size: 1.2em;
}

p3 {
    font-size: 1.2em;
}

.sui-logo {
    max-width: 100px;
    height: auto;
    display: block;
    margin: 10px auto;
    filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 1));
    background-color: rgba(0, 0, 0, 0);
    padding: 0px;
    border-radius: 2px;
}

.links-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    width: 100%; /* Ensure full width */
}

.links-header {
    font-size: 1.5em;
    color: white;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 1);
    margin-bottom: 10px;
    background-color: rgb(0, 0, 0); /* Changed to fully opaque color */
    padding: 5px 15px;
    border-radius: 25px;
}

