
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    height: 100%;
  }

body {
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    font-family: "EB Garamond", serif;
    font-weight: 400;
    font-style: normal;
    align-items: center;
}

.page-content#page-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    margin: auto;
    align-items: center;
    justify-content: center;
}

p, li {
    font-size: 24px;
}

.background {
    background-image: url('../assets/images/background/grunge-folded-paper-texture-free.jpg');
    background-repeat: repeat-y;
    background-position: top center;
    background-attachment: scroll;
    background-size: 100% auto;
    min-height: 100vh;
}

.text-center {
    text-align: center;
}

.title {
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
    font-size: 36px;
}

.title.main-title {
    font-weight: 900;
    margin-bottom: 0;
    padding-top: 32px;
    font-size: 64px;
}

.tagline {
    font-family: "Cinzel Decorative", serif;
    font-weight: 300;
    font-size: 24px;
    margin-top: 0;
}

.image.potion-image {
    width: 300px;
    height: auto;
    align-items: center;
    margin: auto;
    display: block;
    border: 2px solid black;
}

.description {
    margin: 64px;
}

#recipes-list-title {
    margin: 24px;
}

.ingredients, .brewing {
    margin: 48px;
}

.ingredients-list, .brewing-instructions {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ingredients-list ul {
    list-style-type: disc;
    padding-left: 20px;
    width: 300px;
}

.ingredients-list li {
    margin-bottom: 6px;
}

.brewing-instructions ol {
    padding-left: 20px;
    width: 600px;
}

.brewing-instructions li {
    margin-bottom: 16px;
}

hr {
    border: none;
    border-top: 2px solid black;
    margin-top: 24px;
    margin-bottom: 24px;
    width: 50%;
    margin-left: auto;
    margin-right: auto
}

hr.mini-hr {
    width: 25%;
}

.recipes-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.recipes-list .button {
    padding: 8px;
    margin: 8px;
    border-radius: 8px;
    display: inline-block;
    cursor: pointer;
}

.button {
    border: 2px solid black;
    padding: 8px;
    margin: 8px;
    border-radius: 8px;
    display: inline-block;
    cursor: pointer;
    background-color: rgba(50, 50, 50, 0);
    font-family: "Cinzel Decorative", serif;
    font-weight: bold;
    font-size: large;
}

.button:hover {
    color: #c4a785;
    background-color: black;
}

.button.back-button {
    font-size: medium;
    padding: 4px;
    margin: 4px;
    margin-bottom: auto;
    border-radius: 4px;
    border-width: 1px;
}

.button.back-to-top {
    font-size: medium;
    padding: 4px;
    margin: 4px;
    margin-top: auto;
    border-radius: 4px;
    border-width: 1px;
}

@media (max-width: 768px) {
    body {
      font-size: 16px;
    }
  
    .title.main-title {
      font-size: 2.4rem;
      padding-top: 1rem;
      text-align: center;
    }
  
    .tagline,
    .title {
      font-size: 1.2rem;
      text-align: center;
    }
  
    .description {
      margin: 1.5rem;
      font-size: 1rem;
      text-align: center;
    }
  
    p, li {
      font-size: 1rem;
    }
  
    .image.potion-image {
      width: 90%;
      max-width: 300px;
    }
  
    .ingredients-list ul,
    .brewing-instructions ol {
      width: 90%;
    }
  
    .button {
      font-size: 1rem;
      padding: 6px 12px;
    }
  
    .button.back-button,
    .button.back-to-top {
      font-size: 0.9rem;
      padding: 4px 8px;
    }
  
    hr {
      width: 70%;
    }
  
    hr.mini-hr {
      width: 40%;
    }
  
    #recipes-list-title {
      font-size: 1.2rem;
      margin: 1rem;
      text-align: center;
    }
  }
