@font-face {
  font-family: 'National';
  src: url('fonts/national/National-Book.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'National';
  src: url('fonts/national/National-BookItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'National';
  src: url('fonts/national/National-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'National';
  src: url('fonts/national/National-SemiboldItalic.otf') format('opentype');
  font-weight: 600;
  font-style: italic;
}
@font-face {
  font-family: 'Ultramagnetic';
  src: url('fonts/YWFT-Ultramagnetic-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}
#snowflakeContainer {
  position: absolute;
  left: 0px;
  top: 0px;
}
.snowflake {
  padding-left: 15px;
  font-family: Cambria, Georgia, serif;
  font-size: 14px;
  line-height: 24px;
  position: fixed;
  color: #FFFFFF;
  user-select: none;
  z-index: 1000;
}
html,
body {
  padding: 0;
  margin: 0;
  background: #074a4f;
}
header {
  height: 55px;
  background: white;
  position: fixed;
  top: 0;
  transition: height 0.35s ease-in-out, top 0.35s ease-in-out, font-size 0.35s ease-in-out;
  width: 100%;
  z-index: 9;
  -moz-box-shadow: 0 25px 15px rgba(34, 34, 34, 0.5);
  -webkit-box-shadow: 0 25px 15px rgba(34, 34, 34, 0.5);
  box-shadow: 0 25px 15px rgba(34, 34, 34, 0.5);
}
header.expand {
  height: 275px;
}
header.nav-up {
  top: -25px;
}
/** LANDING PAGE **/
h1 {
  font-family: 'Sentinel A', 'Sentinel B', 'Sentinel', serif;
  font-size: 48px;
  font-weight: 300;
  color: #f3101d;
  padding-top: 35px;
  margin: 0 60px 8px 60px;
}
.subline {
  font-family: 'Sentinel A', 'Sentinel B', 'Sentinel', serif;
  font-style: italic;
  font-weight: 300;
  margin: 0 60px;
}
.panel {
  position: relative;
  background: #fbf2f5;
  max-width: 950px;
  color: #706774;
}
.panel a {
  color: inherit;
}
.panel a:hover {
  color: #f01829;
}
#panel-1 {
  margin: 100px auto 60px auto;
  padding-bottom: 80px;
}
#panel-2 {
  height: 50px;
  margin: 0 auto;
  cursor: pointer;
}
.landing-text {
  font-family: 'Sentinel A', 'Sentinel B', 'Sentinel', serif;
  font-size: 23px;
  line-height: 30px;
  width: 420px;
  margin: 0 0px 20px 60px;
  font-weight: 300;
}
.from {
  text-align: center;
  font-family: 'Sentinel A', 'Sentinel B', 'Sentinel', serif;
  font-weight: 300;
  font-style: italic;
  color: #698e6e;
  position: absolute;
  width: 100%;
  bottom: 0;
  height: 80px;
  font-size: 30px;
}
.fathom {
  font-weight: 600;
  font-style: normal;
}
.cooking-text {
  position: absolute;
  right: 0;
  line-height: 47px;
  font-family: 'National', sans-serif;
  font-weight: 300;
  color: #00747b;
  text-align: right;
  font-size: 30px;
  padding-right: 85px;
  bottom: 80px;
  width: 300px;
}
#front-arrow {
  display: inline-block;
  width: 30px;
  height: 10px;
  background: url('../img/arrow.png') no-repeat;
  background-size: 100%;
  position: absolute;
  top: 50%;
  right: 15px;
  margin-top: -2px;
}
.decor {
  position: absolute;
  right: 0;
  bottom: 0;
}
.whisk {
  position: absolute;
  right: 170px;
  bottom: 120px;
  width: 280px;
  height: 60px;
  background: url('../img/whisk-red.png') no-repeat;
  background-size: 100%;
  -webkit-transform: rotate(-45deg);
}
.home {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.home-bg {
  position: absolute;
  top: 0;
  left: 0;
  background: url('../img/tile-plaidA.jpg') #f01829;
  background-size: 150px;
  background-position: 0 75px;
  height: 100%;
  width: 100%;
}
.recipe-thumbs {
  margin: 30px 60px 30px 60px;
}
.recipe-thumb {
  width: 135px;
  height: 200px;
  overflow: hidden;
  display: inline-block;
  margin: 0 6px;
  float: left;
}
.recipe-thumbs:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.recipe-thumbs {
  display: inline-block;
}
/* start commented backslash hack \*/
* html .recipe-thumbs {
  height: 1%;
}
.recipe-thumbs {
  display: block;
}
/* close commented backslash hack */
.recipe-thumb-title {
  font-family: 'National', sans-serif;
  margin-top: 8px;
}
.recipe-thumb-illustration-container {
  width: 135px;
  height: 135px;
  overflow: hidden;
  position: relative;
}
.recipe-thumb-illustration {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.recipe-thumb-illustration img {
  width: 100%;
  height: 100%;
}
/** RECIPES PAGE **/
.logo-bar {
  left: 0;
  top: 0;
  right: 0;
  height: 27px;
  background: #000;
  padding-left: 10px;
  padding-top: 3px;
  position: absolute;
}
.inner-pages {
  font-size: 28px;
  color: rgba(255, 255, 255, 0.9);
  position: absolute;
  text-align: center;
  top: -20px;
  right: 0;
  left: 0;
  transition: all 0.35s ease-in-out;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  z-index: 2;
}
.nav-up .inner-pages {
  top: -1px;
  font-size: 22px;
}
#f-logo {
  font-family: 'Sentinel A', 'Sentinel B', 'Sentinel', serif;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  position: fixed;
  top: 32px;
  left: 50px;
  font-size: 28px;
  transition: height 0.35s ease-in-out, top 0.35s ease-in-out, font-size 0.35s ease-in-out;
  -webkit-font-smoothing: antialiased;
  z-index: 9;
}
#f-logo a {
  color: inherit;
  text-decoration: none;
}
#f-logo a:hover {
  color: #ffffff;
}
#f-logo.nav-up {
  font-size: 24px;
  top: 22px;
  line-height: 24px;
}
#f-logo.landing {
  position: absolute;
  left: 50%;
  margin-left: -475px;
}
#social {
  font-family: 'Sentinel A', 'Sentinel B', 'Sentinel', serif;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  position: fixed;
  right: 50px;
  text-align: right;
  width: 100px;
  line-height: 24px;
  top: 36px;
  font-size: 26px;
  transition: height 0.35s ease-in-out, top 0.35s ease-in-out, font-size 0.35s ease-in-out;
  z-index: 9;
  z-index: 2;
}
#social a {
  color: inherit;
  text-decoration: none;
  margin-left: 5px;
}
#social a:hover {
  color: #ffffff;
}
#social.nav-up {
  font-size: 24px;
  top: 23px;
}
#social.nav-up #twitter {
  right: 26px;
}
#social.nav-up #facebook {
  font-size: 20px;
}
#social.landing {
  position: absolute;
  right: 50%;
  margin-right: -475px;
}
#twitter {
  line-height: 24px;
  position: absolute;
  right: 30px;
  top: -1px;
}
#facebook {
  font-size: 22px;
  margin-top: 0px;
  padding-bottom: 2px;
  position: absolute;
  right: 0;
  top: 0;
}
#recipe-nav {
  height: 40px;
  background: #fff;
  margin-top: 54px;
  width: 100%;
  text-align: center;
  position: relative;
  box-sizing: border-box;
}
.nav-up .recipe-dot {
  margin-top: 15px;
}
.recipe-dot {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  display: inline-block;
  margin: 10px 8px;
  cursor: pointer;
}
.recipe-dot.active {
  border: 1px solid #ffffff;
  background: #ffffff;
}
.recipe-swiper {
  position: absolute;
  top: -370px;
  left: 0;
  width: 100%;
  bottom: 0;
  display: none;
}
#next-recipe,
#prev-recipe {
  position: fixed;
  top: 0;
  height: 100%;
  width: 100px;
  left: 50%;
  height: 100px;
  top: 50%;
  margin-top: -50px;
  z-index: 3;
}
#next-recipe {
  margin-left: 475px;
}
#next-recipe:hover {
  cursor: pointer;
}
#prev-recipe {
  margin-left: -575px;
}
#prev-recipe:hover {
  cursor: pointer;
}
.arrow {
  font-family: 'National', sans-serif;
  font-size: 60px;
  position: absolute;
  text-align: center;
  line-height: 100px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
#recipes {
  max-width: 952px;
  width: 100%;
  margin: 65px auto 0 auto;
  position: relative;
}
.recipe-container {
  width: 100%;
  color: #dec6c2;
  background: #ff4569;
  position: relative;
  display: none;
}
.recipe-container.active {
  z-index: 2;
}
.recipe-illustration-container {
  width: 950px;
  left: 50%;
  margin-left: -475px;
  height: 400px;
  overflow: hidden;
  position: fixed;
  top: 0;
  padding-top: 95px;
  z-index: -1;
}
.recipe-illustration {
  position: absolute;
  left: 50%;
  margin-left: -475px;
  width: 950px;
  height: 400px;
  margin-top: 94px;
  top: 0;
  background: #ddd;
  overflow: hidden;
}
.recipe-illustration img {
  width: 100%;
  height: 100%;
}
.recipe-illustration-composite {
  position: absolute;
  left: 50%;
  margin-left: -475px;
  width: 950px;
  height: 400px;
  margin-top: 95px;
  top: 0;
  background: #ddd;
  overflow: hidden;
}
.recipe-illustration-left {
  left: 0;
  width: 340px;
}
.recipe-illustration-middle {
  left: 340px;
  width: 270px;
}
.recipe-illustration-right {
  right: 0;
  width: 340px;
}
.recipe-illustration-part {
  position: absolute;
  top: 0;
  height: 400px;
}
.recipe-illustration-part img {
  width: 100%;
  height: 100%;
}
.recipe-text {
  width: 100%;
  padding: 50px 70px;
  box-sizing: border-box;
  margin-top: 495px;
}
.recipe-info {
  position: absolute;
  right: 50px;
  top: 65px;
  width: 250px;
  font-family: 'National', sans-serif;
  border: none;
  font-weight: 600;
  padding: 18px;
  -webkit-font-smoothing: antialiased;
  font-size: 20px;
}
.recipe-name {
  font-size: 20px;
  font-weight: 600;
  padding: 0 0 18px 18px;
  margin: 0 0 18px -18px;
  border-bottom: 1px solid #dec6c2;
}
.recipe-from .value {
  text-transform: capitalize;
}
.label,
.value {
  display: inline-block;
  font-size: 18px;
}
.label {
  width: 60px;
}
.recipe-title {
  font-family: 'Sentinel A', 'Sentinel B', 'Sentinel', serif;
  font-size: 62px;
  line-height: 66px;
  font-weight: 300;
  max-width: 505px;
  margin-top: 0;
  margin-left: 20px;
  margin-bottom: 10px;
  -webkit-font-smoothing: antialiased;
}
.recipe-fun-title {
  margin-top: 10px;
  margin-left: 20px;
  margin-bottom: 50px;
  font-family: 'Sentinel A', 'Sentinel B', 'Sentinel', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 30px;
  max-width: 505px;
  -webkit-font-smoothing: antialiased;
}
.recipe-details {
  position: relative;
}
.part {
  font-family: 'Sentinel A', 'Sentinel B', 'Sentinel', serif;
  font-size: 24px;
  padding-bottom: 7px;
  margin-bottom: 10px;
  padding-left: 0;
  margin-left: 20px;
  margin-top: 10px;
  display: inline-block;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
}
.ingredients-container {
  width: 200px;
  position: absolute;
  left: 0;
  top: -18px;
}
.directions-container {
  margin-left: 250px;
}
.ingredients {
  margin: 0 20px 40px 20px;
  -webkit-font-smoothing: antialiased;
}
.ingredients:last-child {
  margin-bottom: 50px;
}
.ingredient {
  margin-bottom: 12px;
}
.ingredient-number {
  font-family: 'Sentinel A', 'Sentinel B', 'Sentinel', serif;
  font-size: 72px;
  font-weight: 300;
  position: relative;
  display: inline-block;
  height: 72px;
  line-height: 72px;
}
.big-fraction {
  width: 48px;
}
.big-fraction .ingredient-fraction {
  font-weight: 300;
  position: relative;
  top: auto;
  right: auto;
}
.big-fraction .numerator,
.big-fraction .denominator {
  font-size: 44px;
  position: absolute;
}
.big-fraction .fraction-slash {
  position: absolute;
  top: 8px;
  left: 15px;
  font-size: 46px;
}
.big-fraction .numerator {
  top: 0;
  left: 0;
}
.big-fraction .denominator {
  top: 21px;
  left: 23px;
}
.ingredient-fraction {
  font-family: 'Sentinel A', 'Sentinel B', 'Sentinel', serif;
  font-size: 30px;
  font-weight: 400;
  position: absolute;
  top: -9px;
  right: 0;
}
.numerator,
.denominator {
  font-size: 19px;
  position: absolute;
}
.fraction-slash {
  position: absolute;
  top: 2px;
  left: 8px;
  font-size: 20px;
}
.numerator {
  top: 0;
  left: 0;
}
.denominator {
  top: 7px;
  left: 13px;
}
.ingredient-text {
  font-family: 'National', sans-serif;
  font-size: 18px;
  line-height: 19px;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
}
.recipe-story {
  margin: 0 20px 50px 20px;
  font-family: 'Sentinel A', 'Sentinel B', 'Sentinel', serif;
  font-size: 24px;
  line-height: 30px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
.divider {
  font-family: 'National', sans-serif;
  font-size: 18px;
  padding: 10px 20px;
  border-top: 1px solid #dec6c2;
  border-bottom: 1px solid #dec6c2;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}
.directions {
  font-family: 'National', sans-serif;
  font-size: 20px;
  line-height: 26px;
  -webkit-column-gap: 30px;
  -moz-column-gap: 30px;
  column-gap: 30px;
  padding: 0 20px;
  margin-top: 20px;
  -webkit-font-smoothing: antialiased;
}
.directions p {
  padding: 0;
  margin: 0 0 20px 0;
}
footer {
  text-align: center;
  font-family: 'National', sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  color: #ddd;
  padding: 10px 0;
}
footer a {
  color: inherit;
}
a {
  color: #ddd;
  text-decoration: none;
}
a:hover {
  color: #fff;
}
@media (max-width: 1030px) {
  #next-recipe,
  #prev-recipe {
    width: 50px;
  }
  #next-recipe {
    left: auto;
    margin-left: 0;
    right: 0;
  }
  #prev-recipe {
    left: 0;
    margin-left: 0;
    z-index: 8;
  }
}
@media (max-width: 950px) {
  #social.landing {
    right: 20px;
    margin-right: 0;
  }
  #f-logo.landing {
    left: 20px;
    margin-left: 0;
  }
  #panel-1 {
    width: auto;
    margin-left: 20px;
    margin-right: 20px;
  }
}
@media (max-width: 900px) {
  .decor {
    position: relative;
    height: 210px;
    bottom: -60px;
  }
  .recipe-title {
    margin-bottom: 15px;
    font-size: 64px;
    line-height: 68px;
  }
  .recipe-info {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    margin: 0 20px 50px 20px;
  }
  .divider {
    font-size: 16px;
  }
  .recipe-name {
    font-size: 18px;
  }
  .recipe-fun-title,
  .recipe-title {
    margin-right: 20px;
  }
  .recipe-info {
    padding: 0;
  }
}
@media (max-width: 767px) {
  .directions-container {
    margin-left: 0;
  }
  .ingredients-container {
    width: 100%;
    position: relative;
  }
  .ingredients {
    margin-bottom: 14px;
  }
  .ingredients:last-child {
    margin-bottom: 30px;
  }
  .ingredient {
    width: 120px;
  }
  .ingredient-text {
    font-size: 17px;
    line-height: 20px;
  }
}
@media (max-width: 525px) {
  .panel {
    width: 300px;
  }
  .decor {
    padding-top: 40px;
    bottom: 0;
  }
  h1 {
    font-size: 36px;
  }
  .landing-text {
    font-size: 22px;
    line-height: 28px;
    margin: 0 30px 20px 30px;
    width: auto;
  }
  .recipe-dot {
    margin-top: 15px;
    margin-right: 6px;
    margin-left: 6px;
  }
  #recipe-nav {
    padding-right: 30px;
  }
  #panel-1 {
    padding-bottom: 0px;
    height: auto;
    margin-top: 50px;
  }
  .from {
    font-size: 24px;
  }
  .whisk {
    right: auto;
    left: -10px;
  }
  .cooking-text {
    font-size: 24px;
    padding-right: 30px;
    bottom: 70px;
  }
  .recipe-illustration-container {
    width: 470px;
    margin-left: -235px;
    height: 200px;
  }
  .recipe-illustration-composite,
  .recipe-illustration {
    margin-left: -238px;
    width: 475px;
    height: 200px;
  }
  .recipe-illustration-left,
  .recipe-illustration-right {
    width: 171px;
  }
  .recipe-illustration-middle {
    left: 170px;
    width: 135px;
  }
  .recipe-illustration-left,
  .recipe-illustration-middle,
  .recipe-illustration-right {
    height: 200px;
  }
  .recipe-text {
    margin-top: 295px;
  }
  .recipe-fun-title {
    margin-bottom: 30px;
  }
  .recipe-info {
    margin-bottom: 30px;
  }
}
@media (max-width: 500px) {
  .recipe-thumbs {
    text-align: center;
  }
  header {
    top: -25px;
  }
  .inner-pages {
    left: -29px;
    top: 4px;
    font-size: 20px;
  }
  .nav-up .inner-pages {
    top: 4px;
    font-size: 20px;
  }
  #social {
    right: 10px;
    top: 13px;
    font-size: 24px;
  }
  #social.nav-up {
    top: 13px;
  }
  #twitter {
    right: 26px;
  }
  #facebook {
    font-size: 20px;
  }
  #f-logo {
    top: 14px;
    left: 10px;
    font-size: 24px;
    line-height: 24px;
  }
  #f-logo.nav-up {
    top: 14px;
  }
  .recipe-illustration-composite,
  .recipe-illustration {
    margin-top: 69px;
  }
  .recipe-text {
    padding: 30px 20px 50px 20px;
    margin-top: 269px;
  }
  .recipe-story {
    font-size: 20px;
    line-height: 26px;
  }
  #next-recipe {
    display: none;
  }
  #prev-recipe {
    display: none;
  }
  .recipe-swiper {
    display: block;
  }
}
@media (max-width: 459px) {
  .recipe-thumbs {
    width: 300px;
    margin: 30px auto;
  }
  .subline,
  h1 {
    margin: 0 30px 20px 30px;
    width: auto;
  }
}
@media (max-width: 367px) {
  .recipe-thumbs {
    margin: 30px 15px;
    width: auto;
  }
  .recipe-thumb {
    float: none;
  }
}
@media (max-width: 320px) {
  .inner-pages {
    font-size: 25px;
    top: -19px;
    left: -38px;
  }
}
