/** General **/

body {
  /*font-family: Arial, sans-serif;*/
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  background-color: #f9f5f3;
}

.main-article-image {
    height: auto;
    display: block;  /* Makes the image a block-level element */
    margin-left: auto;  /* Auto margin on left */
    margin-right: auto;  /* Auto margin on right */
    padding-bottom: 20px;
}

/* Main content styles */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

header h1 {
  font-size: 2.5em;
  color: #444;
  text-align: center;
}

article {
  background-color: #f9f5f3;
  padding: 0px;
  margin-bottom: 20px;
  border-radius: 5px;
  max-width: 1000px;
  margin: 0 auto; /* This centers the article */
}

/* Header styles for the article */

article h1 {
  font-size: 2.5em;
  color: #444;
  margin-top: 0px;
}

article h2 {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #333;
}

article h3 {
  font-size: 1.2em;
  margin-bottom: 15px;
  color: #333;
}

article p {
  margin-bottom: 15px;
}

.article-img {
  max-width: 80%;
  height: auto;
  display: block;  /* Makes the image a block-level element */
  margin-left: auto;  /* Auto margin on left */
  margin-right: auto;  /* Auto margin on right */
}

blockquote {
  border-left: 4px solid #3498db;  /* Adjust color and width as needed */
  padding-left: 15px;  /* Space between line and text */
  margin: 20px 0;
}

/* Responsive design for smaller screens */
@media (max-width: 1020px) {
  main {
    padding: 20px 10px;
  }
}

/** Tables **/

table {
    width: auto;
    min-width: 300px;
    border-collapse: collapse;
    font-family: 'Arial', sans-serif;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Table Header Styling */
thead {
    background-color: #3498db;
    color: white;
}

thead th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;

}

/* Table Body Styling */
tbody tr {
    transition: background-color 0.3s ease;
}

tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

tbody tr:hover {
    background-color: #e0e0e0;
}

tbody td {
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
}

/* Inline styles */

.sourcecode {
    font-family: 'Consolas', 'Monaco', 'Lucida Console', monospace;
    font-size: 1.3em;
    line-height: 1.3;
    padding: 20px;
    box-sizing: border-box;
    overflow-x: auto;
}

.monospaced {
    font-family: 'Consolas', 'Monaco', 'Lucida Console', monospace;
    font-size: 1.0em;
    line-height: 1.2;
}

.monospaced-container {
    box-sizing: border-box;
    overflow-x: auto;
}

.bold {
    font-weight: 700;  /* Standard bold weight */
    font-weight: bold; /* Alternative bold declaration */
}

.article-credit {
    font-style: italic;
    font-size: 0.8em;
}

.italic {
    font-style: italic;
    font-weight: 400; /* Maintain normal weight */
}

ul {
    list-style-position: inside;
    padding-left: 0;
}

/* */
.short-line {
    border: 0;
    height: 1px;
    width: 200px; 
    background-color: #ccc; 
    margin-left: 0;
}
