/* Overall */

html, body {
  font-family: "Rubik", sans-serif;
  font-size: 13pt;
  line-height: 1.5;
  color: #111;
  padding: 10px 0 10px 0;
}

/* Differences per media size */

/* For little screens */
@media screen and (max-width: 500px){
  #content {
    width: 90%;
    height: 100%;
    margin: auto;
  }
  html, body{
    font-size: 1em;
  }
  #sidebar {
    width: 100%;   
  }
  #portrait {
    width: 100%;
    margin: 0 auto;
    font-size: 50pt;
  }
  #portrait > img {
    width: 30%;
  }
  #sidebar > .text {
    display: none;
  }
  #sidebar > .mobile {
    text-align: center;
    border-bottom: 1px solid;
  }
  .mobile > ul {
    list-style: none;
    padding-left: 0;
  }
  .mobile > ul > li {
    padding-bottom: 2ex;
  }
}

/* Everything else */
@media screen and (min-width: 501px){
  #container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 900px;
    margin: auto;

  }
  .mobile {
    display: none;
  }
  #content {
    width: 60%;
  }
  #sidebar {
    width: 30%;
    margin: 0 0 0 2em;
  }
  #sidebar > div {
    margin: 1.5ex 0;
  }

  .cols {
    -webkit-columns: 100px 2; /* Chrome, Safari, Opera */
    -moz-columns: 100px 2; /* Firefox */
    columns: 100px 2;
  }

  
}

/* General typographic elements */

#brand {
  font-family: "Alegreya";
  font-weight: 400;
  text-align: center;
  margin-bottom: 0;
}

#brand > a {
  color: #222;
  background-color: inherit;
  padding: 0px 2px;
}

#portrait {
  font-size: 50pt;
  text-align: center;
}

#portrait > img {
  margin: 0 0 1ex 0;  
  /* eventually */
}

#side-quote {
  color: #444;
  font-family: "Alegreya";
  font-size: 1rem;
}

/* .footnotes {
  font-size: 0.85em;
  border-top: solid 1px;
} */

a {
  text-decoration: none;
  color: #222;
  background-color: #fff533;
  padding: 0px 2px;
}

i {
  color: #111;
  background-color: #ff8080;
  padding: 0px 2px;
  font-style: normal;
}


a:hover {
  text-decoration: underline double;
}

/* ul {
  list-style: none;
} */

blockquote {
  border-left: #ff8080 solid 1px;
  padding: 0 0 0 1em;
  font-size: 0.95em;
}

/* Recipe-specific */


.recipe > .rating {
  text-align: center;
  margin: 1ex;
}

.recipe > .source {
  text-align: center;
  margin: 1ex;
  font-style: italic;
}

.recipe > .title {
  background-color: #ff8080;
  font-weight: 400;
  font-size: 1.5rem;
  text-align: center;
}



.recipe-content {
  font-family: "Alegreya", serif;
  font-size: 15pt;
}

.recipe-content > p > img {
  width: 100%
}

.recipe-nav {
  font-size: 0.95rem;
  margin: 1ex auto 5ex auto;
  width: 25%;
  height: 2ex;
  clear: both;
}

.chain-spiel {
  font-family: "Alegreya", serif;
  font-weight: 200;
  font-size: 13pt;
  margin: 2ex 0 2ex 0;
  border-bottom: solid 1px;
}

.chain-spiel > .title {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 14pt;
  text-align: center;
}

.recipe-list {
  list-style: none;
  padding-left: 0;
}

.invisible {
  visibility: hidden;
}