/* stylesheet.css */
/* Style rule for the body element */
body {

  background: linear-gradient(#ffc371, #ff5f6d) fixed;

  /* Default font styling */
  font: 10pt Arial, Helvetica, Sans-Serif;
  color: black;
  margin: 0;
  
}

/* Style rule for the wrapper div */
#wrapper {
  width: 95%;
  min-width: 700px;
  max-width: 1200px;
  margin: 1em auto;
  background-color: white;
  padding: 0;
  box-shadow: 8px 8px 10px black;
  border-radius: 3px;
}
/* logo to center image */
.logo {
display: flex;
justify-content: center;
align-items: center;

}
/* Styling for the page header */
header {
  background-color: rgb(221, 235, 222);
  background-image: url(bkgpattern2l.png);

  background-size: calc(10%);
  background-repeat: repeat-x;
  background-size: cover;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  font-size: 30px;
  font-weight: bold;
  font: italic small-caps bold 40px Arial black, Gadget, Sans-Serif;
}

header img {
  margin: 8px;
  vertical-align: middle;
}

/* Div that contains content between header and footer */
.flexcontainer {
  display: flex;
}

/* Styling for the navbar */
nav {
  background-color: #88a563;

}

/* Styling for links inside the navbar */
nav a {
  display: block;
  width: 150px;
  text-align: center;
  padding: 10px 0;
  text-decoration: none;
  font-size: 125%;
  border-bottom: solid 1px #bc9f81;
  border-top: solid 1px #bc9f81;
}

/* Styling for the main article section */
article {
  padding: 0 10px;
  width: auto;
  font-size: 16px;
  line-height: 1.5;
}

/* Third column, on the right */
aside {
  border-left: solid 1px #a48362;
  padding: 8px;
}

/* Images inside the aside div */
aside img {
  display: block;
  width: 200px;
  margin: 10px auto;
}

/* Styling for page footer */
footer {
  background-color: #d8c6b5;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  text-align: center;
  padding: 8px 0;
}

/* Eliminate default margins for all heading types */
h1,h2,h3,h4,h5,h6 {
  margin: 0;
}

/* Style for h1 headings */
h1 {
  font: italic small-caps bold 24px Arial Black, Gadget, Sans-Serif;
  text-shadow: -2px -2px 2px #a48362;
  text-align: center;
}

/* Style for h2 headings */
h2 {
  font: italic small-caps bold 18px Arial Black, Gadget, Sans-Serif;
  text-shadow: -1px -1px 1px #a48362;
}

/* Style for paragraphs */
p {
  margin-top: 0;
  font-size: 16px;
  line-height: 1.5;
}

/* === Style classes === */
/* Highlight any span of text */
.hilite {
  background-color: yellow;
}

/* Create raised appearance with border, rounded corners, and shadow */
/* Works with images, tables, and block elements (div, p, and headings) */
.raised {
  border: solid 1px gray;
  border-radius: 5px;
  box-shadow: 5px 5px 5px gray;
}

/* Image floating to the left of neighboring text */
img.left {
  float: left;
  width: 30%;
  margin-right: 10px;
}

/* Image floating to the left of neighboring text */
img.right {
  float: right;
  width: 30%;
  margin-left: 10px;
}

img.center {
  float: none;
  width: fit-content;
  margin: auto;
}

/* Use class="centerall" in p or div to center
       all text and images inside the element */
.centerall {
  text-align: center;
  /* Clear any floating elements */
  clear: both;
}

.center2 {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.center3 {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-decoration: none;
  text-align: center;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
  box-shadow: 5px 5px 5px gray;
}

/* ==== Styles for links and link states. === */
/* Unvisited links */
a:link {
  color: #0c391c;
}

/* Visited links */
a:visited {
  color: #af4600;
}

/* Mouse pointer on link */
a:hover {
  background-color: #bc9f81;
  color: #1e2953;
}

/* Mouse pointer on link and left button down */
a:active {
  background-color: #1e2953;
  color: #bc9f81;
}

/* ==== Styling for tables ==== */
/* Styling for the table as a whole */
table {
  /* Remove gaps between table cells */
  border-collapse: collapse;
  /* Font size, family, and color */
  font: 12pt Times, "Times New Roman", Serif;
  color: #4c2e16;
  /* top/bottom and side margins (auto for centering) */
  margin: 1em auto;
}

/* Table header cells */
th {
  background-color: #4c2e16;
  color: white;
}

/* Header and data cells */
th,
td {
  border: solid 1px #5d3f25;
  padding: 2px 4px;
}

/* change cursor type to cell on hover */
th:hover {
  cursor: cell;
}

/* hover effects in row 3, column 2 */
table tr:nth-child(3) td:nth-child(2):hover {
  background-color: yellow;
}

/* Give even-numbered rows tan background color */
tr:nth-child(even) {
  background-color: #c6a586;
}

/* Right align content in column 2 data cells */
td:nth-child(2) {
  text-align: right;
}

/* Center content in column 3 data cells */
td:nth-child(3) {
  text-align: center;
}

/* Highlight table row on hover */
tr:hover {
  background-color: #ff6;
  cursor: default;
}