/* cheese.css by @david_sizemore */

/* ============================================
   BASE STYLES
   ============================================ */

body {
  background-color: #faf6ee;
  width: 100%;
  margin: auto;
  color: #000;
  text-align: center;
  overflow-x: hidden;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

/* Initial hidden state for images */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 
    opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Initial hidden state for text */
.scroll-reveal-text {
  opacity: 0;
  transform: translateY(20px);
  transition: 
    opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal-text.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Skip animations for hero elements */
.no-animate {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ============================================
   PARALLAX HERO
   ============================================ */

.big-cheese {
  position: relative;
  overflow: hidden;
}

.big-cheese img:first-child {
  transform-origin: center center;
  will-change: transform;
}

.big-cheese .brother-text {
  will-change: transform;
  position: relative;
}

/* ============================================
   BACKGROUND TRANSITIONS
   ============================================ */

.bg-transition {
  position: relative;
  transition: background-color 0.3s ease;
}

.has-blend::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--blend-color, transparent)
  );
  opacity: var(--blend-opacity, 0.7);
  pointer-events: none;
  z-index: 0;
}

/* Ensure content stays above blend */
.has-blend > * {
  position: relative;
  z-index: 1;
}

p {
}

img {
  width: 100%;
  margin: auto;
}

a {
  color: #000;
}

.text01 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 36px;
  text-align: justify;
  text-justify: inter-word;
  padding: 18px;
  margin: 0px auto;
  max-width: 600px;
}

.text02 {
  font-family: 'Source Serif Pro', serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: justify;
  text-justify: inter-word;
  text-indent: 28px;
  padding: 0px 18px;
  margin: 0px auto;
  max-width: 600px;
}

.text02b {
  font-family: 'Source Serif Pro', serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 30px;
  text-indent: 30px;
  text-align: justify;
  text-justify: inter-word;
  padding: 0px 18px;
  margin: 0px auto;
  max-width: 600px;
}

.text03 {
  font-family: 'Cutive Mono', monospace;
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  text-indent: 28px;
  text-align: justify;
  text-justify: inter-word;
  padding: 0px 18px;
  margin: 0px auto;
  max-width: 600px;
}

.text-small {
  font-size: 12px;
  line-height: 20px;
}

.text-med {
  font-size: 16px;
  line-height: 28px;
}

.text-large {
  font-size: 20px;
}

.back-norm {
  background: #faf6ee;
}

.back-pink {
  background: #f9e8e1;
}

.back-yellow {
  background: #fee996;
}

.half {
  width: 45%;
  padding: 24px 1% 0
}

.big-half {
  width: 100%;
}

.marg-48 {
  margin: 48px auto;
}

.brother-text {
  margin: -129% 0 0 -8%;
  max-width: 55%;
}

.scoop {
  margin: 0 auto -25%;
  max-width: 900px;
}

.editor-note {
    max-width: 120px;
    margin: -100% 0 0 0%;
    transform: rotate(90deg);
}

.cheese-plate {
    max-width: 900px;
    width: 90%;
    margin: 5% 0 0 7%;
}

.two-recipe {
    width: 103%;
    display: inline-block;
}

.end-layout {
    width: 44%;
    padding: 0 12px;  
}

@media only screen and (min-width : 720px) {

.big-half {
  width: 45%;
  padding: 24px 1% 0;
  display: inline-block
}

.big-quarter {
  width: 20%;
  padding: 24px 1% 0;
  display: inline-block
}

.newspaper {
  -webkit-column-count: 3; /* Chrome, Safari, Opera */
  -moz-column-count: 3; /* Firefox */
  column-count: 3;
  -webkit-column-gap: 40px; /* Chrome, Safari, Opera */
  -moz-column-gap: 40px; /* Firefox */
  column-gap: 40px;
  margin: 60px 40px;
}

.opener {
  float: left;
  max-width: 720px;
  margin: 0 -60px -80px 0;
}

.brother-text {
  margin: -146% 0 0 -8%;
  max-width: 55%;
  max-height: 720px;
}

.scoop {
  margin: 0 auto -9%;
  max-width: 900px;
}

.big-cheese {
    height: 840px;
    width: 100%;
    overflow: hidden;
}

.two-recipe {
    width: 49%;
    display: inline-block;
}

.editor-note {
    max-width: 120px;
    margin: -100% 0 0 0%;
}

.end-layout {
    width: 23%;
    padding: 0 12px;  
}


}