@font-face {
  font-family: "Outfit";
  src: url(./assets/fonts/outfit/Outfit-VariableFont_wght.ttf);
}
@font-face {
  font-family: "Young-Serif";
  src: url(./assets/fonts/young-serif/YoungSerif-Regular.ttf);
}
:root {
  /*Colors*/
  --White: hsl(0, 0%, 100%);
  --Stone100: hsl(30, 54%, 90%);
  --Stone150: hsl(30, 18%, 87%);
  --Stone600: hsl(30, 10%, 34%);
  --Stone900: hsl(24, 5%, 18%);
  --Brown800: hsl(14, 45%, 36%);
  --Rose800: hsl(332, 51%, 32%);
  --Rose50: hsl(330, 100%, 98%);
  /*font*/
  --Font-Outfit: "Outfit";
  --Font-Young-Serif: "Young-Serif";
  --Fontsize-paragraph: 1rem;
  --Weight400: 400;
  --Weight600: 600;
  --Weight700: 700;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8em;
  background-color: var(--Stone100);
}
main {
  display: flex;
  flex-direction: column;
  row-gap: 1.8em;
  padding: 3em;
  max-width: 50%;
  border-radius: 1.5em;
  background-color: var(--White);
}
main img {
  order: -1;
  width: 100%;
  height: 100%;
  border-radius: 1em;
  margin-bottom: 0.5em;
}
main h1 {
  font-family: var(--Font-Young-Serif);
  font-size: 2.2rem;
  font-weight: var(--Weight600);
}
main p:nth-child(3), .tab p {
  font-family: var(--Font-Outfit);
  font-size: var(--Fontsize-paragraph);
  font-weight: var(--Weight400);
  line-height: 1.5;
  color: var(--Stone600);
}
.card{
  list-style-position: outside;
  border: none;
  padding: 1.4em;
  border-radius: 1em;
  background-color: var(--Rose50);  
}
.card h2 {
  font-size: 1.25rem;
  margin-bottom: 1em;
  font-family: var(--Font-Outfit);
  font-weight: var(--Weight600);
  color: var(--Rose800);
}
.card ul {
  display: flex;
  flex-direction: column;
  row-gap: 0.5em;
  line-height: 1.5;
  font-size: var(--Fontsize-paragraph);
  font-family: var(--Font-Outfit);
  color: var(--Stone600);
}
.card li {
  margin-left: 1.5em;
  padding-left: 1em;
}
.card li::marker {
  color: var(--Rose800);
}
.sect li::marker {
  font-weight: var(--Weight700);
  color: var(--Brown800);
}
.sect h2, .tab h2 {
  font-size: 1.7rem;
  font-family: var(--Font-Young-Serif);
  font-weight: var(--Weight600);
  color: var(--Brown800);
  margin-bottom: 1em;
}
.sect ul, .sect ol {
  font-family: var(--Font-Outfit);
  font-size: var(--Fontsize-paragraph);
  line-height: 1.5;
  color: var(--Stone600);
  padding-bottom: 1em;
  border-bottom: thin solid var(--Stone150);
}
.sect li {
  margin-left: 1.7em;
  padding-left: 1em;
  padding-bottom: 0.5em;
}
.tab table {
  width: 100%;
  text-align: left;
  margin-top: 1em;
  border-collapse: collapse;
}
.tab th, .tab td {
  font-family: var(--Font-Outfit);
  font-size: var(--Fontsize-paragraph);
  padding: 0.8em;
  border-bottom: thin solid var(--Stone150);
}
.tab th {
  padding-left: 2em;
  font-weight: var(--Weight400);
  color: var(--Stone600);
}
.tab td {
  font-weight: var(--Weight600);
  color: var(--Rose800);
}
.tab tr:last-child th, .tab tr:last-child td {
  border: none;
}
@media (max-width: 1200px) {
  main {
    max-width: 78%;
  }
}
@media (max-width: 600px) {
  body {
    padding: 0;
  }
  main {
    max-width: 100%;
    padding: 0 0 1.4em 0;
    border-radius: 0;
  }
  main img {
  border-radius: 0;
  }
  main h1 {
    line-height: 1;
  }
  main h1, p:nth-child(3) {
    padding: 0 2rem 0 2rem ;
  }
  .card {
    margin: 0 2rem 0 2rem;
  }
  .sect, .tab {
    padding: 0 2rem 0 2rem;
    border: none;
  }
}