@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Young+Serif&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: hsl(0, 0%, 100%);

  --Stone-100: hsl(30, 54%, 90%);
  --Stone-150: hsl(30, 18%, 87%);
  --Stone-600: hsl(30, 10%, 34%);
  --Stone-900: hsl(24, 5%, 18%);

  --Brown-800: hsl(14, 45%, 36%);

  --Rose-800: hsl(332, 51%, 32%);
  --Rose-50: hsl(330, 100%, 98%);

  --margin-Bottom: 1.5rem;
}

body {
  font-size: 16px;
  font-family: "Outfit", sans-serif;
}

.attribution {
  font-size: 11px;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}

/* basic styles */

hr,
h2,
p {
  margin: var(--margin-Bottom) auto;
}

hr {
  border: none;
  height: 1px;
  background-color: var(--Stone-150);
}

/* main style */

.container {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: var(--Stone-100);
}

.mainBox {
  margin-top: 4rem;
  width: clamp(20rem, 100%, 54rem);
  background-color: var(--white);
  overflow: hidden;
  border-radius: 2rem;
  padding-top: 1.2rem;
}

.mainBox img {
  width: 100%;
  background-size: cover;
  border-radius: 0.8rem;
  transform: scale(0.9);
}

.content {
  padding: 0 3rem 2rem;
}

.content .mainHeading {
  font-size: 3.2rem;
  font-weight: 500;
  color: var(--Stone-900);
  font-family: "Young Serif", serif;
}

.pera {
  color: var(--Stone-600);
}

.pinkColorBox {
  background-color: var(--Rose-50);
  padding: 2rem;
  margin-top: var(--margin-Bottom);
  margin-bottom: var(--margin-Bottom);
}

.pinkColorBox h2 {
  color: var(--Rose-800);
  margin-top: 0;
}

.subHeading {
  color: var(--Brown-800);
  font-family: "Young Serif", serif;
  letter-spacing: 0.1rem;
}

ul li {
  color: var(--Stone-900);
  padding-left: 0.8rem;
  margin-left: 1.2rem !important;
  margin-bottom: 0.4rem;
}

ul li b {
  color: var(--Stone-600);
}

ol li {
  padding-left: 0.8rem;
  margin-left: 1.2rem !important;
  margin-bottom: 0.4rem;
  color: var(--Stone-900);
  list-style: var(--Brown-800);
}

ol li::marker {
  color: var(--Brown-800);
  font-weight: bold;
}

ol li b {
  color: var(--Stone-600);
}

table {
  width: 100%;
  gap: 0;
}

table {
  border-collapse: collapse;
}

tr {
  border-bottom: 1pt solid var(--Stone-150);
}

table tr td {
  padding: 0.8rem;
  margin: 0;
}

table tr td:nth-child(2) {
  color: var(--Brown-800);
  font-weight: bold;
}

@media screen and (max-width: 450px) {
  .mainBox {
    margin-top: 0;
    border-radius: 0;
    padding-top: 0;
  }

  .mainHeading {
    margin-top: 1rem;
  }

  .mainBox img {
    transform: scale(1);
    border-radius: 0;
  }

  .content {
    padding: 0 1.2rem 0.5rem;
  }

  .pinkColorBox {
    padding: 1rem;
  }
}
