/* Body styling: center horizontally, start at top */
body {
    background-color: #A0522D;  /* light chocolate background */
    color: #000000;             /* dark chocolate text */
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;                  /* remove default margins */
    display: flex;
    flex-direction: column;
    align-items: center;        /* center horizontally */
}

/* Header */
header {
    text-align: center;         /* center header text */
    margin-top: 20px;           /* spacing from top of page */
}

/* Main page title (h1) */
h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #641e09; /* black text*/
}

h2 {
    color: #000000;   /* black text*/
    text-align: center;    
    margin-top: 20px;
    margin-bottom: 10px;    
}

/* Navigation centered */
nav {
    text-align: center;
    margin: 20px 0;             /* spacing above and below nav */
}

/* Paragraphs and content spacing */
p, div {
    max-width: 800px;           /* limits width for readability */
    margin: 10px auto;          /* centers content */
    line-height: 1.5em;
}

/* Video description above videos */
.video-description {
    font-size: 1.25em;   /* makes text bigger */
    font-weight: bold;   /* optional */
    text-align: center;  /* centers text above video */
    margin-bottom: 10px; /* space below the text */
    color: #000000;    /* text is black*/
}


/* Footer centered */
footer {
    text-align: center;
    margin: 20px 0;
}

/* Images centered */
img {
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
}

/* Audio and video centered */
audio, iframe {
    display: block;
    margin: 20px auto;
}

/* Navigation links styling */
nav a {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    margin: 0 15px;
}

nav a:hover {
    color: #9c531f;
}

/* Table formatting */
table {
    margin: auto;
    border: 5px solid #3f2a14;
    width: 100%;
    border-spacing: 0;
}

td, th {
    border-style: none;
    padding: 0.5em;
    width:auto;
}

tfoot td {
    font-size: 9px;
    font-style: italic;
    text-align: center;
}

tr:nth-of-type(even) {
    background-color: #3f2a14;
    color:#FFF;
}

/* Caption formatting */
caption {
    font-family: Impact, "Franklin Gothic Bold", "Arial Black", sans-serif;
    font-weight: bold;
    font-size: 1.75em;
    padding-bottom: 0.5em;
    max-width: 100%;
    height: auto;
    border: 1px solid #51471A;
    border-radius: 10px;
}

/* Responsive media query for small screens */
@media only all and (max-width: 550px) {
    img {
        display: none;
    }
}


.divider {
  height: 2px;               /* thickness of the line */
  background-color: black;   /* line color */
  width: 80%;                /* the width */
  margin: 20px auto;         /* top and bottom spacing and horizontal centering */
  border-radius: 1px;        /* slightly rounded edges */
}

