header, main, footer {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}


header {
    /* background-color: #f0f4f8; /* dark blue-gray */
    color: #2c3e50;
    padding: 20px 0;
}

.header-top {
    display: flex;
    align-items: center;      /* vertically center image & title */
    gap: 15px;                /* space between image and title */
    padding: 10px 0;
}

.logo-title {
    display: flex;
    align-items: center; /* vertically centers title with logo */
    gap: 15px;           /* space between image and title */
}

/* Logo image */
.logo {
    height: 70px;             /* adjust as needed */
    width: auto;
    border-radius: 10px;
    border: gray 1px solid;
}

/* Title next to logo */
.title {
    font-size: 1.8rem;
    color: #2c3e50;    
    margin: 0;
}

header nav {
    width: 100%;
    margin-top: 0px;
    text-align: center; /* center inline-flex ul */
}


.menu
{
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    margin: 0 auto;
}

.menu li 
{
    padding: 0 10px;
    border-right: 1px dotted  #ccc;
}
.menu li a 
{
    color: #3498db;
    text-decoration: none;
    padding: 5px 10px;
    transition: background 0.3s;
    
}

.menu li a:hover 
{
    color: #2980b9;
    border-radius: 5px;
}

body
{
    background-color: #f0f4f8;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    display: flex;
    justify-content: center;
    
    display: flex;
    flex-direction: column; 
}

.container {
    margin: 0 auto; /* horizontally center the container */
    text-align: left;
    /* background-color: red; /* content inside container aligns left */
}

main
{
    margin: 0 auto; /* horizontally center the container */
    text-align: left;
    /* background-color: rgb(82, 51, 51); */
}






/******************** FOOTER ********************/
footer 
{
    list-style: none;
    
}

.menu a
{
    color: #3498db;
    text-decoration: none;
    padding: 5px 10px;
    transition: background 0.3s;
    display: block;
}
.menu a:hover
{
    color: #6291db;
    text-decoration: none;
    padding: 5px 10px;
    transition: background 0.3s;
}

.menu li {
    display: flex;
    gap: 1rem;
    align-items: baseline;
}

pre {
  background-color: rgba(52,152,219,0.05);
  padding: 16px;
  border-radius: 10px;
  overflow-x: auto;
  border: 1px gray dotted;
}

:not(pre) > code {
    padding: 2px 2px;
    background-color: rgba(52,152,219,0.1);
    color: #2c3e50;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.95em;
}

pre code[class^="language-"]{
  color: #2c3e50;
  padding: 4px 0px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.95em;
}
/*
Background: #f0f4f8 (soft blue-gray)
Text: #2c3e50 (deep slate blue-gray)
Links: #3498db (bright blue)
Link hover: #2980b9 (darker blue)
*/