@font-face {
  font-family: 'Lato';
  src: url('/assets/Lato-Regular.ttf');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 18px;
  font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#nav {
  background-color: #616161;
  color: white;
  font-weight: bold;
  padding: 18px 24px;
  position: sticky;
  top: 0
}

#content {
  display: flex;
  flex-direction: column;
}

.title-label {
  font-size: 2rem;
  font-weight: bold;
}

.section-label {
  font-size: 1.5rem;
  padding-left: 10px;
  margin-bottom: 16px;
}

/***************************/
/* Recipe list             */
/***************************/

#recipe-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 18px;
  background-color: #e0e0e0;
  border-bottom: 1px solid #616161;
}

#recipe-list button {
  font-size: 1.1rem;
  border: 0;
  padding: 14px 22px;
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.15);
}

/***************************/
/* Images                  */
/***************************/

#recipe-image {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
}

/***************************/
/* Image navigator         */
/***************************/

#image-navigator {
  display: flex;
  justify-content: center;
  padding: 4px;
}

#image-navigator > div {
  width: 20px;
  height: 20px;
  cursor: pointer;
  border-radius: 10px;
  margin: 6px;
  background-color: lightgray;
}

  .navigator-circle-active, #image-navigator > div:hover {
    background-color: gray !important;
  }

/***************************/
/* Ingredients             */
/***************************/

#ingredients {
  padding: 0 12px 32px 12px;
}

#ingredient-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 10px 0;
}

  #ingredient-list-item #bullet {
    width: 15px;
    height: 15px;
    border-radius: 10px;
    background-color: #66bb6a;
  }

  #ingredient-list-item #text {
    width: 100%;
  }

/***************************/
/* Introduction            */
/***************************/

#introduction {
  padding: 0 12px 32px 12px;
}

  #introduction > div {
    padding: 16px 8px 0 8px;
    text-align: justify;
  }

/***************************/
/* Description             */
/***************************/

#description > div {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

  #description > div div {
    padding: 8px 12px 8px 8px;
    text-align: justify;
  }

/***************************/
/* Tags                    */
/***************************/

#tag-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0 8px 8px 8px;
}

.tag {
  padding: 8px 16px;
  margin: 4px 4px;
  color: white;
  border-radius: 20px;
  background-color: #66bb6a;
}
