/* Entire page */

body {
  background-color: #d8cdb7;
  color: #332b24;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  margin: 0;
  padding: 40px 20px;
}


/* Paper area */

header,
main,
footer {
  background-color: #f8f0d8;
  border-left: 2px solid #b82e22;
  border-right: 2px solid #b82e22;
  box-sizing: border-box;
  margin: auto;
  max-width: 900px;
}


/* Header */

header {
  border-top: 2px solid #b82e22;
  padding: 60px 40px 45px;
  text-align: center;
}

.small-title {
  color: #b82e22;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 4px;
  margin: 0;
}

h1 {
  color: #b82e22;
  font-size: 58px;
  font-weight: 600;
  line-height: 0.95;
  margin: 25px auto 15px;
  text-transform: uppercase;
}

.author {
  color: #332b24;
  font-size: 18px;
  font-style: italic;
  margin: 0 0 25px;
}

.introduction {
  border-bottom: 1px solid #8f8068;
  border-top: 1px solid #8f8068;
  font-size: 18px;
  font-style: italic;
  line-height: 1.6;
  margin: auto;
  max-width: 550px;
  padding: 15px 0;
}


/* Main content */

main {
  padding: 10px 50px 50px;
}


/* Each recipe step */

.step {
  align-items: center;
  border-top: 1px solid #8f8068;
  display: flex;
  gap: 35px;
  padding: 40px 0;
}


/* Remove the first extra line */

.step:first-child {
  border-top: none;
}


/* Reverse the second and fourth steps */

.step:nth-child(even) {
  flex-direction: row-reverse;
}


/* Recipe images */

.step img {
  border: 7px solid #fffaf0;
  box-sizing: border-box;
  filter: sepia(25%) contrast(90%);
  height: 270px;
  object-fit: cover;
  outline: 1px solid #8f8068;
  width: 45%;
}


/* Recipe text */

.step-text {
  width: 55%;
}

.step-number {
  color: #56704c;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 3px;
  margin: 0 0 10px;
}

.step h2 {
  color: #b82e22;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 15px;
}

.step-text p {
  font-size: 17px;
  line-height: 1.65;
}


/* Partner result section */

.results {
  border-top: 3px double #b82e22;
  margin-top: 20px;
  padding-top: 55px;
  text-align: center;
}

.results-title {
  color: #b82e22;
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
  margin: 20px auto;
  max-width: 600px;
}

.results-intro {
  font-size: 18px;
  font-style: italic;
  line-height: 1.6;
  margin: 0 auto 35px;
  max-width: 600px;
}


/* Partner photo gallery */

.result-gallery {
  display: grid;
  gap: 25px;
  grid-template-columns: 1fr 1fr;
  margin-top: 35px;
  text-align: left;
}

.result-item {
  background-color: #eee3c6;
  border: 1px solid #8f8068;
  box-sizing: border-box;
  padding: 20px;
}

.result-item img {
  border: 6px solid #fffaf0;
  box-sizing: border-box;
  filter: sepia(20%) contrast(90%);
  height: 260px;
  object-fit: cover;
  outline: 1px solid #8f8068;
  width: 100%;
}

.result-number {
  color: #56704c;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 3px;
  margin: 20px 0 8px;
}

.result-item h3 {
  color: #b82e22;
  font-size: 29px;
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 10px;
}

.result-item p {
  font-size: 17px;
  line-height: 1.5;
}


/* Result summary */

.result-summary {
  border-bottom: 1px solid #8f8068;
  border-top: 1px solid #8f8068;
  font-size: 18px;
  font-style: italic;
  line-height: 1.6;
  margin: 40px auto 0;
  max-width: 650px;
  padding: 20px 0;
}

.coming-soon {
  color: #56704c;
  font-size: 17px;
  font-style: italic;
  margin: 25px 0 5px;
}


/* Footer */

footer {
  border-bottom: 2px solid #b82e22;
  border-top: 2px solid #b82e22;
  font-size: 14px;
  padding: 35px;
  text-align: center;
}

.ending {
  color: #56704c;
  font-size: 22px;
  font-style: italic;
  margin-top: 0;
}

a {
  color: #b82e22;
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: bold;
}


/* Phone screen */

@media (max-width: 650px) {
  body {
    padding: 15px;
  }

  header {
    padding: 45px 25px 35px;
  }

  h1 {
    font-size: 40px;
  }

  main {
    padding: 10px 25px 35px;
  }

  .step,
  .step:nth-child(even) {
    display: block;
  }

  .step img,
  .step-text {
    width: 100%;
  }

  .step img {
    height: 240px;
    margin-bottom: 25px;
  }

  .results {
    padding-top: 40px;
  }

  .results-title {
    font-size: 37px;
  }

  .result-gallery {
    grid-template-columns: 1fr;
  }

  .result-item img {
    height: 280px;
  }
}