body {
  font-family: "franklin-gothic-urw", sans-serif;
  letter-spacing: 0;
  color: #333;
  line-height: 1.3;
}

h1 {
  font-family: "abril-titling", serif;
  text-align: center;
  margin-top: 0;
  padding-bottom: 0.4em;
  border-bottom: thin solid #ccc;
  margin-bottom: 0.3em;
}

/* navigation */

ul.navigation {
  display: flex;
  justify-content: flex-start;
  flex-direction: row-reverse;
  margin: 0;
}

.navigation li {
  list-style-type: none;
  padding: 5px 10px;
  font-family: "abril-titling";
}

a {
  color: #666;
}

/* page */

.page {
  width: 500px;
  margin: 0 auto;
  font-size: 130%;
}

.page ul {
  margin: 0;
}

@media (max-width: 500px) {
  .page {
    width: 100%;
  }
}


/* recipe */

.recipe-list ul {
  list-style-type: none;
}

.recipe-list-item {
  padding: 10px;
}

a.recipe-link :hover {
  display: block;
  background-color: #eee;
}

.recipe-list h2 {
  text-align: center;
}

.recipe-list .recipe-description {
  font-size: 0.8em;
}

.recipe-list a {
  text-decoration: none;
}

/* recipe page */

.recipe {
  padding: 10px;
}

h2 {
  font-family: "abril-titling", serif;
  font-size: 1.4em;
  margin-bottom: 0.4em;
}

.recipe-description {
  font-style: italic;
  margin-bottom: 0.4em;
}

.recipe-source-link a {
  text-decoration: none;
  color: #666;
  font-style: italic;
}

.recipe-source-link {
  font-size: 0.9em;
  margin-top: 0.6em;
  margin-bottom: 1.2em;
}

.recipe-metadata {
  border-top: thin solid #ccc;
  border-bottom: thin solid #ccc;
  overflow: auto;
  margin-bottom: 1.5em;
}

.recipe-metadata div {
  float: left;
  padding: .4em;
  margin: .4em 0;
  border-right: thin solid #ccc;
}

.recipe-metadata div:last-child {
  border: none;
}

.metadata-title {
  font-family: "abril-titling", serif;
  font-style: italic;
  letter-spacing: 1px;
}

[data-scrub-orientation] {
  border-bottom:1px dashed black; 
}

[data-scrub-orientation="Vertical"] {
  cursor: row-resize;
}

[data-scrub-orientation="Horizontal"] {
  cursor: col-resize;
}

.ingredients li {
  margin-bottom: 0.4em;
  font-size: 1.2em;
}

.instructions li {
  margin-bottom: 0.4em;
  font-size: 1.2em;
  line-height: 1.4em;
}

.frac {
  font-size: 75%
}

sup.frac {
  line-height: 10px;
  vertical-align: 120%
}

.recipe-description {
  flex: 1;
}

.recipe-description-metadata { 
  display: block;
}

.recipe-metadata {
  margin-to: 10px;
  margin-left: 0; 
}

@media (min-width: 800px) {
  .recipe-metadata {
    margin-left: 100px;
    white-space: nowrap;
  }

  .content-wrapper {
    display: flex;
    align-items: stretch;
    flex-flow: row nowrap;
    justify-content: space-between;
  }
    
  .ingredients {
    min-width: 200px;
    width: 200px;
  }
  
  .separator {
    margin: 25px;
    min-height: 100%;
    flex-basis: 2px;
    border-left: thin solid #ccc;
  }
  
  .instructions {
    
  }

  .recipe-description-metadata {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
  }
  
  .recipe-metadata div {
    padding: .4em 1em;
  }
}

@media (min-width: 1200px) {
  body .recipe {
    font-size: 150%;
  }
  
  .recipe {
    padding: 10px 40px;
  }
  
  .ingredients {
    min-width: 400px;
    width: 400px;
  }
  
}

@media (min-width: 1600px) {
  .recipe {
    width: 1520px;
    margin: auto;
  }
}
