/* global styles  */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

html,
body {
  width: 100%;
}

/* layout */
body,
main,
#div_1 {
  display: flex;
  flex-direction: column;
}

/* styles */

body {
  background-color: #f3e5d8;
  justify-content: center;
  align-items: center;
}

main {
  background-color: white;
  gap: 2rem;
  text-wrap: wrap;
  width: 60%;
  border-radius: 1rem;
  margin: 5rem 0  3rem;
  padding: 2rem 2rem 1rem;
}

h1,
h3 {
  font-family: "Young Serif", serif;
  font-weight: 400;
  font-style: normal;
  padding: 0.5rem;
  font-size: x-large;
}

h2 {
  color: hsl(332, 51%, 32%);
  font-weight: 600;
  font-size: large;
  padding: 0.5rem;
}
h3 {
  color: #8b4430;
}
p {
  font-size: 16px;
  font-weight: 400;
}
img {
  width: 100%;
  border-radius: 1rem;
}

#div_2 {
  background-color: hsl(330, 100%, 98%);
  border-radius: 1rem;
}

li {
  list-style-position: inside;
}
table {
  padding: 0.5rem;
}
td {
  padding: 0.5rem;
  border-bottom: 1px solid #ddd;
}
.attribution {
   font-size: 12px; 
   text-align: center; 
   padding-bottom: 1rem;
  }

.attribution a { 
  text-decoration: none;
}
.attribution a:link {
  color: #8b4430;

}
.attribution a:visited {
  color: #8b4430;
}

/* Response */
@media (max-width: 450px) {
  html,
  body {
    text-wrap: wrap;
    padding: 0.25;
  }
  main {
    width: 80%;
  }
  h3 {
    font-size: large;
  }
  li,
  table {
    font-size: x-small;
  }
}
