/* Reset default margin and padding */
html, body {
    margin: 0;
    padding:0;
    height: 100%;
    font-size: 16px;
    font-family: "Times New Roman", serif;
    font-style: normal;
    font-weight: 400;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: inherit;   /* inherit cursor from html/body */
}

/* This wrapper is your “page” in the middle */
.site-wrapper {
    max-width: 620px;   /* your page width */
    min-width: 400px;
    margin: 0 auto;     /* centers the whole site */
    text-align: left;   /* so text inside isn’t all centered */
    background-color: rgb(246, 250, 246);
}

/* Make body full width; center content with a wrapper instead */
body {
    text-align: center;
    background-color: rgb(246, 250, 246);
}

/* Top border style – full width of window */
.page-top-border {
    position: relative;
    height: 2px;
    background-color: rgb(246, 250, 246);
    width: 100%;
}

/* Header container – centered inside the site wrapper */
.header-container {
    max-width: 400px;
    margin: 0 auto;
}

.header-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 0; 
}

.header-image img {
    max-width: 400px; 
    height: auto;
    display: block;
}

.navbar {
    display: flex;
    justify-content: space-between;  /* left + right ends */
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0.5rem 0;
    background-color: rgb(246, 250, 246);
    box-sizing: border-box;
    margin-top: -5px;
}

/* Left side: just the name */
.nav-left {
    display: flex;
    gap: 8px;              
}


/* Right side: other links */
.nav-right {
    display: flex;
    gap: 5px;              
}

/* About section */
.home-section {
    text-align: start;
    text-justify: inter-word;
    line-height: 1.3;
    white-space: pre-line;
    margin-top: -25px;
}


/* Research section */
.research-section {
    text-align: center;
    text-justify: inter-word;
    line-height: 1.3;
    white-space: pre-line;
    margin-top: -25px;
}


/* Other work section */
.other-section {
    text-align: start;
    text-justify: inter-word;
    line-height: 1.3;
    white-space: pre-line;
    margin-top: -25px;
}


/* CV section */
.CV-section {
    text-align: start;
    text-justify: inter-word;
    line-height: 1.3;
    white-space: pre-line;
    margin-top: -25px;
}


footer {
    text-align: center;
    padding: 10px 0;
    background-color: rgb(246, 250, 246);
    color: black;
    font-size: 16px;
    margin-top: 6px;
}

#copy-status {
    text-align: center;
    margin-top: 4px;
    font-size: 0.9em;
    color: #115000;
}

.copyright {
    padding: 10px 0; 
}

/* Link settings */
a:link, a:visited {
    color: #052fad;
    font-weight: normal;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover, a:focus {
    color: #6cc1e8;
}
a:active {
    color: #ffa600;
}

/* make sure my name is in bold */
a.nav-name {
    font-weight: 400;   /* or 600 if 700 looks too heavy */
}