
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

/*body styling*/

body {
  background-color: #BFBC95;
  font-family: garamond,georgia, "times new roman", serif;
  color: #3C3321;
}

html, body {
  height: 100%;
  margin: 0;
}

/*heading styling*/

h1 {
  color: #472212;
  text-align: center;
  font-size: 42px;
}

h2 {
  color: #472212;
  text-align: center;
  font-size: 35px;
  font-weight: normal;
  font-style: italic;
}

h3 {
  color: #472212;
  text-align: center;
  font-size: 30px;
  font-weight: normal;
  font-style: italic;
}

/*paragraph styling*/

p {
  text-align: center;
  color: #3C3321;
  font-size: 20px;
  line-height: 1.5;
}

#para1 {
  text-indent: 40px;
}

.caption {
  font-size: 16px;
  color: #6b6248;
}

/*list styling*/

ul{list-style-type: disc;
font-size: 22px;
}

ol{list-style-type: lower-roman;
font-size: 22px;
}

/*link styling*/

/* unvisited link */
a:link {
  color: #33395E;
  text-decoration: underline;
}

/* visited link */
a:visited {
  color: #3E5902;
  text-decoration: underline;
}

a {
  text-decoration: none;
}

.large {
  font-size: 25px;
}

/*div styling*/

.page {
  width: 100%;
  max-width: 1100px;
  min-height: 100%;
  border: 5px solid #F2E9D8;
  border-style: dotted;
  padding: 5px;
  margin: 0 auto;
  background-color: #BFBC95;
}

.box {
  width: fit-content;
  max-width: 800px;
  height: fit-content;
  padding: 10px;
  background-color: #F2E9D8;
  margin: 15px auto;
}

.main-nav ul.nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  list-style: none;
  padding: 10px 0;
  margin: 0;
}

.main-nav ul.nav-list li a {
  padding: 10px 20px;
  display: inline-block;
}

@media (max-width: 600px) {
  .main-nav ul.nav-list {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

/*table styling*/ 

table {
    width: fit-content;
    height: fit-content;
    border: 1px solid #4D5585;
    margin: 10px auto;
    text-align: center;
    padding: 5px;
    background-color: #D9D6D7;
    color: black;
}

th, td {
    width: fit-content;
    height: fit-content;
    border: 1px solid #4D5585;
    padding: 10px;
    text-align: center
}

th {
    background-color: #74878B;
    padding: 30px;
    color: #1A1A1A;
}

/*form styling*/

input[type="text"] {
    width: fit-content;
    height: fit-content;
    padding: 10px;
    margin-bottom: 5px;
    border: 1px solid black;
}

input[type="submit"] {
    width: fit-content;
    height: fit-content;    
    padding: 10px 20px;
    background-color: #74878B;
    color: white;
    border: 1px solid black;
    border-radius: 5px;
    cursor: pointer;
}

fieldset {
    border: 1px solid black;
    border-style: dotted;
    padding: 40px;
    margin-bottom: 30px;
}

/*formatting*/

.fixed {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  background: #F2E9D8;
  padding: 10px;
}

.liquid {
  width: 90%; 
  max-width: 1100px;
  margin: 0 auto;
}

.sticky {
position: sticky;
top: 20px;
}

.wrap-img {
  float: left;
  margin: 0 15px 10px 0;
}

.clear-float {
  clear: both;
}

figure {
  margin: 0;
}

/*list styling additions*/

.my-work-list {
  display: inline-block;
  text-align: left;
}

.my-work-wrap {
  text-align: center;
  max-width: 900px;
  margin: 20px auto;
}

/*grid*/

.content-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
  max-width: 900px;
  margin: 30px auto;
  align-items: center;
}

.grid-photo {
  grid-column: 1;
  grid-row: 1 / 3;
}

.grid-intro,
.grid-why {
  text-align: left;
}

.grid-intro p,
.grid-why p {
  text-align: left;
}

.grid-intro {
  grid-column: 2;
  grid-row: 1;
}

.grid-why {
  grid-column: 2;
  grid-row: 2;
}

@media (max-width: 600px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  .grid-photo,
  .grid-intro,
  .grid-why {
    grid-column: 1;
    grid-row: auto;
  }
}
