/* --- BASE PAGE STYLES --- */
body {
    background-color: #917ff9; 
    background-image: url('MacOSXBackground.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #333; 
    font-family: Tahoma, tahoma, tahoma; 
    margin: 0;
    padding: 20px;
}
    
    


  
/* --- HYPERLINK STYLES --- */
a {
    color: #07fcf8; /* Link color */
    text-decoration: none; /* Removes the underline from links */
    font-weight: bold;
}

a:hover {
    text-decoration: underline; /* Adds underline when you hover over it */
    color: #4a3a99;
}

/* --- MAIN LAYOUT --- */
/* This centers everything on the screen and sets a fixed width */
#container {
    max-width: 900px;
    margin: 0 auto;
}

/* The white box with the site title at the top */
#site-header {
    background-color: #ffffff;
    border: 1px solid #6c5bd1;
    border-radius: 5px;
    padding: 15px 20px;
    margin-bottom: 20px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2); /* Creates a small drop shadow */
}

#site-header h1 {
    margin: 0;
    font-size: 24px;
    color: #333;
}

/* This flexbox groups the left sidebar and main content side-by-side */
#content-wrapper {
    display: flex;
    gap: 15px;
}

/* Forces the left column to be exactly 300 pixels wide */
#left-sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* Makes the right column stretch to fill the rest of the space */
#main-content {
    flex-grow: 1;
}

/* --- YOUTUBE STYLE MODULE BOXES --- */
/* This is the white box itself */
.module {
    background-color: #ffffff;
    border: 1px solid #b3b3b3;
    margin-bottom: 15px;
    border-radius: 3px;
}

/* This is the classic grey bar at the top of each box */
.module-header {
    background-color: #e6e6e6;
    border-bottom: 1px solid #b3b3b3;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

/* The text area inside the boxes */
.module-content {
    padding: 15px;
    font-size: 13px;
    line-height: 1.5; /* Makes text easier to read */
}

.module-content p {
    margin-top: 0;
    margin-bottom: 8px;
}

/* --- IMAGES AND TEXT UTILITIES --- */
.center-text {
    text-align: center;
}

/* The large profile picture formatting */
.avatar-img {
    width: 120px;
    height: 120px;
    border: 1px solid #999;
    padding: 3px; /* Creates the little white border gap */
    background-color: #fff;
    margin-bottom: 10px;
}

/* --- NET NEIGHBOURS GRID --- */
.neighbours-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Arranges buttons into 4 columns */
    gap: 10px;
    text-align: center;
}

/* Keeps tiny 88x31 pixel-art buttons looking crispy instead of blurry */
.button-88x31 {
    width: 88px;
    height: 31px;
    border: 1px solid #999;
    padding: 2px;
    background-color: #fff;
    image-rendering: pixelated; 
}

h2, h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

ul {
    margin-top: 0;
    padding-left: 20px;
}

/* --- FOOTER --- */
footer {
    text-align: center;
    color: #ffffff;
    font-size: 12px;
    margin-top: 20px;
    padding: 10px;
}