/* starting reset */
@font-face {
    font-family: 'YesevaOne-Regular', serif;
    src: url(../fonts/YesevaOne-Regular.ttf) format('ttf');
    font-weight: normal;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Inter-VariableFont_opsz,wght', sans-serif;
    src: url(../fonts/Inter-VariableFont_opsz\,wght.ttf) format('ttf');
    font-weight: normal;
    font-style: normal;
  }
  
  html, body {
      margin: 0;
      padding: 0;
      width: 100%;
      height: 100%;
      justify-content: center;
  }

  header {
    display: flex;
    align-items: center;
  }
  
  .logo {
    margin-top: 25px;
    align-items: center;
   margin-left: 20px;
    position: absolute;
    width: 100px;
    height: 80px;
  }

  nav {
    width:100%;
    height: 80px;
    display: flex;
    justify-content: flex-end;
    align-items: center;

}

nav ul {
display: flex;
}

nav ul li {
    margin: 8px 24px;
    list-style: none;
}
nav ul li a {
    color: #000000;
    text-decoration: none;
    align-items: baseline;
}


/* hero */
.herorecipe {
  background-image: url('../img/Hero\ Image\ Recipes\ Page.jpeg'); 
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  

/* Position and center the image to scale nicely on all screens */
background-position: top;
background-repeat: no-repeat;
background-size: cover;
position: relative;

width: 100%;
height: 80%;
}
 
.hero-content h1 {
    background: rgba(255, 255, 255, 0.7); /* Semi-transparent white background */
    padding: 40px;
    border-radius: 10px;
    font-family: 'Yeseva One', serif;
    font-size: 52px;
    text-align: center;
  }
  
  .intro {
    display: flex;
    justify-content: center;
  color: rgb(0, 0, 0);
  font-size: 30px;
  }
  
  .search-bar {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .search-bar input[type="text"] {
    padding: 15px;
    border: 1px solid #ffffff;
    border-radius: 80px 0px 0px 80px;
    width: 500px; /* Adjust width as needed */
    height: 60px;
    font-size: 1em;
  }
  
  .search-button {
    background-color: #ffffff; 
    border: 1px solid #ffffff;
    border-radius: 0 80px 80px 0;
    padding: 0px 20px 0px 20px;
    height: 60px;
    color: transparent;
    cursor: pointer;
    font-weight: bold;
  }
  
  .search-button:hover {
    background-color: #eee;
  }
  
  h2 {
    font-family: 'Yeseva One', serif;
    font-size: 40px;
      display: flex;
      justify-content: left;
      padding: 40px;
  }

  section {
    width: 100%;
  }

  .filters {
    display: flex;
    justify-content: space-between;
    gap: 2rem; /* Provides space between filter items */
}

.filter {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.filter label {
    font-family: 'Times New Roman', serif;
    font-size: 1.25rem; /* Matches the bold label text size */
    font-weight: bold;
    margin-bottom: 0.5rem; /* Space between label and select */
}

.filter select {
    padding: 0.5rem 1rem;
    border: 1px solid black;
    border-radius: 2rem; /* Rounded edges for the select box */
    font-family: inherit;
    font-size: 1rem;
    appearance: none; /* Removes default dropdown styling */
    background: white;
    cursor: pointer;
    text-align: left;
    min-width: 150px; /* Ensures consistent width */
}

/* Custom arrow icon for the select */
.filter select {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

/* Ensure consistent appearance across browsers */
select:focus {
    outline: none;
}


  .gallery {
    display: grid;
    grid-template-columns: repeat(11, auto);
    grid-template-rows: repeat(10, auto);
    grid-gap: 20px;
    text-align: center;
  }

  .thumbnail, .caption {
    width: 100%
  }
 
  #gnocchi {
    grid-column-start:  2;
    grid-column-end: 4;
    grid-row-start: 2;
    grid-row-end: 8;
  }

  #hummus {
    grid-column-start:  4;
    grid-column-end: 6;
    grid-row-start: 2;
    grid-row-end: 8;
  }

  #lentil {
    grid-column-start:  6;
    grid-column-end: 8;
    grid-row-start: 2;
    grid-row-end: 8;
  }

  #butter {
    grid-column-start:  8;
    grid-column-end: 10;
    grid-row-start: 2;
    grid-row-end: 8;
  }

  #gnocchit {
    grid-column-start:  2;
    grid-column-end: 4;
    grid-row-start: 8;
    grid-row-end: 9;
  }

  #hummust {
    grid-column-start:  4;
    grid-column-end: 6;
    grid-row-start: 8;
    grid-row-end: 9;
  }

  #lentilt {
    grid-column-start:  6;
    grid-column-end: 8;
    grid-row-start: 8;
    grid-row-end: 9;
  }

  #buttert {
    grid-column-start:  8;
    grid-column-end: 10;
    grid-row-start: 8;
    grid-row-end: 9;
  }






  #Gochujang {
    grid-column-start:  2;
    grid-column-end: 4;
    grid-row-start: 2;
    grid-row-end: 8;
  }

  #PotatoSalad {
    grid-column-start:  4;
    grid-column-end: 6;
    grid-row-start: 2;
    grid-row-end: 8;
  }

  #Brownies {
    grid-column-start:  6;
    grid-column-end: 8;
    grid-row-start: 2;
    grid-row-end: 8;
  }

  #ApplePie {
    grid-column-start:  8;
    grid-column-end: 10;
    grid-row-start: 2;
    grid-row-end: 8;
  }

  #Gochujangt {
    grid-column-start:  2;
    grid-column-end: 4;
    grid-row-start: 8;
    grid-row-end: 9;
  }

  #PotatoSaladt {
    grid-column-start:  4;
    grid-column-end: 6;
    grid-row-start: 8;
    grid-row-end: 9;
  }

  #Browniest {
    grid-column-start:  6;
    grid-column-end: 8;
    grid-row-start: 8;
    grid-row-end: 9;
  }

  #ApplePiet {
    grid-column-start:  8;
    grid-column-end: 10;
    grid-row-start: 8;
    grid-row-end: 9;
  }




  #ProteinPasta {
    grid-column-start:  2;
    grid-column-end: 4;
    grid-row-start: 2;
    grid-row-end: 8;
  }

  #SpinachSoup {
    grid-column-start:  4;
    grid-column-end: 6;
    grid-row-start: 2;
    grid-row-end: 8;
  }

  #PestoSandwish {
    grid-column-start:  6;
    grid-column-end: 8;
    grid-row-start: 2;
    grid-row-end: 8;
  }

  #SmashedPotato {
    grid-column-start:  8;
    grid-column-end: 10;
    grid-row-start: 2;
    grid-row-end: 8;
  }

  #ProteinPastat {
    grid-column-start:  2;
    grid-column-end: 4;
    grid-row-start: 8;
    grid-row-end: 9;
  }

  #SpinachSoupt {
    grid-column-start:  4;
    grid-column-end: 6;
    grid-row-start: 8;
    grid-row-end: 9;
  }

  #PestoSandwisht {
    grid-column-start:  6;
    grid-column-end: 8;
    grid-row-start: 8;
    grid-row-end: 9;
  }

  #SmashedPotatot {
    grid-column-start:  8;
    grid-column-end: 10;
    grid-row-start: 8;
    grid-row-end: 9;
  }



  .caption {
    margin-top: 10px;
    text-align: center;
    font-size: 20px;
    color: #000000;
  }
  
  @media (max-width: 768px) {
    .gallery-item {
      flex: 1 0 100%; /* Full width on smaller screens */
      max-width: 100%;
    }
  }

  
  /* Generic styling */
* {
    box-sizing: border-box;
    font-family: "inter", sans-serif;
    margin: 0;
    padding: 0;
  }
  ul {
    list-style: none;
    padding-left: 0;
  }
  footer {
    /* width: 100%; */
    background-color: #EDE8D0;
    line-height: 1.5;
    padding-left: 5%;
    padding-top: 5%;
     position: relative;
  
  }
  
  /* Newsletter Section */
  .footer-newsletter {
    max-width: 400px;
  }
  
  .footer-newsletter h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .footer-newsletter h6 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #777;
  }
  
  /* Newsletter Form */
  .newsletter-form {
    display: flex;
    margin-bottom: 20px;
  }
  
  .newsletter-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px 0 0 8px;
    outline: none;
  }
  
  .newsletter-form button {
    background-color: #5b8c3b; /* Green button */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .newsletter-form button:hover {
    background-color: #4a752d;
  }
  
  /* Social Icons */
  .ft-social {
    padding: 0 1.875rem 1.25rem;
  }
  .ft-social-list {
    display: flex;
    justify-content: center;
    border-top: 1px #d18b00;
    padding-top: 1rem;
  }
  .ft-social-list li {
    margin: 0.5rem;
    font-size: 1.25rem;
  }
  .ft-social-list li img {
    margin-top: 5px;
    vertical-align: middle;
    height: 2rem;
    width: 2rem;
  }
  
  /* Footer Logo */
  .footer-logo img {
    max-width: 170px; /* Adjust logo size */
    width: 150px;
      position: absolute;   
      top: 50%;   
      left: 50%;   
      transform: translate(-50%, -50%); 
      z-index: 999;   
    }
  
  /* Footer Links */
  .footer-links {
    display: flex;
    gap: 80px; /* Space between link groups */
    position: absolute;
    right: 30px;
    top: 50%;  
     color:#000000;
     justify-items: right;
     transform: translate(-50%, -50%); 
     z-index: 999;   
  }
  
  .footer-links a {
    display: block;
    text-decoration: none;
    color: #333;
    margin-bottom: 8px;
    font-size: 16px;
  }
  
  .footer-links a:hover {
    text-decoration: underline;
  }
  
  h6 {
    display: flex;
    justify-content: center;
  }
    /* Media query for tablets (768px) */
    @media only screen and (max-width: 768px) {
      /* Styles specific to tablets */
      /* Adjust layout, font sizes, etc. for tablets */
    }
    
    /* Media query for mobile devices (540px) */
    @media only screen and (max-width: 540px) {
      /* Styles specific to mobile devices */
      /* Further adjust layout, font sizes, etc. for smaller screens */
    } 