/* Remove the default browser styling */
body, h1, p {
    margin: 0;
    padding: 0;
}


/* General page background & text settings */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}


/* Header settings */
#header {
    background-color: #2c3e50;
    padding: 0;
}

/* Logo formatting settings */
.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}
.logo-container img {
  border-radius: 120px; /* rounded corners */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* soft shadow */
  display: inline-block; /* ensure image respects border-radius */
  justify-content: center;
  margin-bottom: 10px;
}


/* Navigation bar settings */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 15px 0;
}
.navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease, border-bottom 0.2s ease;
    border-bottom: 2px solid transparent; 
}
.navbar a:hover {
    color: #f39c12;
    border-bottom: 2px solid #f39c12;
    text-decoration: none; 
}


/* Standard settings for all #main content boxes */
#main {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
#main h1 {
    font-size: 1.8rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
}


/* Footer settings */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 15px;
    text-align: center;
}
footer p {
    margin: 5px 0;       /* small vertical spacing between lines */
    font-size: 0.9rem;   /* slightly smaller text for a footer */
}
#footer {
    background-color: #2c3e50;
    color: white;
    padding: 15px;
    text-align: center;
}


/* Link colors and hovering settings */
a {
    color: #3498db;
}
a:hover {
    text-decoration: underline;
}


/* List styling */
.list a {
    display: block;
    margin-left: 20px;     /* indent a bit */
    margin-bottom: 8px;
    color: #3498db;
    text-decoration: none;
}
.list a:hover {
    text-decoration: underline;
}

/* Next/Previous buttons under lists */
.pagination {
    margin-left: 20px;     /* align it with the list */
    margin-top: 15px;
    margin-bottom: 25px;   /* leave a little space after */
    text-align: left;
}
.pagination a {
    display: inline-block;
    background-color: #2c3e50;  /* match the header color */
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    margin-right: 5px;
    transition: background-color 0.2s ease;
}
.pagination a:hover {
    background-color: #f39c12;  /* gold hover color */
    color: #2c3e50;
}