/* Reset some default browser styles */
* {
    xmargin: 0;
    xpadding: 0;
    box-sizing: border-box;
}

/* Set a base font size and family for the whole document */

body {
	font-family:"Times New Roman", serif; 
    font-size: 16pt;
    line-height: 1.48;
    color: #333;
    background-color: #ffffff;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(14px, 3vw, 32px);
    box-shadow: 0 0 70px rgba(30, 43, 36, 0.08);
}

html {
    background: #f4efe5;
}

p {
	font-family:"Times New Roman", serif; 
	font-style: normal; 
    font-size: 16pt;
	font-weight: 100; 
    xline-height: 1.5;
    color: #000000;
    background-color: #ffffff;
    xpadding: 20px;
}

/* Style for main content wrapper */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Header styles */
header {
    background: linear-gradient(135deg, #15382d, #28614e);
    color: white;
    padding: 28px 22px 20px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 14px 35px rgba(21, 56, 45, 0.18);
}
header h1 {
	margin: 0;
    font-size: 2em;
}

header a{
	color: #fafafa;
}
header a:hover{
	color: #00fafa;
}

.research-credit {
    margin: 8px 0 16px;
    color: #d9e8e1;
    background: transparent;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.research-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    margin: 0;
    background: transparent;
}

.research-nav a {
    padding: 4px 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    font-weight: bold;
    text-decoration: none;
}


/* Navigation styles */
nav {
    margin: 20px 0;
    background-color: #333;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #007bff;
}

/* Main content styles */
main {
    margin: 20px 0;
}

main h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

main p {
    margin-bottom: 15px;
}

/* Footer styles */
footer {
    background-color: #f7f3ea;
    text-align: center;
    padding: 18px;
    margin-top: 40px;
    border-top: 1px solid #d8cebc;
    border-radius: 10px;
}

footer p {
    margin: 4px 0;
    color: #53615a;
    background: transparent;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.78rem;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #174f3c;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
}


.divbox {
  width: 80%; /* Resizes as screen shrinks, up to the max-width */
  max-width: 800px; /* Will not get wider than 800px */
  margin: 0 auto; /* Centers the block */
  padding:10px;
  background-color: #DBB39F;
  color: #000000;
  box-sizing: border-box;
}

.divbox2 {
  width: 80%; /* Resizes as screen shrinks, up to the max-width */
  max-width: 800px; /* Will not get wider than 800px */
  margin: 0 auto; /* Centers the block */
  padding:10px;
  background-color: #ffeeb9;
  color: #000000;
  box-sizing: border-box;
}



/* Responsive design for smaller screens */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin-bottom: 10px;
    }

    header h1 {
        font-size: 1.55em;
    }

    body {
        font-size: 14pt;
    }

    .research-nav {
        gap: 5px 14px;
    }
}
