.recipe-header {
  position: relative;
  width: 100%;
}

.recipe-header-image,
.recipe-header-image-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
}

.recipe-header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-header-image-overlay {
  z-index: 2;
  background-color: rgba(54, 54, 54, 0.5);
}

.recipe-header-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
  color: #ffffff;
  font-family: "Oswald", sans-serif;
  text-shadow: 1px 1px 2px #00000073;
}

.recipe-header-title {
  text-transform: uppercase;
  font-size: 55px;
  font-weight: 600;
  line-height: 60px;
  text-align: center;
  margin-bottom: 20px;
  max-width: 1200px;
}

.recipe-header-author {
  font-family: "Roboto", sans-serif;
  font-size: 28px;
  font-weight: 600;
}

.recipe-header-date {
  font-family: "Roboto", sans-serif;
  font-size: 22px;
  font-weight: 600;
}

.line-divider {
  width: 68px;
  height: 4px;
  background-color: #ffffff;
  margin: 30px 0;
  transform: skew(-45deg);
}

.recipe-header-boxes {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 0 20px;
}

@media all and (min-width: 600px) {
  .recipe-header-boxes {
    display: flex;
    flex-wrap: nowrap;
    width: 500px;
    padding: 0;
  }
}

.recipe-header-box {
  padding: 20px;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  width: 100%;
  text-align: center;
}

.recipe-header-box p {
  font-size: 28px;
  margin-bottom: 0;
}

.recipe-header-box span {
  font-size: 16px;
  display: inline-block;
}

.recipe-header-buttons {
  margin-top: 30px;
}

.recipe-header-buttons .button {
  width: 200px;
}

.recipe-header-buttons .button:focus {
  background-color: #000000;
}

.recipe-content {
  padding: 0 20px 20px;
}

@media all and (min-width: 1200px) {
  .recipe-content {
    padding: 0 0 20px;
  }
}

.recipe-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 40px;
}

.recipe-red-box {
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  background-color: #ffe8e8;
  padding: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

@media all and (min-width: 600px) {
  .recipe-red-box {
    flex-wrap: nowrap;
    justify-content: initial;
  }
}

.recipe-red-box .recipe-red-box-text {
  width: 100%;
  margin-top: 10px;
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-size: 28px;
  font-weight: 600;
}

@media all and (min-width: 600px) {
  .recipe-red-box .recipe-red-box-text {
    flex: 1;
    width: auto;
    margin-top: 0;
  }
}

.recipe-content-description {
  font-family: "Roboto", sans-serif;
  margin: 40px 0;
  font-size: 22px;
  font-weight: normal;
  line-height: 30px;
  position: relative;
}

.recipe-content-description--trim {
  margin-bottom: 10px;
}

.recipe-content-description--trim:after {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  content: "";
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

.recipe-content-description h1,
.recipe-content-description h2,
.recipe-content-description h3,
.recipe-content-ingredients h2 {
  font-family: "Oswald", sans-serif;
  font-size: 34px;
  font-weight: 600;
  text-transform: uppercase;
}

.recipe-content-description b,
.recipe-content-description strong {
  font-weight: 600;
}

.recipe-content-ingredients {
  font-family: "Roboto", sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 60px;
  width: 100%;
}

.recipe-content-ingredient {
  margin-bottom: 20px;
  display: flex;
}

.recipe-content-ingredient-text {
  width: 100%;
  background-color: #efefef;
  display: flex;
  align-items: center;
  padding: 10px;
}

.recipe-content-ingredient-text img {
  margin-right: 20px;
  width: 22px;
  height: 16px;
}

.recipe-content-ingredient .amount {
  background-color: #eaf5ed;
  width: 130px;
  padding: 10px;
  text-align: right;
}

.recipe-content-calculator {
  margin: 50px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.recipe-content-copyright {
  text-transform: uppercase;
  font-family: "Roboto", sans-serif;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  margin-top: 50px;
}

.recipe-content-copyright--small-margin {
  margin-top: 10px;
}

.recipe-green-box {
  background-color: #dbffec;
  padding: 20px;
  color: #363636;
  font-weight: 600;
  text-align: center;
  margin-top: 40px;
}

@media all and (min-width: 600px) {
  .recipe-green-box {
    padding: 40px 110px;
  }
}

.recipe-green-box .title {
  font-family: "Oswald", sans-serif;
  font-size: 34px;
  text-transform: uppercase;
}

.recipe-green-box .recipe-green-box-progress {
  margin: 10px 0 20px;
  height: 20px;
  width: 100%;
  border-radius: 10px;
  position: relative;
  background-color: #bfe5d1;
}

.recipe-green-box .text {
  font-family: "Roboto", sans-serif;
  font-size: 28px;
  line-height: 38px;
}

.recipe-green-box .recipe-green-box-progress:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10%;
  height: 100%;
  background-color: #04aa52;
  border-radius: 10px;
}

.recipe-print--inactive {
  display: none !important;
}

.print-recipe-header-text {
  font-size: 24px;
  font-family: "Oswald", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
}

.print-recipe-title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 30px;
  text-transform: uppercase;
}

.recipe-print-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.recipe-print-content {
  width: 100%;
  font-size: 19px;
  font-family: "Roboto", sans-serif;
  padding-top: 30px;
  margin-bottom: 60px;
}

.recipe-print-content h2,
.recipe-print-content h3 {
  font-family: "Oswald", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 23px;
  margin-top: 0.5rem;
  margin-bottom: 0.8rem;
}

.recipe-print-2nd-page {
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.recipe-print-3rd-page {
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.recipe-print-1st-page .print-recipe-title {
  text-align: center;
}

.recipe-print-1st-page,
.recipe-print-2nd-page,
.recipe-print-3rd-page,
.recipe-print-4th-page {
  min-height: 1575px;
  position: relative;
}

.recipe-print-4th-page .recipe-content-description h2,
.recipe-print-4th-page .recipe-content-description h3,
.recipe-print-4th-page .recipe-content-ingredients h2,
.recipe-print-4th-page .recipe-content-ingredients h3 {
  font-family: "Oswald", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 23px;
  margin-top: 0.5rem;
  margin-bottom: 0.8rem;
}

.recipe-print-3rd-page p {
  font-size: 19px;
}

.recipe-print-3rd-page .recipe-content-ingredient-text {
  font-size: 19px;
}

.recipe-print-width-height {
  min-height: 1500px;
  min-width: 1120px;
  max-width: 1121px;
}

.recipe-print-footer {
  position: absolute;
  bottom: 0;
  align-self: center;
  text-align: center;
}

.recipe-buttons {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

.recipe-buttons .recipe-save-pdf-for-later {
  margin: 0;
}
