@font-face {
  font-family: 'Gotham-Medium';
  src: url('fonts/Gotham-Medium.otf') format('woff2'), /* Modern Browsers */
       url('fonts/Gotham-Medium.otf') format('woff');   /* Older Browsers */

  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham-Bold';
  src: url('fonts/Gotham-Bold.otf') format('woff2'), /* Modern Browsers */
       url('fonts/Gotham-Bold.otf') format('woff');   /* Older Browsers */

  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham-Black';
  src: url('fonts/Gotham-Black.otf') format('woff2'), /* Modern Browsers */
       url('fonts/Gotham-Black.otf') format('woff');   /* Older Browsers */

  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham-Light';
  src: url('fonts/Gotham-Light.otf') format('woff2'), /* Modern Browsers */
       url('fonts/Gotham-Light.otf') format('woff');   /* Older Browsers */

  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham-Condensed-Medium';
  src: url('fonts/Gotham\ Condensed\ Medium.otf') format('woff2'), /* Modern Browsers */
       url('fonts/Gotham\ Condensed\ Medium.otf') format('woff');   /* Older Browsers */

  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham-Condensed-Bold';
  src: url('fonts/GothamCond-Bold.otf') format('woff2'), /* Modern Browsers */
       url('fonts/GothamCond-Bold.otf') format('woff');   /* Older Browsers */

  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham-Condensed-Book';
  src: url('fonts/GothamCond-Book.otf') format('woff2'), /* Modern Browsers */
       url('fonts/GothamCond-Book.otf') format('woff');   /* Older Browsers */

  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lovelo-Light';
  src: url('fonts/Lovelo_Line_Light.otf') format('woff2'), /* Modern Browsers */
       url('fonts/Lovelo_Line_Light.otf') format('woff');   /* Older Browsers */

  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Paris';
  src: url('fonts/Paris.otf') format('woff2'), /* Modern Browsers */
       url('fonts/Paris.otf') format('woff');   /* Older Browsers */

  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SurveyorFine-Medium';
  src: url('fonts/SurveyorFine-Medium-Pro.otf') format('woff2'), /* Modern Browsers */
       url('fonts/SurveyorFine-Medium-Pro.otf') format('woff');   /* Older Browsers */

  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
font-family: 'Futura-Medium';
src: url('fonts/Futura.woff') format('woff2'), /* Modern Browsers */
     url('fonts/Futura.woff2') format('woff');   /* Older Browsers */

font-weight: normal;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'GlacialIndifference';
src: url('fonts/GlacialIndifference-Regular.otf') format('woff2'), /* Modern Browsers */
     url('fonts/GlacialIndifference-Regular.otf') format('woff');   /* Older Browsers */

font-weight: normal;
font-style: normal;
font-display: swap;
}


:root {
--bs-body-font-family: 'GlacialIndifference-Regular', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif !important; 
--bold-font: 'GlacialIndifference-Bold';

--nav-display: flex;
--nav-padding: 0.8em;
--nav-overflow-x: scroll;
--nav-min-width: 100%;
--nav-border-radius: 0.4em;
--nav-margin: 0em 0em;
--nav-gap: 0.4em;

--nav-item-border: 1px solid whitesmoke;
--nav-item-padding: 0.5em 0.8em;
--nav-item-display: flex;
--nav-item-gap: 0.4em;
--nav-item-border-radius: 0.3em;
--nav-item-background: #8CA868;
--nav-item-color: #295135;
--nav-item-font-size: 1.2em;
--active-item-color: #C9D8B4;

--category-title-color: #8CA868;

--section-title-color: #295135;
--section-brown-text: #295135;
--section-brown-background: #edcab4;
--deep-brown-text: #cd5151;
--orange-text: #f27e20ff;

--safaricom-green-color: #52B44A;
}

html {
  scroll-behavior: smooth;
}


body {
  margin: 0;
  overflow-x: hidden;
}

nav {
position: sticky;
top: 0;
padding-top: 0.7rem;
background: white;
z-index: 111;
}

/* main {
  position: relative;
  height: 90vh;
  overflow-y: scroll;
} */

.menu-card {
  padding: 0 0.4rem;
}

.card-title {
  font-weight: 800;
  font-family: 'Futura';
  font-size: small;
}

.medium-bold-text {
  font-family: 'Gotham-Condensed-Medium';
  font-size: 1.5rem;
  line-height: 1;
}

.thinner-text {
  font-family: 'Gotham-Condensed-Book';
  line-height: 1.2;
}

.bolder-text {
  font-family: 'Gotham-Condensed-Bold';
}

.green-text {
  color: var(--section-title-color);
}

.brown-text {
  color: var(--section-brown-text);
}

.dark-brown-text {
  color: var(--deep-brown-text);
}

.brown-background {
  background: var(--section-brown-background);
  padding: 0.4rem;
}


/* Table */

table {
min-width: 100%;
}

td:nth-child(2) {
text-align: end;
}

th {
color: var(--nav-item-background);
font-family: 'Gotham-Condensed-Bold';
font-size: small;
}

td {
vertical-align: top;
font-size: larger !important;
letter-spacing: initial;
font-family: 'Gotham-Condensed-Book';
}


td:first-child {
font-family: 'Gotham-Condensed-Bold';
width: 73%;
letter-spacing: .04rem;
font-size: 20px !important;
}

td > p {
font-family: 'Gotham-Condensed-Book';
font-size: medium;
line-height: initial;
letter-spacing: normal;
}

.privacy-checkbox {
  font-size: smaller;
}

.form-control::placeholder {
  font-size: small;
}

.green-border {
border: solid 2.5px var(--nav-item-background);
padding: 5px;
border-radius: 3px;
}
/* Categories Button */

.btn-category {
background: var(--nav-item-background);
color: var(--nav-item-color);
border: none;
font-family: 'Gotham-Condensed-Bold';
margin: 0.2rem 0.05rem;
}

.btn-category.active {
background: var(--active-item-color);
}


/* Subcategories class */
.subcategory {
overflow-x: auto;
}

.subcategory li {
  list-style: none;
  text-wrap: nowrap;
  border-right: solid 1px var(--section-title-color);
  font-family: 'Gotham-Condensed-Book';
  color: var(--section-title-color);
  cursor: pointer;
}

.subcategory li:last-child {
  border-right: none;
}

.subcategory li a.active {
  text-decoration: underline;
  text-decoration-color: var(--active-item-color);
  color: var(--active-link-color); /* Optional: Define the color for active link */
}

.subcategory a {
color: var(--section-title-color);
font-family: 'Gotham-Condensed-Book';
text-decoration: none;
text-wrap: nowrap;
padding: 0 1rem;
border-right: solid 1px var(--section-title-color);
}

.subcategory a:last-child {
border-right: none;
}

/* .active {
  text-decoration: underline;
  text-decoration-color: var(--active-item-color);
  color: var(--active-link-color); 
} */



.menu-section h3 {
font-family: 'Gotham-Condensed-Medium';
font-size: 2rem;
margin: 0.5rem 0 0 0;
}

.artcaffe-market-slideshow {
width: 100%;
height: 120px;
overflow: hidden;
position: relative;
margin: 0rem 0;
cursor: pointer;
border-radius: 3px;
}

.artcaffe-market-slideshow img,
.artcaffe-market-slideshow video {
width: 100%;
position: absolute;
top: 0;
left: 0;
opacity: 0;
object-fit: cover;
transition: transform 1s, opacity 1s;
}

.artcaffe-market-slideshow img.active,
.artcaffe-market-slideshow video.active {
opacity: 1;
transform: translateX(0);
}

.hidden {
display: none;
}

.privacy-class {
  gap: 1rem;
}

.saf-card {
  border: 1px solid var(--safaricom-green-color);
  /* background: var(--safaricom-green-color);
  padding: 0.1rem 0.3rem;
  border-radius: 20px !important; */
}

.modal-content {
  top: 25vh;
}

.toast {
  position: fixed;
  bottom: 2.5rem;
  right: 1rem;
  z-index: 1050;
}

.card {
  font-family: 'Futura';
  line-height: 1;
}

.card-body {
  padding: 0.1rem 0.1rem !important;
}

.btn-success {
  background: var(--safaricom-green-color);
  border: none;
  width: 80%;
  font-size: small;
  text-wrap: nowrap;
}

.step {
  font-size: small;
  font-family: "Futura-Medium";
  font-weight: 100;
  background: white;
  text-align: center;
  border-radius: 20px;
  padding: 0.8rem 0.5rem;
}

.rounded-btn {
  border-radius: 12px;
}

section.safaricom-offers-section {
  margin: 1rem 0;
  /* position: sticky;
  top: 5rem;
  z-index: 100; */
}

.title-color {
  color: var(--category-title-color);
}

.green-text {
  color: var(--section-title-color);
}

.add-gap {
  gap: 0.4rem;
}

.round-btn {
  height: fit-content;
}

.round-btn img {
  border-radius: 50%;
}

.language-text {
  font-family: 'Gotham-Condensed-Book';
  text-wrap: wrap;
  font-size: x-small;
  line-height: 0.8;
}

.language-modal {
  font-family: 'Gotham-Condensed-Medium';
}

/* GOOGLE TRANSLATE CLASS */

.VIpgJd-ZVi9od-ORHb {
  display: none !important;
  box-shadow: none !important;
  background: none !important;
}

.VIpgJd-ZVi9od-ORHb-OEVmcd {
  display: none;
  height: 0 !important;
}

/* AD SECTION CSS */
/* section.slider-section {
  position: sticky;
  top: 4rem;
  z-index: 100;
} */

.saf-logo {
  margin: 0.3rem 0;
}

/* ALLERGEN SECTION */
.allergen-section {
  font-family: 'Gotham-Condensed-Book';
}
.allergen-icons {
  overflow-x: scroll;
  width: 100%;
  text-wrap: wrap;
  gap: 0.3rem;
  line-height: 1;
  margin: 1rem 0;
}

.icons {
  max-width: 2rem;
  width: 1.2rem;
}

.img-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    margin: auto;
    padding: 1rem;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.589); /* semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: contain;
    z-index: 9999; /* Ensure the overlay is on top */
}

.img-overlay img {
  max-width: 100%;
  object-fit: contain;
}

.orange-text {
  color: var(--orange-text);
}

/* Add this to your CSS for the fade-in effect */
.fade-in {
  transform: translateY(20px);
  opacity: 0;
  filter: blur(1px); /* Starts blurry */
  transition: all 0.5s ease-in-out;
}

.fade-in.show {
  transform: translateY(0);
  opacity: 1;
  filter: blur(0); /* Ends with no blur */
}

/* Hide the video section initially */
.slider-section {
  opacity: 0;
  transition: opacity 0.5s ease-in; /* Smooth transition for fading in */
  visibility: hidden; /* Prevents layout issues */
}

/* Class to show the video section */
.slider-section.show {
  opacity: 1;
  visibility: visible; /* Ensures it's visible */
}


.ad-section {
  width: 320px; 
  height: 100px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  padding: 1rem;
}

.ad-section::before{
  content: "SPONSORED";
  font-weight: 100;
  font-size: 9px;
  display: flex;
  justify-content: center;
  text-decoration: none !important;
}



@media only screen and (min-width: 768px) and (max-width: 1200px){
  .artcaffe-market-slideshow {
      min-height: 300px;
    }
  
    .ad-section {
      width: 468px; 
      height: 60px;
      text-decoration: none;
    }
}

@media only screen and (min-width: 1201px) {
  .btn-category {
    font-size: larger;
  }

  .subcategory a {
    font-size: larger;
  }

  .artcaffe-market-slideshow {
    min-height: 400px;
  }

  .ad-section {
    width: 728px; 
    height: 90px;
    text-decoration: none;
  }

}
