/* Step 1: Load Offset TM font */
@font-face {
    font-family: 'Offset TM';
    src: url('fonts/OffsetTM.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Offset TM', Arial, sans-serif;
}

body {
    background-image: url('images/star.jpg'); /* use your actual image path */
    background-size: 100% auto; /* fills width but keeps original pixel clarity */
    background-position: top center;
    background-repeat: repeat;
}

/* Make text legible over banner */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Header */
header {
    text-align: center;
    margin: 20px 0;
}

header .white-bg {
    display: inline-block;
    padding: 15px 30px;
    border: 3px solid #000;
    background-color: #fff;
}

/* Navigation */
nav {
    background-color: #000;
    border-bottom: 3px solid #000;
    margin-bottom: 25px;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 10px 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 5px 12px;
    border: 2px solid #fff;
    transition: all 0.2s ease-in-out;
}

nav ul li a:hover {
    background-color: #fff;
    color: #000;
}

/* Layout */
#content {
    display: flex;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Sidebar */
#sidebar {
    width: 250px;
    background-color: #fff;
    border: 3px solid #000;
    padding: 15px;
    margin-right: 20px;
}

#avatar img {
    width: 100%;
    border: 2px solid #000;
    margin-bottom: 10px;
}

#bio {
    margin-bottom: 15px;
}

#sidebar ul {
    list-style: none;
    padding-left: 0;
}

#sidebar ul li {
    margin-bottom: 10px;
}

#sidebar ul li a {
    text-decoration: none;
    color: #000;
    border: 1px solid #000;
    padding: 3px 5px;
    display: block;
}

#sidebar ul li a:hover {
    background-color: #000;
    color: #fff;
}

/* Main content */
main {
    flex: 1;
}

/* Boxes behind headings */
h1, h2, h4 {
    display: inline-block;
    background-color: #fff;
    padding: 5px 15px;
    border: 2px solid #000;
    margin: 20px 0 10px;
}

/* Content boxes */
.mews {
    background-color: #fff;
    border: 2px solid #000;
    padding: 15px;
    margin-bottom: 20px;
}

/* Marquee */
marquee {
    display: block;
    margin: 10px 0;
    border: 2px solid #000;
    padding: 5px;
    background-color: #fff;
}

/* Centered images */
.center {
    text-align: center;
}

.center img {
    margin: 10px;
    border: 2px solid #000;
}

/* Footer */
footer {
    text-align: center;
    border-top: 3px solid #000;
    padding: 10px;
    margin-top: 30px;
    font-weight: bold;
    background-color: #fff;
}

/* Small adjustments for links in content */
a {
    color: #000;
    text-decoration: underline;
}

a:hover {
    color: #555;
}
