body {
    background: url('https://images.rbxcdn.com/dcbdfaf1c08058e71f65c09f7b98ff04.jpg') no-repeat;
    background-size: cover;
    background-attachment: fixed; /* Keeps background still while scrolling */
    margin: 0;
}

/* Centering wrapper to replace <div align="center"> */
.main-container {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
}

.main {
    border: 1px solid rgb(0, 113, 128);
    position: relative;
    overflow: hidden;
    background-color: #d7def8;
    min-height: 80vh;
    
    /* DESKTOP DEFAULT */
    width: 30%;
    max-width: 600px;
}

.content-wrapper {
    padding: 2%;
    text-align: left;
    padding-bottom: 40px; /* Space for the bottom link */
}

ul {
    margin-top: 0;
}

ul li {
    list-style-type: none; /* Remove default bullets */
}

.links div {
    padding-left: 15px;
}

.inimg {
    width: 100%;
    height: auto; /* Maintains aspect ratio */
    display: block;
}

.info {
    text-transform: uppercase;
    font-size: 10px;
}

.bigheaderold {
    color: rgb(92, 122, 128);
    font-size: 14px;
    text-align: left;
}

table, th, td {
    border-collapse: collapse;
    margin: -1 !important;
}

#bottom {
    /* Changed from absolute to prevent overlap on small screens, 
       or keep absolute but ensure padding-bottom on parent exists */
    position: absolute;                 
    bottom: 5px;   
    left: 2%;                      
}

h1 {
    display: inline;
    margin: 0;
    font-weight: bold;
}

/* --- MOBILE OPTIMIZATION --- */
@media screen and (max-width: 768px) {
    .main {
        /* On mobile, use 90% of screen instead of 30% */
        width: 90%; 
        max-width: none;
        min-height: auto; /* Let content dictate height on mobile */
    }
    
    .bigheaderold {
        font-size: 16px; /* Slightly larger heading on mobile */
    }

    /* Disable custom cursors on touch devices */
    html, a {
        cursor: auto;
    }
}

/* --- DESKTOP CURSORS ONLY --- */
@media screen and (min-width: 769px) {
    html { 
        cursor: url('../img/ArrowFarCursor.png'), auto;
        min-height: 100%;
    }
    a {
        cursor: url('../img/ArrowCursor.png'), auto;
    }
}

h2 {
    padding: 0;
    margin: 0;
}