@font-face {
  font-family: 'JaapokkiEnchance';
  src: url('https://cdn.glitch.global/4db0e8f9-0416-4326-a1ca-57fff8198847/Jaapokkienchance-Regular.otf') format('opentype');
}
@font-face {
  font-family: 'Roboto-Black';
  src: url('https://cdn.glitch.global/299f7f81-350a-4f9b-913d-79f3daea2302/Roboto-Black.ttf') format('truetype');
}
@font-face {
  font-family: 'Roboto-Bold';
  src: url('https://cdn.glitch.global/299f7f81-350a-4f9b-913d-79f3daea2302/Roboto-Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Roboto-Medium';
  src: url('https://cdn.glitch.global/299f7f81-350a-4f9b-913d-79f3daea2302/Roboto-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Roboto-Thin';
  src: url('https://cdn.glitch.global/299f7f81-350a-4f9b-913d-79f3daea2302/Roboto-Thin.ttf') format('truetype');
}
@font-face {
  font-family: 'Roboto-Regular';
  src: url('https://cdn.glitch.global/299f7f81-350a-4f9b-913d-79f3daea2302/Roboto-Regular.ttf') format('truetype');
}

.gs {
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}

.shop-container {
  display: flex;
  flex-wrap: nowrap; /* Prevent wrapping */
  margin: 0 auto;
  width: 100%;
  margin-bottom: 0px;
  flex-direction: column;
}

#shop-all {
  box-shadow: 0 0 10px white, 0 0 15px white, 0 0 20px white, inset 0 10px 10px -8px white; 
}


  #contact .flex-container {
    display: flex;
    flex-direction: row; /* Default: side by side */
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
  }


/* Loading screen styles */
/* Loading screen without overflow */
#loading-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999; 
  background-color: black;
}

/* Loading screen styles */

.loading-animation {
  position: relative;
  width: 300px;
  height: 300px;
   scale: .33;
      filter: blur(0px);
  -webkit-filter: blur(0px);
}

#bread-loaf {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
      transform-origin: center center; 
}

#breadknife {
  position: absolute;
  z-index: 2;
  top: -80px; /* Start at the top of the bread */
  left: 30%;
  transform: translate(-50%, 0);
  scale: 1.2;
  animation: knife-saw .4s infinite ease-in-out alternate; /* Left-right sawing motion */
      transform-origin: center center; 
}

#bread-slice {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: top 1s ease-out, transform 1s ease-out, opacity 1s ease-out;
    transform-origin: center center; 
}

/* Sawing animation */
@keyframes knife-saw {
  0% {
    transform: translate(-55%, 0); /* Move slightly left */
  }
  100% {
    transform: translate(-45%, 0); /* Move slightly right */
  }
}




.localpickup { 
  color: white;
  text-shadow: #FC0 0 0 10px, #f2ddb2 0 0 20px;
  font-size: min(max(calc(1.75vw + .15em), 12px), 20px);
  font-family: 'Roboto-Black';
  top: min(calc(2vw + .5em), 40px);
  left: 1%;
  transform:rotate(-15deg);
  text-align: center;
  position: absolute;
}

.localpickupnav { 
  color: #f2ddb2;
  text-shadow: #c66d48 0 0 18px;
  font-size: 13px;
  line-height: .9em;
  font-family: 'Roboto-Black';
  text-align: center;
  white-space: nowrap;
  display: none;
}

.titleimg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
}
.titleimg img {
    max-width: 300px;
    width: min(calc(15vw + 3em), 300px);
}

.titleflex {
  display: flex;
  flex-direction: row;
  width: 97%;
}


.title1 {
  font-size: max(calc(1vw + .25em), 12px);
}

.title2 {
  font-size: max(calc(1vw + .25em), 12px);
}

.title3 {
  font-size: max(calc(2.5vw + .25em), 10px);
}

.titlebar1, .titlebar2 {
  margin: 0 auto;
  height: 30px;
  width: 97%;
  align-content: center;
  z-index: 3;
  border-radius: 5px; 
  line-height: max(calc(1.5vw + .3em), 10px);
}

.titlebar1 {
  background-color: rgba(242, 221, 178, .5);
}

.titlebar2 {
  background-color: rgba(198, 109, 72, .5);
}

.titlebarspan1, .titlebarspan2 {
    font-size: max(calc(1.5vw + .1em), 10px);
  font-family: 'Roboto-Black';
  margin: auto;
  width: 100%;
  color: #f2ddb2;
  display: block;
  text-align: center;
}


body {
    font-family: Arial, sans-serif;
    background-color: #000000;
    width: 100%;
}

body, ul {
    margin: 0;
    padding: 0;
}

button {
    margin: 0 auto;
}

h1 {
  font-family: 'Roboto-Bold', sans-serif;
  color: #ffffff;
  font-size: 4.35vw;
  line-height: 1.1;
  margin: 0 auto;
}

h2 {
  font-family: 'Roboto-Black', sans-serif;
  color: #ffffff;
  font-size: min(calc(1vw + .7em));
  margin: 0 auto;
  
}

.h2span {
  font-family: 'Roboto-Bold', sans-serif;
  color: #ffffff;
  font-size: min(calc(1vw + .6em));
  text-align: center;
  margin: 0 auto;
  margin-top: 5px;
}

h3 {
  font-family: 'Roboto-Thin', sans-serif;
  color: #000000;
  font-size: min(calc(2vw + .275em), 18.5px);
  text-align: center;
  margin: 0 auto;
  margin-top: 5px;
  white-space: nowrap;
  max-width: 100%;
}

.h3span {
  font-family: 'Roboto-Bold', sans-serif;

}

p {
  margin: 0 auto;
  color: #ffffff;
}

.product-button-label {
  font-size:min(calc(1vw + .4em), 20px);
}


/* Breakpoint for screens 1200px and above (3 columns) */
@media (min-width: 300px) {
    .case-studies-grid {
        grid-template-columns: 1fr 1fr 1fr; /* 3 columns */
    }
  

}


/* Breakpoint for screens 1200px and above (3 columns) */
@media (min-width: 600px) {
    .case-studies-grid {
        grid-template-columns: 1fr 1fr 1fr; /* 3 columns */
    }
  

}

.link {
  color: white;
  border-bottom: 2px solid blue;
}

/* NAV */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 2%;
    background-color: #000000;
    font-family: 'Roboto-Black', sans-serif;
    position: relative;
    z-index: 1000; 
    font-size: min(calc(.9vw + .5em), 20px);
}


/* Topnav */
.topnav {
    background-color: #000000;
    overflow: hidden;
    width: 100%;
    z-index: 1000;
    display: flex;
    padding: 5px 0px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid white;
    position: fixed;
    top: 0;
    left: 0;
    height: 30px;
      background-position: center;
    background-size: cover;
}

.topnav img.logo {
    height: 33px;
    margin-top: 1px;
    padding-left: 10px;
    cursor: pointer;
}



/* Sidenav */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 999;
    top: 0;
    right: 0;
    overflow-x: hidden; /* Prevent horizontal overflow */
    transition: 0.5s;
    padding-top: 40px;
    background-image: url('https://noellebread.com/images/NBC-Black-Fancy.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /*background-attachment: fixed;*/
}

.sidenav .nav-links {
    border-top: 2px solid white;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column; /* Stack links vertically */
}

.sidenav .nav-links li {
    margin: 0px 0;
}

.sidenav .nav-links a {
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    color: white;
    padding: 16px 20px;
    display: block;
    transition: 0.3s;
}

.sidenav .nav-links a:hover {
    background-color: white;
    color: black;
}

.closebtn {
    top: 0;
    right: 0;
    font-size: 36px;
    cursor: pointer;
    color: #f2ddb2;
    background-color: rgba(0,0,0,0);
    border: 0px;
    margin-left: 12.5px;
}

.closebtn:hover {
  color: #c66d48;

}

.logo {
    height: 8vw;
    padding: 4px; 
    margin-right: 7%;
    align-self: flex-start;
    align-self: center;
    cursor: pointer;
    background-size: contain;
    background-repeat: no-repeat;
}

.nav-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1.5vw;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: #ffffff;
    padding: 0px 5px;
    transition: color .75s;
}

.nav-links a.active {
    border-bottom: 2px solid #c66d48;
    color: #f2ddb2;
}

.nav-links a:hover {
    background-color: #555555;
}

.left-nav, .right-nav {
    display: flex;
    align-items: center;
  padding: 5px;
}

.right-nav {
    gap: 10px;
}

/* Additional styles for the new animated underline and brand logo section */
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 0;
    background-color: #f2ddb2;
    transition: width 0.75s ease-in-out;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger Menu for Small Screens */
.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #f2ddb2;
    scale: 150% 100%;
}

.hamburger:hover {
    color: #c66d48;
}

@media (max-width: 960px) {
    nav {
        font-size: calc(1.55vw + .5em);
    }
    .nav-links {
        display: none; /* Hide links by default */
        flex-direction: column;
        position: absolute;
        width: 100%;
        padding: 10px 0px;
        gap: 0;
    }
    
    .nav-links a {
        padding: 2% 0px;
        text-align: center;
        display: block;
        transform: translateX(-50%);
        left: 50%;
    }
    
    .nav-links.show {
        display: flex; /* Show when toggled */
    }
  
    .nav-links a.active {
        border-bottom: 2px solid #c66d48;
        color: #f2ddb2;
    }

    .nav-links a:hover {
        background-color: #555555;
    }

    .hamburger {
        display: block; /* Display hamburger icon */
    }
}  
  

@media (max-width: 960px) {
  
.titleimg {
    flex-direction: row;
    margin: 0 auto;
}
  
  .titleimg img {
    max-width: 200px;
    width: min(calc(14vw + 3.5em), 300px);
}

.titleflex {
  display: flex;
  flex-direction: column;
  width: 95%;
}
  
  .title1 {
  font-size: max(calc(2.5vw + .25em), 10px);
  margin-bottom: 27%;
}

.title2 {
  font-size: max(calc(2.5vw + .2em), 10px);
}
  
  .titlebarspan1, .titlebarspan2 {
    font-size: max(calc(2.25vw + .17em), 10px);
  }
  
  #nbctitlelogo {
  margin-right: 5% !important;
  margin-bottom: 0% !important;
}
  
}







/* HERO VIDEO DIV */
.hero {
    position: relative;
    overflow: hidden;
    height: 70vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#heroVideo {
    position: absolute;
    top: 20%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 100%;    /* Make it occupy the full width of its container */
    height: 70vh;   /* Set height to 50% of the viewport height */
    display: block; /* Remove any default spacing */
    object-fit: cover; /* This ensures the video covers the entire area */
    object-position: center; /* Center the video content */
    z-index: -1;
    transform: translate(-50%, -20%);
}

.hero-text {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    width: 100%;  /* Reduced width */
    max-width: 1250px;
}

.hero-text p {
    font-size: min(calc(1vw + .6em));
}

.hero-buttons {
    margin: 25px 0 0 0;
    display: flex;
    gap: 10px;
    z-index: 1;  /* To keep buttons above video */
}

.hero-buttons button {
    border: none;
    padding: 2px 10px 2px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 20px;  /* Added rounded corners */
    border: 1px solid white; 
    border-radius: 33px; 
    box-shadow: 0 0 10px white, 0 0 10px white;
    font-family: 'Roboto-Black', sans-serif;
    font-size: min(calc(1vw + .6em), 18px);
}

.hero-b1 {
    background-color:  #c66d48;
}

.hero-b1:hover {
    background-color:  #e98018;
}

.hero-b2 {
    background-color: #f2ddb2;
}

.hero-b2:hover {
    background-color: #f2eec6;

}


.plscale {
    transition: transform 0.2s ease-in-out;
}
.plscale:hover {
    transform: scale(1.15); /* Slightly scale the wrapper */
}



/* case studies */
.video-cover {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 84%;
    height: auto;
    max-height: 500px;
    max-width: 1200px;
    margin: 0px auto;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 2px solid white; 
    border-radius: 6vw;
    box-shadow: 0 0 25px white, 0 0 25px white;
}

.cover-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Case Studies Grid */
.case-studies-grid {
    display: grid;
    gap: 1vw;
    grid-template-columns: 1fr; /* Responsive columns */
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
}

.grid-item {
    padding: 5px;
    color: #ffffff;
    text-align: center;
}

.grid-item img {
    width: 100%;
    border-radius: 4%; /* rounded corners */
}

.grid-item:hover {
    background-color: #c66d48;
      border-radius: 4%; /* rounded corners */
}


/* Breakpoint for screens 1200px and above (3 columns) */
@media (min-width: 768px) {
    .case-studies-grid {
        grid-template-columns: 1fr 1fr 1fr; /* 3 columns */
    }
  

}


/* CARD */
.card-container {
    display: flex;
    gap: 1rem;  /* spacing between cards */
    justify-content: center;
    flex-wrap: wrap; /* allows the cards to wrap to next row on smaller screens */
    padding: 0rem 1rem;
}

.card {
    text-decoration: none;
    color: inherit; /* Prevents the link from applying default blue color and underline */
    border: 1px solid #e0e0e0;
    border-radius: 8px; /* rounded corners */
    overflow: hidden; /* Makes sure the child img with border-radius doesn't spill out */
    transition: transform 0.3s; /* Smoothens the hover effect */
    display: inline-block;
    width: calc(25% - 1rem); /* Makes each card roughly a quarter of the container's width minus the gap */
}

.card:hover {
    transform: translateY(-10px); /* Slight upward motion on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #f08000;
}

.card img {
    width: 100%; 
    border-top-left-radius: 8px;  /* rounded corners */
    border-top-right-radius: 8px; /* rounded corners */
}

.card-content {
 text-align: center;
  color: #ffffff;
  font-size: 2vw;
  line-height: 1;
  margin: 0 auto;
}

.card-content p {
 padding: 0px 5px;
}






/* MEDIA QUERY */
/*@media screen and (max-width: 768px) {
  .right-nav {
      gap: 10px;
      } 
    .nav-links a {
      font-size: 0.8rem;
      padding: 5px 5px;
      }
}


@media screen and (max-width: 435px) {
  .right-nav {
      gap: 2px;
      } 
  .nav-links a {
      font-size: 0.6rem;
      padding: 5px 5px;
      }
    .card {
      width: calc(50% - 1rem);
  }
}

@media screen and (max-width: 350px) {
  .nav-links a {
      font-size: 0.6rem;
  }
  .nav-links {
      gap: 0px;
  }
  .card {
      width: 100%;  /* 1 card in a row */
/*  }
} */


/* Brand logo/icon */
.brand-logo {
    position: relative;
    z-index: 3; /* Above the overlay */
    width: 100%;
    height: auto;
}

.brand-icon-wrapper {
    position: relative; /* Establish stacking context */
    display: inline-block;
    margin: -15px 0px -20px 0px;
    height: auto;
    pointer-events: auto; /* Allow interaction */
    scale: 1;
}

.brand-overlay {
    position: absolute;
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    scale: 1;
    margin-top: 0%;
    margin-bottom: 12.5%;
    z-index: 1; /* Ensure it's behind the icon */
    pointer-events: none; /* Prevent blocking interaction */
    transition: transform 0.3s ease, opacity 0.01s linear;
}

.brand-icon {
    position: absolute;
    z-index: 2; /* Ensure it's above the overlay */
    width: 48%;
    margin: 32% 26% 25% 26%;
    display: block;
    transition: transform 0.3s ease; /* Optional hover effect */
    opacity: 1;
        width: 100%;
}



.brand-icon-wrapper:hover .brand-overlay {
    transform: scale(1.3);
}

.brand-icon-wrapper:hover .brand-bulb {
    transform: scale(1.3); /* Optional zoom effect */
}

.brand-icon-wrapper:hover .brand-icon {
    transform: scale(1.4); /* Optional zoom effect */
}

.brand-icon-wrapper-reverse:hover .brand-overlay {
    transform: scale(1.2);
}

.brand-icon-wrapper-reverse:hover .brand-bulb {
    transform: scale(1.2); /* Optional zoom effect */
}

.brand-icon-wrapper-reverse:hover .brand-icon {
    transform: scale(1.2); /* Optional zoom effect */
}


.brand-bulb {

    z-index: 20;
    transition: transform 0.3s ease;
}




/* Brands section with animated logos */
.brands {
    text-align: center;
    color: #ffffff;
    width: 100%;
    pointer-events: none;
}

.logo-slider {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.logo-track {
    display: flex;
    justify-content: center; /* Keeps items centered */
    gap: 1%;
    width: 100%;
    justify-content: space-around;
  padding: min(3%, 10px) min(3%, 100px);
}

/* Make sure images scale properly */
.logo-track img {
    height: auto;
    pointer-events: auto;
    opacity: 1; /* Initially hidden */
    width: 100%;
}

/* Animation for each item */
.brand-icon-wrapper.animate:nth-child(6) {
    animation: fly-in .82s ease-out forwards;
}

.brand-icon-wrapper.animate:nth-child(5) {
    animation: fly-in .87s ease-out forwards;
}

.brand-icon-wrapper.animate:nth-child(4) {
    animation: fly-in .95s ease-out forwards;
}

.brand-icon-wrapper.animate:nth-child(3) {
    animation: fly-in 1.05s ease-out forwards;
}

.brand-icon-wrapper.animate:nth-child(2) {
    animation: fly-in 1.2s ease-out forwards;
}

.brand-icon-wrapper.animate:nth-child(1) {
    animation: fly-in 1.4s ease-out forwards;
}


/* REVERSE Animation for each item */
.brand-icon-wrapper.animateout:nth-child(6) {
    animation: fade-out .3s linear forwards;
}

.brand-icon-wrapper.animateout:nth-child(5) {
    animation: fade-out .3s ease-out forwards;
}

.brand-icon-wrapper.animateout:nth-child(4) {
    animation: fade-out .3s ease-out forwards;
}

.brand-icon-wrapper.animateout:nth-child(3) {
    animation: fade-out .3s ease-out forwards;
}

.brand-icon-wrapper.animateout:nth-child(2) {
    animation: fade-out .3s ease-out forwards;
}

.brand-icon-wrapper.animateout:nth-child(1) {
    animation: fade-out .3s ease-out forwards;
}

.brand-icon-wrapper-reverse {
    position: relative; /* Establish stacking context */
    display: inline-block;
    margin: -15px 0px -20px 0px;
    height: auto;
    pointer-events: auto; /* Allow interaction */
    scale: 1;
}


.brand-icon-wrapper-reverse.animate:nth-child(3) {
    animation: fly-in-reverse .65s ease-out forwards;
}

.brand-icon-wrapper-reverse.animate:nth-child(2) {
    animation: fly-in-reverse .75s ease-out forwards;
}

.brand-icon-wrapper-reverse.animate:nth-child(1) {
    animation: fly-in-reverse .9s ease-out forwards;
}


.brand-icon-wrapper-reverse.animateout:nth-child(3) {
    animation:  fade-out .3s ease-out forwards;
}

.brand-icon-wrapper-reverse.animateout:nth-child(2) {
    animation:  fade-out .3s ease-out forwards;
}

.brand-icon-wrapper-reverse.animateout:nth-child(1) {
    animation:  fade-out .3s ease-out forwards;
}


/* Reverse animation for the bottom row */
.logo-slider.reverse .logo-track {
    display: flex;
    gap: -50%;
    pointer-events: none;
    animation: slide-reverse 30s linear infinite reverse;
}

/* Keyframes for each */
@keyframes fly-in {
    from { transform: translateX(-750%); }
    to { transform: translateX(0%); }
}

@keyframes fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Keyframes for each REVERSE */
@keyframes fly-in-reverse {
    from { transform: translateX(750%); }
    to { transform: translateX(0%); }
}


#nbclogo, #nbctitlelogo {
  scale: 1;
  transition: transform 0.2s ease-in-out;
  margin-right: 0%;
  margin-bottom: 2.5%;
}

#nbclogo:hover, #nbctitlelogo:hover {
    transform: scale(1.11);
}


/* Case Studies and Footer with Full Width Background */
.footer {
    background-image: url('https://noellebread.com/images/NBC-Footer.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: max(calc(15vw + 2em), 100px);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 0 10px white, 0 0 15px white, 0 0 20px white, inset 0 10px 10px -8px white;
}

.footer-content {
    display: grid;
    grid-template-columns: 25% 40% 28%;; /* Three columns */
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent black background */
    border-radius: 15px; /* Rounded corners */
    padding: 10px 0;
    width: 90%;
    max-width: 960px;
    text-align: center;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Optional shadow */
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.footer-row img {
    max-width: 35px;
    width: calc(4vw + .2em);
}

.footer-left img {
    max-width: 150px;
    width: min(calc(8vw + 1.5em), 150px);
}

.footer-center {
  scale: 1;
}

.footer-center:hover {
  transform: scale(1.11);
}

.footer-center p {
    font-family: 'Roboto-Regular', sans-serif;
    font-size: min(calc(1vw + .4em), 20px);
}

.footer-right p {
    font-family: 'Roboto-Regular', sans-serif;
    font-size: min(calc(1vw + .4em), 20px);
}

.footer-center img {
    max-width: 225px;
    width: min(calc(15vw + 3em), 300px);
    padding: 5px 0px;
}

.footer-right a img {
   scale: 1;
    margin: .5vw;
    transition: transform 0.2s ease-in-out;
}

.socials-row {
  position: absolute;
  margin-top: calc(-2vw - 1em);
}

.footer-right a img:hover {
    transform: scale(1.25); /* Enlarge icons on hover */
    border: 2px solid #f2ddb2;
    border-radius: 50%;
    box-shadow: 0 0px 20px #f2ddb2;
}




.content-shrinker {
    width: 94%;  /* Full width */
    height: auto;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    align-items: start;
    justify-content: center;
    margin-bottom: -22px;
    padding: 3% 3%;
}
.content-shrinker-container {
    background-color: rgba(0, 0, 0, 0.69);
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
}



.casestudies {
    background-image: url('');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 400px;
    height: calc(15vw + .3em);
    padding: 20px;
}



/* LIMITED TIME */
.limitedtime {
    background-image: url('https://noellebread.com/images/NBC-Specials-Bg-TomatoBasilM.jpg');
    background-size: 120%;
    background-repeat: no-repeat;
    background-position: 75% 50%;
    display: flex;
    justify-content: flex-end;
    align-items: start;
    height: auto;
    padding: 2vw 0px 0px 0px;
    overflow: hidden; 
    min-width: 300px;
    background-color: rgba(0,0,0, .5);
    background-blend-mode: darken;
    box-shadow: 0 0 10px white, 0 0 15px white, 0 0 20px white, inset 0 10px 10px -8px white;
}

.limitedtime-container {
    width: 100%;
    text-align: center;
    color: white;
}



/* PRO SPORTS PARTNER */
.prosportspartner {
    background-image: url('https://noellebread.com/images/NBC-Breads-Bread-bg.jpg');
    background-size: 110%;
    background-repeat: no-repeat;
    background-position: 85% 45%;
    display: flex;
    justify-content: flex-end;
    align-items: start;
    height: auto;
    padding: 2vw 0px 0px 0px;
    overflow: hidden; 
    min-width: 300px;
    background-color: rgba(11, 0, 0, 0.42);
    background-blend-mode: darken;
    box-shadow: 0 0 10px white, 0 0 15px white, 0 0 20px white, inset 0 10px 10px -8px white;
}

.prosports-container {
    width: 100%;
    text-align: center;
    color: white;
}

.sports-logo {
    flex: 1 1 0;
    max-width: calc(6vw + 1em);
    height: auto;
    cursor: pointer;
}

.sports-logos-container {
    display: flex;
    flex-wrap: nowrap;
    gap: calc(2vw + .5em);
    justify-content: space-between;
    align-items: center;
    flex: 1; /* Take equal space */
}

.exits-acquisitions {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: calc(60% + 4em);
    flex: 1; /* Take equal space */
    margin-left: 13%;
}

.flex-wrapper-sports {
    display: flex;
    justify-content: center;
  align-items: end; flex-direction: column;
      gap: 0px;
}

.interactive-container {
    display: flex;
    align-items: end;
    justify-content: end;
    position: relative;
    width: 70%;
    min-width: 300px;
}

#lightbulb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45%;
    margin-right: 0;
    z-index: 9;
    margin-top: calc(-3vw - .5em);
}

#lightbulb img {
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease-in-out;
}

#machine {
    position: relative;
    width: 25%;
    z-index: 10;
      margin-bottom: -3px;
    margin-right: -10%;
}

#machine img {
    width: 100%;
    height: auto;
}

#explode-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 11;
    pointer-events: none;
}





.overlay-text-inner {
  background-color: rgba(0,0,0,.5);
  border-radius: 25px;
  padding: 5%;
  width: 90%;
}

.form-container {
  justify-content: center;
  background-color: rgba(242, 221, 178,.5);
  border-radius: 25px;
  width: 100%;
}

#contact-form {
  flex-direction: column;
  display: flex;
  padding: 5%;
  max-width: 400px;
  margin: 0 auto;
}

/* SECTION - CONTACT */
#contact {
    background-image: url('https://noellebread.com/images/NBC-Contact-bg.jpg');
    background-size: 120%;
    background-repeat: no-repeat;
    background-position: 85% 45%;
    display: flex;
    justify-content: flex-end;
    align-items: start;
    height: auto;
    padding: 1vw 0px 0px 0px;
    overflow: hidden; 
    min-width: 300px;
    background-color: rgba(0, 0, 0, 0.02);
    background-blend-mode: darken;
    box-shadow: 0 0 10px white, 0 0 15px white, 0 0 20px white, inset 0 10px 10px -8px white;
}


.buybutton {
  margin: 0 auto;
}



.cart-btn-container-old {    
    position: fixed;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000; /* Ensure it's above other elements */
    transition: 0.5s;
    z-index: 99;
}

#view-cart-button {
    background-color: transparent;
    color: white;
    border: none;
    position: relative;
    z-index: 99;
    font-size: 16px;
    cursor: pointer;
    margin-left: 11px;
    margin-top: -3px;
}

.view-cart-button-bg {
    border-bottom: 55px solid rgba(198, 109, 72, 1);
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    height: 0;
    width: 45px;
    transform: rotate(-90deg);
    position: absolute;
    z-index: 1; /* Background behind the button */
}

/* When the nav is open, move the button out with it */
.nav-open {
    right: 225px !important; /* Adjust based on nav width */
}

.shopify-buy-frame--toggle.is-sticky {
  transition: 0.5s;
}











/* CONTENT PAGES */
.content-title {
    margin: 0px 5%;
}

.contenttitle-underline {
    border-bottom: 2px solid #f2ddb2;
    width: auto;
}

.virtualtour {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    margin: 20px 5%;
    position: relative;
}

.videosection {
    display: flex;
    justify-content: center;
    margin: 20px auto;
    max-width: 600px;
    width: 90%;
    position: relative;
    aspect-ratio: 16 / 9; /* Maintains the 16:9 aspect ratio */
}

.videoIframe {
    width: 100%;
    height: 100%;
}



.fullscreen-toggle {
    position: absolute;
    right: 2px; /* Adjust based on padding needs */
    bottom: 2px; /* Adjust based on padding needs */
    background-color: rgba(0, 0, 0, .25);
    border: 1px solid rgba(0, 0, 0, .25);
    color: white;
    font-size: 14px; /* Adjust size as needed */
    line-height: 14px; /* Height to match content size */
    padding: 0px;
    width: 24px; /* Square dimensions */
    height: 23px; /* Square dimensions */
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0; /* Square edges */
}
.fullscreen-toggle span {
    transform: rotate(45deg);
}
.fullscreen-toggle:hover {
    color: #f2ddb2;
    border: 1px solid #f2ddb2;
}

.content-section {
    margin: 0px 5%;
    width: 90%;
    color: white;
}

.content-fullwidthtext {
    margin: 0px 5%;
    width: 90%;
    color: white;
}


/* Main layout for left and right columns */
.image-content-section {
    display: flex;
    flex-wrap: wrap; /* Enables columns to wrap onto new lines on smaller screens */
    width: 90%;
    margin: 22px 5%;
}

.swiper-left-column {
    flex: 1 1 50%; /* 60% width by default */
    max-width: 50%; /* Limit to 60% width on larger screens */
}

.swiper-right-column {
    flex: 1 1 calc(50% - 20px); /* 40% width by default */
    max-width: calc(50% - 20px); /* Limit to 40% width on larger screens */
    padding: 0px 0px 0px 20px;
    display: flex;
    justify-content: center; /* Centers content horizontally */
    flex-direction: column; /* Centers content vertically within column */
}

.image-content-section-locked {
    display: flex;
    flex-wrap: wrap; /* Enables columns to wrap onto new lines on smaller screens */
    width: 90%;
    margin: 0px 5%;
    flex-direction: row;
        align-items: center;

}
.swiper-left-column-swapped-locked {
    flex: 1 1 60%; /* 60% width by default */
    max-width: 650px; /* Limit to 60% width on larger screens */ 
}
.swiper-right-column-swapped-locked {
    flex: 1 1  37%; /* 40% width by default */
    max-width: 250px; /* Limit to 40% width on larger screens */
    padding: 6px 0px 0px 20px;
    display: block;
    margin: 0 auto;
    align-items: end;
    text-align: right;
    justify-content: center; /* Centers content horizontally */
    flex-direction: column; /* Centers content vertically within column */
}


/* Full width for columns on smaller screens */
@media (max-width: 768px) {
    .image-content-section {
        flex-direction: column;
        align-items: flex-start;
    }
    .swiper-left-column {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 0px 0px 0px 0px;
    }
    .swiper-right-column {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 20px 0px 0px 0px;
    }
}

/* Swiper container styling for 16:9 aspect ratio */
.swiper-container {
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Ensure the slides fill the container and are centered vertically */
.swiper-wrapper {
    display: flex;
    align-items: center; /* Center slide content vertically */
    height: 100%; /* Full height for slides */
}

.swiper-slide {
    width: 100%;
    height: 100%; /* Ensures the slide takes full container height */
    display: flex;
    justify-content: center;
    align-items: center; /* Centers the image vertically */
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Optional styling for Swiper controls */
.swiper-pagination {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    z-index: 1;
}

/* Style for pagination bullets */
.swiper-pagination-bullet {
    background-color: #ffffff !important; /* Set bullet color */
    opacity: .25 !important; /* Set bullet opacity */
}
.swiper-pagination-bullet:hover {
    background-color: #ffcc00!important; /* Set bullet color */
    opacity: 1 !important; /* Set bullet opacity */
}

/* Style for active pagination bullet */
.swiper-pagination-bullet-active {
    background-color: #ffffff !important; /* Color for active bullet */
    opacity: 1 !important;
}
.swiper-pagination-bullet-active:hover {
    background-color: #ffcc00 !important; /* Color for active bullet */
    opacity: 1 !important;
}


/* Center Swiper navigation arrows vertically */
.swiper-button-next,
.swiper-button-prev {
    color: #ffffff !important;
    position: absolute;
    top: 0%; /* Move to the middle of the container */
    transform: translateY(-50%); /* Center vertically */
    z-index: 1;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: #ffcc00 !important; /* Optional: Change color on hover */
    opacity: 1; /* Add a subtle opacity effect on hover */
}





/* PRO SPORTS PARTNER */
.manufacturingpartner {
    background-image: url('https://noellebread.com/images/NBC-Cookies-bg.jpg');
    background-color: rgba(0, 0, 0, 0.6);
    background-blend-mode: darken;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 0%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    padding: 2vw 0px 0px 0px;
    overflow: hidden;
    min-width: 300px;
    box-shadow: 0 0 10px white, 0 0 15px white, 0 0 20px white, inset 0 10px 10px -8px white;
}

.manufacturing-container {
    max-width: 1200px;
    width: 90%;
    text-align: center;
    color: white;
}

.section-title {
    font-family: 'Roboto-Black', sans-serif;
    font-size: calc(2vw + 1em);
    margin-bottom: 50px;
    color: #ffffff;
}

.flex-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Space between the two containers */
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    flex-direction: row;
}

.logos-container {
    display: flex;
    flex-wrap: nowrap;
    gap: calc(4vw + .3em);
    justify-content: space-between;
    align-items: center;
    flex: 1; /* Take equal space */
}

.industrial-logo {
    flex: 1 1 calc(33% - 15px); /* Adjust width for 4 logos per row with gaps */
    max-width: calc(6vw + 1em); /* Logos will resize responsively */
    height: auto;
}

.video-container {
    flex: 1; /* Take equal space */
    display: flex;
    align-items: center; /* Center video vertically */
    justify-content: center; /* Center video horizontally */
    margin-left: 100px;
}

.industrial-video {
    width: 100%;
    height: auto;
    max-width: 500px; /* Limit max width of the video */
    border: 2px solid white;
    border-radius: 8px;
    box-shadow: 0 0px 20px white;
    object-fit: cover;
}




.explode {
  .absolute-center(500px, 500px);
}

.pixellate-lock {
  img {
    visibility: visible !important;
  }
  .pixellate-pixel {
    transform: none !important;
    opacity: 1 !important;
  }
}

.absolute-center(@w; @h) {
  position: absolute;
  top: 20; bottom: 0;
  left: 0; right: 0;
  width: @w; height: @h;
  margin: auto;
}






.ar-section {
    background-size: cover;
    background-position: 40%;
    background-attachment: fixed;  /* Ensure parallax effect works */
    padding: 0 5%;
    color: white;
}

.ar-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 960px;
    margin: 0 auto;
}

.ar-text {
    margin-right: 5%;
}

.vr-section {
    background-size: cover;
    background-position: right;
    background-attachment: fixed;  /* Ensure parallax effect works */
    padding: 0 5%;
    color: white;
}

.vr-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 960px;
    margin: 0 auto;
}

.vr-text {
    margin-left: 5%;
}

.service-image{
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 50px 0;
    box-shadow: 0 0 20px white, 0 0 20px white;
}

.fixed-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 50px 0;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}


.centered-list {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  font-size: .93em;
}

.centered-list ul {
    list-style: none;
}





.parallax-section {
    background-size: auto;
    background-repeat: no-repeat;
    background-position: 10% 30%; /* Start position */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.parallax-content {
    position: relative;
    z-index: 10;
    color: white;
    text-align: left;
    padding: 15px 0px 15px 0px;
    border-radius: 10px;
}


#final-image {
    display: none;
    position: absolute; /* Ensures correct positioning */
    z-index: 1000;
    box-shadow: 0 4px 20px white;
    border-radius: 15px;
}



/* Slider container */
.slider-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: end;
    width: 90%;
    max-width: 1120px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, .5);  
    border-radius: 40% 40% 40px 40px;
    margin-bottom: 3%;
    margin-top: 3%;
}

.slider-wrapper {
    flex: 1;
    flex-direction: row;
    display: flex;
    justify-content: center;
}

.slider {
    width: 80%;
    padding: 10%;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}


.slice-outline-image {
    position: absolute;
    pointer-events:none;
    top: 0;
    left: 0;
    scale: 1.25;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.slice-outline-image .active {
    opacity: 1;
    transform: scale(1.2);
}
.image-button {
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
    scale: 1;
    margin-left: -5%;
}

.cookie-image-button {
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
    scale: 1;
    margin-left: -5%;
}



.ar-slider-option img, .vr-slider-option img, .tso-slider-option img {
    transition: transform 0.3s ease, opacity 0.3s ease;
    max-height: min(calc(25vw + 1em), 350px);
    object-fit: cover;
    scale: 1.4;
}

.ar-slider-option.selected img, .vr-slider-option.selected img, .tso-slider-option.selected img {
    transform: scale(1.2); /* Scale when selected */
    opacity: 1; /* Full opacity when selected */
}






.slider-text {
  text-align: center;
  font-size: max(calc(3vw + .25em), 10px);
    font-family: 'Roboto-Bold';
  border-bottom: 2px solid #f2ddb2;
  margin-bottom: calc(.25vw + .25em);
}

.slider-text-p {
  margin-bottom: calc(.35vw + .35em);
  font-size: min(max(calc(1.5vw + .15em), 10px), 40px);
  line-height: 1.1em;
}


/* Stats container */
.stats-container {
    display: flex;
    flex-direction: column;
    flex: .75;
    justify-content: center;
    text-align: left;
    margin-right: 5%;
}

.stats-container label {
  color: white;
  font-weight:bold;
  z-index: 3;
  text-align: right;
  position: relative;
  font-size: max(calc(1.5vw + .2em), 9px);
}

.stats-container-sweets {
    display: flex;
    flex-direction: column;
    flex: .75;
    justify-content: center;
    text-align: left;
    margin-right: 5%;
}

.stats-container-sweets label {
  color: white;
  font-weight:bold;
  z-index: 3;
  text-align: right;
  position: relative;
  font-size: max(calc(1.5vw + .2em), 9px);
}

.stat-bar {
    height: min(calc(1vw + .1em), 12px);
    position: relative;
    margin-bottom: .25%;
    border-radius: 5px;
    z-index: 2;
}

.stat-bar div {
    height: 100%;
    transition: width 0.5s ease; 
}




#bread-stat-bar1 {
    background: #c66d48;
    width: 0%;
    border-radius: 10px;
    box-shadow:0 25px 33px #c66d48, 0 25px 33px #c66d48, 0 0 25px #c66d48, 0 0 25px #c66d48;
}

#bread-stat-bar2 {
    background: #da4f40;
    width: 0%;
    border-radius: 10px;
    box-shadow: 0 20px 33px #da4f40, 0 20px 33px #da4f40, 0 0 25px #da4f40, 0 0 25px #da4f40;
}

#bread-stat-bar3 {
    background: #f2ddb2;
    width: 0%;
    border-radius: 10px;
    box-shadow: 0 15px 33px #f2ddb2, 0 15px 33px #f2ddb2, 0 0 25px #f2ddb2, 0 0 25px #f2ddb2;
}



input[name="_honey"] {
    display: none;
}



.bread-option, .cookie-option {
    width: 100%;
}










/* Responsive Styling */
@media (max-width: 768px) {
    
    .flex-wrapper {
        flex-direction: column; /* Stack logos and video vertically */
    }
    
    .logos-container,
    .video-container {
        max-width: 100%;
         margin-left: 0px;
    }
    
    .industrial-logo {
        flex: 1 1 0; /* 3 logos per row for smaller screens */
    }
  
    .sports-logo {
        flex: 1 1 0;
    }
  
    .prosportspartner {
       background-size: 220%;
    }
  
    .manufacturingpartner {
       background-size: 220%;
    }
     .flex-wrapper-sports {
         gap: 0px;
    }
  .interactive-container {
    width: 100%;
    margin-right: -7%;
  }
  
  #lightbulb {
    margin-top: calc(-2.5vw - .6em - 1%);
  }
     
  .exits-acquisitions {
    margin-left: 6.5%;
  }
  
  
   .ar-content-wrapper, .vr-content-wrapper {
        flex-direction: column;
        text-align: center;
    }
  
  .slider-text-p {
    font-size: min(max(calc(2vw + .1em), 12px), 20px);
  line-height: calc(.4vw + .7em);
  }
  
  .slider-container {
       margin-top: 5%;
    flex-direction: column;
  }
  
  .ar-slider-option img, .vr-slider-option img, .tso-slider-option img {
   max-height: calc(17vw + 6em);
  }
  
  .stats-container {
      margin-right: 7.5%;
      margin-left: 7.5%;
      margin-top: 4.5%;
    }
  
    .stats-container-sweets {
      margin-right: 7.5%;
      margin-left: 7.5%;
      margin-top: 3%;
    }
  
  
  .title-column {
      flex-direction: row;
  }
  
  #contact .flex-container {
    flex-direction: column;
  }

  #contact {
    background-size: 220%;
  }
  
  .overlay-text-inner {
    margin: 0 auto;
  }
  
  .limitedtime {
        background-size: 180%;
  }
}






.grecaptcha-badge {
  width: 70px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  right: -20px !important;
  bottom: -10px !important;
  scale: .5;
}

.grecaptcha-badge:hover {
  width: 300px !important;
  right: -100px !important;
}
