:root {
  --marinara-red: #cf1c44;
  --leafy-green: #0b9446;
  --wine: #5e1211;
  --espresso: #543136;
  --cafe: #7b573e;
  --cannoli: #b7b09c;
}

/*======*/
/* Body */
/*======*/

/* 
 * Webkit/flex display stuff is to sticky the footer at the bottom of the screen.
 * Pulled this fallback stuff from:
 * https://thatemil.com/blog/2013/11/03/sticky-footers-flexbox-and-ie10/
 * No support for IE 9, but whatever.
 */
html, body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  
  -webkit-box-orient: vertical;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  
  min-height: 100vh;

  margin: 0em;
  background-color: white;
  font-size: 100%;
}

/*=========*/
/* Content */
/*=========*/

/* 
 * Webkit/flex display stuff is to sticky the footer at the bottom of the screen.
 * Pulled this fallback stuff from:
 * https://thatemil.com/blog/2013/11/03/sticky-footers-flexbox-and-ie10/
 * No support for IE 9, but whatever.
 */
main {
  -webkit-box-flex: 1 0 auto;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
  -webkit-flex: 1 0 auto;
}

main section {
  margin: 3em;
  font-size: 1.5rem;
  font-family: "Cardo";
  color: #7b573e;
  color: var(--cafe);
}

main section h1 {
  font-size: 4rem;
  font-weight: normal;
  margin: 0;
  padding: 0;
}

main section h2 {
  font-size: 3rem;
  font-weight: normal;
  margin: 0;
  padding: 0;
}

main h3, main h4 {
  font-size: 2.5rem;
  font-weight: normal;
  margin: 0.6em 0em;
}

main section a {
  text-decoration: none;
  color: #5e1211;
  color: var(--wine);
  font-family: "Cardo Bold";
  margin: 0;
  padding: 0;
}

main section a:hover {
  text-decoration: underline;
}

/*========*/
/* Navbar */
/*========*/

#navbar {
  list-style-type: none;
  margin: 0rem;
  padding: 0rem;
  overflow: hidden;
  background-color: #cf1c44;
  background-color: var(--marinara-red);
  font-family: "Roboto Slab";
  font-size: 1.2rem;
}

#navbar > li {
  min-width: 4.8em;
  float: left;
}

#navbar > li a {
  display: block;
  color: white;
  text-align: center;
  padding: 0.7em;
  text-decoration: none;
}

#navbar > li a:hover, #navbar > li a.active {
  background-color: #5e1211;
  background-color: var(--wine);
}

/*========*/
/* Footer */
/*========*/

#footer > div {
  color: white;
  font-family: "Roboto Slab Light";
  background-color: #cf1c44;
  background-color: var(--marinara-red);
}

#footer > div::before, #footer > div::after {
  content: "";
  display: table;
}

#footer > div > div {
  margin: 0.6em 1em;
  border-bottom: 1px solid #5e1211;
  border-bottom: 1px solid var(--wine);
}

#footer > div > div:last-of-type {
  border-bottom: none;
  color: #543136;
  color: var(--espresso);
}

#footer > div > div > ul {
  padding: 0em;
  margin-bottom: inherit;
  margin-top: inherit;
  list-style-type: none;
  overflow: hidden;
}

#footer > div > div > ul > li {
  float: left;
  padding: 0em 1em 0em 0em;
}

#footer > div > div > ul > li a {
  text-decoration: none;
  color: white;
}

#footer > div > div > ul > li a:hover {
  text-decoration: underline;
}

#footer > div > div > p {
  margin-bottom: inherit;
  margin-top: inherit;
}

/*============*/
/* Top banner */
/*============*/

#top-banner {
  width: 100%;
  overflow: hidden;
  background-image: url("/g-nikolai-kotula/images/food/food-banner.jpg");
  background-position: -220% 30%;
}

@media screen and (min-width:56em) {
  #top-banner {
    height: 150px;
  }
}

#top-banner > a > img {
  vertical-align: top;
  max-height: 100%;
  max-width: 100%;
}

.logo {
  background-color: white;
}

/*======*/
/* MISC */
/*======*/

.grid-info ul {
  margin: 0.0em;
  padding: 0.0em;
  vertical-align: top;
  list-style-type: none;
}

.grid-info > section {
  font-size: 1em;
  display: inline-block;
  vertical-align: top;
  padding: 0em 1.5em;
  margin: 1em 0em;
}

/*=======*/
/* Fonts */
/*=======*/

@font-face {
  font-family:"Cardo Bold";
  src:url("/g-nikolai-kotula/css/fonts/ttf/Cardo-Bold.ttf") format("truetype");
}

@font-face {
  font-family:"Cardo Italic";
  src:url("/g-nikolai-kotula/css/fonts/ttf/Cardo-Italic.ttf") format("truetype");
}

@font-face {
  font-family:"Cardo";
  src:url("/g-nikolai-kotula/css/fonts/ttf/Cardo-Regular.ttf") format("truetype");
}

@font-face {
  font-family:"Roboto Slab Bold";
  src:url("/g-nikolai-kotula/css/fonts/ttf/RobotoSlab-Bold.ttf") format("truetype");
}

@font-face {
  font-family:"Roboto Slab Light";
  src:url("/g-nikolai-kotula/css/fonts/ttf/RobotoSlab-Light.ttf") format("truetype");
}

@font-face {
  font-family:"Roboto Slab";
  src:url("/g-nikolai-kotula/css/fonts/ttf/RobotoSlab-Regular.ttf") format("truetype");
}

@font-face {
  font-family:"Roboto Slab Thin";
  src:url("/g-nikolai-kotula/css/fonts/ttf/RobotoSlab-Thin.ttf") format("truetype");
}